IT Pro is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission. Learn more
In-depth

16 top BBC micro:bit projects

Learn everything from beginner projects to challenges for confident coders

BBC micro:bit logo on black background

Since its release back in 2012, the Raspberry Pi has been a boon for any computer hobbyist or tech enthusiast that wants to learn more about the inner workings of both hardware and software, but it isn't the only product available.

Related Resource

IT best practices for accelerating the journey to carbon neutrality

Considerations and pragmatic solutions for IT executives driving sustainable IT

Whitepaper cover with image of wind turbines and solar farmFree Download

Not to be outdone, the BBC has produced its mini-computer - the micro:bit - which is a great way of getting kids into the world of coding. It offers a great and easy way to create and construct projects that let their imaginations run riot.

Initially, the micro:bit came with a 16MHz ARM processor which was the basis of a myriad of project ideas, some of which are featured on the BBC's micro:bit website. In 2020, the micro:bit had a major update that offered fans new hardware and features. The latest outing of the device is around four times faster than its predecessor, sporting a 64MHz 32-bit ARM Cortex-M4 processor with FPU and eight times the amount of RAM (128KB). It also comes with Bluetooth wires, and motion and temperature sensors.

As with the Raspberry Pi, the straightforwardness of the micro:bit makes it the perfect choice for novices - irrespective of age. So, whether you want to build an automaton or design a game, the micro:bit is a great place to begin. We've listed a few of our favourite projects to help get you started.

Getting started with the micro:bit

Once you have plugged in a Micro-USB cable into the micro:bit, attached it to your computer, and seen the LEDs of the board lit up, you are good to go. For each of the projects, you can choose to follow the steps exactly, or adapt them to suit one of the other three programming supported by the micro:bit.

The programming language the micro:bit supports are:

  • CodeKingdoms JavaScript: a graphical drag-and-drop interface and text-based interface, good for beginners
  • Microsoft Block Editor: a graphical drag-and-drop editor
  • Microsoft Touch Develop: a text-based language, which comes pre-installed with a library of micro:bit commands
  • MicroPython: a robust, text-based editor used by professional software developers

You can find tutorials and information about each of these programming languages on the micro:bit site.

Micro:bit Nightlight

By micro:bit

This is a nightlight that uses the micro:bit’s LED display to glow in the dark. As with the Sunlight sensor project, it also uses the micro:bit’s light sensor so that as it gets dark, the LEDs will switch on. The project allows users to alter the imaged displays by the small computer, or to simply produce flashing light.

This code can adjust the lights to come on when a certain threshold (I.e., less than (

An image of the micro:bit nightlight lighting up in the dark

micro:bit

See the full project here

Micro:bit Morse Code Machine

By John Goodman (M0RVJ)

This nifty project sees the BBC micro:bit become a Morse code machine, and was devised by John Goodman. Here he demonstrates what you can do when you have two of these devices, both connected to pair of short-wave transceivers.

One micro:bit can be used to send the dots and dashes using just a piezo buzzer. The other device is connected to a speaker. You can use the buttons on the device, or as Goodman demonstrates, pin 2 of the board can be used as a capacitive touch to send out signals.

The received code is stored as letters in the memory and once the message is received, it will show up on the device’s display.

This was coded in Micropython and Goodman has published the code on GitHub. Since the initial coding, Goodman has developed the code to boost the signal range enough to send signals within a larger area. There is also a menu that will display when you shake your micro:bit.

See the full project

Micro:bit Radio communicator

Micro:bit displaying number 9

By hackster.io

There is a 2.4GHz radio module, a Nordic Semiconductor nRF51822, built into every micro:bit, so this project takes advantage of that functionality to send and receive numbers. Thanks to this module, two devices can send signals to each other. You will need anther person with their micro:bit for this to work.

Once you have downloaded this program to both of the desired micro:bits, the "A" and “B” buttons can be clicked on to change the number you want to send to the other device. “A” will decrease the number by one, while the "B" button increases the value by one. Once you have settled on a value you want to send, click "A” and “B" simultaneously. The other device then receives that number within a few seconds.

While this is a great way to learn simple programs on the micro:bit, the project can also be used in other communication-based activities, such as developing your own numeric-based, coded language. In essence, the project is reminiscent of classic two-way radio, “walkie-talkie” games, but upgraded to include .hex or Java.

See the full project

Micro:bit Compass North

By micro:bit

This project will always show you the way north. The micro:bit contains a magnetometer, more simply known as a compass sensor, which is used to measure magnetic fields. The first time it is used, it requires calibration, and this can be done easily by tilting the device until each LED is lit up. With this complete, your micro:bit is already good to go, and will now display the letter "N" on the LED display each time it is pointing in the direction of Earth's north magnetic pole.

An image of the micro:bit in its compass function

micro:bit

See the full project

Micro:bit Frustration

By Code Club

Remember the game Frustration from your childhood, where you could still go out all day with your friends on bicycles as long as you were back home in time for tea? Well, this is a bit more up-to-date. It comprises a metal hoop that you guide along a metal wire without it touching. As you will know, when the metal hoop touches the metal wire, a buzzer sounds, and you have to go back to the start. You can make your own version of the game with this project. The micro:bit shows the number of failed attempts, rather than making a buzzing sound.

See the full project

Micro:bit Reaction game

Equipment needed for the micro:bit reaction game

The micro:bit can be used to test your reflexes with a reaction game made with just cardboard, tin foil, and two micro:bit pins.

Start with two squares of cardboard and attach two smaller squares of tin foil to each. The micro:bit's GND pin connects to each pad of tin foil with the other ends connecting to pin 1, for player A and pin 2 for player B.

The program will show a 'heart' on the LED display at a random time between 1 and 5 seconds, and players are required to hit the pad as soon as it appears. The winner is the person that hits their tin foil pad first. This is all done through Boolean logic, using a set of variables that are either set to True or False. The game works under an infinite loop to allow players to continue playing.

See the full project

Micro:bit Flashing heart

By Microsoft Block

One of the simplest micro:bit projects to cut your teeth on is to make the device's LED grid form a flashing heart. You can create the code in the Microsoft Blocks graphical editor. The BBC tutorial will guide you through how to do this, and once you've got your head around it, the same principles can be used to make other shapes.

See the full project

Micro:bit countdown timer

By 101 Computing

We can't think of many practical uses for a nine-second countdown timer — besides using it to trial 100-metre Olympic sprinters. However, 101 Computing's tutorial is a novel example of how LEDs can be used to display numerals.

See the full project

Micro:bit Combination Lock

By BBC Make It Digital and Wolfblood

Combination Lock is an easy way to protect your stuff and even to warn you of burglaries. The project relies on using the micro:bit to detect whether a circuit is complete or broken. By creating a circuit of copper tape and attaching a buzzer, your micro:bit will sound an alarm when the protected box, door, or drawer is opened. This tutorial walks you through setting up your very own lock and passcode.

See the full project

Micro:bit Touch arpeggiator

By Technology Will Save Us

This is one of the most fun and relatively simple micro:bit projects so far. Inspired by 'banana keyboard' tutorials found online, it guides you through how to turn your micro Bit into a touch-activated tone generator. All you need is an electronic buzzer, four wired crocodile clips, a micro-USB cable, and, your choice of fruit. Using this method, you could even play musical scales with more than one buzzer.

See the full project

Micro:bit Step counter

By The Institute of Engineering and Technology

"I'm walking out the door with my micro:bit on my mind" is what you could be saying if you follow this exquisite, and more involved, guide on how to turn your micro:bit into a pedometer. Following this project, you'll be able to create a working pedometer that could compete with commercial equivalents, and have fun while walking out and about. Tread carefully while it's on!

See the full project

Micro:bit Electronic name tag 

By Technology Will Save Us

If you are a regular at technology conferences, or indeed any other conferences, then you’ll be familiar with having to wear a lanyard or name badge that allows you to hop between once talk or conference section to another. But such tag can be rather dull, so why not add a little spice into yours with a personalised badge powered by the micro:bit. 

To get started you’ll need a micro:bit Telec version, a AAA battery cage with two AAA batteries, and some proficiency with a needle and thread. You won’t need much else, as this is a rather entry-level project to get you familiar with coding on the micro:bit. With a little bit of practice, you can get the LEDs to display things like basic emojis. 

Once set up, you should have a badge that’ll at least set you apart from other conference attendees, and might even see you end up networking with more success.

See the full project

Micro:bit LED circuit game

By Intense Computer Training

This project, from Intense Computer Training, is actually a fair straightforward circuit game. Following the video tutorial (no text version is available at the time of publishing), you'll learn how to code the LED display so that individual LEDs can represent your counter on the five-by-five grid.

See the full project

Micro:bit racing game

By 101 Computing

This project is a ridiculous slice of work-time fun that's just waiting to engage (or possibly disrupt) classrooms and lunch halls in Britain. Following this tutorial you'll turn the micro:bit's LED display into a drag racing game, playable by up to five players. 101 Computing guides you through creating the game and duplicating the code for additional players.

See the full project

Micro:bit Temperature reader

By Proto-Pic

The micro:bit can also be turned into a pretty decent temperature reader. While it lacks a heat sensor, you can configure it to display the temperature of, say, a CPU, which is pretty handy for PC builders. Things get even more interesting when you add a thermistor to the micro:bit, which can be dipped into food and drinks to record the temperature directly – though this requires some advanced coding and is only for the most dedicated micro:bit enthusiasts.

See the full project

Micro:bit Irrigation system

Chlorophytum in white flowerpot on wooden background

When given the simple task of watering a classroom spider plant, a group of Canadian schoolchildren decided to use a micro:bit to build an irrigation system instead.

The Grade 7 students from St. Thomas the Apostle Catholic Elementary School in Hamilton, Ontario, had been studying the impacts of fertiliser use on the environment, as well as indoor farming technologies and hydroponics. They were then given the opportunity to use their knowledge in combination with some basic programming skills, by building a system which would sense when the plant becomes dry and needs to be watered with the help of a programmed water pump.

Their teacher Rodenna Fallis told The Spec that group projects like this are beneficial in raising “critical thinkers, problem-solvers and thoughtful collaborators".

“My whole mission is to make them feel equipped in the digital world ... and how to be good stewards of the earth. This is exactly why I love teaching my kids coding, because they just feel like they’re a part of something bigger," she added.

Images in this article courtesy of the respective parties behind each project

Featured Resources

What 2023 will mean for the industry

What do most IT decision makers really think will be the important trends and challenges in the coming year?

Free Download

2022 Magic quadrant for Security Information and Event Management (SIEM)

SIEM is evolving into a security platform with multiple features and deployment models

Free Download

IDC MarketScape: Worldwide unified endpoint management services

2022 vendor assessment

Free Download

Magic quadrant for application performance monitoring and observability

Enabling continuous updating of diverse & dynamic application environments

View Now

Most Popular

Dutch hacker steals data from virtually entire population of Austria
data breaches

Dutch hacker steals data from virtually entire population of Austria

26 Jan 2023
GTA V vulnerability exposes PC users to partial remote code execution attacks
vulnerability

GTA V vulnerability exposes PC users to partial remote code execution attacks

23 Jan 2023
European partners expect growth this year, here are three ways they will achieve it
Sponsored

European partners expect growth this year, here are three ways they will achieve it

17 Jan 2023