pinout.vvzero.com/src/en/overlay/piano-hat.md

52 lines
1.1 KiB
Markdown
Raw Normal View History

2015-10-17 16:22:59 +08:00
<!--
---
2016-01-31 19:03:17 +08:00
class: board
type: instrument
2015-10-17 16:22:59 +08:00
name: Piano HAT
manufacturer: Pimoroni
description: A tiny Pi piano with 16 touch-sensitive buttons
url: https://github.com/pimoroni/piano-hat
formfactor: 'HAT'
2015-10-17 16:22:59 +08:00
pincount: 40
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
i2c:
'0x28':
name: Cap Touch A
device: cap1188
datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/CAP1188%20.pdf
'0x2b':
name: Cap Touch B
device: cap1188
datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/CAP1188%20.pdf
2015-10-17 16:22:59 +08:00
-->
#Piano HAT
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.
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
curl -sS get.pimoroni.com/pianohat | bash
2015-10-17 16:22:59 +08:00
```
And follow the instructions!