The Robot’s Brain
Slow a microcontroller’s forever loop right down, blink a pin into PWM, and drive a motor through an H-bridge driver. Then program Spark to park, spin and deliver, and debug four gadgets on a logic analyser.
- A First Circuit: Wire a bulb, a motor and an LED with live current: volts and flat batteries, series or parallel, short circuits and resistors. Then wire Spark and fix four broken gadgets.
- From Blocks to Python: Watch blocks turn into Python line by line, see indentation change what a program does, and decode real error messages. Then type Spark’s programs, including a square with a for loop, and debug four gadgets in Python.