The second axis
Copy the first axis for Y: a second A4988 and NEMA 17, two more wires, and the claw can reach the whole cabinet floor.
Open it in the simulatorBuild a real arcade claw machine piece by piece, from one stepper motor to coins, a clock, a win sensor, lights and sound.
0 of 8 done
8 lessons in 3 chapters, about 6 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.
Copy the first axis for Y: a second A4988 and NEMA 17, two more wires, and the claw can reach the whole cabinet floor.
Open it in the simulatorWire the cabinet's winch and servo claw and add the Drop button, and write the grab as a state machine: lower, close, lift, carry home, open.
Open it in the simulatorFinish the cabinet with a NeoPixel marquee and a speaker, and meet the payout setting real machines use.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
Two stepper motors that go exactly where the stick says.
Start the claw machine with one axis: a NEMA 17 on an A4988, two signal wires from the Uno, and a test move that proves the wiring.
0 of 4 steps
Add the thumb stick so a player can drive the gantry, and turn how far it is pushed into how fast the motor steps.
0 of 4 steps
Copy the first axis for Y: a second A4988 and NEMA 17, two more wires, and the claw can reach the whole cabinet floor.
0 of 4 steps
Find zero at power-up, then drop, grab and carry a prize home.
Mount the two motors in the cabinet, and wire the lever switch at the home end of each axis, so the machine finds zero at power-up the way printers and real cabinets do.
0 of 4 steps
Wire the cabinet's winch and servo claw and add the Drop button, and write the grab as a state machine: lower, close, lift, carry home, open.
0 of 4 steps
Coins, a countdown, a sensor that knows you won, and the lights and sound of a real cabinet.
Add a coin switch and a 16x2 LCD, and load the full game: insert a coin, beat the clock, and drop.
0 of 4 steps
Wire the infrared beam across the prize chute, so the machine knows a prize really fell and can call a win.
0 of 4 steps
Finish the cabinet with a NeoPixel marquee and a speaker, and meet the payout setting real machines use.
0 of 4 steps
All 8 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Build a claw machine is part of the maker track, a ladder of courses from zero to expert.
Write Orbit, a small language for a mission control panel, in Python on a Raspberry Pi: tokenizer, recursive descent parser, AST, evaluator, scope, functions and real error messages, ending in a REPL that lights real lamps.
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.
Two steppers, a winch, a servo claw, a coin slot and a prize sensor.
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 8 lessons of Build a claw machine 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 Uno R3 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 6 hours: 8 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: The second axis, The claw and the drop and Lights, sound and the whole machine.
With "One stepper on a driver", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.