There is a cheap and simple module that can be attached to any MCU that supports I2C called the BH1750FVI. This simple video illustrates a connection of that module to the ESP32 to measure ambient light levels.
https://www.youtube.com/watch?v=VLIsH3NT7F8
[Video] ESP32 - Ambient light levels
[Video] ESP32 - Ambient light levels
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Who is online
Users browsing this forum: No registered users and 56 guests