Photoresistor (LDR) (GL5528)
GL5528 CdS light-dependent resistor · 14 kΩ at 10 lux · 1 MΩ dark · γ 0.6 · 100 mW

Try it on the benchThe lab drops it on an empty bench and opens its datasheet card.
Pins
- Lead 1
- Lead 2
Lessons and builds that use it
- Light sensor (LDR divider)
- Comparator with a light sensor
- Light sensor with an ESP32
- Light-activated switch with relay
- Solar garden light with dusk switch (build)
- 6. LDR: sensing light (build)
- 7. Transistor: the light switches itself (build)
- 8. Voltage regulator: a 12 V supply and a steady 5 V (build)
- 9. Comparator: a clean decision at dusk (build)
- 10. Relay: switching a real lamp (build)
- 11. PIR sensor: only when someone is there (build)
- 12. 555 timer: stay on after they pass (build)
- 13. Buzzer: an alarm mode (build)
- 14. Solar: the light runs off-grid (build)