← micro:bit and the computer: projects

A live dashboard

Open project · after lesson 2: Commands from the computer

Build both ends of a micro:bit gadget: the micro:bit measures something (light, temperature, movement) and sends it, and your own web page shows it live, changes how it looks when the reading crosses a line you choose, and has a button that sends the micro:bit a command.

The page talks to the micro:bit with microbit.js, which is already in the starter. In this preview it opens a pretend micro:bit (type the lines it would send). For the real thing, download the page and open it in Chrome or Edge with the micro:bit plugged in.

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

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 live dashboard

Built with

Milestones

The hardest part