Comments on: Arduino with BH1750 Ambient Light Sensor https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sat, 24 May 2025 18:20:16 +0000 hourly 1 https://wordpress.org/?v=6.8.1 By: Fatima Atta https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-1048439 Sat, 24 May 2025 18:20:16 +0000 https://randomnerdtutorials.com/?p=108856#comment-1048439 In reply to NJI RUTH MBIKANG.

I am having this same issue! did you fix it?

]]>
By: Bob https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-874436 Mon, 27 Nov 2023 00:27:43 +0000 https://randomnerdtutorials.com/?p=108856#comment-874436 The one thing that would be great to add would the ability to write this data to a csv file so you can import into a spreadsheet. Just seeing in the serial monitor isn’t that useful.

Thanks

]]>
By: MHDCHD https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-854731 Sat, 12 Aug 2023 10:57:16 +0000 https://randomnerdtutorials.com/?p=108856#comment-854731 In reply to NJI RUTH MBIKANG.

hi,
you probably have the SDA and SCL pins on digital 4 and 5. wire them on analog 4&5 and it should go well.

]]>
By: NJI RUTH MBIKANG https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-805568 Mon, 26 Dec 2022 13:44:29 +0000 https://randomnerdtutorials.com/?p=108856#comment-805568 In reply to Sara Santos.

my wiring is correct im sure of it

]]>
By: NJI RUTH MBIKANG https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-805567 Mon, 26 Dec 2022 13:43:43 +0000 https://randomnerdtutorials.com/?p=108856#comment-805567 it says “no I2C devices found”

]]>
By: Sara Santos https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-799765 Sun, 27 Nov 2022 23:45:21 +0000 https://randomnerdtutorials.com/?p=108856#comment-799765 In reply to NJI RUTH MBIKANG.

You may also need to check the sensor I2C address: https://raw.githubusercontent.com/RuiSantosdotme/Random-Nerd-Tutorials/master/Projects/LCD_I2C/I2C_Scanner.ino

]]>
By: Sara Santos https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-799764 Sun, 27 Nov 2022 23:44:26 +0000 https://randomnerdtutorials.com/?p=108856#comment-799764 In reply to NJI RUTH MBIKANG.

Check you’re wiring.
It is probably not wired properly.

]]>
By: NJI RUTH MBIKANG https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-799711 Sun, 27 Nov 2022 18:11:13 +0000 https://randomnerdtutorials.com/?p=108856#comment-799711 hello when i upload the code and check on the serial monitor, i see [BH1750] Device is not configured!
Light: -2.00 lx
even after applying torchlight on i get the same results. please i need help

]]>
By: Sara Santos https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-736749 Fri, 08 Apr 2022 20:45:16 +0000 https://randomnerdtutorials.com/?p=108856#comment-736749 In reply to Aart V..

Hi.
The I2C address is set on the hardware.
ADD pin floating or connected to GND → address: 0x23
ADD pin connected to VCC → address: 0x5C
Regards,
Sara

]]>
By: Aart V. https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-736682 Fri, 08 Apr 2022 15:06:21 +0000 https://randomnerdtutorials.com/?p=108856#comment-736682 In reply to Sara Santos.

Hi Sara,
Thanks for your fast reply! But I still have a problem. In my project I use a lot of pins (display, other sensors) and have no more pins available.

I checked the ESP32 tutorial and used the i2c scanner. I found the sensors can be connected at the same time (the ADD pin for sensor 1 floating and for sensor 2 connected to VCC). The sensors are detected on different addresses (x023 and x05C).

Is it possible to set up the BH1750 library so that lightMeter1 uses x023 and lightMeter2 uses x05C?

Thanks in advance again!

]]>