{"title":"Piano HAT","handle":"piano-hat","url":"/products/piano-hat","description":"The Piano HAT adds a full-octave capacitive touch piano to your Raspberry Pi. With 13 touch-sensitive keys, octave controls, and bright LED feedback, it turns your Pi into a compact musical instrument you can program with Python.\n\nInspired by Zachary Igielman's PiPiano, the Piano HAT uses capacitive touch sensing to detect key presses and can control software synthesisers, output MIDI commands, or trigger custom Python functions for each key.\n\nKey Features\n\n\n16 Capacitive Touch Pads – Each pad can trigger its own Python function\n\n13 Piano Keys – A full octave of touch-sensitive keys\n\nOctave Up/Down Buttons – Shift pitch range on the fly\n\nInstrument Cycle Button – Switch between synthesisers and sounds\n\n16 White LEDs – Light up automatically or control individually via Python\n\n2× Microchip CAP1188 Drivers – Dedicated capacitive touch controller chips\n\nMIDI Output – Use with software synths or hardware synthesisers via USB-to-MIDI adapter\n\nFully Assembled – No soldering required\n\n\nCompatibility\n\nRaspberry Pi 3B+, 3, 2, B+, A+, Zero, and Zero W\n\n\nSoftware\nThe Python library includes several examples to get you started: a learn-to-play mode where LEDs guide you through songs, a MIDI example for use with SunVox, Yoshimi and other software synthesisers, a PyGame example with piano and drum samples, and an 8-bit synth written in pure Python.\n\nPackage Contents\n\n1× Piano HAT (fully assembled)\n\n\nResources\n\nPython Library &amp; Examples (GitHub)\nPiano HAT Pinout\n","vendor":"Little Bird","product_type":"physical","in_stock":false,"options":[],"variants":[{"id":14484,"title":"Default Title","sku":"PR-PIM095","price":32.92,"compare_at_price":0.0,"on_sale":false,"in_stock":false,"available_quantity":0,"option1":"Default Title"}]}