Mobile Apps for micro:bit
Send code to your micro:bit from your mobile device using Bluetooth, no wires needed! Just make sure that your micro:bit is powered up and within easy reach of the phone or tablet running the app. Or, discover how to code in Swift with our interactive Swift Playgrounds book!
Apps for micro:bit
The micro:bit companion app
Download the official micro:bit app for Android or iOS from the app store.
Pair your micro:bit with the app
The next step is to Connect your micro:bit to your phone or tablet for the first time - this is called pairing. This involves the app searching for a signal from the micro:bit and then sending a secret code that only they can see. From that point on your device and your micro:bit are paired and can communicate when connected. The app contains handy instructions on how to do this.
If at any stage you reprogram your micro:bit using a USB cable, it will delete the secret code so you will need to repeat the pairing process. You'll also need to repeat if you use a different micro:bit.
Next you need to write some code. To create a new piece of code select Create Code from the app's homepage, choose an editor and write your code. There are lots of ideas to get you started on our site.
When your program is ready, the code editor has to compile the code to make a .hex file, which is a very compact form of your program that the micro:bit can read. In the editor select Download and when the .hex file is ready, open it in the micro:bit app.
Sending code to the micro:bit
Finally you'll want to send the code to your micro:bit. This is called Flashing. Select Flash from the app, choose a program to transfer, then tap Flash and watch your ideas come to life on the micro:bit!
Handy information on using the apps
If you're working with multiple micro:bits or run into any issues, you may want to delete a previous pairing from your mobile device. To do this go to your Bluetooth settings, select the micro:bit and then choose to Forget this device.
To remove the pairing on the micro:bit, simply flash a new programme via USB.
If you’re flashing a file from your phone or tablet to your last used micro:bit you don’t have to connect again, the app will connect your device once you confirm which micro:bit you want to flash.
You can use the app offline with the MakeCode editor, as long as you have loaded the editor once when you have an internet connection.
Good stuff to know about working with Bluetooth
If you get an error when flashing the program, try entering pairing mode on the micro:bit and attempt to flash again.
Swift Playgrounds is an app for the iPad that helps teach people to code in the Swift language using interactive 'books'. We've created a book that interacts with the micro:bit wirelessly, helping you to learn the fundamentals of code while having fun with your micro:bit!