DIYables Light Sensor
Click to zoom


Quick Overview
This 50-piece photocell light sensor (LDR - Light Dependent Resistor) pack provides analog light detection for Arduino, ESP32, ESP8266, and Raspberry Pi projects. The resistance changes based on ambient light levels, from 5-10KΩ in bright light to 200KΩ in darkness.
Perfect for automatic lighting control, day/night detection, solar trackers, and light-responsive projects. Fast response time of 20ms (rise) and 30ms (fall) ensures quick light level detection.
Key Features
- 50-Piece Pack — Bulk quantity for multiple projects
- Photoresistor Technology — Resistance varies with light intensity
- Fast Response — 20ms rise, 30ms fall time
- Wide Range — 5-10KΩ (bright) to 200KΩ (dark)
- Spectral Peak — 540nm (green light sensitivity)
- Compact Size — 5.0mm × 2.0mm
- Maximum Ratings — 100mW power, 150V DC
- Wide Compatibility — Arduino, ESP32, ESP8266, Raspberry Pi
- Versatile Use — Automatic lighting, solar tracking, light detection
- ...NOTE
- If you are using the ESP32, you need to configure the ADC with 11 dB attenuation to set the voltage reference range to handle up to 3.3V.
- ...NOTE
SPECIFICATION
| Specification | Value |
|---|---|
| Product Type | Photocell Light Sensor (LDR) |
| Quantity | 50 pieces |
| Response Time (Rise) | 20ms |
| Response Time (Down) | 30ms |
| Spectral Peak | 540nm |
| Maximum Wattage | 100mW |
| Maximum Voltage | 150 Volt DC |
| Size | 5.0mm × 2.0mm |
| Weight | 1g per piece |
| Resistance (Bright) | 5-10KΩ |
| Resistance (Dark) | 200KΩ (0.2MΩ) |
Tutorials
- Arduino - Light Sensor tutorial
- Arduino Uno R4 - Light Sensor tutorial
- Arduino Nano - Light Sensor tutorial
- Arduino Nano ESP32 - Light Sensor tutorial
- ESP32 - Light Sensor tutorial
- ESP32 MicroPython - Light Sensor tutorial
- ESP8266 - Light Sensor tutorial
- Raspberry Pi - Light Sensor tutorial
- Raspberry Pi Pico - Light Sensor tutorial
COMPATIBLE HARDWARE
- Arduino boards (UNO, Mega, Nano, etc.) - requires analog input pin
- ESP32 development boards - configure ADC with 11 dB attenuation
- ESP8266 (A0 analog pin)
- Raspberry Pi (requires ADC module like MCP3008)
- Raspberry Pi Pico (analog input pins)
- Any 5V or 3.3V microcontroller with analog input capability









