You're not connected to the Internet.
CHF 21.90

Pimoroni Piano HAT

Art-Nr 5999106
 approx. 5–7 days Currently 2 piece(s) in stock at the supplier


Mail delivery

  • approx. 5–7 days
    Currently 2 piece(s) in stock at the supplier


  • All locations: approx. 3–5 days
    Currently 2 piece(s) in stock at the supplier

If ordered immediately.
Information subject to change.

View details


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. "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."

- Michael Horne

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

Piano HAT is compatible with Raspberry Pi 2, B+ and A+ and comes fully
assembled, with a trove of examples to get you started.


* 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 automagically, or take control with

16 touch sensitive buttons - Each button on Piano HAT can be
individually watched in Python and hooked up to whatever mad-cap
contraption or project you can imagine. Tickle-the-ivories and create
a symphony of servos or a concerto of... motors.

Octave up/octave down buttons - Expand your playing horizons with two
dedicated buttons you can use to shift up or down an octave, or - you
know- raise and lower the drawbridge to your fortress.

Instrument Cycle Button - Synth heads will be pleased to hear that
it's totally possible to make this button send a patch change event to
synths like Yoshimi. All you need is a little Python glue!

16 LEDs - Ever seen on one of those learn-to-play keyboards with
light-up keys? Take command of the LEDs and walk yourself through your
favorite tunes, or use them as a visual metronome.

Such sounds, very wow - Use with a variety of synths, both hardware
and software, play .wav samples with PyGame, or create your own
Piano-controlled contraptions. We've included a MIDI example which
lets you play music with Sunvox, [1] Yoshimi and others, plus a PyGame
example that includes a few octaves of glorious piano and some drums
for good measure.

Hey Pros! - Using Python you can make Piano HAT output regular MIDI
commands via a USB to MIDI adapter and take control of your hardware
synth gear.

Full Python library, documentation and examples - Head on over to our
Piano HAT GitHub repository to find a Python library, examples for
PyGame and Python MIDI and more:

As seen in MagPi - Issue 38 - Make music with the Piano HAT by Richard
Hayler [3], Issue 37 - Piano HAT review by Les Pounder [4]



Click 'show more' to display specifications.

General information

Manufacturer Pimoroni
Product type Electronics modules
Item number5999106
Manufacturer no.PIM095

Please click directly on the incorrect data to access the registration form.

Alternatively, you can register a generic error report (wrong picture, unsuitable accessories, etc.)


Report incorrect data

Correction suggestion


Report incorrect data

If you wish to learn more about this product, please visit the manufacturer's website or contact us:

Returns and warranty

Warranty 24 month Bring-in
30-day right of return

30-day right of return

This product may be returned within 30 days after shipment or collection. A minimum of 10% will be deducted from opened products. Unfortunately, we cannot accept a product if it is damaged, incomplete or missing its original packaging.

Returns and warranty

Please use our simplified returns and warranty process to return a product or register a warranty case. Returns and warranty

Please use our simplified warranty process to view the warranty period as well as any warranty extensions you may have purchased. This will ensure that your return or warranty case is processed quickly and effectively.


Mail delivery

 Expected delivery time: approx. 5–7 days
Currently 2 piece(s) in stock at the supplier


All locations

 Expected delivery time: approx. 3–5 days
Currently 2 piece(s) in stock at the supplier

If ordered immediately.
Information subject to change.

Customer questions and answers

No questions so far.

Do you have a question? Ask the digitec community.

Ask a question

Ask other customers about product properties, performance or use.
If you have any questions about your order, please contact the Customer service.

Your contributions in the community are subject to the Community terms and conditions.

Customer ratings

This product has not yet been rated.

Have you tested this product? Share your opinion with the digitec community.

Rate product
Pimoroni Piano HAT Pimoroni Piano HAT