Source: https://mokxi.com/learn/path/build-dog-ball-launcher
Updated: 2026-11-20

All paths

# Build a dog ball launcher

Flywheels and the physics of a throw, a sonar for the ball and one for the safety zone, distance settings from a range table, and a rest timer that looks after the dog.

Arduino Uno R3 Free 6 lessons 6 h 3 chapters 1,561 XP Robotics · Intermediate +150 XP

0 of 6 done

Start the course free Flywheels Lesson plan for teachers

What you will build

## 3 projects, built step by step

6 lessons in 3 chapters, about 6 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

### Ball detection

An HC-SR04 looks down into the hopper. Read both sonars, drop a ball, make the hopper empty before the next ball counts, and set the line for a bigger ball.
Open it in the simulator

Chapter 2 project

### Distance settings

Three settings, three wheel speeds, three distances. Read the range table, throw far, and see what the launch angle does to the range.
Open it in the simulator

Chapter 3 project

### Project: fetch on its own

A launcher the dog runs: drop the ball in, it checks the zone, spins up and throws, and keeps the dog guessing with a new distance each time. Tune the session and write it up.
Open it in the simulator

The map

## Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

## Throw

Flywheel speed, spin-up and the driver’s voltage drop, and a sonar that sees the ball.

Open 205 XP

### Flywheels

Two wheels spinning opposite ways squeeze a ball out at their surface speed. Work out that speed from rpm, spin them up and time it, see them turn opposite ways, and find the volts the L298N keeps for itself.

0 of 5 steps

Start What is in it

Project Locked 348 XP

### Ball detection

An HC-SR04 looks down into the hopper. Read both sonars, drop a ball, make the hopper empty before the next ball counts, and set the line for a bigger ball.

0 of 4 steps

4 questions, graded as you go.

Chapter 2

## Safe and on target

A zone nobody gets hit in, and distances from a range table.

Locked 174 XP

### Safety zone

A ball at 7 m/s hurts. A second sonar watches the front: nothing launches while someone is close, and the wheels stop the moment a dog walks in front. Hold, stop, read the zone and widen it.

0 of 4 steps

Project Locked 348 XP

### Distance settings

Three settings, three wheel speeds, three distances. Read the range table, throw far, and see what the launch angle does to the range.

0 of 4 steps

4 questions, graded as you go.

Chapter 3

## Play

A rest timer for the dog, then fetch on its own.

Locked 174 XP

### Rest timer

Some dogs will fetch until they collapse. After five throws the launcher takes a break, ignores the hopper, and comes back ready. Tune the break for your dog.

0 of 4 steps

Project Locked 312 XP

### Project: fetch on its own

A launcher the dog runs: drop the ball in, it checks the zone, spins up and throws, and keeps the dog guessing with a new distance each time. Tune the session and write it up.

0 of 4 steps

3 questions, graded as you go.

Syllabus

## Every lesson in the course

All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

### Throw

- Flywheels Two wheels spinning opposite ways squeeze a ball out at their surface speed. Work out that speed from rpm, spin them up and time it, see them turn opposite ways, and find the volts the L298N keeps for itself.
- Ball detection An HC-SR04 looks down into the hopper. Read both sonars, drop a ball, make the hopper empty before the next ball counts, and set the line for a bigger ball.

Chapter 2

### Safe and on target

- Safety zone A ball at 7 m/s hurts. A second sonar watches the front: nothing launches while someone is close, and the wheels stop the moment a dog walks in front. Hold, stop, read the zone and widen it.
- Distance settings Three settings, three wheel speeds, three distances. Read the range table, throw far, and see what the launch angle does to the range.

Chapter 3

### Play

- Rest timer Some dogs will fetch until they collapse. After five throws the launcher takes a break, ignores the hopper, and comes back ready. Tune the break for your dog.
- Project: fetch on its own A launcher the dog runs: drop the ball in, it checks the zone, spins up and throws, and keeps the dog guessing with a new distance each time. Tune the session and write it up.

Keep going

## The next course on your track

Build a dog ball launcher is part of the maker track, a ladder of courses from zero to expert.

Next course

### Build a drink mixer

Build a mocktail mixer on an Uno: four pumps on relays, calibrated pours, recipes in flash, an LCD menu and a cleaning cycle.
Open the next course

Track

### Maker track

Follow 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 track

Kits

## Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

### Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.
See every kit

Questions

## About Build a dog ball launcher

Is Build a dog ball launcher free?

Yes. All 6 lessons of Build a dog ball launcher are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

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.

How long does Build a dog ball launcher take?

About 6 hours: 6 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.

What will I build?

Each chapter ends in a project that puts it together: Ball detection, Distance settings and Project: fetch on its own.

Where do I start?

With "Flywheels", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.
