Basic Examples to Show Sensors in Action

What is this site for?

This site aims to give you some basic code samples, pictures and short videos to demonstrate a variety of sensors in action, programmed using the jigsaw style block based programming language called MicroBlocks and the BBC micro:bit micro controller. The ElecFreaks motorboard is also used in this site though it isn't needed in most cases and is used for convenience.

MicroBlocks can be downloaded from the website

The aim isn't to present completed projects but rather to give some lego like pieces of code that might be used together to make something meaningful for the constructor.

All images of code are clickable links to downloadable ubp files for use in MicroBlocks.

If you spot any errors, have suggestions or questions you can get me at or @jhegarty on Twitter