Unable to read from BME280
Posted: Fri Dec 02, 2016 11:44 pm
Hi,
I'm trying to read values from a BME280 sensor. connected to an ESP32 dev board.
As I'm a complete newbie, I followed the board and the sensor setup guides.
Running the I2C_ReadAllData sketch from the sensor examples I see that it doen't manage to read the registers of the sensor through I2C
Running this I2cScanner shows that it finds something at 0x77.
The data sheet indicates that reading from 0xD0 register should get the value 0x60, but in my case it gets 0x78.
All other registers have 0xFF
I've connected the sensor to the board using the I2C pins:
- GND to GND
- 3.3V to 3.3V
- SDA to pin 21
- SCL to pin 22
Both are placed on a breadboard.
The board is powered through the microUSB port used to upload the flash.
What could be wrong?
Software?
Wrong connection?
Not enough power?
Broken sensor?
Please help.
I'm trying to read values from a BME280 sensor. connected to an ESP32 dev board.
As I'm a complete newbie, I followed the board and the sensor setup guides.
Running the I2C_ReadAllData sketch from the sensor examples I see that it doen't manage to read the registers of the sensor through I2C
Running this I2cScanner shows that it finds something at 0x77.
The data sheet indicates that reading from 0xD0 register should get the value 0x60, but in my case it gets 0x78.
All other registers have 0xFF
I've connected the sensor to the board using the I2C pins:
- GND to GND
- 3.3V to 3.3V
- SDA to pin 21
- SCL to pin 22
Both are placed on a breadboard.
The board is powered through the microUSB port used to upload the flash.
What could be wrong?
Software?
Wrong connection?
Not enough power?
Broken sensor?
Please help.