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?).

99 customer reviews

3 years ago
It does what it should do. I've several adapters for the 4 with the USB-C plug, but I couldn't find converters from USB-C to MicroUSB. There are a lot of converters from micro-USB to USB-C, so probably I could use this power adapter also for my rpi 4 with a little dongle on it.
by J.W. about Official Raspberry Pi Universal Power Supply (Pi 3 & Zero Only) via REVIEWS.io
3 years ago
Comes in the official box with several different plug types for UK, EU and others. Plug itself feels of a good solid quality unlike some of the cheaper options. Plugging into the Pi 3 is easy and has worked well for weeks with no error or complaints from the Pi
by Adrian about Official Raspberry Pi Universal Power Supply (Pi 3 & Zero Only) via REVIEWS.io

User photos