Can't run BME280 sensor with UNO Wifi Rev2

Hello,

I can't run BME280 sensor with UNO Wifi Rev2. I installed the BME280 library, I do not get an error when I open the BME280test sample and compile the code, but when I install it, I get the following error.

BME280 test
Could not find a valid BME280 sensor, check wiring, address, sensor ID!
SensorID was: 0x0
ID of 0xFF probably means
a bad address, a BMP 180 or BMP 085
ID of 0x56-0x58 represents a BMP 280,
ID of 0x60 represents a BME 280.
ID of 0x61 represents a BME 680.

My connections are like in the picture, Can you help with the issue?


the UNO Wifi Rev2 does not have SCL and SDA on A4/A5. Use the pins on the other side near AREF

(SCL is the top one, SDA the next one below in the picture)

1 Like

thanks a lot it is solved <3

have fun

The UNO WiFi board is the Arduino UNO with integrated Wi-Fi. So, the processor should be ATmega328P. If this is the case, then A4/A5 must be connected with I2C Module of the MCU when "I2C Operation" is selected as alternate function. It is interesting to know why the A4/A5 pins do not assert the SDA/SCL signals. The OP (I do not own this board) may check the continuity among Pin-27(SDA)/Pin-28(SCL) and A4/A5, and SDA/SCL of P3 edge connector (Fig-1) and report his findings.


Fig-1:

1 Like

Wrong, we're talking about a Arduino Uno WiFi Rev2 which uses a 4809 microcontroller. ARDUINO UNO WiFi REV2 — Arduino Official Store

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.