

A Light Dependent Resistor (LDR), also known as a photoresistor, is a type of resistor whose resistance decreases as the intensity of incident light increases. This property makes it an essential component in light-sensing applications. LDRs are widely used in devices such as automatic lighting systems, light meters, and alarm systems. They are inexpensive, easy to use, and highly effective for detecting changes in ambient light levels.








Below are the general technical specifications of a standard LDR. Note that specific values may vary depending on the manufacturer and model.
| Parameter | Value |
|---|---|
| Resistance (Dark) | 1 MΩ or higher |
| Resistance (Bright Light) | 1 kΩ to 10 kΩ |
| Maximum Voltage | 150V |
| Power Dissipation | 100 mW |
| Response Time (Rise) | 20 ms |
| Response Time (Fall) | 30 ms |
| Operating Temperature | -30°C to +70°C |
| Material | Cadmium Sulfide (CdS) |
An LDR is a two-terminal device with no polarity. The terminals are interchangeable, and the component can be connected in either direction in a circuit.
| Pin | Description |
|---|---|
| Pin 1 | One terminal of the LDR |
| Pin 2 | The other terminal of the LDR |
Basic Circuit Connection:
Voltage Divider Configuration:
Interfacing with Arduino:
// Arduino code to read LDR values and display light intensity
const int ldrPin = A0; // LDR connected to analog pin A0
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
int ldrValue = analogRead(ldrPin); // Read the analog value from the LDR
Serial.print("LDR Value: ");
Serial.println(ldrValue); // Print the LDR value to the Serial Monitor
delay(500); // Wait for 500ms before the next reading
}
Issue: The LDR is not responding to changes in light.
Issue: The output voltage is not stable.
Issue: The LDR is overheating.
Issue: The LDR's response is too slow.
Can I use an LDR to measure exact light intensity?
What type of light does an LDR respond to?
Can I use an LDR in outdoor applications?
What is the lifespan of an LDR?