If you are struggling to connect your micro:bit to micro:bit CreateAI, try these steps.


Throughout this article, the micro:bit worn by the user is referred to as the 'data connection micro:bit'.


Which connection approach are you using? 


micro:bit CreateAI offers 2 ways to connect to your micro:bit:

  • Bluetooth - using 1 micro:bit: if you are using one micro:bit worn on the user's wrist then the micro:bit communicates directly with the web browser using Web Bluetooth. This is the default approach.
  • Radio - using 2 micro:bits: if Web Bluetooth isn't supported, another approach is to use 2 micro:bits. One is connected to the computer (the radio link micro:bit) and the other is worn on the user's wrist (the data collection micro:bit). With this approach, the micro:bits communicate with each other using bespoke radio communication.


micro:bit CreateAI uses Bluetooth by default. If Bluetooth does not work you can switch to the radio approach.  Choose "Connect using micro:bit radio instead" in the bottom left of the connection dialog.
 


To troubleshoot your issue it is worth noting which connection approach you are using. 


Check your web browser and device

Please use a Chrome or Edge web browser with micro:bit CreateAI (other browsers, such as Safari or Firefox, often do not allow WebUSB which is essential for this tool).


Unfortunately, micro:bit CreateAI does not work with mobile devices (e.g. iPads or Android devices). Please use a computer instead. 


Proximity

Whether you are using radio or Bluetooth to connect, there is a limit to how far apart the micro:bit and computer can be. If you are experiencing connection issues, bringing the data collection micro:bit close to the computer is a good first step. 


Batteries and power

When battery power is low, Bluetooth and radio can fail even when the micro:bit appears to have power. 


  1. Try replacing the batteries on the data collection micro:bit with brand new ones and check the data collection micro:bit has power (the red light on the back is on). 
  2. If you are using the radio connection approach, check that on the back of the micro:bit connected to the computer, the red light (power) is on and the orange light is either on or blinking. The orange light indicates that the USB is connected to the computer. Also ensure you are using the USB cable that came with your micro:bit (or if you are using a different cable it must send both power and data, some USB cables only send power).


Start the connection process again

If problems occur, try starting the connection process from the beginning, going through the steps to put the hex files onto each micro:bit (or just the one if using Bluetooth) and enable WebUSB and, if necessary, Web Bluetooth on the computer. 

You will see windows like the one below during the process. Be sure to select the micro:bit (in this case 'BBC micro:bit CMSIS-DAP - Paired' but it might have a different name for you) then choose the Connect button for each of these windows. 


Try the alternative connection approach

If you have tried to connect using Bluetooth try the micro:bit radio method instead or vice versa. This can be particularly helpful if there is interference from other devices in the area you are in (which may particularly affect the radio connection approach). 

Note that the Bluetooth method will require you to have Bluetooth enabled on your computer and Web Bluetooth enabled on your Chrome or Edge web browser. 


To choose the micro:bit radio approach, select 'Connect using micro:bit radio instead' in the first connection window titled 'What you need to connect using Web Bluetooth'. 



Enable Bluetooth, WebUSB and Web Bluetooth

Note the Bluetooth settings below are only required for the Bluetooth connection approach. Only WebUSB is required for the radio connection approach.


Some computers do not have Bluetooth and so must use the radio approach instead. Please check your computer does have Bluetooth and that it is turned on before trying the Bluetooth approach. 


Turn on Bluetooth (if using Bluetooth approach)

In Windows:

  1. Go to Start  > Settings > Bluetooth & other devices.

  2. Switch Bluetooth on.


In MacOS:

  1. Click the Bluetooth status icon in the menu bar.

  2. Choose Turn Bluetooth On.


Enable WebUSB and Web Bluetooth (if using Bluetooth approach)

Please use Chrome or Edge web browsers with the micro:bit CreateAI. Please ensure these are set up to allow the user to grant access to WebUSB or Web Bluetooth devices. (For school or enterprise systems, browsers can be set up in a way that will automatically deny requests to access Web Bluetooth or WebUSB - please speak to your IT specialist if you think this might be the case). 


If you have control over your Chrome or Edge settings yourself then check your WebUSB device setting. 


For example, if you have control of Chrome settings, to enable you to connect to WebUSB devices: 

  • Go to 'Chrome settings' using the 3 vertical dots menu on the top right of the browser
  • Select 'Privacy & security', then site settings
  • Under 'Permissions' choose, 'Additional permissions'
  • Then choose 'USB devices' and ensure 'Sites can ask to connect to USB devices' is selected

Screenshot showing option in USB devices settings for Chrome


There is no equivalent setting for Web Bluetooth for individual users in Chrome, it is typically enabled by default. However, on school or enterprise systems, both WebUSB and Web Bluetooth are controlled centrally by an IT specialist. IT specialists using enterprise additions of Chrome or Edge should look up browser policies relating to the control of Web Bluetooth API  and WebUSB API (e.g. DefaultWebBluetoothGuardSetting and DefaultWebUsbGuardSetting) to ensure users can connected to USB and Bluetooth devices.



What are the LEDs telling you? 

The LEDs on the front of the micro:bit may help you to understand the status of your connection:


Radio connection (2 micro:bits)


Shown on LEDsWhen? 
image of micro:bit LEDs showing a dot


dot on the data collection micro:bit

The data collection micro:bit will show a dot very briefly on the display on startup until it starts to broadcast radio data. This may be too quick to notice.
image of micro:bit LEDs showing a smiley facehappy face on the data collection micro:bitThe data collection micro:bit will show a smiley face when it is broadcasting data.
image of micro:bit LEDs showing a dot


dot (not flashing) on micro:bit connected to the computer

The radio link micro:bit connected to the computer will show a dot very briefly on the display on startup until it starts to stream data to the web browser. This may be too quick to notice. 
image of micro:bit LEDs showing a diamond


diamond on the radio link micro:bit connected to the computer
The radio link micro:bit connected to the computer will show a diamond while it is streaming the data it is receiving from the data collection micro:bit to the computer's web browser. 
image of micro:bit LEDs showing a dot


flashing dot on micro:bit connected to the computer
The radio link micro:bit connected to the computer will show a flashing dot if it stops receiving data from the data collection micro:bit.



Bluetooth connection (1 micro:bit)


Shown on LEDsWhen? 


image of micro:bit LEDs showing a smiley facehappy face on the data collection micro:bit

The data collection micro:bit will show a happy face briefly on the display on startup.

image of micro:bit LEDs showing a patternpattern to identify the data collection micro:bit (exact pattern is specific to your micro:bit)
The data collection micro:bit will show a pattern until the Bluetooth is connected. This pattern will be specific to your micro:bit and will probably look different to the pattern in this example image. 
image of micro:bit LEDs showing a smiley face

happy face on the data collection micro:bit

While Bluetooth is connected, the data collection micro:bit will show a smiley face. 

image of micro:bit LEDs showing a sad face

sad face on the data collection micro:bit
If the Bluetooth connection is lost, the data collection micro:bit will show a sad face for about 2 seconds.
image of micro:bit LEDs showing a patternpattern to identify the micro:bit (exact pattern is specific to your micro:bit)
If the Bluetooth connection is lost, after 2 seconds, the data collection micro:bit will show the pairing pattern again. This pattern will be specific to your micro:bit and will probably look different to the pattern in this example image.