AI Machine Learning

Micro:bit Mastery - Lesson 3

Objectives

  • Understand and explain what Machine Learning is
  • Train a machine learning model with data and test its accuracy
  • Apply a machine learning model to make a smart fitness tracking device.

Lesson Resources

  • Lesson Slides
  • BBC micro:bits (minimum 1:2 students)
  • micro USB cables to connect micro:bits to computers
  • 1 computer per micro:bit

Before you start

Before you begin, please read these important notes:

  • This is a new unit of work, created in October 2025.
  • It has been designed to follow on from our unit of work: Getting Started with the BBC micro:bit
  • That unit has been updated and moved to the Year 4 section in our scheme of work.
  • If your students are new to a BBC micro:bit, we would recommend beginning with the ‘Getting Started’ unit, instead of these lesson.
  • If your class have covered that unit already, or are quite experienced with using a micro:bit, go ahead and dive in to this unit, and have fun!

 

We would recommend delivering your lessons using the micro:bit classroom feature on microbit.org. This is very simple to use and gives really useful classroom management options for your lesson, such as:

  • being able to send code to your students,
  • view and edit their code from your screen,
  • freeze their screens when you need their attention
  • download a report of the lesson, including images of their screens
  • save the entire session and resume it at a later date

All without the hassle of having to create student accounts. No usernames and passwords are needed.

You can find out more and watch a introduction video at microbit.org/teach/teaching-tools

You can get started with a lesson at classroom.microbit.org

 

Introduction

 

To finish

Ask the students to talk to a partner about their success with the projects today. Consider these questions:

  • Did your programs begin in response to an input? 
  • What are conditional statements in a program?
  • Why are they useful?
  • How have you used variables today?
  • Can you think of any ways to improve your programs today?

 

Finish by revisiting the lesson objectives and asking students to consider their success and understanding. Invite any questions or requests for support if needed.

 

Next Lesson >