Back
LDR / Photoresistor
Sensors

LDR / Photoresistor

Resistance changes with light intensity.

Definition

An analog component whose resistance drops as ambient light increases.

AI Application

Provides ambient-light context to AI models for smart lighting and energy-saving automation.

Parts & pins

1
VCC

5V power input

2
GND

Ground reference

3
DO

Digital output (HIGH/LOW)

4
AO

Analog output (0–Vcc)

5
Photoresistor

Resistance changes with light

6
Comparator (LM393)

Sets the digital threshold

Works with

Hardware you can wire this part to in a typical project.