lcamtuf’s thing • 7958 implied HN points • 19 Mar 26
- A physical Game of Life was built as a 17×17 grid of illuminated mechanical switches driven by an AVR microcontroller, using row/column multiplexing and transistor drivers to handle the LEDs.
- Row scanning gives each LED a low duty cycle, so the design uses high peak currents, series resistors, MOSFETs/P-channel transistors, and firmware safeguards like a blackout window and watchdog to avoid thermal or software-induced damage.
- Mechanical switches provide a tactile, editable playfield with an analog speed knob, but they are the main cost driver; cheaper or fancier options (touchscreens, flip-dots) trade off price, feel, and complexity.