LDR Photoresistor Light Sensor Module – LM393, Analog & Digital Output
This LDR photoresistor light sensor module is designed to detect ambient light intensity and brightness changes. It can be used for smart lighting, day/night detection, automation projects, robots, alarms, display control and simple light-based switching.
The module uses a light-dependent resistor to detect brightness. As the light level changes, the sensor output changes as well. It also includes an LM393 comparator and an adjustable potentiometer, allowing the digital output threshold to be adjusted.
The module provides both analog and digital outputs. The analog output can be read by a microcontroller ADC pin to measure relative light intensity, while the digital output can be used as a simple light/dark trigger.
It is suitable for ESP32, Arduino, Raspberry Pi, ESPHome and other microcontroller projects.
Key Features
- LDR photoresistor light sensor module
- Detects ambient light and brightness changes
- LM393 comparator circuit
- Adjustable sensitivity using onboard potentiometer
- Analog output for relative light level measurement
- Digital output for adjustable light/dark threshold detection
- Works with ESP32, Arduino, Raspberry Pi and other microcontrollers
- Useful for smart lighting, day/night detection, automation and IoT projects
Typical Applications
- Automatic light control
- Day and night detection
- Smart home automation
- ESPHome light-level projects
- Arduino and ESP32 sensor projects
- Robot light detection
- Alarm and trigger circuits
- Display brightness control experiments
Package Includes
1 × LDR photoresistor light sensor module
Product Information Sheet
| Attribute | Value |
|---|---|
| Sensor type | LDR / photoresistor |
| Comparator IC | LM393 |
| Outputs | Analog output + digital output |
| Digital threshold | Adjustable with onboard potentiometer |
| Working voltage | 3.3V–5V DC |
| Pins | VCC, GND, DO, AO |
| Output type | Analog voltage + TTL digital signal |
| Typical PCB size | Approx. 32 × 14 mm |
| Typical use | Light detection, day/night detection, smart lighting, Arduino/ESP32 projects |
| Package includes | 1 × LDR photoresistor light sensor module |







