Teach robotics and AI with the micro:bit
A teacher guide and a student book for ages 10 to 14, built on one robot: the Maqueen Lite V5 with a micro:bit V2. Twenty-eight lessons, from first movement to machine learning, with a suggested time for every part.
Two books, one course
The same lessons, written for each reader
Lesson 7 in the Teacher Guide is Lesson 7 in the Student Book. The guide points to the student's steps by lesson and step number, so the two books always match.
Teacher Guide
- A timed plan for every lesson
- Materials and setup before class
- Common student mistakes and how to fix them
- Answer keys, easier tasks and extensions
Student Book
- Numbered build steps with pictures
- The code in MakeCode blocks and in Python
- A challenge in every lesson
- Check-yourself questions
No programming or electronics background is needed to teach the course. Every program is tested on the robot before it goes into the books.
Ages 10 to 14
The course grows with the student
Students start with MakeCode blocks and move to Python. An advanced track takes able 14-year-olds to work usually met at 16 to 18.
| Lessons | Ages | How students code |
|---|---|---|
| 1–6 | 10–11 | MakeCode blocks first, Python alongside |
| 7–11 | 11–12 | MakeCode and Python side by side |
| 12–20 | 13–14 | Python first, MakeCode alongside |
| 21–28 (advanced track) | Able 14-year-olds | Python only |
The course
28 lessons in two parts
Most classes complete Part 1. Part 2 suits an enrichment group, a club or a competition team. Lesson titles may change as the books are written.
Part 1: Core track
Lessons 1–201 · Meet Your Robot
- 1Meet the micro:bit V2 and the Maqueen Lite
- 2Assembling the robot
- 3Your first program
2 · Movement
- 4Forward, backward, turn, stop
- 5Controlling speed
- 6Drawing shapes
3 · Sensing
- 7Measuring distance
- 8Avoiding obstacles
- 9Line sensors
4 · Light and Sound
- 10LEDs and lights
- 11Buzzer and music
5 · Control
- 12Infrared remote control
- 13Radio with a second micro:bit
- 14Gesture control
6 · AI and Your Robot
- 15What is machine learning?
- 16Train your robot
- 17When AI gets it wrong
7 · Projects
- 18Line-follower robot
- 19Maze solver
- 20Design your own robot
Part 2: Advanced track
Lessons 21–28 · Python- 21Proportional line following
- 22State machines
- 23Measure and calibrate
- 24Data logging and analysis
- 25Build your own classifier
- 26Robot-to-robot radio
- 27Line maze solving with path shortening
- 28Capstone engineering project
Artificial intelligence
Students train a model, then see how it works
From gestures to a classifier of their own
In Unit 6, students record hand movements on a handheld micro:bit, train a machine-learning model with micro:bit CreateAI, a free tool from the Micro:bit Educational Foundation, and use it to drive the robot by radio. Then they test what happens when the training data is poor.
In Lesson 25, advanced students write a simple classifier in Python from data they logged themselves, so machine learning is no longer a black box.
AI chat assistants appear only in a teacher appendix. Many of them set a minimum age of 13 or 18, so the course does not ask students to use them on their own.
The kit
One robot for the whole course
Every lesson uses the same robot, so a school buys once. Plan one robot for every two or three students.
The robot: Maqueen Lite V5
Full name: Maqueen Lite V5 micro:bit Robot Kit for STEM (Line Tracking & Obstacle Avoidance).
Check for SKU MBT0046 and “V5” in the name before you buy. Older Maqueen Lite robots (SKU ROB0148) look similar, but the course is not tested on them, and Lesson 21 needs the V5 line sensors.
In the box
- The robot, already assembled
- Ultrasonic distance sensor
- Line-tracking map
Not in the box
- micro:bit V2 board
- 3 × AA batteries
- Micro USB data cable
- Infrared remote control (Lesson 12)
Shopping list
| Item | For one group | Why |
|---|---|---|
| Maqueen Lite V5 (MBT0046) | 1 | The robot for every lesson |
| micro:bit V2 (MBT0039) | 2 | One drives the robot. The second is held in the hand for Lessons 13, 14 and 16 |
| Micro USB data cable | 1 | Sends programs to the micro:bit |
| AA batteries | 3 | Power for the robot. Rechargeable Ni-MH works too |
| Infrared remote control | 1 | Lesson 12. The tested model will be named here once the lesson is tested |
| A second robot | Per class | Lesson 26 only: one robot talks to another |
You also need a computer with a web browser for MakeCode and Python, and card to build a maze.
Where to buy
| Store | Ships from |
|---|---|
| DFRobot, the maker | China, worldwide by DHL |
| Kiwi Electronics | Netherlands (Europe) |
| element14 | Malaysia (Asia) |
| Pakronics | Australia |
Prices and stock change, so check the store. Import duty and tax are paid on arrival in many countries. These are plain links: we earn nothing from them today. If that changes, this page will say so. This book is independent and is not endorsed by DFRobot or the Micro:bit Educational Foundation.
Lesson code
The code lives here, not only on paper
Each lesson will have its own page with the Python code and a link to the MakeCode project, published as the lesson is tested on the robot. The books will print this address, so the code can be corrected without reprinting.
For schools
Running the course in your school?
The Teacher Guide is written first and is coming to Amazon. Class sets and teacher training for schools in Oman are planned after it is published.