Use a micro:bit to control music on a Raspberry Pi with the bitio library

Giles Booth likes to try out new hardware by seeing if it can be made into a music player. This time, he’s used a micro:bit to control a Raspberry Pi’s music playing capabilities. By pressing A and B, he can change channels and by tilting the micro:bit from side to side, he can change the volume. The magic sauce that makes this all work is David Whale‘s bitio Python library which gives users of Python on a Pi, PC or Mac access to the micro:bit’s sensors and buttons. You can read more about this project on Giles’ blog here and you can find out more about the bitio library here. Get hold of a micro:bit from The Pi Hut. Giles takes you through the operation of the system in the video below:

1 comment for “Use a micro:bit to control music on a Raspberry Pi with the bitio library

  1. 9 August 2017 at 6:04 pm

    Cool cool cool. Just got my hands on one of those yesterday. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *