Hello trying to connect NodeMcu LUA D1 to BMP280 5V something just don’t work, I can’t have the sensors data, maybe someone has good instructions
this is my code:
this is part of the message I get Wen I flash it:
[23:12:37][C][i2c.arduino:032]: I2C Bus:
[23:12:37][C][i2c.arduino:033]: SDA Pin: GPIO4
[23:12:37][C][i2c.arduino:034]: SCL Pin: GPIO5
[23:12:37][C][i2c.arduino:035]: Frequency: 50000 Hz
[23:12:37][C][i2c.arduino:038]: Recovery: bus successfully recovered
[23:12:37][I][i2c.arduino:048]: Scanning i2c bus for active devices…
[23:12:37][I][i2c.arduino:060]: Found no i2c devices!
[23:12:38][C][bmp280.sensor:098]: BMP280:
[23:12:38][C][bmp280.sensor:099]: Address: 0x76
[23:12:38][E][bmp280.sensor:102]: Communication with BMP280 failed!
Obvious question, but are SCK / SDI actually connected to GPIO4 / GPIO5 (D1 / D2) (the i2c defaults) ?
Oh, and not sure what the 5V in OP means here. You have to connect it to 3.3.V (the schema on Ali show you that)