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 2012, the Raspberry Pi has been the go-to device for computer hobbyists and tech enthusiasts, but it isn't the only product available.

The BBC has one of its own - micro:bit - which offers another way of introducing children to the world of coding. It provides a flexible way to design and build projects that let imaginations run wild.

The initial setup included a 16MHz ARM CPU which was used to power endless project ideas, some of which are listed on the BBC's micro:bit website. In 2020, the micro:bit was subject to a major update that brought new hardware and features. The latest version of the device is said to be four-times faster than its predecessor, with a 64MHz Arm processor and eight times the amount of RAM (128kb).

Much like the Raspberry Pi, the simplicity of the micro:bit makes it a great choice for beginners - regardless of age. So, whether you want to build a robot or invent a game, the micro:bit is a great place to start. We've collated our favourite projects to help get you started.

Getting started with the micro:bit

For each of these projects you can either follow the chosen programming language, or follow the guidance and adapt the steps for one of the other three programming languages 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

Make your own light to illuminate your room during the dark night and customise it as you see fit. Thanks to the light sensor, your micro:bit can tell when light falling on the device gets to a certain level, which you can adjust, and lights up the device's LEDs. If you want, you can even change the image displayed on the micro:bit when it gets dark or even make it flash. It can be used as a safety light when you’re walking or cycling, or keep it in your room to appreciate its soothing glow.

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

See the full project here

Micro:bit Morse Code Machine

By John Goodman (M0RVJ)

Because multiple microcomputers can talk to each other via shortwave radio signals, it's perfect for using as a Morse Code machine. This demo by John Goodman shows a BBC micro:bit hooked up to a pair of CW transceivers.

Related Resource

IT Pro 20/20: Understanding our complicated relationship with AI

The 16th issue of IT Pro 20/20 looks at the very human problems associated with artificial intelligence

IT Pro 20/20: Understanding our complicated relationship with AIDOWNLOAD NOW

While one can be used for inputting the dashes and dots in sound using a piezo buzzer, while the other is hooked up to a speaker. It also features capacitive touch for inputting the code with just a few taps of the finger on the micro:bit. The code is stored in the memory as letters, so you can easily see what code has been sent between the two for reference (or if you're not adept at translating the beeps produced by the board.

The microcomputers are coded using Micropython and John has made the code available on GitHub. He's finessed the design since its original implementation to boost the range throughout a building and it now includes a menu that you can use by shaking the device.

See the full project

Micro:bit Traffic Lights

By Anish Ansari

What can you do by hooking up breadboard, three resistors and jumper wires to a BBC micro:bit? Create a traffic light system that cycles through coloured LEDs like traffic lights. You can control the order of the lights and their brightness to make the perfect lineup for a micro city, for example.

The board is programmed using Microsoft MakeCode, although the developer has also included the MicroPython code for those that prefer more advanced coding.

See the full project

Micro:bit Compass North

By micro:bit

Never lose your sense of direction again thanks to this handy little compass that will show you which way is North. Your micro:bit has a compass sensor, also known as a magnetometer, that measures magnetic fields. When you first use it, you’ll have to calibrate it by tilting the device to light up each LED. Once you’ve got it up and running, it will show an “N” on the display when your device is pointing roughly in the right direction.

An image of the micro:bit in its compass function

See the full project

Micro:bit Frustration

By Code Club

Frustration is a very basic but oh-so-addictive game that you're quite possibly familiar with already. It consists of a metal hoop or loop that you have to guide along another metal wire without the two touching. If contact is made, a buzzer goes off and you have to start again. This project shows you how to make your own version of the game, with the micro:bit showing the number of attempts, rather than making a noise. 

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 principals 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 the 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 the BBC Touch Develop tutorial Banana Keyboard', 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, erm, some 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 with if you follow this exquisite, and more involved, guide on how to turn your micro:bit into a stepometer. Following this project you'll be able to create a working stepometer that could compete with commercial equivalents.

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 pizzazz into your 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 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 for 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

The ultimate law enforcement agency guide to going mobile

Best practices for implementing a mobile device program

Free download

The business value of Red Hat OpenShift

Platform cost savings, ROI, and the challenges and opportunities of Red Hat OpenShift

Free download

Managing security and risk across the IT supply chain: A practical approach

Best practices for IT supply chain security

Free download

Digital remote monitoring and dispatch services’ impact on edge computing and data centres

Seven trends redefining remote monitoring and field service dispatch service requirements

Free download

Most Popular

Alibaba unveils custom Arm-based server chip
components

Alibaba unveils custom Arm-based server chip

19 Oct 2021
What is cyber warfare?
Security

What is cyber warfare?

15 Oct 2021
Windows 11 has problems with Oracle VirtualBox
Microsoft Windows

Windows 11 has problems with Oracle VirtualBox

5 Oct 2021