Microbit and an AD keypad

I purchased this module as part of a microcontroller kit, its an interesting little module as it has 16 buttons but with only 1 I/O...

Microbit and LDR example

A photoresistor (or light-dependent resistor, LDR, or photocell) is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity;...

Random image on the Micro:bit using Micropython

The Image class also has the following built-in instances of itself included as its attributes (the attribute names indicate what the image represents). In...

Microbit and Neopixel examples

The neopixel module lets you use Neopixel (WS2812) individually addressable RGB LED strips with the Microbit. Note to use the neopixel module, you need...

MicroBit push button and display image example

A simple example using the 2 buttons (a and b), pressing them will display one of the built in images on th 5x5 LED...

Microbit and a buzzer examples

MicroPython on the BBC micro:bit comes with a powerful music and sound module. It’s very easy to generate bleeps and bloops from the device...

Microbit basic serial port example

In this example we will create a VB.net program that will read data from the serial port, in this case a Microbit connected to...

Micro:bit compass example in micropython

The micro:bit also has a compass (magnetometer) The compass has to be calibrated before it can give accurate readings. Calibration involves moving a dot to...

Microbit tune selector example

This example melds together our Microbit and an AD keypad and our Microbit built in tunes and allows you to play a different tune based on a key...

force sensitive resistor example

A force-sensing resistor is a material whose resistance changes when a force or pressure is applied. Force-sensing resistors consist of a conductive polymer, which changes...