Details
There are just three pins: power, ground and output. The output is an analog voltage that gets higher as the room gets brighter. No library needed — just read it with analogRead(). That makes it a perfect first sensor for students and workshops.
Specifications
- Sensor: ALS-PT19 phototransistor
- Spectral response: close to the human eye
- Output: analog voltage (higher = brighter)
- Supply voltage: 2.5–5.5V
- Headers: included, not soldered
Pin Definitions
- + — Power in, 2.5–5.5V
- − — Ground
- OUT — Analog output — connect to an ADC pin
Project Ideas
Night-time safety wear that lights up when it gets dark, a jacket that glows brighter in dim rooms, stage costumes that react to spotlights, or a light-meter lesson for your class.
Good to know
On the ESP32, use an ADC1 pin: ADC2 pins stop working when Wi-Fi is on.
Pair It With
Great with beginner-friendly boards like the Adafruit Gemma M0, Adafruit Flora V3 or Beetle ESP32 [Sewable]. Use our soft silicone wire sampler for soft, flexible connections inside a garment.
In the box
- ALS-PT19 light sensor board × 1
- Header pins × 1 set
