DISCONNECTED
Controls
Ambient Light
LDR

A Light-Dependent Resistor (LDR) or photoresistor is a passive component whose resistance decreases as light intensity increases. The GL5528 is a popular choice with a resistance range from ~1 MΩ in darkness to ~1 kΩ in bright light.

Specifications
ComponentGL5528 LDR
Dark resistance≥ 1 MΩ
10 lux resistance8 – 20 kΩ
Spectral peak540 nm (green)
Response time20 ms rise / 30 ms fall
Max voltage150 V
Package5 mm photoresistor
How It Works

CdS (cadmium sulphide) semiconductor forms more conductive paths when photons of sufficient energy excite electrons into the conduction band. Combined with a fixed pull-down resistor (e.g. 10 kΩ), it forms a voltage divider whose output voltage rises with light intensity.

Not connected Board ↗
Light -- %
Source Simulation
Raw Serial
Typical Use Cases
Automatic lighting Day/night detection Camera metering Solar tracking Streetlight control Screen brightness
Limitations

Non-linear response — logarithmic mapping required for accurate lux values. Slow (20–30 ms) response unsuitable for fast flicker detection. CdS contains cadmium (RoHS restricted). Sensitive to temperature drift. No spectral selectivity.

Q & A

Sign in to ask questions about this sensor.

Settings

Reference Document

Uploaded docs ground AI answers in your course material. Stored per user, persists across sessions.

Sign in