From February 2018, see our NEW SITE at

Welcome to the KIKS Micro:bit collaboration wiki

Welcome to the KIKS Micro:bit collaboration wiki! First of all, if you can't access, edit or create what you want to do then click one of these names and let Tony or Phil know what you need; one of us will get back to you ASAP. Second, you can find out all about KIKS in the menu on the right or our final UK report below.

Final UK Project Report available here!

Wizzy UK Project PREZI presentation!

Adrian's 5 First Steps with Microbit

Microbit goes to the theatre in Finland!

Also, before you find all about our microbit work below, here's a really nice vid - work out where microbit and other terrific technology is used!!

Chain Reaction!




The BBC micro:bit has been distributed free to 1 million 11-year olds in the UK, and is now on sale, together with battery pack and USB cable, for c£15. Most of the educational resources for the micro:bit concentrate on programming the device using blocks (e.g. Microsoft’s PXT editor), Python, Javascript or C++. This article contains some simple examples to help interested readers (students, teachers, parents and others) to make a start with the micro:bit (or m:b for short) for what is sometimes called `physical computing’. It also considers ways in which the m:b can be used to collect data and transmit for scientific experiments. The m:b projects shown below - and many others too - are in these wiki pages. Please do add your own or link them if they're already online somewhere! Why not start by creating your own page - just click on the page tab above? Or contribute to a page that somebody else has created - see the index of pages on the right?

If you want a proven example we'll start this page with a simple (free) coding example from Adrian which doesn’t even need a real m:b!

Experiment 1: turning the micro:bit into a spirit-level

Enter the Microsoft PXT blocks editor from this link: Create a new Project and follow the signposts below, or just go solo when you're ready to have a go!

20170114 MB screenshot wiki.JPG

The `forever’ and `show string’ commands are in Basic blocks menu. `set to’ and `item’ are found in the Variables menu. `if..then..else if..then..else’ is found in the Logic menu. `rotation’ is found in the Input More menu. The divide block is found in the Math menu, and the compare block in the Logic menu. So how does the program work? It continuously checks the angle being returned by the `pitch’ sensor. Dividing this angle by 50 returns a value for the variable `item’ which you could read using the `show number’ command from the Basic block. This is a single digit signed number between -4 and +4. We are just going to test whether this is a positive, negative or zero number. If it’s zero we display the letter L for Level, if it’s negative we display D for Down, and if it’s positive we display U for Up. Then we have a slight pause before doing the job again.

You test this with on screen emulator by clicking the mouse somewhere inside the image of the m:b at the top left. Check that you can get it to display each one of the 3 letters. So this is a way to use the m:b’s built-in sensors to control an output. It simulates the way a smart-phone or tablet senses the orientation of the way in which you are holding the device – and so is able always to display text in the right direction for you to read clearly. If you click on the `JavaScript’ icon you can see the text equivalent of the Block program, shown below. Click on the `Blocks’ icon again to see the graphical version. Click on `Projects’ again to save your project with a sensible name, like `Spirit Level’.

In order to test the program `live’ you now need to connect a m:b to the computer with the USB cable. The computer will recognise the m:b as an external memory device and give it a drive name such as `D:’. You can click 'Download' on any of the m:b editor packages, and either save it on your PC then the m:b, or alternatively load it directly onto the m:b.

20170114 connecting mb.JPG 20170114 Microbit copy file.png

When the hex file has finished downloading you can right-click on it and select `Show in folder’. In my `Downloads’ folder I find the new file called “microbit-Spirit-Level.hex”. Now right-click on the file name and select `Send to’, and then `MICROBIT (D:)’. The led under the m:b should flash as the code is sent to your m:b. If this is the first time you have done this – congratulations!

If you connect a battery box, you can disconnect your m:b from the computer. You now have a program running forever (maybe) in your own £15 autonomous device. If you press the Reset button it will start running again. If you disconnect the battery the program will be saved, and when you reconnect the battery your program will start running again.

All sorts of objects have microprocessors built into them to carry out such monitoring and other tasks. We now tend to use the word “smart” to indicate that a device (phone, TV, fridge, house, car engine …) has an in-built computer which can sense conditions and make actions depending on them. The technical phrase for such devices is “embedded systems”. Embedded systems which can communicate with others via the web are known as the “Internet of Things” or IoT.

The BBC has worked with its partners such as Microsoft, ARM, Lancaster University, the IET and Kitronik to develop a versatile, powerful and robust little device which allows us to create our own electronic solutions to problems and to design our own smart devices. This brains of the m:b is an ARM mbed processor which is at the heart of many smart systems in current use. The m:b has also been designed to connect to external electronic devices such as sensors and inputs so you can extend its capabilities.

Our Challenges!

Challenge 1: Now that you have finished Experiment 1, can you complete all of the projects on the pdf file called "Cross-curricular STEM activities with microbits"?

Challenge 2: Do you think you could create an "Internet of Things" IoT project to challenge your peers in other schools and in other countries? If you create a pdf document to challenge your collaborating peers, you can upload it and challenge another school.

Good luck!

Downloads of references and challenge documents:

Start here - cross-curricular activities with Micro:bit
Family guide to IoT and Micro:bit
Sensing and control with Micro:bit
Telemetry with Micro:bit
Example of a peer challenge - Tony and Phil

See also:

Teachers m:b Quick-Start Guide on Amazon
IoT site on m:b by Graham Hastings
BBC site to m:b and music
Micro:bit projects and resources on STEM Learning
IET resources and projects for schools

The KIKS Inventors Kit, sent out by Adrian with the m:b to international collaborating schools

Ideas for m:b and the Internet of Things, with David Whale and Computing at Schools (great content - apologies for poor sound)

Strictly Micro:bit and Live Lessons - the 45 minute full lesson on m:b for music, dance and fashion

WIRED magazine introduction to m:b, mid 2016