Guide · micro:bit

micro:bit – Learning Guide

The micro:bit is a small programmable device with a 5 × 5 LED screen, two buttons, sensors (light, temperature, accelerometer, compass) and a radio. It is programmed with blocks in the MakeCode environment or in the text language MicroPython.

The lessons go in order, from the first program to projects. Next to the blocks, the same program is given in JavaScript or Python from MakeCode, so it is easy to move on to text programming.

  • Grades 5–8
  • MakeCode blocks
  • 14 lessons + MicroPython
How to learn: build the programs in the MakeCode environment (it works in the browser, without installation) and try them in the simulator, then on the device. Every lesson has a quiz and practice tasks.
For teachers: the first six lessons cover the basic course (about 6 weeks); lessons 7–10 are for advanced groups, and 11–14 for clubs and projects.

Some lessons linked below are available only in Serbian for now. They are marked (SR).

1 MakeCode – basics

The device, MakeCode, the Basic, Input and Music blocks, variables and sensors.

2 MakeCode – branching, loops, arrays and functions

A program that decides, repeats, remembers several values and uses its own functions.

3 Radio, pins, games and projects

Communication between devices, external parts, games and final projects.

4 MicroPython

The next step: the same device, the text language Python.

5 The micro:bit and the computer

Data from the micro:bit sensors in programs on the computer.

✓ Learning goals and outcomes

  • Understanding the basic concepts: sequence, branching, loop, variable, array and function.
  • Writing programs with blocks in the MakeCode environment and reading the same program in JavaScript or Python.
  • Working with the LED screen, the buttons and the built-in sensors (light, temperature, accelerometer, compass).
  • Exchanging messages over the radio and connecting external parts through the pins.
  • Making and presenting a mini project.