The following activities were posted to the Raspberry Pi Foundation website in order to help support computer science-oriented learning. Each one combines the RPi single-board computer with the Micro:Bit microcontroller. In order to work on the following activities, the RPi OS must have the MicroPython editor mu installed from the repository. To install the software, open the RPi terminal and run the following line:
In this resource, you will use a Micro:Bit to help (or sabotage!) Steve in Minecraft by connecting the pins on your Micro:Bit to the General-Purpose Input/Output (GPIO) pins on a Raspberry Pi using some cables and crocodile clips. Then, using Python, you will write programs to detect motion from the Micro:Bit’s accelerometer and make Steve shake in Minecraft!
In this resource, you will make a Micro:Bit-controlled selfie booth with a Raspberry Pi and camera module, using Python. This is a great way to get started with hardware and simple text programming.
In this resource, you’ll turn your Micro:Bit into a meteorologist that can display the weather forecast for the next seven days, for wherever you live.