

A Light Dependent Resistor (LDR), also known as a photoresistor, is a passive electronic component whose resistance decreases as the intensity of incident light increases. This property makes it an ideal choice for light sensing and control applications. LDRs are widely used in devices such as automatic streetlights, light meters, and alarm systems.








Below are the general technical specifications of a typical LDR. Note that exact values may vary depending on the specific model or manufacturer.
| Parameter | Value |
|---|---|
| Resistance (Dark) | 1 MΩ to 10 MΩ (typical) |
| Resistance (Bright Light) | 1 kΩ to 10 kΩ (typical) |
| Maximum Voltage | 150 V |
| Power Dissipation | 100 mW |
| Spectral Response | 400 nm to 700 nm (visible light) |
| Response Time (Rise) | 20 ms to 30 ms |
| Response Time (Fall) | 30 ms to 50 ms |
| Operating Temperature | -30°C to +70°C |
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:
Interfacing with a Microcontroller (e.g., Arduino UNO):
Important Considerations:
Below is an example of how to use an LDR with an Arduino UNO to measure light intensity and display the readings in the Serial Monitor.
// Define the analog pin connected to the LDR
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
float voltage = ldrValue * (5.0 / 1023.0); // Convert ADC value to voltage
// Print the LDR value and voltage to the Serial Monitor
Serial.print("LDR Value: ");
Serial.print(ldrValue);
Serial.print(" | Voltage: ");
Serial.println(voltage);
delay(500); // Wait for 500 ms before the next reading
}
Inconsistent Readings:
No Response to Light Changes:
Low Sensitivity:
Overheating:
Q1: Can an LDR detect infrared light?
A1: No, LDRs are designed to respond to visible light (400 nm to 700 nm). For infrared detection, use a photodiode or phototransistor.
Q2: How do I choose the resistor value for the voltage divider?
A2: The resistor value should be comparable to the LDR's resistance under typical lighting conditions. For example, use a 10 kΩ resistor if the LDR's resistance is around 10 kΩ in ambient light.
Q3: Can I use an LDR in a digital circuit?
A3: Yes, but you will need to use an analog-to-digital converter (ADC) or a comparator circuit to process the LDR's analog output.
Q4: Is the LDR polarity-sensitive?
A4: No, the LDR is not polarity-sensitive and can be connected in either direction.