Source: https://mokxi.com/learn/path/build-sumo-robot
Updated: 2026-11-20

All paths

# Build a sumo robot

A mini-sumo robot from the rules up: a legal start, edge sensors that always win, an ultrasonic eye, a state machine with real strategies, and the physics of grip and torque, ending in a tournament.

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

0 of 6 done

Start the course free The rules of mini-sumo Lesson plan for teachers

What you will build

## 3 projects, built step by step

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

Chapter 1 project

### Edge sensors

A robot that drives out of the ring loses on its own. Two TCRT5000s on the front corners watch for the border, and the check for them beats everything else the robot wants to do.
Open it in the simulator

Chapter 2 project

### Strategies

Spin, wait, or sweep: three ways to search, each with a weakness. Try them, add an opening move, and make one the robot’s default.
Open it in the simulator

Chapter 3 project

### Project: a tournament

Get the robot ready for a real tournament: a charge distance for the 77 cm ring, a round timer, and a full rule-legal match, start to finish.
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

## Rules and the ring

The real mini-sumo rules, a state machine that obeys them, and edge sensors that keep the robot in.

Open 174 XP

### The rules of mini-sumo

Two robots, one ring, push the other one out. The real mini-sumo rules in numbers, and the first rule a robot has to obey in code: hands off for five seconds.

0 of 4 steps

Start What is in it

Project Locked 348 XP

### Edge sensors

A robot that drives out of the ring loses on its own. Two TCRT5000s on the front corners watch for the border, and the check for them beats everything else the robot wants to do.

0 of 4 steps

4 questions, graded as you go.

Chapter 2

## Find and fight

An ultrasonic eye with a charge distance and a filter, then three ways to search and an opening move.

Locked 205 XP

### Opponent sensing

An HC-SR04 finds the other robot by the echo of a 40 kHz chirp. Time the pings, choose a charge distance that fits the ring, and stop a single missed echo from wrecking a charge.

0 of 5 steps

Project Locked 348 XP

### Strategies

Spin, wait, or sweep: three ways to search, each with a weakness. Try them, add an opening move, and make one the robot’s default.

0 of 4 steps

4 questions, graded as you go.

Chapter 3

## Push and win

Traction against torque in newtons, a tired pack, and a robot ready for a real tournament.

Locked 156 XP

### Pushing power

Sumo is won by force, and force comes from grip and torque. Measure the charge, work out which one runs out first, and see what bigger wheels and a tired pack do.

0 of 4 steps

Project Locked 348 XP

### Project: a tournament

Get the robot ready for a real tournament: a charge distance for the 77 cm ring, a round timer, and a full rule-legal match, start to finish.

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

### Rules and the ring

- The rules of mini-sumo Two robots, one ring, push the other one out. The real mini-sumo rules in numbers, and the first rule a robot has to obey in code: hands off for five seconds.
- Edge sensors A robot that drives out of the ring loses on its own. Two TCRT5000s on the front corners watch for the border, and the check for them beats everything else the robot wants to do.

Chapter 2

### Find and fight

- Opponent sensing An HC-SR04 finds the other robot by the echo of a 40 kHz chirp. Time the pings, choose a charge distance that fits the ring, and stop a single missed echo from wrecking a charge.
- Strategies Spin, wait, or sweep: three ways to search, each with a weakness. Try them, add an opening move, and make one the robot’s default.

Chapter 3

### Push and win

- Pushing power Sumo is won by force, and force comes from grip and torque. Measure the charge, work out which one runs out first, and see what bigger wheels and a tired pack do.
- Project: a tournament Get the robot ready for a real tournament: a charge distance for the 77 cm ring, a round timer, and a full rule-legal match, start to finish.

Keep going

## The next course on your track

Build a sumo robot is part of the maker track, a ladder of courses from zero to expert.

Next course

### Build a thermal camera

Build a thermal camera on an Uno: sixty-four heat pixels, color maps, bilinear upscaling, a hot spot finder and snapshots to microSD.
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 sumo robot

Is Build a sumo robot free?

Yes. All 6 lessons of Build a sumo robot 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 sumo robot take?

About 5 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: Edge sensors, Strategies and Project: a tournament.

Where do I start?

With "The rules of mini-sumo", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.
