Nature Art Lesson 3: Digital Nature Representations: The Makecode Editor
Nature Art Lesson 3: Digital Nature Representations: The Makecode Editor
Introduction
In this lesson, pupils are introduced to the micro:bit and how images can be represented by using the
LEDs. They create visual algorithms to plan simple images before writing programs using the MakeCode
editor to create their images.
Materials needed: lesson presentation, printouts of Items to Represent with LEDs and LED Planner
handouts, laptops/computers, access to the MakeCode editor, physical micro:bits (optional).
Learning objectives
● To understand that LEDs can be used to create image representations.
● To plan LED image representations.
● To construct programs to display LED image representations with the micro:bit.
Lesson summary
● Introduction: micro:bit nature art (5 minutes)
● Representing images with LEDs (10 minutes)
● Planning LED images (10 minutes)
● Programming LED representations (10 minutes)
● Paired programming (15 minutes)
● Evaluating images (10 Minutes)
1
Published by Micro:bit Educational Foundation microbit.org
Licence: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
● Show pupils the LED planner (slide 7) and invite suggestions on how this could be used to plan
which LEDs would need to be turned on or off to represent a given image. Highlight that this is a
simple visual algorithm that can be used for someone to program a micro:bit.
● Using slide 8, model as a class how to use the planner to create an image of a sad face. Ask pupils
what parts of a face would be most likely convince someone else that it was a representation of a
sad face. Explain that they are, as in lesson 1, using abstraction to highlight the most important
information and disregard the parts that are not required.
● While recording, shade in a wrong LED and explain to pupils that by using pencils to plan the
images changes can be made by rubbing out selected LEDs. Invite suggestions, on the name of the
process by which errors are found and fixed as they did with their algorithms in lesson 2
(debugging).
Extension ideas:
● Pupils could compare the MakeCode language with other graphical programming languages they
have used. Similarities may include blocks that connect together and blocks having different
colours. Differences may include programs organised vertically instead of horizontally, and different
words used on the blocks.
2
Published by Micro:bit Educational Foundation microbit.org
Licence: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Differentiation
Support:
● The first four (red, 1-4) items on the images to represent with LEDs sheet are items that can be
represented with simple images. Pupils could be provided with images of the items they are
representing.
3
Published by Micro:bit Educational Foundation microbit.org
Licence: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)