2015-10-17 16:22:59 +08:00
|
|
|
<!--
|
|
|
|
---
|
2016-06-25 06:26:20 +08:00
|
|
|
name: Piano HAT
|
2016-01-31 19:03:17 +08:00
|
|
|
class: board
|
|
|
|
type: instrument
|
2016-06-26 22:35:20 +08:00
|
|
|
formfactor: HAT
|
2016-02-21 00:35:30 +08:00
|
|
|
image: 'piano-hat.png'
|
2015-10-17 16:22:59 +08:00
|
|
|
manufacturer: Pimoroni
|
|
|
|
description: A tiny Pi piano with 16 touch-sensitive buttons
|
2016-02-21 00:35:30 +08:00
|
|
|
url: http://shop.pimoroni.com/products/drum-hat
|
|
|
|
github: https://github.com/pimoroni/piano-hat
|
|
|
|
buy: https://shop.pimoroni.com/products/piano-hat
|
2015-10-17 16:22:59 +08:00
|
|
|
pincount: 40
|
2015-12-30 01:49:41 +08:00
|
|
|
eeprom: yes
|
2015-10-17 16:22:59 +08:00
|
|
|
pin:
|
2015-11-16 18:28:16 +08:00
|
|
|
'3':
|
2015-10-17 16:22:59 +08:00
|
|
|
mode: i2c
|
2015-11-16 18:28:16 +08:00
|
|
|
'5':
|
2015-10-17 16:22:59 +08:00
|
|
|
mode: i2c
|
2015-11-16 18:28:16 +08:00
|
|
|
'7':
|
2015-10-17 16:22:59 +08:00
|
|
|
name: Alert A
|
|
|
|
mode: input
|
2015-11-16 18:28:16 +08:00
|
|
|
'11':
|
2015-10-17 16:22:59 +08:00
|
|
|
name: Reset A
|
|
|
|
mode: output
|
2015-11-16 18:28:16 +08:00
|
|
|
'13':
|
2015-10-17 16:22:59 +08:00
|
|
|
name: Alert B
|
|
|
|
mode: input
|
2015-11-16 18:28:16 +08:00
|
|
|
'15':
|
2015-10-17 16:22:59 +08:00
|
|
|
name: Reset B
|
|
|
|
mode: output
|
2015-12-30 01:49:41 +08:00
|
|
|
i2c:
|
|
|
|
'0x28':
|
|
|
|
name: Cap Touch A
|
|
|
|
device: cap1188
|
|
|
|
'0x2b':
|
|
|
|
name: Cap Touch B
|
|
|
|
device: cap1188
|
2015-10-17 16:22:59 +08:00
|
|
|
-->
|
2016-07-10 20:47:41 +08:00
|
|
|
#Pimoroni Piano HAT
|
2015-10-17 16:22:59 +08:00
|
|
|
|
|
|
|
Piano HAT has 16 touch-sensitive buttons. 13 of these are a single Piano octave, the rest give you octave up/down and instrument select functionality.
|
|
|
|
|
|
|
|
It uses two Microchip CAP1188 chips with the i2c addresses 0x28 and 0x2b.
|
|
|
|
|
2015-11-10 07:44:51 +08:00
|
|
|
To get the HAT set up and ready to go you can use the one-line product installer:
|
2015-10-17 16:22:59 +08:00
|
|
|
|
|
|
|
```bash
|
2015-11-10 07:44:51 +08:00
|
|
|
curl -sS get.pimoroni.com/pianohat | bash
|
2015-10-17 16:22:59 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
And follow the instructions!
|