XK05 Support materials


The XK05 IoT Starter kit for the BBC micro:bit is the quickest and easiest way to get your micro:bit out of the playground and onto the Cloud. Introducing classrooms and first time users with no technical know-how to the Internet of Things (IoT).

Are you a first time user or not very confident with IoT?  Or do you just fancy a simple curated journey to get your micro:bit online?  If so why not try the: curated first experience journey brought to you by XinaBox and ALSO AllThingsTalk.

The main purpose of this page is to take you through the steps needed to use the XK05 to get your micro:bit online.

Table of contents:

The XK05 is multi-functional:

The XK05 extends the capabilities of your micro:bit in two ways:

With Wi-Fi / IoT (as explained below). 
With persistent memory via a microSD card.
The IM01 is a lot more than just a bridge to connect the CW01 to the BBC micro:bit: it is a multi-functional stand-alone micro:bit peripheral as well.
A microSD card can be added, allowing you to read from and write to files.
Data logging of big data is possible.  Supports up to 32Gigabytes.  
The best part is that it can be coded easily from MakeCode. 
And there is even more to the IM01 - find out all about it on this page

Wi-Fi and persistent memory greatly extend what you can do with your micro:bit:

IoT: Getting Started:

We've made the process of connecting your micro:bit to the cloud as easy as possible and removed as much of the jargon and technical complexity as we could.  Using IoT should be about data, not about arcane technical concepts.

There are 3 different tasks needed to connect your XK05 to an IoT platform:

Build the hardware Everything you need to know about using the XK05 hardware and your micro:bit to connect to the cloud is detailed on this page.
Choose and setup an IoT platform Read below to find out what your options are regarding IoT platforms and how to decide which one to use.
Software and writing code Everything you need to know about micro:bit firmware and how to write code in Makecode is detailed on this page.

Choosing an IoT platform:

The CW01 MakeCode library supports the following IoT platforms:

  1. ALSO AllThingsTalk
  2. Microsoft Azure
  3. Ubidots
  4. Generic MQTT (blocks to connect to any MQTT server)

You will need to choose a platform, and your level of experience with IoT should be a factor in the choice:

Writing code:

Before you start coding please read through the XK05 - software page, which will help to ensure you and your micro:bit are ready to connect to the cloud.  That page includes a helpful 5-page how-to guide that covers the following topics:

  1. Importing the CW01 extension into MakeCode. 
  2. Connecting to Wi-Fi and the IoT platform in MakeCode
  3. Understanding basic data types
  4. Sending data to an IoT platform
  5. Parsing data and how to receive data from your IoT platform.

These how-to guides will help to explain the blocks shown below, which make up a viable program that just needs parameters to be added. The blocks are similar for all 4 of the IoT platforms supported:


    There are a few things that can go wrong when trying to connect to the Cloud, and we have tried to anticipate these in the 2 pages linked to above (XK05 - hardware and XK05 - software). 

    If you've been through these pages but are still having issues we've put together a trouble-shooting guide with a bunch of things you can check. It also has details about how to get in touch with us if none of the suggestions work.  The guide is in PDF format and you can view it here.

    Check out the full range of 'micro:bit ready' xChips