The objective of this post is to introduce the micro:bit board, a very easy to use ARM-based development board.
The objective of this post is to introduce the micro:bit board, an ARM-based development board. This is a very easy to use board that already includes a lot of peripherals, which avoids the need for soldering or use of external hardware to get started with simple applications.
Furthermore, as we will see below, some of the programming environments available are also designed to facilitate beginners getting started with it.
In terms of dimensions, its a compact board with a size of 43×52 mm and a weight of 8 g . You can check the board below at figure 1.
Figure 1 – micro:bit board. Taken from .
You can consult the community website of micro:bit for a lot of information about the board, including the hardware features and the software environments available for programming it. You can also access the micro:bit product website here.
The nRF51 is used as the application processor, meaning that will be the one running the programs we will develop. In terms of memory, it has 16 KB of RAM and 256 KB of FLASH .
All the GPIOs accessible are provided by the nRF51 and the board has 19 of them available as assignable. From these, up to 3 can be assigned as PWM pins and 6 as analog inputs . The ADC of the processor has a resolution of 10 bits .
These pins also have support for the I2C, SPI and Serial communication interfaces , which are the basic ones regarding to the interaction with other peripherals.
Additionally to the nRF51, the board has a Freescale MKL26Z128VFM4 microcontroller, which is responsible for handling the USB connection between the micro:bit board and a computer, and also for the flashing of new code. This device has a ARM Cortex-M0+ core, 128 KB of FLASH and 16 KB of RAM.
You can read more about the interaction between the application processor and this interface processor here. One of the interesting features that comes from this architecture is that the micro:bit board is detected as a USB disk when connected to our computer, and we simply need to drag and drop the binary file obtained from our code to this disk and it will be automatically flashed and run.
As mentioned, one of the characteristics of the micro:bit board is that it has already a lot of peripherals on board, making it easier for prototyping some simple applications without the need to solder or buying additional hardware.
Regarding environment sensing, the board has a Freescale MMA8653FC, a 3-axis accelerometer with a resolution of 10 bits . It also has an on board Freescale MAG3110 magnetometer, which allows to get magnetic field strength measurements . Both of these devices are connected to the processor via I2C protocol .
Additionally, the nRF51 processor has an integrated temperature sensor that allows us to obtain measurements . It has a resolution of, 0.25°C and an accuracy of +-4°C .
As user inputs, the board has 2 two buttons  that we can use for a simple interface. These buttons are located in the front of the board and in the back there is an additional button that allows to reset the system.
To complement the user interface, the micro:bit board also has a 5×5 LED matrix  which can be used as a simple display.
In terms of communication capabilities, the micro:bit board has a 2.4 GHz transceiver, which allows it to support Bluetooth low energy to establish communication with other devices . You can read more about the supported micro:bit Bluetooth custom profile here.
Besides Bluetooth, the radio of the board also allows the use of the Nordic Gazell protocol, which is a proprietary protocol that allows communication between devices that support it . This protocol operates on the 2.4 GHz, like Bluetooth.
The micro:bit operates in a range of voltages between 1.8 V and 3.6 V . It can be powered via USB connection or using its battery conector , allowing for the development of portable projects.
The micro:bit has many development environments available, some of them designed to make it easy for beginners to get started, as can be seen here.
A very good feature of this editor is that it offers us the possibility of simulating the code execution very easily. Basically, as can be seen in figure 2, a model of the micro:bit board is located at the left side of the code editing window and we can simply click a button to start testing it. This allows anyone curious about the platform to test it before buying the actual hardware.
Alternatively, also as an higher level language, we can use MicroPython. To do it, there’s also a online development environment available here. You can also read more about this development environment here. You can check at figure 3 below a screenshot of this development environment.
Figure 3 – Micro:bit MicroPython development environment.
Other option to program the board that is familiar to many developers is using the Arduino environment. You can check here the GitHub page of the project, which includes installation instructions.
Another supported platform is mbed, which has an online IDE for development in C/C++ . Naturally, these are lower level languages, which may be a little bit harder for beginners.
Micro:bit also appears as one of the board supported in the PlatformIO environment, although there is not yet much information on how to get started with it.