Coming soon to Steam

Micro Bench

Assembly on a real circuit. Write short programs for the MB1, a small teaching microcontroller, and run them on a board where the LED only glows if the pin sources enough current and a motor kicks back without its flyback diode. Check measures what the pins actually do.

Wishlist on Steam
Micro Bench: Snake running on an 8 by 8 LED matrix driven through a shift register, with the assembly program, registers and scope beside the board
80graded exercises
26MB1 instructions
18datasheet pages to print
8sandbox presets
The MB1

Code meets electricity at the pins

Sixteen I/O pins, two timers with PWM, an ADC, a UART, interrupts and a sleep mode, running cycle by cycle on the same circuit simulator as Analog Bench. LEDs, motors, servos, a stepper, sensors, a character LCD and an LED matrix all behave like the parts they are.

A face lit on an 8 by 8 LED matrix by scanning one row at a time through a shift register
Step, watch, measure

A debugger that shows the price of every line

Step one instruction and watch the registers, the pins and the LED change together. Step back, run to a cycle, set breakpoints. The logic analyzer measures period and duty and decodes UART and I2C, and a console prints what your program sends.

The logic analyzer on a servo's control pin: period 20 ms, 50 Hz, high 1.511 ms, duty 7.6 %
The course

From one blink to Snake

You start by fixing a two-line blink. Ten chapters later you have:

  • Read the analog world: an ADC, noise, averaging and a thermometer.
  • Driven motors and servos with PWM, a MOSFET and a flyback diode.
  • Talked over UART and I2C and debounced a button with an interrupt.
  • Held a thermostat, steered a line follower and written Snake for an LED matrix.
The thermostat capstone: a heater glowing under its thermistor, with the control loop in the code pane
Brief, Learn, datasheet

Every exercise teaches first

A short brief, a deeper Learn page, three hints one at a time, a 161-term glossary and a recap for every chapter. The MB1's datasheet unlocks page by page and prints. Goals are measurements, and every program is also scored on words, cycles, awake time and RAM.

The MB1 datasheet viewer open on the Timers and PWM page, with its register tables

On Steam for Windows and Mac

Micro Bench is coming soon to Steam. Single player, English, mouse and keyboard. No account, no ads, nothing collected.

Wishlist on Steam

More Bench games

Analog Bench: build circuits that work · DSP Bench: signal processing you can hear · Digital Bench: logic chips, real timing · All Bench games

Questions: bench [at] zebel.ai · Support · Privacy Policy