Explorer pHAT overlay
This commit is contained in:
parent
5165330236
commit
6ad41a1a94
|
@ -0,0 +1,95 @@
|
|||
<!--
|
||||
---
|
||||
name: Explorer pHAT
|
||||
manufacturer: Pimoroni
|
||||
url: https://github.com/pimoroni/explorer-hat
|
||||
github: https://github.com/pimoroni/explorer-hat
|
||||
buy: https://shop.pimoroni.com/products/explorer-phat
|
||||
description: An all-in-one input, output and motor add-on board.
|
||||
install:
|
||||
'devices':
|
||||
- 'i2c'
|
||||
'apt':
|
||||
- 'python-smbus'
|
||||
- 'python3-smbus'
|
||||
- 'python-dev'
|
||||
- 'python3-dev'
|
||||
'python':
|
||||
- 'explorerhat'
|
||||
'python3':
|
||||
- 'explorerhat'
|
||||
'examples': 'examples/'
|
||||
pincount: 38
|
||||
i2c:
|
||||
'0x48':
|
||||
name: Analog Input
|
||||
device: ads1015
|
||||
pin:
|
||||
'3':
|
||||
mode: i2c
|
||||
'5':
|
||||
mode: i2c
|
||||
'15':
|
||||
name: Input 2
|
||||
mode: input
|
||||
active: high
|
||||
'16':
|
||||
name: Input 1
|
||||
mode: input
|
||||
active: high
|
||||
'18':
|
||||
name: Input 3
|
||||
mode: input
|
||||
active: high
|
||||
'22':
|
||||
name: Input 4
|
||||
mode: input
|
||||
active: high
|
||||
'31':
|
||||
name: Output 1
|
||||
mode: output
|
||||
active: high
|
||||
'32':
|
||||
name: Output 2
|
||||
mode: output
|
||||
active: high
|
||||
'33':
|
||||
name: Output 3
|
||||
mode: output
|
||||
active: high
|
||||
'35':
|
||||
name: Motor 1 +
|
||||
mode: output
|
||||
active: high
|
||||
'36':
|
||||
name: Output 4
|
||||
mode: output
|
||||
active: high
|
||||
'37':
|
||||
name: Motor 2 -
|
||||
mode: output
|
||||
active: high
|
||||
'38':
|
||||
name: Motor 1 -
|
||||
mode: output
|
||||
active: high
|
||||
'40':
|
||||
name: Motor 2 +
|
||||
mode: output
|
||||
active: high
|
||||
-->
|
||||
#Explorer pHAT
|
||||
|
||||
5V inputs and outputs, analog inputs and an H-Bridge motor driver make up the Explorer pHAT; a jack of all trades prototyping side-kick for your Raspberry Pi. Perfect for RPi Zero but works with A+/B+/2 too!
|
||||
|
||||
To get the pHAT set up and ready to go you can use the one-line product installer:
|
||||
|
||||
```bash
|
||||
curl -sS get.pimoroni.com/explorerhat | bash
|
||||
```
|
||||
|
||||
Then import it into your Python script and start tinkering:
|
||||
|
||||
```bash
|
||||
import explorerhat
|
||||
```
|
|
@ -12,6 +12,7 @@ urls:
|
|||
strings:
|
||||
- made_by: 'Made by {manufacturer}'
|
||||
- type_hat: 'HAT form-factor'
|
||||
- type_phat: 'pHAT/non-HAT (no EEPROM)'
|
||||
- type_classic: 'Classic form-factor'
|
||||
- pin_header: '{} pin header'
|
||||
- uses_i2c: 'Uses I2C'
|
||||
|
@ -25,25 +26,27 @@ strings:
|
|||
- buy_now: 'Buy Now'
|
||||
overlays:
|
||||
- ground
|
||||
- spi
|
||||
- uart
|
||||
- i2c
|
||||
- wiringpi
|
||||
- spi
|
||||
- arduino-spi
|
||||
- rtk-000-001
|
||||
- piborg-ledborg
|
||||
- piglow
|
||||
- pibrella
|
||||
- unicorn-hat
|
||||
- skywriter-hat
|
||||
- explorer-hat-pro
|
||||
- explorer-hat
|
||||
- wiringpi
|
||||
- cirruslogicaudiocard
|
||||
- iqaudio-pi-dac
|
||||
- display-o-tron
|
||||
- display-o-tron-hat
|
||||
- dots
|
||||
- traffic-hat
|
||||
- iqaudio-pi-dac
|
||||
- piano-hat
|
||||
- sense-hat
|
||||
- discohat
|
||||
- cirruslogicaudiocard
|
||||
- dots
|
||||
- explorer-hat
|
||||
- explorer-hat-pro
|
||||
- explorer-phat
|
||||
- piano-hat
|
||||
- piborg-ledborg
|
||||
- pibrella
|
||||
- piglow
|
||||
- rtk-000-001
|
||||
- scroll-phat
|
||||
- sense-hat
|
||||
- skywriter-hat
|
||||
- traffic-hat
|
||||
- unicorn-hat
|
||||
|
|
Loading…
Reference in New Issue