Sensor
Photoresistor (LDR) + 10 kΩ divider
Reads ambient brightness through a simple voltage divider.
Pinout
- VCCpower (3.3 V)
- SIGanalog
- GNDground
Bench notes
LDR to VCC, 10 kΩ to GND, read the midpoint. Brighter light = higher reading.
- Typical price
- $0.40
- Libraries
- none needed
- Prompt keywords
- light, brightness, dark, ldr