Skip to content

mBot

Build and program a small robot that drives, follows lines and avoids obstacles.

Ages 8–14 No experience needed Runs in the browser

About this pathway

mBot is a small educational robot on wheels, with sensors for light, distance and lines. You program it with blocks in mBlock, which works just like Scratch, so a first drive around the table happens in the first session. After that it's about making the robot smarter: following a line, stopping before a wall, or racing through an obstacle course built by the other ninjas.

What you'll build

A few of the projects kids on this pathway have walked out with.

A line follower

Make the robot follow a black line on the floor without losing it in the bends.

An obstacle avoider

The ultrasonic sensor spots a wall and the robot turns before it bumps into it.

A remote-controlled racer

Steer the robot with the keyboard or the remote and race against another team.

How a session works

Every dojo runs this a little differently, but it usually looks like this.

1

Meet the robot

Find the motors, the lights and the sensors, and make the robot drive a square.

2

Add a sensor

Use the distance or line sensor so the robot reacts to what's around it.

3

Take on a challenge

An obstacle course or a line to follow: test, adjust and try again.

Skills you'll pick up

The building blocks every later pathway builds on.

Block coding Conditionals Loops Robotics basics Sensors

Questions

Ready to try it in person?

Other pathways

Not sure this is the right one? Kids move between pathways freely.

Scratch

Drag-and-drop blocks and real games from your very first Saturday — no experience needed.

Explore Scratch →

Python

Trade the blocks for real code and build your first text-based games and programs.

Explore Python →

BBC micro:bit

Code a tiny physical computer — lights, buttons and sensors you can hold in your hand.

Explore BBC micro:bit →