Worked Examples

Analogue Sensors: Worked Examples

Tap an example to open its schematic, copy-and-paste code and parts list.

Breadboard wiring for a GL5528 LDR and 10 kΩ resistor connected to Arduino A0
Analogue Sensors

Self-calibrating LDR light sensor bar

Use an LDR and a 10 kΩ resistor to make the LED matrix respond to room brightness.

Open example