LDR Module 4 Pin | Digital & Analog Light Sensor for Arduino
₹60.00 Original price was: ₹60.00.₹39.00Current price is: ₹39.00.
Features: LDR Module LM393 4 Pin
✅ 4-Pin Output: Provides both digital (D0) and analog (A0) outputs for flexibility in projects.
✅ LM393 Comparator: Fast, reliable switching for accurate light detection.
✅ Adjustable Sensitivity: Onboard potentiometer lets you set the light threshold easily.
✅ Wide Voltage Range: Operates on 3.3V–5V, compatible with Arduino, ESP32, Raspberry Pi, and microcontrollers.
✅ High Stability: Stable performance with precise light sensing in varying conditions.
✅ Indicator LED: Shows digital output state for quick testing and debugging.
✅ Compact Design: Easy to integrate into DIY and IoT projects.
Out of stock
How to Use the LDR Module LM393 4 Pin with Arduino for Light Sensing Projects
Introduction
Light sensing is essential for automating lights, saving energy, and creating interactive projects. The LDR Module LM393 4 Pin offers both digital and analog outputs, making it perfect for beginners and advanced makers using Arduino, ESP32, or Raspberry Pi.
In this guide, we’ll explore how this module works, its features, and how to use it in your projects.
What is the LDR Module LM393 4 Pin?
The module combines:
✅ An LDR (Light Dependent Resistor) to detect light.
✅ An LM393 comparator to provide a digital output when light crosses a threshold.
✅ An analog output (A0) to measure exact light levels.
This makes it more versatile than a 3-pin module, allowing both light detection and intensity measurement in your projects.
Key Features
- Digital and Analog Outputs (D0, A0)
- Adjustable Sensitivity via potentiometer
- Compatible with Arduino and ESP32
- Compact and easy to integrate
- Low power consumption
Applications: LDR Module LM393 4 Pin
✅ Automatic Street Lights: Turn lights on/off automatically based on ambient light levels.
✅ Smart Home Automation: Control curtains, lights, or alarms using real-time light sensing.
✅ Solar Tracking Systems: Adjust solar panels based on light intensity for maximum efficiency.
✅ Light-Based Alarms: Trigger buzzers or alerts when light levels drop suddenly (e.g., hand covering sensor).
✅ Data Logging Projects: Monitor and record light levels over time using the analog output.
✅ Smart Garden Systems: Activate grow lights or shading systems based on sunlight availability.
✅ Energy Saving Projects: Switch off unnecessary lights when sufficient daylight is available.
✅ Robotics: Use in line-following robots or light-seeking robots for learning projects.
✅ DIY Electronics Projects: Integrate into any light-based interactive system with Arduino, ESP32, or Raspberry Pi.
How to Connect LDR Module LM393 with Arduino
Pins:
- VCC → 5V on Arduino
- GND → GND
- D0 → Any digital pin (e.g., D2)
- A0 → Any analog pin (e.g., A0)
Arduino Code for LDR Light Sensor Module:
int digitalPin = 2;
int analogPin = A0;
void setup() {
pinMode(digitalPin, INPUT);
Serial.begin(9600);
}
void loop() {
int digitalValue = digitalRead(digitalPin);
int analogValue = analogRead(analogPin);
Serial.print(“Digital: “);
Serial.print(digitalValue);
Serial.print(” | Analog: “);
Serial.println(analogValue);
delay(500);
}
| Weight | 5 g |
|---|
Related products
-
1 Channel 5V Relay Module
₹55.00Original price was: ₹55.00.₹33.00Current price is: ₹33.00.Add to cartFeatures :
- 1 channel relay board
- Operating Voltage 5V
- Pull-down circuit for avoidance of malfunction
- Power supply indicator lamp
- Control indicator lamp
- Indicator for Relay output status
- Max Current : 20mA
- Relay Contact Current Capacity at AC250V: 10A
- Relay Contact Current Capacity at DC5V: 10A
- One normally closed contact and one normally open contact
- Triode drive, increasing relay coil
- High impedance controller pin
- Can Be controlled various appliances & other Equipment With Large current.
- Standard TTL Level logic controlled (AVR, Arduino, 8051, PIC, ARM)
- The module is compliant with international safety standards, control and load areas isolation trenches;
* Product Image is shown for illustrative purposes only and may differ from actual product.
-
Dual Axis XY Joystick Module
₹99.00Original price was: ₹99.00.₹49.00Current price is: ₹49.00.Add to cartJoystick Module Features and Specifications:
- Compatible with Arduino or with most of the microcontrollers
- Two independent Potentiometers – one for each axis ( X and Y)
- Auto return to center position
- Low weight
- Cup-type Knob
- Operating Voltage: 5V
- Internal Potentiometer value: 10k
- 2.54mm pin interface leads
- Dimensions: 1.57 in x 1.02 in x 1.26 in (4.0 cm x 2.6 cm x 3.2 cm)
- Operating temperature: 0 to 70 °C
-
Digital LDR Module – Light Sensor
₹50.00Original price was: ₹50.00.₹35.00Current price is: ₹35.00.Read moreFeatures:
✅ Simple to use, plug-and-play.
✅ Adjustable sensitivity using potentiometer.
✅ Low power consumption.
✅ Fast switching compared to analog readings.
✅ Useful in light detection, automatic street lights, daylight sensing, and DIY projects.Applications:
🔹 Automatic night lamp.
🔹 Smart curtains that close when light is high.
🔹 Light intensity alarms.
🔹 Robotics line-following sensors (combined with reflective surfaces).
🔹 Security systems to detect sudden darkness (hand covering sensor). -
NRF24L01 2.4 MHz RF Transceiver Module
₹250.00Original price was: ₹250.00.₹99.00Current price is: ₹99.00.Add to cartSpecifications
- Low working voltage: 1.9 to 3.6 V
- I/O input voltage: 5V
- Wireless rate: 1 or 2 MBPS
- SPI interface rate: 0 to 8MBPS
- Transmission distance: 200 meters
- Dimensions: Width: 30 mm, Height: 10 mm, Depth: 20 mm
- Weight: 30 g







