Cover of Program a Microcontroller
Guide 32

Program a Microcontroller

Pins, outputs and inputs, resistors, sensors, servos and sound, over six projects with the wiring and code for each, then onto a real board.

Who it’s forBeginners ready to program real hardware.
You’ll finish withSix microcontroller projects, wired and coded, from LEDs to servos.
14 pagesA4 PDFIllustratedUnlocks the full Microcontroller Lab

Buying the guide unlocks every part of the Microcontroller Lab on any device you sign in on. You can try the first project free.

£3

Launch price until 1 January 2028, then £6. Or All Access, £29 once: every guide and tool, including new ones, yours for good.

Bought it on another store? Redeem your code.

What’s inside

14 illustrated A4 pages. Here’s every section, in order.

  1. Before you startThe computer in a washing machine, a drone or a doorbell is one of these.
  2. 1The board and its pinsOutputs switch things. Inputs notice things.
  3. 2Every program has two partssetup() runs once. loop() runs for ever.
  4. 3Blink an LEDThe "hello world" of electronics.
  5. 4Why the resistor mattersThe most common beginner mistake.
  6. 5Traffic lightsSeveral outputs, in the right order.
  7. 6Read a buttonYour first input.
  8. 7Night lightA sensor gives you a number, not just on or off.
  9. 8Servo and knobTurning a number into movement.
  10. 9Play a tuneLists and loops make music.
  11. 10When it doesn't workEvery maker's checklist.
  12. 11Onto a real boardThe same code ideas, real parts.

Look inside

Three real pages from the guide. Tap one to see it full size.

Free sample: the first 4 pages (PDF)

You might also like