
Pimoroni Piano HAT
The Pimoroni Piano HAT adds a full-octave touch-sensitive piano keyboard to your Raspberry Pi. With 13 piano keys (C to C), octave up/down controls, and an instrument cycle button, it works with software synthesisers, hardware synths via USB-to-MIDI adapters, or custom Python projects.
Each of the 16 capacitive touch buttons can be individually monitored in Python, and 16 corresponding LEDs light up automatically or can be controlled programmatically. The HAT comes fully assembled — just attach it to your Pi and start playing.
Key Features
- 16 Touch-Sensitive Buttons – 13 piano keys plus octave up, octave down, and instrument cycle
- 16 LEDs – Automatic lighting or manual Python control
- Full Octave – C to C with octave shift for extended range
- MIDI Output – Use a USB-to-MIDI adapter to control hardware synthesisers
- Python Library – Includes examples for PyGame and Python MIDI
- Fully Assembled – No soldering required
Compatibility
- Raspberry Pi 3, 2, B+, and A+ (40-pin GPIO header)
Package Contents
- 1× Pimoroni Piano HAT (assembled)
Resources
Original: $54.77
-70%$54.77
$16.43Product Information
Product Information
Shipping & Returns
Shipping & Returns
Description
The Pimoroni Piano HAT adds a full-octave touch-sensitive piano keyboard to your Raspberry Pi. With 13 piano keys (C to C), octave up/down controls, and an instrument cycle button, it works with software synthesisers, hardware synths via USB-to-MIDI adapters, or custom Python projects.
Each of the 16 capacitive touch buttons can be individually monitored in Python, and 16 corresponding LEDs light up automatically or can be controlled programmatically. The HAT comes fully assembled — just attach it to your Pi and start playing.
Key Features
- 16 Touch-Sensitive Buttons – 13 piano keys plus octave up, octave down, and instrument cycle
- 16 LEDs – Automatic lighting or manual Python control
- Full Octave – C to C with octave shift for extended range
- MIDI Output – Use a USB-to-MIDI adapter to control hardware synthesisers
- Python Library – Includes examples for PyGame and Python MIDI
- Fully Assembled – No soldering required
Compatibility
- Raspberry Pi 3, 2, B+, and A+ (40-pin GPIO header)
Package Contents
- 1× Pimoroni Piano HAT (assembled)






















