DIYables LDR Light Sensor Module for Arduino, ESP32, ESP8266, Raspberry Pi, 4 pieces
Click to zoom






Quick Overview
This package includes 4 pieces of digital light sensor module.
Key Features
- Digital LDR Photosensitive Light Sensor Module. The triggered threshold is adjustable via a built-in potentiometer
- Two output pins: Digital (LOW / HIGH) and Analog
- Supply voltage: 3.3 - 5V DC
- Digital LDR light sensor for Arduino, ESP32, ESP8266, Raspberry Pi, or any 5V or 3.3V microcontroller.
- ## DO (Digital Output)pin:
- The module has a built-in potentiometer that you can turn to adjust the sensitivity of the light detection.
- When the light around the module is brighter than the set threshold, the DO pin of the sensor becomes low, and the LED connected to the DO pin turns on.
- When the light around the module is dimmer than the set threshold, the DO pin of the sensor becomes high, and the LED connected to the DO pin turns off.
- ## AO (Analog Output) pin:
- The value read from the AO pin is lower when the surrounding light is brighter.
- The value read from the AO pin is higher when the surrounding light is dimmer.
- Please note that adjusting the potentiometer does not affect the value read from the AO pin.
- ...NOTE
- If you are using the ESP32, you need to configure the ADC with 11 dB attenuation to set the voltage reference range to handle up to 3.3V.
- ...NOTE
Tutorials
- Arduino - LDR Light sensor Module
- Arduino Nano - LDR Light sensor Module
- Arduino Nano ESP32 - LDR Light sensor Module
- ESP32 - LDR Light sensor Module
- ESP32 MicroPython - LDR Light sensor Module
- ESP8266 - LDR Light sensor Module
- Raspberry Pi - LDR Light sensor Module
- Raspberry Pi Pico - LDR Light sensor Module









