Pan, tilt and where the dot lands
Two servos make a turret: pan turns it left and right, tilt points it up and down. Work out where the dot lands on the floor with one line of trigonometry, then switch the laser on.
Open it in the simulatorYour first robot: a pan and tilt laser turret on two servos that plays with a cat on its own, with random glides, tuned speed and pauses, real laser eye safety, a session timer, and a toy at the end of every game.
0 of 7 done
7 lessons in 3 chapters, about 5 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.
Two servos make a turret: pan turns it left and right, tilt points it up and down. Work out where the dot lands on the floor with one line of trigonometry, then switch the laser on.
Open it in the simulatorHow fast the dot moves and how long it freezes is what makes a cat chase. Time a glide, make it faster, find the servo’s own speed limit, and tune the pauses.
Open it in the simulatorPut it all together into a session a cat will love: a warm up, a timed chase, a cool down, and the dot parked on a real toy so every game ends in a catch.
Open it in the simulatorEach lesson opens when the one before it is done, and each chapter ends in a project.
What a servo is, the pulse that steers it, and a pan and tilt turret that puts a dot exactly where the math says.
Meet the motor that goes to an angle and stays there: what is inside a servo, the pulse that steers it fifty times a second, and the math from an angle to a pulse width.
0 of 5 steps
Two servos make a turret: pan turns it left and right, tilt points it up and down. Work out where the dot lands on the floor with one line of trigonometry, then switch the laser on.
0 of 5 steps
Random paths that only look random, glide speed you can time, the servo’s own limit, and pauses that make a cat pounce.
The gallery sketch makes the dot wander on its own with random(). Learn why the numbers only look random, pin the dance down with a seed, and shrink the play box.
0 of 5 steps
How fast the dot moves and how long it freezes is what makes a cat chase. Time a glide, make it faster, find the servo’s own speed limit, and tune the pauses.
0 of 5 steps
Laser classes and a beam that stays on the floor, a timer that never blocks, and a full play session that ends on a real toy.
A laser is not a flashlight. Laser classes in real milliwatts, why a pet toy uses class 2 or less, a beam that cannot leave the floor, and a kill switch.
0 of 5 steps
Sessions that end on their own, a length that does not overflow, a button that still works mid-game because nothing blocks, and a rest between games.
0 of 5 steps
Put it all together into a session a cat will love: a warm up, a timed chase, a cool down, and the dot parked on a real toy so every game ends in a catch.
0 of 5 steps
All 7 lessons, in order, each with what it covers. Any of them opens in the editor right away.
Build a cat laser toy is part of the maker track, a ladder of courses from zero to expert.
Bring up a 1U CubeSat on the bench: sensors, a real power budget, CCSDS telemetry, beacons, safe mode and a ground pass.
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.
Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kitYes. All 7 lessons of Build a cat laser toy 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 5 hours: 7 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: Pan, tilt and where the dot lands, Speed and pauses and Project: a play session.
With "A servo from scratch", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.