Comments on: Arduino with BH1750 Ambient Light Sensor https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 28 Jul 2025 09:57:52 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-1075586 Mon, 28 Jul 2025 09:57:52 +0000 https://randomnerdtutorials.com/?p=108856#comment-1075586 In reply to Ed.

Thanks for sharing this.
Regards,
Sara

]]>
By: Ed https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-1075413 Sun, 27 Jul 2025 18:49:23 +0000 https://randomnerdtutorials.com/?p=108856#comment-1075413 In reply to Ed.

In fact what caused my [BH1750] Device is not configured! was a cold solder joint on the module

]]>
By: Ed https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-1075406 Sun, 27 Jul 2025 18:26:30 +0000 https://randomnerdtutorials.com/?p=108856#comment-1075406 In reply to NJI RUTH MBIKANG.

It is a long time ago and I hope and trust you found the answer, but for those that may read this, many people apparently seem to have this issue and sadly there can be a hoist of causes and solutions. Proper solder joints is one of them. Some boards apparently have their silkscreen wrong and have SDA and SCL switched. Some claim that actually configuring the BH1750 (with the MODE commands
BH1750_CONTINUOUS_LOW_RES_MODE
BH1750_CONTINUOUS_HIGH_RES_MODE (default)
BH1750_CONTINUOUS_HIGH_RES_MODE_2

BH1750_ONE_TIME_LOW_RES_MODE
BH1750_ONE_TIME_HIGH_RES_MODE
BH1750_ONE_TIME_HIGH_RES_MODE_2
does the trick
or “adding a boolean”

Have a look here:
github.com/claws/BH1750/issues/36

]]>
By: Ed https://randomnerdtutorials.com/arduino-bh1750-ambient-light-sensor/#comment-1075402 Sun, 27 Jul 2025 18:10:22 +0000 https://randomnerdtutorials.com/?p=108856#comment-1075402 In reply to Bob.

You van have your program do that. Either to say an SD card or if connected to wifi, via WiFi

]]>
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

]]>