

The LDR Photoresistor by Elegoo is a light-sensitive electronic component that changes its resistance based on the intensity of incident light. As the light intensity increases, the resistance of the LDR decreases, making it an ideal choice for light-sensing applications. This component is widely used in projects such as automatic lighting systems, light meters, and other devices requiring light detection.








The following table outlines the key technical details of the Elegoo LDR Photoresistor:
| Parameter | Value |
|---|---|
| Manufacturer | Elegoo |
| Part ID | LDR Photoresistor |
| Resistance (Dark) | 1 MΩ (typical) |
| Resistance (Bright) | 10 kΩ to 20 kΩ (typical) |
| Maximum Voltage | 150 V |
| Maximum Power | 100 mW |
| Response Time (Rise) | 20 ms |
| Response Time (Fall) | 30 ms |
| Operating Temperature | -30°C to +70°C |
The LDR is a two-terminal device with no polarity. The terminals can be connected in either direction. Below is a description of the pins:
| Pin | Description |
|---|---|
| Pin 1 | Connects to one side of the circuit (e.g., VCC) |
| Pin 2 | Connects to the other side of the circuit (e.g., GND or input pin) |
Basic Circuit Setup:
Interfacing with Arduino UNO:
analogRead() function to measure the voltage and determine light intensity.Important Considerations:
Below is an example of how to use the Elegoo LDR Photoresistor with an Arduino UNO:
// Define the analog pin connected to the LDR
const int ldrPin = A0;
// Variable to store the LDR reading
int ldrValue;
void setup() {
// Initialize serial communication for debugging
Serial.begin(9600);
}
void loop() {
// Read the analog value from the LDR
ldrValue = analogRead(ldrPin);
// Print the LDR value to the Serial Monitor
Serial.print("LDR Value: ");
Serial.println(ldrValue);
// Add a small delay to avoid flooding the Serial Monitor
delay(500);
}
| Issue | Possible Cause | Solution |
|---|---|---|
| No change in output voltage | Incorrect wiring or damaged LDR | Verify connections and replace the LDR if needed. |
| Unstable or noisy readings | Electrical noise or improper resistor value | Use a capacitor to filter noise or adjust the resistor value. |
| LDR not responding to light changes | LDR exposed to excessive light or heat | Replace the LDR and avoid extreme conditions. |
Can the LDR detect infrared light?
What resistor value should I use with the LDR?
Can I use the LDR with a digital input pin?
digitalRead() function.By following this documentation, you can effectively integrate the Elegoo LDR Photoresistor into your projects and troubleshoot any issues that arise.