Permalink
Browse files

Publish Picade HAT

  • Loading branch information...
1 parent 3063370 commit 9aaf5010a15805e493b511af4fa0afc22cea402f @Gadgetoid committed Dec 16, 2016
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -5,7 +5,7 @@
try:
from flask import Flask, send_from_directory
except ImportError:
- exit("This script requires the psutil module\nInstall with: sudo pip install Flask")
+ exit("This script requires the Flask module\nInstall with: sudo pip install Flask")
app = Flask(__name__)
@@ -100,3 +100,4 @@ overlays:
- zero-lipo
- rabbitmax-flex
- rainbow-hat
+- picade-hat.md
@@ -5,9 +5,10 @@ class: board
type: input
formfactor: HAT
manufacturer: Pimoroni
-description: Arcade control inputs plus mono I2S digital audio
-buy: https://shop.pimoroni.com/
-image: 'picade-hat.png'
+description: Arcade inputs & digital amp
+buy: https://shop.pimoroni.com/products/picade-hat
+github: https://github.com/pimoroni/picade-hat
+image: 'pimoroni-picade-hat.png'
pincount: 40
eeprom: yes
power:
@@ -28,44 +29,57 @@ pin:
'7':
name: Shutdown
mode: output
+ active: low
'11':
- name: Power
- mode: output
+ name: Power Button
+ mode: input
+ active: low
'12':
name: I2S Clock
'13':
name: Enter
mode: input
+ active: low
'15':
name: Escape
mode: input
+ active: low
'16':
name: Coin
mode: input
+ active: low
'18':
name: Start
mode: input
+ active: low
'19':
name: 'Button 6'
mode: input
+ active: low
'21':
name: 'Button 5'
mode: input
+ active: low
'22':
name: 'Button 4'
mode: input
+ active: low
'23':
name: 'Button 2'
mode: input
+ active: low
'24':
name: 'Button 3'
mode: input
+ active: low
'29':
name: 'Button 1'
mode: input
+ active: low
'31':
name: Down
mode: input
+ active: low
'32':
name: Up
mode: input
@@ -74,9 +88,11 @@ pin:
'36':
name: Right
mode: input
+ active: low
'38':
name: Left
mode: input
+ active: low
'40':
name: I2S Data
install:
@@ -89,6 +105,7 @@ Picade HAT provides screw terminals for 10 arcade buttons and a joystick. It als
All button inputs should be configured with their corresponding internal pull-ups. Buttons should be wired between an input and ground.
-* 14 button terminals
+* 10 button terminals
+* 4 terminals for joystick
* Stereo audio combined for a single speaker
* Support for an external power button and safe power shutdown
@@ -0,0 +1,111 @@
+<!--
+---
+name: Picade HAT
+class: board
+type: input
+formfactor: HAT
+manufacturer: Pimoroni
+description: Arcade inputs & digital amp
+buy: https://shop.pimoroni.com/products/picade-hat
+github: https://github.com/pimoroni/picade-hat
+image: 'pimoroni-picade-hat.png'
+pincount: 40
+eeprom: yes
+power:
+ '1':
+ '2':
+ '4':
+ '17':
+ground:
+ '6':
+ '9':
+ '14':
+ '20':
+ '25':
+ '30':
+ '34':
+ '39':
+pin:
+ '7':
+ name: Shutdown
+ mode: output
+ active: low
+ '11':
+ name: Power Button
+ mode: input
+ active: low
+ '12':
+ name: I2S Clock
+ '13':
+ name: Enter
+ mode: input
+ active: low
+ '15':
+ name: Escape
+ mode: input
+ active: low
+ '16':
+ name: Coin
+ mode: input
+ active: low
+ '18':
+ name: Start
+ mode: input
+ active: low
+ '19':
+ name: 'Button 6'
+ mode: input
+ active: low
+ '21':
+ name: 'Button 5'
+ mode: input
+ active: low
+ '22':
+ name: 'Button 4'
+ mode: input
+ active: low
+ '23':
+ name: 'Button 2'
+ mode: input
+ active: low
+ '24':
+ name: 'Button 3'
+ mode: input
+ active: low
+ '29':
+ name: 'Button 1'
+ mode: input
+ active: low
+ '31':
+ name: Down
+ mode: input
+ active: low
+ '32':
+ name: Up
+ mode: input
+ '35':
+ name: I2S WS
+ '36':
+ name: Right
+ mode: input
+ active: low
+ '38':
+ name: Left
+ mode: input
+ active: low
+ '40':
+ name: I2S Data
+install:
+ 'devices':
+ - 'i2s'
+-->
+#Picade HAT
+
+Picade HAT provides screw terminals for 10 arcade buttons and a joystick. It also includes a digital to analog audio converter and amplifier which outputs to a single speaker terminal.
+
+All button inputs should be configured with their corresponding internal pull-ups. Buttons should be wired between an input and ground.
+
+* 10 button terminals
+* 4 terminals for joystick
+* Stereo audio combined for a single speaker
+* Support for an external power button and safe power shutdown
@@ -100,3 +100,4 @@ overlays:
- zero-lipo
- rabbitmax-flex
- rainbow-hat
+- picade-hat
@@ -100,3 +100,4 @@ overlays:
- zero-lipo
- rabbitmax-flex
- rainbow-hat
+- picade-hat.md
@@ -0,0 +1,111 @@
+<!--
+---
+name: Picade HAT
+class: board
+type: input
+formfactor: HAT
+manufacturer: Pimoroni
+description: Arcade inputs & digital amp
+buy: https://shop.pimoroni.com/products/picade-hat
+github: https://github.com/pimoroni/picade-hat
+image: 'pimoroni-picade-hat.png'
+pincount: 40
+eeprom: yes
+power:
+ '1':
+ '2':
+ '4':
+ '17':
+ground:
+ '6':
+ '9':
+ '14':
+ '20':
+ '25':
+ '30':
+ '34':
+ '39':
+pin:
+ '7':
+ name: Shutdown
+ mode: output
+ active: low
+ '11':
+ name: Power Button
+ mode: input
+ active: low
+ '12':
+ name: I2S Clock
+ '13':
+ name: Enter
+ mode: input
+ active: low
+ '15':
+ name: Escape
+ mode: input
+ active: low
+ '16':
+ name: Coin
+ mode: input
+ active: low
+ '18':
+ name: Start
+ mode: input
+ active: low
+ '19':
+ name: 'Button 6'
+ mode: input
+ active: low
+ '21':
+ name: 'Button 5'
+ mode: input
+ active: low
+ '22':
+ name: 'Button 4'
+ mode: input
+ active: low
+ '23':
+ name: 'Button 2'
+ mode: input
+ active: low
+ '24':
+ name: 'Button 3'
+ mode: input
+ active: low
+ '29':
+ name: 'Button 1'
+ mode: input
+ active: low
+ '31':
+ name: Down
+ mode: input
+ active: low
+ '32':
+ name: Up
+ mode: input
+ '35':
+ name: I2S WS
+ '36':
+ name: Right
+ mode: input
+ active: low
+ '38':
+ name: Left
+ mode: input
+ active: low
+ '40':
+ name: I2S Data
+install:
+ 'devices':
+ - 'i2s'
+-->
+#Picade HAT
+
+Picade HAT provides screw terminals for 10 arcade buttons and a joystick. It also includes a digital to analog audio converter and amplifier which outputs to a single speaker terminal.
+
+All button inputs should be configured with their corresponding internal pull-ups. Buttons should be wired between an input and ground.
+
+* 10 button terminals
+* 4 terminals for joystick
+* Stereo audio combined for a single speaker
+* Support for an external power button and safe power shutdown
@@ -100,3 +100,4 @@ overlays:
- zero-lipo
- rabbitmax-flex
- rainbow-hat
+- picade-hat.md
Oops, something went wrong.

0 comments on commit 9aaf501

Please sign in to comment.