General Arduino

Does BH1750 actually work at 3.3V?

userHead Tigger 2024-12-01 09:06:07 27 Views2 Replies

Configured using default pins using Raspberry Pi Pico W and sample code from:
https://wiki.dfrobot.com/Light_Sensor__SKU_SEN0097_

 

Doesn't work. I2C seems to connect but RequestFrom always results in zero bytes returned.

Tried both controller 0 and controller 1.

 

Has anyone else had success with this module?  What is the other potential I2C address? (other than 0x23)

2024-12-01 09:29:46

I got it working on an old Arduino UNO.

Next steps: is it too slow for the RP2040 or does it not work at 3.3V as claimed by DFRobot?

userHeadPic Tigger
Yeez_B wrote:

You can try to use UNO's 3.3V to power it and test it again. If the sensor can work properly with UNO's 3.3V, then it is not a power supply problem. DFRobot's wiki also shows that the sensor can work at 3~5V.


Next you need to check whether the sensor is connected to GP20 and GP21, because PR2040 has two I2C buses, and the wire corresponds to I2C0.

2024-12-02 23:39:31
1 Replies