in , , ,

Build a Raspberry Pi Pico piano

Reading Time: 3 minutes

Did you catch the very cool Raspberry Pi Pico piano project shared on the latest Digital Making at Home livestream? The sibling maker group from the GurgleApps family, Amelie, Caleb, and Ziva, chatted about how they got into coding before inviting us into miniature musical mayhem.

Watch the siblings on the latest Digital Making at Home livestream

What do you need to make a Raspberry Pi Pico piano?

  • Raspberry Pi Pico
  • Resistors
  • Copper-plated boards
  • Analog pin (to ‘play’ the resistor ‘keys’)
kids hands showing the pieces of the pico piano
The siblings trialled lots of different materials to find the best keyboard

Multiple coding options

The siblings made two separate keyboards: one coded in MicroPython and another coded in Circuit Python. The Circuit Python-coded board also has MIDI functionality! Watch the video below to learn more about the exploration process.

- Werbung -
The original build video on YouTube walks you through the electronics part of the project

Power of resistors

So how do the resistors power this project? Four resistors are connected from ground to power in series, with the highest voltage in the far right-hand resistor (see image below). The voltage drops as we move along the series to the far left-hand resistor. Analog pins sit between each resistor and act as the ‘notes’ on the piano.

Resistor series lesson in session

Perf finish

You don’t even need a board like the kids made, you can just twist or solder a series of resistors together to make the base of your piano and then ‘play’ it by pressing an analog pin against the wires. With a board, the piano looks much cooler though.

A perf board would also work for this project if you don’t want to go to the trouble of making your own piano board but still want something that looks a little more ‘piano-like’ than a bunch of resistors.

- Werbung -

Appearances matter

To make the snazzy board you see in the video, the kids grabbed a copper-plated board and drew out designs on sticky paper (their printer was broken so this was a homely, if more time-consuming, option). Stick the paper designs to the copper board, put that board in etching solution, and you’ve got a homemade piano keyboard. They also tried using a Sharpie to draw designs straight onto the board, but the sticker designs look a lot more slick.

Resistor placement perfection and coding

Resistor placement took some time to perfect: the siblings tried out a few cheap copper boards before they got it right. The video below shows you how to code your Pico piano.

This video show you how to code your piano with Raspberry Pi Pico

Subscribe to the GurgleApps family’s channel on YouTube for more electronics and coding projects. And subscribe to our YouTube channel for young people and educators for even more fun, family-friendly coding and physical computing videos!

- Werbung -

Website: LINK

What do you think?

26 Points
Upvote Downvote

Written by Maria Richter

Schreibe einen KommentarAntworten abbrechen