HATs only work on a Raspberry Pi, right? Generally yes, but sometimes they can work with the Pico. Pimoroni’s Drum HAT is an older HAT with eight pads that can be used to perform drum solos and such. For this tutorial, we will repurpose a Drum HAT to be a USB human interface device (USB HID) via a Raspberry Pi Pico running CircuitPython.
Drum HAT’s CAP1188 capacitive touch sensor needs just four pin connections to our Pico. The problem is that the 20x2 (40-pin) configuration of the Raspberry Pi means we can’t just drop it on to a breadboard. This is where some careful snipping of header pins is required. Using header pins, a long breadboard