Pinball: targets and a score
The table’s three standup targets and a four-digit TM1637. Count a hit once, however much the switch bounces, and reward the whole bank.
Open it in the simulatorFrom two flipper buttons to a full table with a kicker, lights, sound and a saved high score, on a Mega.
0 of 5 done
5 lessons in 3 chapters, about 5 hours on a simulated Arduino Mega 2560. Free, in your browser, every step checked by the simulator.
The table’s three standup targets and a four-digit TM1637. Count a hit once, however much the switch bounces, and reward the whole bank.
Open it in the simulatorSixteen WS2812 lamps and a piezo. Run an attract-mode rainbow and play a tune at the same time, with nothing ever waiting.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
Flippers that answer, and targets that score once per hit.
Two arcade buttons and the table’s two flipper servos on a Mega. Read a button with the chip’s own pull-up and move a flipper the moment it changes.
0 of 5 steps
The table’s three standup targets and a four-digit TM1637. Count a hit once, however much the switch bounces, and reward the whole bank.
0 of 5 steps
Fire a 12 V coil safely, then add lights and a tune that never wait.
A pop bumper switch fires the table’s 12 V kicker coil through a logic-level MOSFET, with a diode across the coil. Big current from a small pin, safely.
0 of 4 steps
Sixteen WS2812 lamps and a piezo. Run an attract-mode rainbow and play a tune at the same time, with nothing ever waiting.
0 of 4 steps
Tie it all together in a state machine with a high score that survives a reset.
Everything together in a state machine: attract, launch, play, drain, game over and high score entry, with the best score kept in EEPROM.
0 of 6 steps
All 5 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Build a pinball table is part of the maker track, a ladder of courses from zero to expert.
A solar weather station on an Uno: wind, rain, the air and UV, packed into 14 bytes over LoRa to a base station that prints the day.
Open the next courseFollow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.
See every course on the trackEvery lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.
A Mega, a table with servo flippers, targets, a solenoid kicker and a drain beam, lamps and a score display.
Open the kitPick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 5 lessons of Build a pinball table are free and run in your browser, with nothing to install and no parts to buy before you start.
No. Every lesson runs on a simulated Arduino Mega 2560 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.
About 5 hours: 5 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.
Each chapter ends in a project that puts it together: Pinball: targets and a score and Pinball: lights and sound.
With "Pinball: flippers that answer", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.