Skip to content
CED will be closed for Thanksgiving on Thursday, Nov. 28th. We will resume shipping on Friday the 29th. Have a great holiday!
CED will be closed for Thanksgiving on Thursday, Nov. 28th. We will resume shipping on Friday the 29th. Have a great holiday!

Unlock your inner Mozart with Piano HAT, the ultimate 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.

Use it to play music in Python, control software synths on your Pi, take control of hardware synthesizers, or surprise us with your creativity!

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 touch sensitive buttons
  • 13 piano keys (a full octave)
  • Octave up/down buttons
  • Instrument cycle button (great for use with synthesizers)
  • 16 LEDs (let them light automatically, or take control with Python)

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

Compare products

{"one"=>"Select 2 or 3 items to compare", "other"=>"{{ count }} of 3 items selected"}

Select first item to compare

Select second item to compare

Select third item to compare

Compare