Interfacing with other devices and sensors

What sensors and components can I use with the micro:bit?
The micro:bit edge connector makes it easy to extend your projects and communicate with other sensors and peripherals. If you're interested in doi...
Wed, 3 Mar, 2021 at 8:24 AM
Connecting headphones or a speaker to the micro:bit
Overview The latest micro:bit has a built-in speaker, but you can also output sound to a pair of headphones or an external speaker by sending a signal on P...
Tue, 30 Mar, 2021 at 8:31 AM
Connecting an LED to the micro:bit
A Light Emitting Diode(LED) is an electronic component that lights up when a current is passed through it. They are either single colour or Red, Green and B...
Wed, 1 Dec, 2021 at 1:09 PM
Using a servo with the micro:bit
Overview This article explains how to connect a servo motor to the micro:bit and how to code it in the micro:bit editors. It also provides some troubleshoo...
Wed, 5 May, 2021 at 1:21 PM
Touch sensing on the micro:bit
The large pins (0,1,2) and the logo (V2 only) on the micro:bit can be configured to know when they are being touched or ...
Mon, 19 Jul, 2021 at 12:34 PM
How do I play a MIDI instrument on the micro:bit
There are extensions for MIDI and  MIDI-over-Bluetooth for the MakeCode Editor. To use on a computer, you can output raw MIDI serial data, then use Hair...
Thu, 12 Nov, 2020 at 2:48 PM
micro:bit accessory guide listing
The Guide The micro:bit accessory guide, currently available on the resellers page as a PDF document, is a list of accessories known to and approved by The...
Thu, 2 Apr, 2020 at 11:13 AM
Why does the voltage on the pins alternate between 0 and 3V?
If you look at the output from the pins when you are sending analogue data with an oscilloscope, you'll see that the waveform alternates between 0v and ...
Mon, 29 Mar, 2021 at 2:54 PM
How the micro:bit produces sound via PWM
The micro:bit uses Pulse Width Modulation (PWM) as a way to simulate an analogue output on a digital pin. It sends a series of high speed on/off electronic ...
Mon, 29 Mar, 2021 at 2:49 PM
Using NeoPixels with the micro:bit
A NeoPixel is an individually addressable, colour-changing LED  that can be controlled from a single pin on the micro:bit. NeoPixel is the brand name given ...
Tue, 28 Sep, 2021 at 1:14 PM