← micro:bit and the computer: projects

A data logger

Open project · after lesson 1: Send data to the computer

Turn the micro:bit into a data logger. It sends a reading (light, temperature or movement) every second. Your own web page keeps each reading in a list, and shows the lowest, the highest and how many readings it has seen so far.

Then use it for something real: log the light near a window for a lesson, or the temperature in two parts of the room, and say what the numbers show.

One way it could look
One way it could look. Yours will be different.

Ways it could look when it works

These show a finished project at about the level to aim for. Yours will be different, and that is fine.

A logger showing readings, lowest and highest
A logger showing readings, lowest and highest
A logger used for a real question, with the average added
A logger used for a real question, with the average added

You'll use

These light up when your code uses them. Click one to see where you learned it.

The micro:bit

The web page

The micro:bit

Try it yourselfYour edits are saved in this browser.
It takes a few seconds to load. Your work in this step is kept.

The web page

Try it yourselfYour edits are saved in this browser.

Milestones

Tick each one when it is true of your project. Nobody marks it: be honest with yourself.

Make it yours

Looking back

Tick every milestone first.

micro:bit and the computer · project badge

★ A data logger

Built with

Milestones

The hardest part