Skip to content

Barefoot - litter hunt, lesson 1

Lesson 1 of 2

MakeCode

7-11 yrs

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.

Key learning:

  • 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
Barefoot logo

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

You may also be interested in

Two simple activities exploring how technology can be used to protect biodiversity in your neighbourhood and the wider world using the BBC micro:bit. Design challenges for finding solutions to the Global Goals for sustainable development (SDGs).

Two longer, advanced projects to explore how wireless networks, smart materials and algorithms can help keep our oceans clean. Design challenges for finding solutions to the Global Goals for sustainable development (SDGs).

Two simple projects to learn about the threats faced by fish and sea turtles and how technology can help them survive and promote bio-diversity. Design challenges for finding solutions to the Global Goals for sustainable development (SDGs).