The 1Hz ComputerCanvas 2D
thearnab.com

Systems & Hardware

The 1Hz Computer

The compiler emits instructions for a clocked CPU. The board, register inspector and memory views read the resulting machine state.

  • Canvas 2D
  • Angular Signals
Human (Arnab):
Product framing, architecture, CPU timing and instruction set, UX constraints, design tokens and release review.
Agent-assisted:
Bounded component scaffolding, data wiring and Playwright verification under AGENTS.md.
Read the colophon →
The 1 Hz Adder Computer
two analog knobs · one visible program loop
tick14moderunning

A computer slow enough to see

Turn two knobs.
Watch the machine add.

At one clock tick per second, the program reads each analog knob, converts it to a four-bit ADC code, decodes a digit, adds both digits in the ALU, and writes the sum to a two-digit display.

live programread → convert → add → display → repeat
Analog inputKnob A
2
position1.11 V4-bit ADC0011 3decoded digit2
Analog inputKnob B
3
position1.67 V4-bit ADC0101 5decoded digit3
8-bit ALU
2+3=5
0011 + 0101
seven-segment outputLast completed loop00–18
05
next sum: 05
tick 14DisplayThe program counter is moving to the next instruction.
  1. 1Readsample knobs A and B
  2. 2Convertvoltage → ADC code → digit
  3. 3AddALU combines the values
  4. 4Displaywrite 00–18, then loop

Go beneath the loop

Nothing here is a black box.

Follow the same addition from the program down through registers, memory, logic gates, and discrete transistors.

instructionbetween instructionsprogram9 instructionsmemory21 / 256 bytesclock1 Hz
Human (Arnab):
Product framing, architecture, CPU timing and instruction set, UX constraints, design tokens and release review.
Agent-assisted:
Bounded component scaffolding, data wiring and Playwright verification under AGENTS.md.