Skip to content

Unit of work

Barefoot - litter hunt

Computer systems, Programming | MakeCode | 7-11 yrs

Lesson 1

Barefoot - litter hunt, lesson 1

Introduction

In this lesson, pupils develop their understanding of the micro:bit by using the buttons and sensors on the device to make different images display. Pupils are introduced to the concept of a variable to store data, then create a program to alter the value of a variable using the buttons and sensors. Pupils go on to create a ‘push the button’ game, where they race against another player to see who can press the button the fastest.

Learning objectives

  • I can explain what the buttons and sensors on the micro:bit do
  • I can program sensors and buttons using the MakeCode editor
  • I can store data with variables using the MakeCode editor

You will need

Downloadable resources:

  • Lesson slides
    • UKS2 - Barefoot - Lesson 1
    • Welsh UKS2 - Barefoot - lesson 1
  • Lesson plan
    • UKS2 - Barefoot - lesson 1 - lesson plan
    • Welsh UKS2 - lesson 1 - lesson plan
  • Student handouts
    • UKS2 - Barefoot - lesson 1 - buttons
    • UKS2 Barefoot - lesson 1 - code creation
    • UKS2 - lesson 1 - stretch activities
    • UKS2 - lesson 1 - stretch solutions
    • Barefoot meets micro:bit resource guide
    • Welsh UKS2 - lesson 1 - stretch solution
    • Welsh UKS2 - lesson 1 - stretch activity
    • Welsh UKS2 lesson 1 code creation
    • Welsh UKS2 Barefoot - lesson 1 - buttons
    • Welsh Barefoot meets micro:bit res guide

Other resources:

Pencils, timers / stopwatches

Barefoot logo

These lessons are contributed by Barefoot. If you wish to download the videos for this lesson, please visit the Barefoot website.

Lesson plan

This content is published under an Open Government licence.