tudorsailor
Well-known member
So have been googling to try and work out why the sensor data is not coming through.
I found a thread that said the the I2C address might be incorrect. So I ran an I2C scanner and it returns the message (only at 9600 baud)
I2C device found at address 0x76 !
done
So I think that the sensor is there. I cannot see any code that refers to 0x76 so maybe not the problem
I have then read that not all BMP280 sensors are the same! I have a sensor that is BMP/BME280. I am unsure how one identifies the manufacturer and of course it was an eBay purchase so Chinese. I did install a BME280 library and changed the code in the sketch to refer to BME280 rather than BMP280. Is it worth installing every BMP280 library in turn and altering the sketch appropriately to find a library that works?
Finally, I found a sketch that tests BMP280 sensors. I have run this and the serial message is
Adafruit BMP280 test:
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Of course maybe I should admit defeat and recognise that the nanobaro project was not as straightforward as the OP suggested
TudorSailor
I found a thread that said the the I2C address might be incorrect. So I ran an I2C scanner and it returns the message (only at 9600 baud)
I2C device found at address 0x76 !
done
So I think that the sensor is there. I cannot see any code that refers to 0x76 so maybe not the problem
I have then read that not all BMP280 sensors are the same! I have a sensor that is BMP/BME280. I am unsure how one identifies the manufacturer and of course it was an eBay purchase so Chinese. I did install a BME280 library and changed the code in the sketch to refer to BME280 rather than BMP280. Is it worth installing every BMP280 library in turn and altering the sketch appropriately to find a library that works?
Finally, I found a sketch that tests BMP280 sensors. I have run this and the serial message is
Adafruit BMP280 test:
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Pressure: 0.00 Pa Temp: 0.00 oC Altimeter: -21206 m
Of course maybe I should admit defeat and recognise that the nanobaro project was not as straightforward as the OP suggested
TudorSailor
Last edited: