How To Do Pairing and Flashing Code in micro:bit Via Bluetooth? 

Updated By

Rahul Lath

Reviewed By

Nipun Bindal
Contents
Pairing and Flashing Code in micro:bit

Pairing and flashing code in micro:bit is the process of transferring code to a micro:bit in order to run it and give it physical movement. In micro:bit, you can do this in two ways: with a micro USB cable or with Bluetooth. In our previous article on how to transfer code in micro:bit via USB, we explained how to pair and flash code in micro:bit using a USB cable.

In this article, we will learn how to do pairing and flashing using Bluetooth. Read further to find out more.

How to pair and flash code in micro:bit via Bluetooth?

As discussed above, there are two ways to transfer or flash code in micro:bit;

  • via Bluetooth
  • via Micro USB cable

In this article, let us discuss how to transfer the code in micro:bit using Bluetooth.

How to pair your BBC micro:bit via Bluetooth connection?

The pairing and flashing of codes via Bluetooth can be done wirelessly and is possible on devices that are Bluetooth enabled and are generally done on phones. Below is a detailed step-by-step guide on how to pair and flash a code in micro:bit via Bluetooth for both Android and iOS.

  • Step 1: First, you need to download the micro:bit app to your phone to pair your micro:bit via Bluetooth. Download the apps from the PlayStore for Android or the Appstore for iOS, depending on which OS you are using. Click on the “Pair” option in your app to enter pairing mode with the micro:bit.
  • Step 2: To enter the pairing mode on the micro:bit, simultaneously press the A and B buttons on the front of the micro:bit as well as the reset button on the back of the micro:bit.
  • Step 3: Now, release the reset button. The LED display will show the Bluetooth logo.
micro:bit Bluetooth connected
  • Step 4: Now, the LED display will show a pattern or a number that you need to draw in your phone to pair it with micro:bit.
  • Step 5: After drawing the pattern into your phone, the LED display will display a tick sign, indicating that the pairing is complete.

Now you can flash or transfer your code in micro:bit wirelessly!

Why is my micro:bit Bluetooth pairing not working?

Many users frequently experience difficulties when pairing or flashing micro:bit code through Bluetooth. Make sure you have taken the following actions if you are one of them:

  • Make sure your micro:bit is plugged into a USB port on your computer or a battery pack with charged batteries. Try an alternative power cord if it is still not connecting.
  • Make sure a Hex file has been downloaded to your micro:bit.
  • Make sure your that Bluetooth is turned on.

Conclusion

Micro:bit is a fun and creative coding platform that grants its user an easy-to-understand way of learning about coding. It has multiple coding languages that a user can learn and experiment with through many fun and creative projects! If you want to create projects on micro:bit and need ideas then read our guide on 10 amazing micro:bit projects!

FAQs on pairing and flashing code in micro:bit

Can I pair and flash code via Bluetooth in micro:bit?
Yes, you can. First, download the mobile app. Click on the “Pair” option in your app to enter pairing mode with the micro:bit. Now, to enter the pairing mode, press the A and B buttons on the front and the reset button on the back simultaneously. Release the reset button. The LED display will show the Bluetooth logo.
Now, the LED display will show a pattern, and draw that same pattern into your phone. After that, the display will show a tick sign, notifying that the pairing is done.

What does a micro:bit do?
A micro:bit is a programmable hardware device that you can run your projects on by connecting it to different devices.

What does “flashing” mean in micro:bit?
Flashing is the process of sending a code to a micro:bit via Bluetooth or a USB cable.

Can code be transferred via Bluetooth in micro:bit?
Yes, code can be transferred to Bluetooth in micro:bit either by using Bluetooth or a USB cable. The detailed steps of how to do this are explained in this article.

Why is my micro:bit Bluetooth pairing is not working?
Sometimes micro:bit Bluetooth pairing doesn’t work in the first attempt. If this is happening to you then make sure your micro:bit is plugged into a USB port on your computer or a battery pack with charged batteries. Also, make sure a Hex file has been downloaded to your micro:bit, and make sure that Bluetooth is turned on.

Does micro:bit have Bluetooth?
Yes, the micro:bit has Bluetooth. Using Bluetooth users can connect to other devices and send and receive data to and from micro:bit.

How to upload code to micro:bit?
You can transfer code to micro:bit by first connecting your micro:bit to your computer with a USB cable. Then compile your program and finally flash the file to your micro:bit by transferring the HEX file.

Get 1-on-1 online Microbit classes

Related Posts

Do you want to learn from the top 1-on-1 tutors?

Concepts | Test-prep | Homework help

4.6/5

4.8/5