BME280 breakout board, I²C version (160109-91)
This BoB is used in the project RGB-Digit Clock (160100-91) available as semi-kit (PCB with SMD parts mounted, through hole parts come with the module)
I2C address setting
On our preassembled BME280 board the address is set to 0x76, whereas the RGB-Digit Clock expects the sensor at address 0x77.
To change this, desolder 0 Ω resistor R4 and solder it back at position R5.
Alternatively, if you are planning to change the firmware of the clock or (re)program the ESP8266 module yourself and/or don't want to change the hardware of the sensor module, you can change the address in source file "Adafruit_BME280.h" in the following line:
#define BME280_ADDRESS (0x77)
Of course you must edit this line and change the address to 0x76.
|Référence de rédaction||160109-91|