What is an LDR (Light Sensor)? Working & Uses
What is an LDR (Light Sensor)? Working & Uses
An LDR (Light Dependent Resistor), also called a photoresistor or light sensor, is an electronic component whose resistance changes according to the amount of light falling on it. LDRs are widely used in automatic street lights, smart home systems, alarm circuits, and Arduino projects.
In this beginner-friendly guide, you will learn what an LDR is, how it works, its symbol, applications, advantages, disadvantages, and how to use it in electronic circuits.

What is an LDR?
An LDR is a type of resistor that changes its resistance based on light intensity. When light falls on the sensor, its resistance decreases. In darkness, the resistance becomes very high.
LDRs are made from semiconductor materials such as cadmium sulfide (CdS). These materials become more conductive when exposed to light.
- High light intensity → Low resistance
- Low light intensity → High resistance
LDR Symbol and Structure
The symbol of an LDR is a resistor with arrows pointing toward it, representing incoming light.

The internal structure of an LDR contains a zig-zag semiconductor track placed on an insulating surface. This design increases the light-sensitive area.
How Does an LDR Work?
The working principle of an LDR is based on photoconductivity. When light photons strike the semiconductor material, electrons gain energy and move freely, reducing resistance.
In darkness, very few free electrons are available, so the resistance remains extremely high.
- Bright Light: Resistance can drop to a few hundred ohms.
- Darkness: Resistance may rise to several megaohms.

Types of LDR
LDRs are mainly classified into two types:
1. Intrinsic Photoresistor
These are made from pure semiconductor materials such as silicon or germanium.
2. Extrinsic Photoresistor
These are made using semiconductor materials mixed with impurities to improve sensitivity to light.
LDR Pin Configuration
An LDR has two terminals and is non-polarized, meaning it can be connected in any direction.
- Pin 1: Connect to power or resistor
- Pin 2: Connect to ground or output circuit
LDR Circuit Example
LDRs are commonly used in voltage divider circuits to detect changes in light intensity.

In this circuit:
- The LDR senses light intensity.
- A resistor forms a voltage divider.
- The output voltage changes according to light conditions.
Applications of LDR
LDRs are widely used in light-sensitive electronic circuits and automation projects.
- Automatic street lights
- Solar garden lights
- Light intensity meters
- Smart home automation
- Security alarm systems
- Camera light meters
- Arduino light sensing projects
- Brightness control systems

Advantages of LDR
- Simple and low-cost component
- Easy to use in circuits
- Good sensitivity to light
- Low power consumption
- Ideal for DIY electronics projects
Disadvantages of LDR
- Slow response speed
- Not suitable for high-speed applications
- Sensitivity affected by temperature
- Performance may reduce over time
LDR vs Photodiode
| Feature | LDR | Photodiode |
|---|---|---|
| Response Speed | Slow | Fast |
| Cost | Low | Higher |
| Sensitivity | Good | Very High |
| Applications | Light Detection | Optical Communication |
| Working Principle | Photoconductivity | Photoelectric Effect |
How to Use an LDR with Arduino
An LDR can be connected to an Arduino using a voltage divider circuit. The Arduino reads analog voltage changes and detects brightness levels.
- Connect one side of the LDR to 5V
- Connect the other side to analog pin A0
- Use a 10kΩ resistor between A0 and GND
This setup is commonly used in automatic light systems and smart IoT projects.
Frequently Asked Questions (FAQs)
What does LDR stand for?
LDR stands for Light Dependent Resistor.
Is LDR analog or digital?
An LDR is an analog sensor because its resistance changes gradually according to light intensity.
Can an LDR detect darkness?
Yes. In darkness, the resistance of an LDR becomes very high, allowing circuits to detect low-light conditions.
Where are LDR sensors used?
LDR sensors are used in automatic lights, security systems, solar lamps, and Arduino projects.
Conclusion
An LDR is one of the most useful and beginner-friendly light sensors in electronics. It changes resistance according to light intensity, making it ideal for automatic lighting systems, DIY projects, and smart electronics.
If you are learning electronics or Arduino, understanding how an LDR works is an excellent step toward building smart automation projects.
Related Posts
- What is an IR Sensor? Working and Applications
- What is an Ultrasonic Sensor? Distance Measurement Guide
- What is a PIR Motion Sensor? How It Works
- What is an LED? How It Works and How to Use It
SEO Meta Title
What is an LDR (Light Sensor)? Working Principle & Applications
SEO Meta Description
Learn what an LDR (Light Dependent Resistor) is, how it works, its circuit, symbol, advantages, and applications in electronics and Arduino projects.