Build a sumo robot lesson plan
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.
Objectives and materials
By the end, students can
- The real mini-sumo rules, a state machine that obeys them, and edge sensors that keep the robot in.
- An ultrasonic eye with a charge distance and a filter, then three ways to search and an opening move.
- Traction against torque in newtons, a tired pack, and a robot ready for a real tournament.
Materials for the whole unit
- Arduino Uno R3
- Battery: AA, coin cell, LiPo
- Line sensor, TCRT5000 x 2
- Motor driver, TB6612FNG
- Pushbutton
- Robot car chassis, 2WD
- Ultrasonic ranger
Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.
Rules and the ring
The real mini-sumo rules, a state machine that obeys them, and edge sensors that keep the robot in.
| Lesson | Time | What students do |
|---|---|---|
| The rules of mini-sumoTwo 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. | 50 min |
|
| Edge sensorsA 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. | 50 min |
|
Materials
- Arduino Uno R3
- Battery: AA, coin cell, LiPo
- Line sensor, TCRT5000 x 2
- Motor driver, TB6612FNG
- Pushbutton
- Robot car chassis, 2WD
- Ultrasonic ranger
Check for understanding
Each student finishes "Edge sensors" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "The border always wins".
Find and fight
An ultrasonic eye with a charge distance and a filter, then three ways to search and an opening move.
| Lesson | Time | What students do |
|---|---|---|
| Opponent sensingAn 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. | 60 min |
|
| StrategiesSpin, wait, or sweep: three ways to search, each with a weakness. Try them, add an opening move, and make one the robot’s default. | 50 min |
|
Materials
- Arduino Uno R3
- Battery: AA, coin cell, LiPo
- Line sensor, TCRT5000 x 2
- Motor driver, TB6612FNG
- Pushbutton
- Robot car chassis, 2WD
- Ultrasonic ranger
Check for understanding
Each student finishes "Strategies" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Pick your default".
Push and win
Traction against torque in newtons, a tired pack, and a robot ready for a real tournament.
| Lesson | Time | What students do |
|---|---|---|
| Pushing powerSumo 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. | 50 min |
|
| Project: a tournamentGet 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. | 50 min |
|
Materials
- Arduino Uno R3
- Battery: AA, coin cell, LiPo
- Line sensor, TCRT5000 x 2
- Motor driver, TB6612FNG
- Pushbutton
- Robot car chassis, 2WD
- Ultrasonic ranger
Check for understanding
Each student finishes "Project: a tournament" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Match day".
Teach this unit as a class
Start a class from this course and its 6 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.
The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.