BBC Micro:bit  Tests Tricks Secrets Code          

Elektronik-Labor   Projekte   Microbit 




Micro:bit is a small microcontroller learning system, developed by the BBC in collaboration with the University of Lancaster for seventh grade students in Great Britain. The hardware and software tools are very well suited for work in school. Students can program interesting applications around a 32-bit ARM controller with very little effort, and without the need to worry about details of the hardware involved. As you can see on the Micro:bit web pages, they are very detailed and well used.

But the Micro:bit can do more! It is a complete development system and in addition a versatile single-board computer for all kinds of tasks. This controller can also be used as a measuring instrument in the electronics lab. It is therefore exciting to examine the different properties of the system more closely.

The aim of this book is to explore some of the many possibilities of the Micro:bit. The result of our little expedition into hard and software is something like a complete overview on the topics of microcontrollers, programming, electronics and measurement technology. Many of the aspects also apply to other microcontroller systems or to electronics in general.

I hope you enjoy the experimenting and programming, leading to success with your own projects later!

Burkhard Kainka, December 2016

Version 1.4

German edition: Micro:bit Praktikum
Translation by Juergen Pintaske, ExMark,  STEM Ambassador

Jüergen wrote about this book:

Brilliant work - LED Oscilloscope, LED 5 digit counter, LEDs display 2 counters, code for download to have it all on the PC
I am a STEM Ambassador - supporting the young generation regarding STEM aspects. When I found and read the German version - I immediately liked it. Completly new aspects, demos, examples adding to the other documentation out there. I find it sometimes too much on the Micro;bit website. Here you have a complete block to explain how it all hangs together, and as well new ideas. I love the oscilloscope and the 5 digit counter and how Burkhard displays it. Two counters 0..99 using just the 25 LEDs. And as well the low cost option to experiment and add some components externally. Normally, you need the Internet to compile code. Burkhard offers a very good starter solution: Download the whole code that is used in the book as code AND as hex, so you have it on your PC locally - no Internet required from then on if you do not want to - but can still try it all. After I had a look I had to translate it so we started a quick project. Just ready for Christmas, and it fits well with my own series of eBooks about Forth - and there is now a MECRISP version that runs on the Micro:bit. Thanks Burkhard - well done.


1 Introduction     6
2 Getting Started using the Block Editor     11
3 Event Control     21
4 Analog measurements    30
5 Static display option     37
6 Measurements at the Port pins    50
7 The Micro:bit oscilloscope   63
8 Characteristic curve measurements   80
9 Micro:bit and the Touch Editor   87
10 Micro:bit and MicroPython   94
11 Programming Experience Toolkit (PXT)   99
12 Programming with Mbed    104
13 Mbed and MicroBit.h     112
14 Micro:bit short circuit protection    116

Download (7 MB):

Elektronik-Labor   Projekte   Microbit