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 extends the capabilities of your micro:bit in two ways:
Wi-Fi and persistent memory greatly extend what you can do with your micro:bit:
- We've listed a broad range of projects that other people have built in this Wakelet (which is a pin-board you can view without signing up for anything). This includes projects that will show you how to connect to Ubidots, ATT and Azure as well as how to build an IoT enabled punch-bag and 9-year-old Oscar's science project :)
- Build a network of micro:bits and share-a-smile with your contacts :)
Find out how to send data from an IoT platform to your BBC micro:bit in this Hackster project.
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.|
The CW01 MakeCode library supports the following IoT platforms:
- ALSO AllThingsTalk
- Microsoft Azure
- 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:
- Inexperienced / first timer: Try the curated first experience journey brought to you by XinaBox and ALSO AllThingsTalk.
- Some experience but still learning: Try using ALSO AllThingsTalk or Ubidots. You can register a free trial account with each of these.
- Pro IoT user: Why not give Microsoft Azure a try, or use the MQTT blocks to connect to your IoT platform of choice.
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:
- Importing the CW01 extension into MakeCode.
- Connecting to Wi-Fi and the IoT platform in MakeCode
- Understanding basic data types
- Sending data to an IoT platform
- 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:
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