The Raspberry Pi is brilliant and the GPIO pins increase the usuability of the Pi. When the Pi organisation produced the B+ they introduced a new specification and add-on board called Hardware Attached on Top (HATs). The idea is that you can include a set of rules that mean the Pi knows what GPIO pins the HAT uses and what drivers it needs.
Very cool and they make life very easy. I will be buying some HATs over the next few months and I will review them.
Hats I would like to try?
Raspberry Pi Piano HAT
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!
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 Python)
The Raspberry Pi Sense HAT
The Raspberry Pi Sense HAT is the perfect product to learn about programming and how we interact with the world around us; I’m sure that with its full array of sensors we are yet to discover all the weird and wonderful applications that the global Raspberry Pi community will invent on this planet and beyond with the Sense HAT
The Raspberry Pi Sense HAT is attached on top of the Raspberry Pi via the 40 GPIO pins (which provide the data and power interface) to create an ‘Astro Pi’. The Sense HAT has several integrated circuit based sensors can be used for many different types of experiments, applications, and even games.
The sensors enable you to read:
- Orientation (yaw, pitch & roll) via an accelerometer, 3D gyroscope and magnetometer
The Sense HAT supports a whole host of projects for the Raspberry Pi, it can measure how fast is the Pi itself travelling (i.e. measure your speed), how hot is it? how humid is it? (air humidity), which direction is the Raspberry Pi facing?
Raspberry Pi Skywriter HAT
Control your Pi with a flick of the wrist. Skywriter HAT senses the position of your fingers in the air above.
Using our Python API you can read off the positional data (x, y, z) and common gestures like flick left, tap, and double tap.
- Electrical near-field 3D/gesture sensing
- 4-layer PCB for best best sensing performance
- Senses from up to 5cm away!
- Full 3D position data and gesture information (swipes, taps)
- Compatible with Raspberry Pi B+ and A+
- Comes fully assembled
- Full Python API
Because the sensing distance is up to 5cm you can mount Skywriter HAT behind a sheet of non conductive material (like acrylic or fabrics) and completely hide it inside your project.