🎉  Happy 13th Birthday Raspberry Pi!   🎂   1,000+ deals in store!   🥳
🎉  Happy 13th Birthday Raspberry Pi!   🎂   1,000+ deals in store!   🥳

Piano HAT

by Pimoroni

Unlock your inner Mozart with Piano HAT, a mini musical companion for your Raspberry Pi!

Piano HAT is inspired by Zachary Igielman's PiPiano and made with his blessing. We've taken his fabulous idea for a dinky piano add-on for the Raspberry Pi, made it touch-sensitive and added barrels of our trademark Pimoroni polish.

Play music in Python, control software synths on your Pi, and take control of hardware synthesizers!

Michael Horne said "The Piano HAT is, as far as electronics goes, a work of art. It looks slick, feels slick and, with the software library included, acts slick."

The MagPi said Piano HAT was "a great way to unleash your ivory-tinkling tendencies" and "a board for musical adventures".

Features

  • 16 capacitive touch pads (link each to their own Python function!)
  • 13 piano keys (a full octave)
  • Octave up/down buttons
  • Instrument cycle button (great for use with synthesizers)
  • 16 bright white LEDs (let them light automagically, or take control with Python)
  • 2x Microchip CAP1188 capacitive touch driver chips
  • Use it to control software or hardware synths over MIDI
  • Piano HAT pinout
  • Compatible with all 40-pin header Raspberry Pi models
  • Python library
  • Comes fully assembled

Software

We've made an ever-so-thorough Python library to control Piano HAT, with a bunch of nifty examples to let you explore its functionality.

There's a learn to play example that let's you play along as Piano HAT's LEDs show you which keys to press. In no time, you'll be a Chopin for the 21st century.

We've included a MIDI example that lets you play music with Sunvox, Yoshimi and other software synths, a PyGame example with glorious piano and drum samples and even a true 8-bit synth written in pure Python!

You can even make Piano HAT output regular MIDI commands via a USB to MIDI adapter and use Piano HAT as a tiny, cheap MIDI controller for your Minimoog Model D (you have one right?).

10 customer reviews

2 years ago
Works perfectly as advertised, good documentation and a nice set of example programs. I can take it from there. I have been thinking of but not actually buying it for literally years - the recent sale made me a buyer. Just the thing to amuse the piano-playing members of my family.
by Peter about Piano HAT via REVIEWS.io
2 years ago
Perfect Christmas gift for a Pi enthusiast !
by James about Piano HAT via REVIEWS.io
5 years ago
Good fun to tinker with. Well built and of the highest quality.
by Daniel about Piano HAT via REVIEWS.io
7 years ago
Great not only great for music making but also a good set of buttons for other applications too. Easy to install and a good set of tutorials to get you up and running.
by D. about Piano HAT via REVIEWS.io
9 years ago
My nephews are notoriously difficult to please, present-wise. My brother told me that my nephew Gabi had taken up coding and Raspberry Pi, so I got him the Piano Hat. It was a big hit (if you'll pardon the pun!). Now he can combine playing the piano and coding. What more could a ten year old want for his birthday!!? And I was pleased to show him it was made in the city I live in - makes it have that supporting local industry feel to it (important to me, if not a 10 year old!). Can't wait for his next birthday now!
by Samantha about Piano HAT via REVIEWS.io
9 years ago
Recently purchased one of these piano hat boards for my raspberry pi, as usual the service from Pimoroni was excellent and the board is of a really good quality. It's nicely laid out and the touch pads are a decent size. The board looks very classy with the black background and gold lettering and the software to go with it makes using the board very easy. Although it's laid out as a piano it could be used for anything which requires 16 capacitive touch pads and leds.
by Steve about Piano HAT via REVIEWS.io
9 years ago
As I have played piano for 1/3 of my life, I was very excited when I saw this show up on the Pimoroni website. Even before you place the Piano HAT on a Raspberry Pi, you can't help but notice how nice it looks. The silkscreen and exposed copper on the PCB give it a polished, finished look and reminds me of a real piano. I see this as a great way to teach piano to people new to music. However, the capacitive touch buttons can be used for anything you want which makes the possibilities endless!
by Ethan about Piano HAT via REVIEWS.io

1 user photo