




LDR Light Sensor Module (Photoresistor) for Arduino, ESP32 & Raspberry Pi | Light Detection Sensor
Detect ambient light levels with the LDR Light Sensor Module (Photoresistor), compatible with Arduino, ESP32, Raspberry Pi, NodeMCU, STM32, and other microcontrollers. Featuring a high-sensitivity photoresistor (Light Dependent Resistor) and LM393 comparator, this module provides both analog and digital outputs for accurate light intensity detection. Ideal for automatic lighting systems, smart home automation, solar tracking, robotics, IoT, environmental monitoring, and STEM education, it offers adjustable sensitivity and easy GPIO interfacing.
Customize
Share :
LDR Light Sensor Module (Photoresistor) for Arduino, ESP32 & Raspberry Pi
The LDR Light Sensor Module, also known as a Photoresistor Sensor Module, is a widely used electronic sensor designed to detect changes in ambient light intensity. It uses a Light Dependent Resistor (LDR) whose resistance changes according to the amount of light falling on its surface.
The module includes an LM393 voltage comparator and an adjustable potentiometer, allowing users to configure the light threshold for digital output while also providing an analog output for continuous light intensity measurement.
Compatible with Arduino Uno, Nano, Mega, ESP32, Raspberry Pi, ESP8266 NodeMCU, STM32, and other development boards, this module is ideal for building automatic lighting systems, smart streetlights, solar trackers, environmental monitoring systems, and various IoT and robotics applications.
Key Features
- High-Sensitivity Light Dependent Resistor (LDR)
- Detects Ambient Light Intensity
- Analog and Digital Outputs
- Adjustable Detection Threshold
- Onboard LM393 Comparator
- Sensitivity Adjustment Potentiometer
- LED Power & Status Indicators
- Fast Response Time
- Low Power Consumption
- Easy GPIO Interface
- Compact PCB Design
- Compatible with Arduino, ESP32, Raspberry Pi, NodeMCU, and STM32
- Ideal for IoT, Robotics, Automation, and STEM Projects
Technical Specifications
| Specification | Details |
|---|---|
| Product Type | LDR Light Sensor Module |
| Sensor Type | Photoresistor (Light Dependent Resistor) |
| Comparator IC | LM393 |
| Outputs | Analog (AO) & Digital (DO) |
| Operating Voltage | 3.3V – 5V DC |
| Sensitivity Adjustment | Onboard Potentiometer |
| Detection Method | Ambient Light Intensity |
| Indicator LED | Yes |
| Interface | Analog & Digital GPIO |
| Compatibility | Arduino, ESP32, Raspberry Pi, NodeMCU, STM32 |
Applications
- Automatic Street Lights
- Smart Lighting Systems
- Day/Night Detection
- Solar Tracking Systems
- Smart Home Automation
- Environmental Monitoring
- Robotics
- IoT Projects
- Energy Saving Systems
- Security Systems
- Embedded Systems
- DIY Electronics
- Educational Projects
- Engineering Experiments
- STEM Education
Package Includes
- 1 × LDR Light Sensor Module
Why Buy from Horizocart?
- Genuine quality-tested sensor modules
- Reliable ambient light detection
- Fast shipping across India
- Secure packaging
- Competitive pricing
- Trusted electronics and IoT supplier
- Excellent customer support
- Ideal for students, makers, engineers, and professionals
Frequently Asked Questions
Q. Is this compatible with Arduino Uno?
Yes. It is fully compatible with Arduino Uno, Nano, Mega, Leonardo, and other Arduino-compatible boards.
Q. Can I use it with ESP32?
Yes. It supports ESP32 using both analog and digital GPIO pins.
Q. Does it work with Raspberry Pi?
Yes. The digital output can connect directly to Raspberry Pi GPIO pins. The analog output requires an external ADC because Raspberry Pi does not have built-in analog inputs.
Q. What is the difference between analog and digital outputs?
- Analog Output (AO): Provides a voltage proportional to the ambient light intensity.
- Digital Output (DO): Outputs HIGH or LOW when the light level crosses the threshold set by the onboard potentiometer.
Q. Can I adjust the sensitivity?
Yes. The onboard potentiometer allows you to adjust the light detection threshold for the digital output.
Q. What does an LDR do?
An LDR (Light Dependent Resistor) changes its resistance based on the amount of light it receives. Higher light intensity results in lower resistance, while darkness increases resistance.
Q. What projects can I build with this sensor?
It is commonly used in automatic lighting, solar tracking, smart homes, environmental monitoring, robotics, and IoT applications.


