Raspberry Pi Pico practice problem · Raspberry Pi Pico
Follow the light
HardBudget $12MicroPython
An LDR divider on GP26 drives a servo on GP16 (VBUS, 50 Hz).
Map the divider's 0–3.3 V to the servo's 0–180°. Dark (5 lux) points to about 60°; bright light (500 lux) points to 180°. The test starts dark and turns the light on after 1.5 s.