Engaging with Robotics
In development · Teacher Guide coming to Amazon

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.

For the teacher

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
For the student

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.

LessonsAgesHow students code
1–610–11MakeCode blocks first, Python alongside
7–1111–12MakeCode and Python side by side
12–2013–14Python first, MakeCode alongside
21–28 (advanced track)Able 14-year-oldsPython 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–20

1 · Meet Your Robot

  1. 1Meet the micro:bit V2 and the Maqueen Lite
  2. 2Assembling the robot
  3. 3Your first program

2 · Movement

  1. 4Forward, backward, turn, stop
  2. 5Controlling speed
  3. 6Drawing shapes

3 · Sensing

  1. 7Measuring distance
  2. 8Avoiding obstacles
  3. 9Line sensors

4 · Light and Sound

  1. 10LEDs and lights
  2. 11Buzzer and music

5 · Control

  1. 12Infrared remote control
  2. 13Radio with a second micro:bit
  3. 14Gesture control

6 · AI and Your Robot

  1. 15What is machine learning?
  2. 16Train your robot
  3. 17When AI gets it wrong

7 · Projects

  1. 18Line-follower robot
  2. 19Maze solver
  3. 20Design your own robot

Part 2: Advanced track

Lessons 21–28 · Python
  1. 21Proportional line following
  2. 22State machines
  3. 23Measure and calibrate
  4. 24Data logging and analysis
  1. 25Build your own classifier
  2. 26Robot-to-robot radio
  3. 27Line maze solving with path shortening
  4. 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.

See the robot at DFRobot

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

ItemFor one groupWhy
Maqueen Lite V5 (MBT0046)1The robot for every lesson
micro:bit V2 (MBT0039)2One drives the robot. The second is held in the hand for Lessons 13, 14 and 16
Micro USB data cable1Sends programs to the micro:bit
AA batteries3Power for the robot. Rechargeable Ni-MH works too
Infrared remote control1Lesson 12. The tested model will be named here once the lesson is tested
A second robotPer classLesson 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

StoreShips from
DFRobot, the makerChina, worldwide by DHL
Kiwi ElectronicsNetherlands (Europe)
element14Malaysia (Asia)
PakronicsAustralia

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.