A no-code nightlight: an LED noodle switched by a photoresistor and a 2N2222 transistor on perfboard, powered by a USB wall adapter.

Analog Nightlight
| Part (price) | Role |
| 10K Potentiometer | Input knob |
| LDR Photoresistor | Sensor |
| 830-Point Breadboard ($1.10) | Breadboard |
Microcontroller listed first. Prices shown only where known; see the source book for quantities, wiring, and current prices.