← Electric Doodads Wired & sourced

Zero Night Light

An ATtiny85-based analog LED night light with a gamma-corrected knob for fine control at the dim end.

Intent

One knob, no digital anything: sweeps smoothly from absolute darkness up through a very dim glow — just enough to make out the shape of a person in an otherwise pitch-black room — with the fine control concentrated where it's actually useful, at the low end.

How it works

Hardware

PartRole
ATtiny85VLow-voltage variant, runs comfortably off USB's 4.75–5.25V range
10kΩ linear potentiometerThe brightness knob
2N3904 NPN transistorSwitches LED current — swapped in from an original 2N7000 MOSFET plan
USB-C breakout (VBUS/GND)Power — replaced a 2×AA/3×AA battery plan entirely
0.1µF ceramic capDecoupling, added during an electronics review

Total cost, excluding the ISP programmer used to flash it: well under $10.

Status & next steps