Comments on: ESP32 with BH1750 Ambient Light Sensor https://randomnerdtutorials.com/esp32-bh1750-ambient-light-sensor/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 19 Jun 2024 04:53:34 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: RIchard Franklin https://randomnerdtutorials.com/esp32-bh1750-ambient-light-sensor/#comment-927755 Wed, 19 Jun 2024 04:53:34 +0000 https://randomnerdtutorials.com/?p=108851#comment-927755 Example code does not compile, gives out of range error when you try to implement the HIGH_RES_CONTINUOUS_MODE_2. Works correctly with default value for resolution.

i.e. modifying the lightMeter.begin() line to
lightMeter.begin(BH1750::CONTINUOUS_HIGH_RES_MODE_2). (tried it with and without the :: and using the underscore _ instead, as shown in the table of commands. Neither would compile and produced an out of range error.

Not very sensitive when using the “light ball” version. Apparently the white ball (plastic hemisphere) attenuates the ambient light severely. I thought it would be much more transparent, and thus much more sensitive to ambient light.

Direct, very bright Braun white multi LED flashlight only a few inches away, (far brighter than sunlight), only gives about 600 lux, thus not using most of the dynamic range of the sensor, and reduced accuracy as a result, for solar light monitoring.

]]>
By: Usman https://randomnerdtutorials.com/esp32-bh1750-ambient-light-sensor/#comment-880341 Wed, 27 Dec 2023 16:52:06 +0000 https://randomnerdtutorials.com/?p=108851#comment-880341 In reply to Jhon Kitri Sianturi.

With the NodeMCU, I get “Device not Configured”. How do I fix that, please?

]]>
By: old man Bert https://randomnerdtutorials.com/esp32-bh1750-ambient-light-sensor/#comment-770991 Mon, 25 Jul 2022 10:00:44 +0000 https://randomnerdtutorials.com/?p=108851#comment-770991 In reply to Sara Santos.

Thank you Sara

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-bh1750-ambient-light-sensor/#comment-770982 Mon, 25 Jul 2022 09:29:31 +0000 https://randomnerdtutorials.com/?p=108851#comment-770982 In reply to Old man Bert.

Hi.
Yes. It is the same.
Regards,
Sara

]]>
By: Old man Bert https://randomnerdtutorials.com/esp32-bh1750-ambient-light-sensor/#comment-770697 Sat, 23 Jul 2022 19:26:20 +0000 https://randomnerdtutorials.com/?p=108851#comment-770697 Stupid question perhaps.
But is IIC the same as I2c ?

Greetings bert

]]>
By: Jhon Kitri Sianturi https://randomnerdtutorials.com/esp32-bh1750-ambient-light-sensor/#comment-757812 Tue, 14 Jun 2022 17:38:29 +0000 https://randomnerdtutorials.com/?p=108851#comment-757812 Hello all, I want to ask, I have a problem when I use the sensor module bh1750 and ESP32. Where on the Arduino IDE serial monitor there is a message like the following “Device is not configured! Light: -2.00 lx”. When I searched for the solution to the problem, it was at the following link https://github.com/claws/BH1750/issues/36 and other links. With NodeMCU, the bh1750 sensor module can measure light intensity, whereas when I use the ESP32, the BH1750 sensor module can’t measure. Can anyone give a solution? #ask

]]>
By: Hansie https://randomnerdtutorials.com/esp32-bh1750-ambient-light-sensor/#comment-730763 Tue, 08 Mar 2022 16:24:20 +0000 https://randomnerdtutorials.com/?p=108851#comment-730763 Please make a video on the lilly go TTGO esp32 with the sim7600. Posting data to the cloud the sim800 one only supports 2g network

]]>