The BBC microbit is a pocket-sized codeable computer with motion detection, a built-in compass and Bluetooth technology, which was given free to every child in year 7 or equivalent across the UK in 2016.
The board measures 4 cm × 5 cm and has a processor, accelerometer and magnetometer sensors, Bluetooth and USB connectivity, a display consisting of 25 LEDs, two programmable buttons, and can be powered by either USB or an external battery pack.
The list of things you can program the Microbit to do is nearly endless. You can program the buttons, LEDs and different sensors to create games and turn the Microbit into things like a pedometer, a compass or even a musical instrument.
In a similar way to Scratch, you can create programs using a special website but you then need to download the program to your computer and then send the program to the Microbit.
The makecode.com website is a website provided by Microsoft that lets you create code for different devices such as the Microbit. It has a project editor that is used to create Microbit programs. The editor has 3 main areas:
The blocks 'on start' and 'forever' will appear in the Scripts Area by default for new projects.
To send a program that's been created in the project editor to a microbit, you need to connect the microbit to the computer and transfer the downloaded file.
The file will be sent to the Microbit and a progress bar will appear on the screen. The Microbit will also also flash a light while the file is been sent to it. Once it has completed the program will run on the microbit.
Microbits can only have one program on them at a time. This means that when you send a program to a Microbit, the previous program that was on it is overridden.
The USB cable powers the Microbit when it is connected. However sometimes you might need to have a microbit disconnected from the computer and be more mobile. The battery pack can be used to for these occasions.