pt update
I still haven’t been able to translate every single file but I think I’ve translated the main files, such as the index.md
This commit is contained in:
parent
744e640d90
commit
f71c930740
7
src/pt/404.md
Normal file
7
src/pt/404.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#404 - Uh Oh!
|
||||||
|
|
||||||
|
###Pedimos desculpa, não conseguimos encontrar o que procuras!
|
||||||
|
|
||||||
|
Usa o menu à esquerda para explorar os pinos e funções do Diagrama de Pinos do Raspberry Pi.
|
||||||
|
|
||||||
|
Usa o menu acima para descobrir novas placas, aprender sobre interfaces e descobrir guias de conexões do Diagrama de Pinos.
|
@ -1,6 +1,6 @@
|
|||||||
#Diagrama de Pinos!
|
#Diagrama de Pinos!
|
||||||
|
|
||||||
###O guia detalhado do diagrama de pinos GPIO do Raspberry Pi, agora com o Raspberry Pi Model B+ e Raspberry Pi 2 incluídos
|
###O guia detalhado do diagrama de pinos GPIO do Raspberry Pi, agora com o Raspberry Pi Model B+, Raspberry Pi 2 e Pi Zero incluídos
|
||||||
|
|
||||||
Este diagrama de pinos GPIO não foi feito com o propósito de ser imprimido mas é tanto um bom guia de referência rápida como um guia para os pinos GPIO do teu Raspberry Pi.
|
Este diagrama de pinos GPIO não foi feito com o propósito de ser imprimido mas é tanto um bom guia de referência rápida como um guia para os pinos GPIO do teu Raspberry Pi.
|
||||||
|
|
||||||
@ -10,12 +10,18 @@ Este diagrama de pinos GPIO não foi feito com o propósito de ser imprimido mas
|
|||||||
* WiringPi - Número de pino Wiring Pi, para a biblioteca Wiring Pi de Gordon.
|
* WiringPi - Número de pino Wiring Pi, para a biblioteca Wiring Pi de Gordon.
|
||||||
* Physical - Número correspondente à localização física dos pinos no cabeçalho.
|
* Physical - Número correspondente à localização física dos pinos no cabeçalho.
|
||||||
|
|
||||||
##Pi 2
|
##Raspberry Pi Zero
|
||||||
|
|
||||||
|
Como o lançamento do Pi Zero traz o Raspberry Pi para as mãos de muitas mais pessoas, estamos a empurrar o Pinout um pouco mais para a vanguarda com alguns melhoramentos visuais e menus categorizados para te ajudar a encontrar o que precisas.
|
||||||
|
|
||||||
|
##Raspberry Pi 2
|
||||||
|
|
||||||
Para celebrar o lançamento do Pi 2 e os novos Pi-entusiastas que vai trazer, o diagrama de pinos foi atualizado para ser mais limpo, detalhado e preciso e vai continuar a ser melhorado.
|
Para celebrar o lançamento do Pi 2 e os novos Pi-entusiastas que vai trazer, o diagrama de pinos foi atualizado para ser mais limpo, detalhado e preciso e vai continuar a ser melhorado.
|
||||||
|
|
||||||
##Model B+
|
##Raspberry Pi Model A+ and B+
|
||||||
|
|
||||||
Agora que o Raspberry Pi Model B Plus está disponível, atualizei o diagrama de pinos com os 14 pinos extras que vais encontrar na tua placa novinha em folha.
|
Agora que o Raspberry Pi Model B Plus está disponível, atualizei o diagrama de pinos com os 14 pinos extras que vais encontrar na tua placa novinha em folha.
|
||||||
|
|
||||||
Nota: Ainda que eu tenha colocado um espaço para separar visualmente os 14 pinos adicionais no B+, não vais encontrar este espaço na placa de verdade!
|
##Raspberry Pi Model "A" and "B"
|
||||||
|
|
||||||
|
O Pinout foi originalmente desenhado para os antigos modelos Raspberry Pi de 26 pinos, vais ver que o outline deste cabeçalho original mostrava um tom ligeiramente mais escuro à esquerda. Se clicares num pino, verás detalhes sobre a sua colocação BCM no Rev 1 Pi original.
|
33
src/pt/overlay/ab-1-wire-plus.md
Normal file
33
src/pt/overlay/ab-1-wire-plus.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
name: 1 Wire Pi Plus
|
||||||
|
class: board
|
||||||
|
type: other
|
||||||
|
manufacturer: AB Electronics UK
|
||||||
|
description: 1-Wire to I2C host interface
|
||||||
|
url: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus
|
||||||
|
github: https://github.com/abelectronicsuk
|
||||||
|
buy: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus
|
||||||
|
formfactor: Custom
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
power: 3v3,5v
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
i2c:
|
||||||
|
'0x18':
|
||||||
|
name: DS2482
|
||||||
|
device: DS2482-100
|
||||||
|
-->
|
||||||
|
#1 Wire Pi Plus
|
||||||
|
|
||||||
|
The 1 Wire Pi Plus from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B computer platforms. A 5V buffered I2C port is also provided on the board.
|
||||||
|
|
||||||
|
The 1-Wire® port on the 1 Wire Pi Plus is based around a DS2482-100 I2C to 1-Wire® bridge device. The DS2482-100 provides bi-directional protocol conversion between the I2C port on the Raspberry Pi and any attached 1-Wire® slave devices. An ESD Protection Diode is used to protect the 1 Wire Pi Plus and Raspberry Pi from electrostatic spikes on the 1-Wire® port. Connections to the 1-Wire® port can be made through the RJ-12 socket or the solder points on the PCB.
|
||||||
|
|
||||||
|
The Quick2wire lib from [https://github.com/quick2wire/quick2wire-python-api](https://github.com/quick2wire/quick2wire-python-api) allows easy access to the I2C port via Python.
|
||||||
|
|
||||||
|
[https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi](https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi "Configuring and using the 1-Wire® port on your Raspberry Pi")
|
50
src/pt/overlay/ab-adc-differential-pi.md
Normal file
50
src/pt/overlay/ab-adc-differential-pi.md
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
name: ADC Differential Pi
|
||||||
|
class: board
|
||||||
|
type: other
|
||||||
|
manufacturer: AB Electronics UK
|
||||||
|
description: 8 channel Analogue to Digital Converter
|
||||||
|
url: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analogue-to-Digital-converter
|
||||||
|
github: https://github.com/abelectronicsuk
|
||||||
|
buy: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analogue-to-Digital-converter
|
||||||
|
formfactor: Custom
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
power: 3v3,5v
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
i2c:
|
||||||
|
'0x68':
|
||||||
|
name: MCP3424
|
||||||
|
device: MCP3424
|
||||||
|
'0x69':
|
||||||
|
name: MCP3424
|
||||||
|
device: MCP3424
|
||||||
|
-->
|
||||||
|
#ADC Differential Pi
|
||||||
|
|
||||||
|
The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter designed to work with the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B. The ADC Differential Pi is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||||
|
|
||||||
|
##Features
|
||||||
|
|
||||||
|
- 8 x 18-bit differential inputs
|
||||||
|
- Control via the Raspberry Pi I2C port
|
||||||
|
- Stack up to 4 ADC Differential Pi boards on a single Raspberry Pi
|
||||||
|
- Jumper selectable I2C addresses (8 choices)
|
||||||
|
- Buffered 5V I2C port
|
||||||
|
- Based on the MCP3424 from Microchip Technologies Inc
|
||||||
|
- Input range of ±2.048V
|
||||||
|
- On-board 2.048V reference voltage (Accuracy ± 0.05%, Drift: 15 ppm/°C)
|
||||||
|
- On-Board Programmable Gain Amplifier (PGA): Gains of 1, 2, 4 or 8
|
||||||
|
- Programmable Data Rate Options:
|
||||||
|
- 3.75 SPS (18 bits)
|
||||||
|
- 15 SPS (16 bits)
|
||||||
|
- 60 SPS (14 bits)
|
||||||
|
- 240 SPS (12 bits)
|
||||||
|
- One-Shot or Continuous Conversion Options
|
||||||
|
|
||||||
|
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries available on GitHub.
|
50
src/pt/overlay/ab-adc-pi-plus.md
Normal file
50
src/pt/overlay/ab-adc-pi-plus.md
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
name: ADC Pi Plus
|
||||||
|
class: board
|
||||||
|
type: other
|
||||||
|
manufacturer: AB Electronics UK
|
||||||
|
description: 8 channel Analogue to Digital Converter
|
||||||
|
url: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-Digital-converter
|
||||||
|
github: https://github.com/abelectronicsuk
|
||||||
|
buy: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-Digital-converter
|
||||||
|
formfactor: Custom
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
power: 3v3,5v
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
i2c:
|
||||||
|
'0x68':
|
||||||
|
name: MCP3424
|
||||||
|
device: MCP3424
|
||||||
|
'0x69':
|
||||||
|
name: MCP3424
|
||||||
|
device: MCP3424
|
||||||
|
-->
|
||||||
|
#ADC Pi Plus
|
||||||
|
|
||||||
|
The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B. The ADC Pi Plus is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||||
|
|
||||||
|
##Features
|
||||||
|
|
||||||
|
- 8 x 17-bit 0 to 5V Single Ended Inputs
|
||||||
|
- Control via the Raspberry Pi I2C port
|
||||||
|
- Stack up to 4 ADC Pi Plus boards on a single Raspberry Pi
|
||||||
|
- Jumper selectable I2C addresses
|
||||||
|
- Buffered 5V I2C port
|
||||||
|
- Based on the MCP3424 from Microchip Technologies Inc
|
||||||
|
- Single Ended full-scale range of 5.0V
|
||||||
|
- On-board 2.048V reference voltage (Accuracy ± 0.05%, Drift: 15 ppm/°C)
|
||||||
|
- On-Board Programmable Gain Amplifier (PGA): Gains of 1, 2, 4 or 8
|
||||||
|
- Programmable Data Rate Options:
|
||||||
|
- 3.75 SPS (17 bits)
|
||||||
|
- 15 SPS (15 bits)
|
||||||
|
- 60 SPS (13 bits)
|
||||||
|
- 240 SPS (11 bits)
|
||||||
|
- One-Shot or Continuous Conversion Options
|
||||||
|
|
||||||
|
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
51
src/pt/overlay/ab-adc-pi-zero.md
Normal file
51
src/pt/overlay/ab-adc-pi-zero.md
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
name: ADC Pi Zero
|
||||||
|
class: board
|
||||||
|
type: other
|
||||||
|
image: 'ab-adc-pi-zero.png'
|
||||||
|
manufacturer: AB Electronics UK
|
||||||
|
description: 8 channel Analogue to Digital Converter
|
||||||
|
url: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-Digital-converter
|
||||||
|
github: https://github.com/abelectronicsuk
|
||||||
|
buy: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-Digital-converter
|
||||||
|
formfactor: Custom
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
power: 3v3,5v
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
i2c:
|
||||||
|
'0x68':
|
||||||
|
name: MCP3424
|
||||||
|
device: MCP3424
|
||||||
|
'0x69':
|
||||||
|
name: MCP3424
|
||||||
|
device: MCP3424
|
||||||
|
-->
|
||||||
|
#ADC Pi Zero
|
||||||
|
|
||||||
|
The ADC Pi Zero is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi Zero. The ADC Pi Zero is based on two Microchip MCP3424 A/D converters each containing 4 analogue inputs. The MCP3424 is a delta-sigma A/D converter with low noise differential inputs.
|
||||||
|
|
||||||
|
##Features
|
||||||
|
|
||||||
|
- 8 x 17-bit 0 to 5V Single Ended Inputs
|
||||||
|
- Control via the Raspberry Pi I2C port
|
||||||
|
- Stack up to 4 ADC Pi Zero boards on a single Raspberry Pi
|
||||||
|
- Jumper selectable I2C addresses
|
||||||
|
- Buffered 5V I2C port
|
||||||
|
- Based on the MCP3424 from Microchip Technologies Inc
|
||||||
|
- Single Ended full-scale range of 5.0V
|
||||||
|
- On-board 2.048V reference voltage (Accuracy ± 0.05%, Drift: 15 ppm/°C)
|
||||||
|
- On-Board Programmable Gain Amplifier (PGA): Gains of 1, 2, 4 or 8
|
||||||
|
- Programmable Data Rate Options:
|
||||||
|
- 3.75 SPS (17 bits)
|
||||||
|
- 15 SPS (15 bits)
|
||||||
|
- 60 SPS (13 bits)
|
||||||
|
- 240 SPS (11 bits)
|
||||||
|
- One-Shot or Continuous Conversion Options
|
||||||
|
|
||||||
|
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
47
src/pt/overlay/ab-io-pi-plus.md
Normal file
47
src/pt/overlay/ab-io-pi-plus.md
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
name: IO Pi Plus
|
||||||
|
class: board
|
||||||
|
type: other
|
||||||
|
manufacturer: AB Electronics UK
|
||||||
|
description: 32 Channel Digital Expansion Board
|
||||||
|
url: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus
|
||||||
|
github: https://github.com/abelectronicsuk
|
||||||
|
buy: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus
|
||||||
|
formfactor: Custom
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
power: 3v3,5v
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
i2c:
|
||||||
|
'0x20':
|
||||||
|
name: MCP23017
|
||||||
|
device: MCP23017
|
||||||
|
'0x21':
|
||||||
|
name: MCP23017
|
||||||
|
device: MCP23017
|
||||||
|
-->
|
||||||
|
#IO Pi Plus
|
||||||
|
|
||||||
|
The IO Pi Plus is a 32 channel digital expansion board designed for use on the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B computer platform. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc.
|
||||||
|
|
||||||
|
A pair of MCP23017 expanders are included on the board allowing you to connect up to 32 digital inputs or outputs to the Raspberry Pi. The IO Pi Plus Expander is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the IO Pi Plus along with other expansion boards.
|
||||||
|
|
||||||
|
##Features
|
||||||
|
|
||||||
|
- 32 Digital Inputs/Outputs
|
||||||
|
- Control via the Raspberry Pi I2C port
|
||||||
|
- Stack up to 4 IO Pi boards on a single Raspberry Pi
|
||||||
|
- Jumper selectable I2C addresses
|
||||||
|
- External 5V Input with isolation jumper
|
||||||
|
- Based on the MCP23017 from Microchip Technologies Inc
|
||||||
|
- Configurable interrupt output pins - Configurable as active-high, active-low or open-drain
|
||||||
|
- INTA and INTB can be configured to operate independently or together
|
||||||
|
- Configurable interrupt source - Interrupt-on-change from configured register defaults or pin changes
|
||||||
|
- Polarity Inversion register to configure the polarity of the input port data
|
||||||
|
|
||||||
|
Arduino, C, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub.
|
33
src/pt/overlay/ab-rtc-pi-plus.md
Normal file
33
src/pt/overlay/ab-rtc-pi-plus.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
name: RTC Pi Plus
|
||||||
|
class: board
|
||||||
|
type: other
|
||||||
|
manufacturer: AB Electronics UK
|
||||||
|
description: Real-Time Clock Module for the Raspberry Pi
|
||||||
|
url: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus
|
||||||
|
github: https://github.com/abelectronicsuk
|
||||||
|
buy: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus
|
||||||
|
formfactor: Custom
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
power: 3v3,5v
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
i2c:
|
||||||
|
'0x68':
|
||||||
|
name: DS1307
|
||||||
|
device: DS1307
|
||||||
|
-->
|
||||||
|
#RTC Pi Plus
|
||||||
|
|
||||||
|
The RTC Pi Plus is a battery backed real-time clock module for the Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 Model B. It keeps track of the time while the Raspberry Pi is switched off and allows the Raspberry Pi to retrieve the current date and time from the RTC Pi Plus when it is switched back on.
|
||||||
|
|
||||||
|
The RTC Pi Plus is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the RTC Pi Plus along with other expansion boards. The RTC Pi Plus uses the DS1307 RTC real time clock and a CR2032 battery to maintain the date and time when the main system power is not available.
|
||||||
|
|
||||||
|
Unlike most other DS1307 based RTC modules the RTC Pi also includes an I2C logic level converter allowing you to connect other 5V I2C devices to your Raspberry Pi.
|
||||||
|
|
||||||
|
Python 2 and 3 libraries are available on GitHub.
|
34
src/pt/overlay/ab-serial-pi-plus.md
Normal file
34
src/pt/overlay/ab-serial-pi-plus.md
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
name: Serial Pi Plus
|
||||||
|
class: board
|
||||||
|
type: other
|
||||||
|
manufacturer: AB Electronics UK
|
||||||
|
description: UART to RS232 Converter
|
||||||
|
url: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus
|
||||||
|
github: https://github.com/abelectronicsuk
|
||||||
|
buy: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus
|
||||||
|
formfactor: Custom
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
power: 3v3
|
||||||
|
pin:
|
||||||
|
'8':
|
||||||
|
mode: UART
|
||||||
|
'10':
|
||||||
|
mode: UART
|
||||||
|
-->
|
||||||
|
#Serial Pi Plus
|
||||||
|
|
||||||
|
The Serial Pi Plus is a UART to RS232 serial converter for the Raspberry Pi.
|
||||||
|
|
||||||
|
The RS232 port is connected to the UART port on the Raspberry Pi using a MAX3232 interface. The MAX3232 IC converts the 3.3V UART port to RS232 voltages allowing communication with RS232 compatible devices over a DB9 serial cable or with the use of a null-modem cable the board allows terminal access with linux on the Raspberry Pi using a terminal application. The RS232 port can be accessed through the DB9 port or the solder points on the PCB.
|
||||||
|
|
||||||
|
##Features
|
||||||
|
|
||||||
|
- RS232 Master Port.
|
||||||
|
- Control the Raspberry Pi over RS232 or connect to external serial accessories.
|
||||||
|
- Stackable with other Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 and Raspberry Pi accessory boards.
|
||||||
|
- Mounting holes for use with the AB Electronics UK mounting kits (sold separately)
|
||||||
|
|
||||||
|
[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage)
|
@ -1,24 +1,27 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: guide
|
||||||
|
type: info
|
||||||
name: Arduino SPI
|
name: Arduino SPI
|
||||||
description: Program Arduino with Raspberry Pi SPI
|
description: Program Arduino with Raspberry Pi SPI
|
||||||
|
pincount: 4
|
||||||
pin:
|
pin:
|
||||||
19:
|
'19':
|
||||||
name: MOSI
|
name: MOSI
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
description: Master Out / Slave In
|
description: Master Out / Slave In
|
||||||
21:
|
'21':
|
||||||
name: MISO
|
name: MISO
|
||||||
direction: input
|
direction: input
|
||||||
active: high
|
active: high
|
||||||
description: Master In / Slave Out
|
description: Master In / Slave Out
|
||||||
23:
|
'23':
|
||||||
name: SCKL
|
name: SCKL
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
description: Clock
|
description: Clock
|
||||||
24:
|
'24':
|
||||||
name: CE0
|
name: CE0
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
|
78
src/pt/overlay/cirruslogicaudiocard.md
Normal file
78
src/pt/overlay/cirruslogicaudiocard.md
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: board
|
||||||
|
type: audio
|
||||||
|
name: Cirrus Logic Audio Card
|
||||||
|
manufacturer: Cirrus Logic and element14
|
||||||
|
description: Audio Card with unprecedented level of features and performance for Raspberry Pi.
|
||||||
|
url: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card
|
||||||
|
buy: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card
|
||||||
|
pincount: 40
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
name: SDA1
|
||||||
|
mode: i2c
|
||||||
|
description: WM8804 I2C - SDA
|
||||||
|
'5':
|
||||||
|
name: SCL1
|
||||||
|
mode: i2c
|
||||||
|
description: WM8804 I2C - SCLK
|
||||||
|
'11':
|
||||||
|
name: GPIO_GEN0
|
||||||
|
mode: input
|
||||||
|
description: WM5102 RST
|
||||||
|
'12':
|
||||||
|
name: PCM_CLK
|
||||||
|
mode: input
|
||||||
|
description: WM5102 AIF PCM - BCLK
|
||||||
|
'15':
|
||||||
|
name: GPIO_GEN3
|
||||||
|
mode: input
|
||||||
|
description: WM5102 LDO Enable
|
||||||
|
'16':
|
||||||
|
name: GPIO_GEN4
|
||||||
|
mode: input
|
||||||
|
description: WM8804 Control I/F Config
|
||||||
|
'19':
|
||||||
|
name: SPI_MOSI
|
||||||
|
mode: spi
|
||||||
|
description: WM5102 SPI - MOSI
|
||||||
|
'21':
|
||||||
|
name: SPI_MISO
|
||||||
|
mode: spi
|
||||||
|
description: WM5102 SPI - MISO
|
||||||
|
'23':
|
||||||
|
name: SPI_SCLK
|
||||||
|
mode: spi
|
||||||
|
description: WM5102 SPI - SCLK1
|
||||||
|
'24':
|
||||||
|
name: SPI_CE0_N
|
||||||
|
mode: input
|
||||||
|
description: WM8804 RST
|
||||||
|
'26':
|
||||||
|
name: SPI_CE1_N
|
||||||
|
mode: input
|
||||||
|
description: WM5102 SPI - CE
|
||||||
|
'35':
|
||||||
|
name: PCM_FS
|
||||||
|
mode: input
|
||||||
|
description: WM5102 AIF PCM - FS
|
||||||
|
'38':
|
||||||
|
name: PCM_DIN
|
||||||
|
mode: input
|
||||||
|
description: WM5102 AIF PCM - DIN
|
||||||
|
'40':
|
||||||
|
name: PCM_DOUT
|
||||||
|
mode: input
|
||||||
|
description: WM5102 AIF PCM - DOUT
|
||||||
|
-->
|
||||||
|
#Cirrus Logic Audio Card
|
||||||
|
|
||||||
|
###Offers a wealth of features, perfect for avid audiophiles wanting to use their Raspberry Pi for audio applications.
|
||||||
|
|
||||||
|
* Capable of rendering HD Audio, at 24-bit, 192kHz
|
||||||
|
* 3.5mm 4-pole jack for a headset/boom mic combination for gaming or VoIP applications
|
||||||
|
* Two DMIC microphones onboard for stereo recording
|
||||||
|
* 3.5mm jack for Stereo Line Input for high quality audio recording or capture
|
||||||
|
* 3.5 mm jack Stereo Line Output for connection to devices such as external stereo amplifiers or powered speakers
|
||||||
|
* Stereo Digital input and output (SPDIF)
|
84
src/pt/overlay/discohat.md
Normal file
84
src/pt/overlay/discohat.md
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: board
|
||||||
|
type: audio
|
||||||
|
name: DiscoHAT
|
||||||
|
manufacturer: Kertatuote
|
||||||
|
description: Computer controlled DMX lights, sounds and special effects.
|
||||||
|
url: http://discohat.com
|
||||||
|
buy: http://discohat.com/shop
|
||||||
|
pincount: 40
|
||||||
|
pin:
|
||||||
|
'8':
|
||||||
|
name: TXD
|
||||||
|
active: high
|
||||||
|
mode: output
|
||||||
|
description: DMX out
|
||||||
|
'13':
|
||||||
|
name: Button1
|
||||||
|
active: low
|
||||||
|
mode: input
|
||||||
|
description: Button 1
|
||||||
|
'15':
|
||||||
|
name: Button2
|
||||||
|
active: low
|
||||||
|
mode: input
|
||||||
|
description: Button 2
|
||||||
|
'22':
|
||||||
|
name: Button3
|
||||||
|
active: low
|
||||||
|
mode: input
|
||||||
|
description: Button 3
|
||||||
|
'18':
|
||||||
|
name: Button4
|
||||||
|
active: low
|
||||||
|
mode: input
|
||||||
|
description: Button 4
|
||||||
|
'16':
|
||||||
|
name: Button5
|
||||||
|
active: low
|
||||||
|
mode: input
|
||||||
|
description: Button 5
|
||||||
|
'37':
|
||||||
|
name: Button6
|
||||||
|
active: low
|
||||||
|
mode: input
|
||||||
|
description: Button 6
|
||||||
|
'32':
|
||||||
|
name: Button7
|
||||||
|
active: low
|
||||||
|
mode: input
|
||||||
|
description: Button 7
|
||||||
|
'36':
|
||||||
|
name: Button8
|
||||||
|
active: low
|
||||||
|
mode: input
|
||||||
|
description: Button 8
|
||||||
|
'19':
|
||||||
|
name: MOSI
|
||||||
|
mode: spi
|
||||||
|
description: LED strip data
|
||||||
|
'23':
|
||||||
|
name: SCLK
|
||||||
|
mode: spi
|
||||||
|
description: LED strip clock
|
||||||
|
-->
|
||||||
|
#DiscoHAT
|
||||||
|
|
||||||
|
###DiscoHAT is a small board allowing you to do computer controlled lights, sounds and special effects.
|
||||||
|
|
||||||
|
It is an essential building block for making custom light and sound systems. You can easily create your own home disco based on it. It is also usable for small theatre groups, bands or school projects.
|
||||||
|
|
||||||
|
With DiscoHAT you can control DMX equipment and LED strips. It also has interfaces for up to 8 pushbuttons that can be configured to start light and sound sequences.
|
||||||
|
|
||||||
|
DiscoHAT was created to be used with QLC+ an Open Source light and sound control software that is absolutely AMAZING. The push buttons can trigger scenes (steady lights), chases (lights changing in a pattern) and shows (lights synced to music) from stage without need for displays, keyboards or mice. With a WiFi dongle you can also control the lights from your tablet or mobile phone.
|
||||||
|
|
||||||
|
The Raspberry Pi 2 has a bit more power and is recommended for DiscoHAT. You can also exchange the 40 pin connector with the 26 pin connector for using it on older Raspberries but then you lose HAT functionality and 4 buttons. The connectors are not soldered to DiscoHAT. It uses SMD through pin sockets.
|
||||||
|
|
||||||
|
DiscoHAT is being used by myself in our theater productions. The DMX output and the pushbuttons are optically isolated and ESD protected to cope with static electricity that easily builds up on stage due to long wires, hot air, plastic surfaces and nylon clothing.
|
||||||
|
|
||||||
|
The system has been in use for two plays so far and it is time to share the good things with other entertainers.
|
||||||
|
|
||||||
|
Break a leg,
|
||||||
|
|
||||||
|
Karri
|
@ -1,31 +1,39 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: lcd
|
||||||
name: Display-o-Tron HAT
|
name: Display-o-Tron HAT
|
||||||
manufacturer: Pimoroni
|
manufacturer: Pimoroni
|
||||||
url: https://github.com/pimoroni/dot3k
|
|
||||||
description: A 3-line character LCD with a 6-zone RGB backlight and 6 touch buttons
|
description: A 3-line character LCD with a 6-zone RGB backlight and 6 touch buttons
|
||||||
|
url: https://github.com/pimoroni/dot3k
|
||||||
|
github: https://github.com/pimoroni/dot3k
|
||||||
|
buy: https://shop.pimoroni.com/products/display-o-tron-hat
|
||||||
|
formfactor: 'HAT'
|
||||||
pincount: 40
|
pincount: 40
|
||||||
|
eeprom: yes
|
||||||
|
power:
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
ground:
|
||||||
|
'6':
|
||||||
pin:
|
pin:
|
||||||
3:
|
'3':
|
||||||
mode: i2c
|
mode: i2c
|
||||||
5:
|
'5':
|
||||||
mode: i2c
|
mode: i2c
|
||||||
22:
|
'19':
|
||||||
name: LCD CMD/DATA
|
|
||||||
mode: output
|
|
||||||
active: high
|
|
||||||
19:
|
|
||||||
mode: spi
|
mode: spi
|
||||||
22:
|
'22':
|
||||||
name: LCD Register Select
|
name: LCD Register Select
|
||||||
mode: output
|
mode: output
|
||||||
23:
|
active: high
|
||||||
|
'23':
|
||||||
mode: spi
|
mode: spi
|
||||||
24:
|
'24':
|
||||||
name: LCD Chip Select
|
name: LCD Chip Select
|
||||||
mode: chipselect
|
mode: chipselect
|
||||||
active: high
|
active: high
|
||||||
32:
|
'32':
|
||||||
name: LCD Reset
|
name: LCD Reset
|
||||||
mode: output
|
mode: output
|
||||||
active: low
|
active: low
|
||||||
@ -35,10 +43,10 @@ pin:
|
|||||||
Display-o-Tron HAT uses both SPI and I2c to drive the LCD display, backlight and touch.
|
Display-o-Tron HAT uses both SPI and I2c to drive the LCD display, backlight and touch.
|
||||||
However both of these busses can be shared with other devices.
|
However both of these busses can be shared with other devices.
|
||||||
|
|
||||||
You can use the one-line product installer to get Display-o-Tron HAT set up and ready to go, just:
|
To get the HAT set up and ready to go you can use the one-line product installer:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl get.pimoroni.com/dot3k | bash
|
curl -sS get.pimoroni.com/displayotron | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
And follow the instructions!
|
And follow the instructions!
|
||||||
|
@ -1,10 +1,54 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: lcd
|
||||||
name: Display-o-Tron 3000
|
name: Display-o-Tron 3000
|
||||||
manufacturer: Pimoroni
|
manufacturer: Pimoroni
|
||||||
github: https://github.com/pimoroni/dot3k
|
|
||||||
url: https://github.com/pimoroni/dot3k
|
|
||||||
description: A 3-line character LCD with an RGB backlight and joystick
|
description: A 3-line character LCD with an RGB backlight and joystick
|
||||||
|
url: https://github.com/pimoroni/dot3k
|
||||||
|
github: https://github.com/pimoroni/dot3k
|
||||||
|
buy: https://shop.pimoroni.com/products/displayotron-3000
|
||||||
|
formfactor: '26-way'
|
||||||
|
pincount: 26
|
||||||
|
eeprom: no
|
||||||
|
power:
|
||||||
|
'2':
|
||||||
|
'17':
|
||||||
|
ground:
|
||||||
|
'6':
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
'7':
|
||||||
|
name: Joystick Button
|
||||||
|
mode: input
|
||||||
|
active: low
|
||||||
|
'11':
|
||||||
|
name: Joystick Left
|
||||||
|
mode: input
|
||||||
|
active: low
|
||||||
|
'13':
|
||||||
|
name: Joystick Up
|
||||||
|
mode: input
|
||||||
|
active: low
|
||||||
|
'15':
|
||||||
|
name: Joystick Right
|
||||||
|
mode: input
|
||||||
|
active: low
|
||||||
|
'19':
|
||||||
|
mode: spi
|
||||||
|
'21':
|
||||||
|
name: Joystick Down
|
||||||
|
mode: input
|
||||||
|
active: low
|
||||||
|
'22':
|
||||||
|
name: LCD CMD/DATA
|
||||||
|
mode: output
|
||||||
|
active: high
|
||||||
|
'23':
|
||||||
|
mode: spi
|
||||||
install:
|
install:
|
||||||
'devices':
|
'devices':
|
||||||
- 'i2c'
|
- 'i2c'
|
||||||
@ -17,47 +61,15 @@ install:
|
|||||||
'python':
|
'python':
|
||||||
- 'dot3k'
|
- 'dot3k'
|
||||||
'examples': 'python/examples/'
|
'examples': 'python/examples/'
|
||||||
pincount: 26
|
|
||||||
pin:
|
|
||||||
3:
|
|
||||||
mode: i2c
|
|
||||||
5:
|
|
||||||
mode: i2c
|
|
||||||
7:
|
|
||||||
name: Joystick Button
|
|
||||||
mode: input
|
|
||||||
active: low
|
|
||||||
11:
|
|
||||||
name: Joystick Left
|
|
||||||
mode: input
|
|
||||||
active: low
|
|
||||||
13:
|
|
||||||
name: Joystick Up
|
|
||||||
mode: input
|
|
||||||
active: low
|
|
||||||
15:
|
|
||||||
name: Joystick Right
|
|
||||||
mode: input
|
|
||||||
active: low
|
|
||||||
19:
|
|
||||||
mode: spi
|
|
||||||
21:
|
|
||||||
name: Joystick Down
|
|
||||||
mode: input
|
|
||||||
active: low
|
|
||||||
22:
|
|
||||||
name: LCD CMD/DATA
|
|
||||||
mode: output
|
|
||||||
active: high
|
|
||||||
23:
|
|
||||||
mode: spi
|
|
||||||
-->
|
-->
|
||||||
#Display-o-Tron 3000
|
#Display-o-Tron 3000
|
||||||
|
|
||||||
You can use the one-line product installer to get Display-o-Tron 3000 set up and ready to go, just:
|
The Display-o-Tron 3000 is a 3-line character LCD with an RGB backlight and joystick
|
||||||
|
|
||||||
|
To get the module set up and ready to go you can use the one-line product installer:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl get.pimoroni.com/dot3k | bash
|
curl -sS get.pimoroni.com/displayotron | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
And follow the instructions!
|
And follow the instructions!
|
||||||
|
@ -1,11 +1,15 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: other
|
||||||
name: Raspberry Pi Dots
|
name: Raspberry Pi Dots
|
||||||
|
manufacturer: Raspberry Pi Foundation
|
||||||
description: Join the dots to make a circuit
|
description: Join the dots to make a circuit
|
||||||
url: http://www.raspberrypi.org/dots/
|
url: http://www.raspberrypi.org/dots/
|
||||||
github: https://github.com/raspberrypilearning/dots
|
github: https://github.com/raspberrypilearning/dots
|
||||||
formfactor: '40-way'
|
formfactor: '40-way'
|
||||||
pincount: 40
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
pin:
|
pin:
|
||||||
bcm0:
|
bcm0:
|
||||||
name: 'Color: Blue'
|
name: 'Color: Blue'
|
||||||
@ -94,7 +98,7 @@ pin:
|
|||||||
-->
|
-->
|
||||||
#Raspberry Pi Dots
|
#Raspberry Pi Dots
|
||||||
|
|
||||||
###Dots is a Dot to Dot HAT board for the Raspberry Pi that lets you join-the-dots with BARE Conductive Paint!
|
###Dots is a Dot to Dot board for the Raspberry Pi that lets you join-the-dots with BARE Conductive Paint!
|
||||||
|
|
||||||
Every Dot on the Dots board is a "floating" metal contact just waiting to be pulled down to ground with a dab of paint.
|
Every Dot on the Dots board is a "floating" metal contact just waiting to be pulled down to ground with a dab of paint.
|
||||||
|
|
||||||
@ -102,13 +106,12 @@ To read a Dot you should set its corresponding pin as an INPUT and make sure it'
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
GPIO.setmode(GPIO.BCM )
|
GPIO.setmode(GPIO.BCM)
|
||||||
GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP)
|
GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP)
|
||||||
state = GPIO.input(dot_pin)
|
state = GPIO.input(dot_pin)
|
||||||
```
|
```
|
||||||
|
|
||||||
It's good practise to only turn on the PULLUP when you actually want to read the Dot, so a method like
|
It's good practice to only turn on the PULLUP when you actually want to read the Dot, so a method like this is recommended for reading:
|
||||||
this is recommended for reading:
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def is_dot_connected(dot_pin):
|
def is_dot_connected(dot_pin):
|
||||||
|
44
src/pt/overlay/drum-hat.md
Normal file
44
src/pt/overlay/drum-hat.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: board
|
||||||
|
type: instrument
|
||||||
|
name: Drum HAT
|
||||||
|
image: 'drum-hat.png'
|
||||||
|
manufacturer: Pimoroni
|
||||||
|
description: An 8 pad finger Drum HAT for your Raspberry Pi
|
||||||
|
url: http://shop.pimoroni.com/products/drum-hat
|
||||||
|
github: https://github.com/pimoroni/drum-hat
|
||||||
|
buy: http://shop.pimoroni.com/products/drum-hat
|
||||||
|
formfactor: 'HAT'
|
||||||
|
pincount: 40
|
||||||
|
eeprom: yes
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
'22':
|
||||||
|
name: Alert
|
||||||
|
mode: input
|
||||||
|
'40':
|
||||||
|
name: Reset
|
||||||
|
mode: output
|
||||||
|
i2c:
|
||||||
|
'0x2c':
|
||||||
|
name: Cap Touch
|
||||||
|
device: cap1188
|
||||||
|
datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/CAP1188%20.pdf
|
||||||
|
-->
|
||||||
|
#Drum HAT
|
||||||
|
|
||||||
|
Drum HAT is the companion to Piano HAT. It uses the same cap touch sensor to provide 8 finger-sized drum pads. Use it to play music in Python, control software drum synths on your Pi, take control of hardware drum machines, or just build it into an elaborate drum-controlled project.
|
||||||
|
|
||||||
|
Features: 8 touch sensitive buttons and 8 LEDs. Works with Piano HAT (it uses a CAP1188 chip with a non-conflicting i2c address at 0x2c).
|
||||||
|
|
||||||
|
To get the HAT set up and ready to go you can use the one-line product installer:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -sS get.pimoroni.com/drumhat | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
And follow the instructions!
|
41
src/pt/overlay/espiot-phat.md
Normal file
41
src/pt/overlay/espiot-phat.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: board
|
||||||
|
type: iot
|
||||||
|
name: ESP IoT pHAT
|
||||||
|
manufacturer: Pimoroni
|
||||||
|
description: ESP8266 module.
|
||||||
|
url: https://shop.pimoroni.com/products/esp8266-phat
|
||||||
|
buy: https://shop.pimoroni.com/products/esp8266-phat
|
||||||
|
formfactor: 'pHAT'
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
power:
|
||||||
|
'2':
|
||||||
|
ground:
|
||||||
|
'6':
|
||||||
|
pin:
|
||||||
|
'8':
|
||||||
|
name: TXD / Transmit
|
||||||
|
direction: output
|
||||||
|
active: high
|
||||||
|
'10':
|
||||||
|
name: RXD / Receive
|
||||||
|
direction: input
|
||||||
|
active: high
|
||||||
|
'11':
|
||||||
|
name: Chip Reset
|
||||||
|
active: low
|
||||||
|
'13':
|
||||||
|
name: Chip Program
|
||||||
|
active: low
|
||||||
|
-->
|
||||||
|
#ESP IoT pHAT
|
||||||
|
|
||||||
|
The ESP IoT pHAT is an ESP8266 based add-on for the Raspberry Pi. It provides some GPIO and one ADC channel, broken out to use alongside a small prototyping area. 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/iotphat | bash
|
||||||
|
```
|
@ -1,42 +1,29 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: multi
|
||||||
name: Explorer HAT Pro
|
name: Explorer HAT Pro
|
||||||
manufacturer: Pimoroni
|
manufacturer: Pimoroni
|
||||||
|
description: An all-in-one light, input, motor, touch and output add-on board.
|
||||||
url: https://github.com/pimoroni/explorer-hat
|
url: https://github.com/pimoroni/explorer-hat
|
||||||
github: https://github.com/pimoroni/explorer-hat
|
github: https://github.com/pimoroni/explorer-hat
|
||||||
buy: http://shop.pimoroni.com/products/explorer-hat
|
buy: http://shop.pimoroni.com/products/explorer-hat
|
||||||
description: An all-in-one light, input, motor, touch and output add-on board.
|
formfactor: 'HAT'
|
||||||
install:
|
|
||||||
'apt':
|
|
||||||
- 'python-smbus'
|
|
||||||
- 'python3-smbus'
|
|
||||||
- 'python-dev'
|
|
||||||
- 'python3-dev'
|
|
||||||
'python':
|
|
||||||
- 'explorerhat'
|
|
||||||
'examples': 'examples/'
|
|
||||||
pincount: 40
|
pincount: 40
|
||||||
i2c:
|
eeprom: yes
|
||||||
'0x28':
|
|
||||||
name: Cap Touch
|
|
||||||
device: cap1208
|
|
||||||
'0x48':
|
|
||||||
name: Analog Input
|
|
||||||
device: ads1015
|
|
||||||
pin:
|
pin:
|
||||||
'3': {}
|
'3':
|
||||||
'5': {}
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
'7':
|
'7':
|
||||||
name: LED 1
|
name: LED 1
|
||||||
mode: output
|
mode: output
|
||||||
active: high
|
active: high
|
||||||
'8': {}
|
|
||||||
'10': {}
|
|
||||||
'11':
|
'11':
|
||||||
name: LED 2
|
name: LED 2
|
||||||
mode: output
|
mode: output
|
||||||
active: high
|
active: high
|
||||||
'12': {}
|
|
||||||
'13':
|
'13':
|
||||||
name: LED 3
|
name: LED 3
|
||||||
mode: output
|
mode: output
|
||||||
@ -53,14 +40,10 @@ pin:
|
|||||||
name: Input 3
|
name: Input 3
|
||||||
mode: input
|
mode: input
|
||||||
active: high
|
active: high
|
||||||
'19': {}
|
|
||||||
'21': {}
|
|
||||||
'22':
|
'22':
|
||||||
name: Input 4
|
name: Input 4
|
||||||
mode: input
|
mode: input
|
||||||
active: high
|
active: high
|
||||||
'23': {}
|
|
||||||
'24': {}
|
|
||||||
'29':
|
'29':
|
||||||
name: LED 4
|
name: LED 4
|
||||||
mode: output
|
mode: output
|
||||||
@ -97,14 +80,35 @@ pin:
|
|||||||
name: Motor 2 +
|
name: Motor 2 +
|
||||||
mode: output
|
mode: output
|
||||||
active: high
|
active: high
|
||||||
|
i2c:
|
||||||
|
'0x28':
|
||||||
|
name: Cap Touch
|
||||||
|
device: cap1208
|
||||||
|
'0x48':
|
||||||
|
name: Analog Input
|
||||||
|
device: ads1015
|
||||||
|
install:
|
||||||
|
'devices':
|
||||||
|
- 'i2c'
|
||||||
|
'apt':
|
||||||
|
- 'python-smbus'
|
||||||
|
- 'python3-smbus'
|
||||||
|
- 'python-dev'
|
||||||
|
- 'python3-dev'
|
||||||
|
'python':
|
||||||
|
- 'explorerhat'
|
||||||
|
'python3':
|
||||||
|
- 'explorerhat'
|
||||||
|
'examples': 'examples/'
|
||||||
-->
|
-->
|
||||||
#Explorer HAT and Explorer HAT Pro
|
#Explorer HAT Pro
|
||||||
|
|
||||||
5V inputs and outputs, touch pads, LEDs, analog inputs and an H-Bridge motor driver make up the Explorer HAT Pro- a jack of all trades prototyping side-kick for your Raspberry Pi.
|
5V inputs and outputs, touch pads, LEDs, analog inputs and an H-Bridge motor driver make up the Explorer HAT Pro; a jack of all trades prototyping side-kick for your Raspberry Pi.
|
||||||
|
|
||||||
|
To get the HAT set up and ready to go you can use the one-line product installer:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install python-pip
|
curl -sS get.pimoroni.com/explorerhat | bash
|
||||||
sudo pip install explorer-hat
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Then import it into your Python script and start tinkering:
|
Then import it into your Python script and start tinkering:
|
||||||
|
@ -1,25 +1,16 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: multi
|
||||||
name: Explorer HAT
|
name: Explorer HAT
|
||||||
manufacturer: Pimoroni
|
manufacturer: Pimoroni
|
||||||
|
description: An all-in-one light, input, touch and output add-on board.
|
||||||
url: https://github.com/pimoroni/explorer-hat
|
url: https://github.com/pimoroni/explorer-hat
|
||||||
github: https://github.com/pimoroni/explorer-hat
|
github: https://github.com/pimoroni/explorer-hat
|
||||||
buy: http://shop.pimoroni.com/products/explorer-hat
|
buy: http://shop.pimoroni.com/products/explorer-hat
|
||||||
description: An all-in-one light, input, touch and output add-on board.
|
formfactor: 'HAT'
|
||||||
install:
|
|
||||||
'devices':
|
|
||||||
- 'i2c'
|
|
||||||
'apt':
|
|
||||||
- 'python-smbus'
|
|
||||||
- 'python3-smbus'
|
|
||||||
- 'python-dev'
|
|
||||||
- 'python3-dev'
|
|
||||||
'python':
|
|
||||||
- 'explorerhat'
|
|
||||||
'python3':
|
|
||||||
- 'explorerhat'
|
|
||||||
'examples': 'examples/'
|
|
||||||
pincount: 40
|
pincount: 40
|
||||||
|
eeprom: yes
|
||||||
pin:
|
pin:
|
||||||
'7':
|
'7':
|
||||||
name: LED 1
|
name: LED 1
|
||||||
@ -69,14 +60,32 @@ pin:
|
|||||||
name: Output 4
|
name: Output 4
|
||||||
mode: output
|
mode: output
|
||||||
active: high
|
active: high
|
||||||
|
i2c:
|
||||||
|
'0x28':
|
||||||
|
name: Cap Touch
|
||||||
|
device: cap1208
|
||||||
|
install:
|
||||||
|
'devices':
|
||||||
|
- 'i2c'
|
||||||
|
'apt':
|
||||||
|
- 'python-smbus'
|
||||||
|
- 'python3-smbus'
|
||||||
|
- 'python-dev'
|
||||||
|
- 'python3-dev'
|
||||||
|
'python':
|
||||||
|
- 'explorerhat'
|
||||||
|
'python3':
|
||||||
|
- 'explorerhat'
|
||||||
|
'examples': 'examples/'
|
||||||
-->
|
-->
|
||||||
#Explorer HAT and Explorer HAT Pro
|
#Explorer HAT
|
||||||
|
|
||||||
5V inputs and outputs, touch pads, LEDs, analog inputs and an H-Bridge motor driver make up the Explorer HAT Pro- a jack of all trades prototyping side-kick for your Raspberry Pi.
|
5V inputs and outputs, touch pads and LEDs make up the Explorer HAT; a jack of all trades prototyping side-kick for your Raspberry Pi.
|
||||||
|
|
||||||
|
To get the HAT set up and ready to go you can use the one-line product installer:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install python-pip
|
curl -sS get.pimoroni.com/explorerhat | bash
|
||||||
sudo pip install explorer-hat
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Then import it into your Python script and start tinkering:
|
Then import it into your Python script and start tinkering:
|
||||||
|
99
src/pt/overlay/explorer-phat.md
Normal file
99
src/pt/overlay/explorer-phat.md
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: board
|
||||||
|
type: multi
|
||||||
|
name: Explorer pHAT
|
||||||
|
manufacturer: Pimoroni
|
||||||
|
description: An all-in-one input, output and motor add-on board.
|
||||||
|
url: https://github.com/pimoroni/explorer-hat
|
||||||
|
github: https://github.com/pimoroni/explorer-hat
|
||||||
|
buy: https://shop.pimoroni.com/products/explorer-phat
|
||||||
|
formfactor: 'pHAT'
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
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
|
||||||
|
i2c:
|
||||||
|
'0x48':
|
||||||
|
name: Analog Input
|
||||||
|
device: ads1015
|
||||||
|
install:
|
||||||
|
'devices':
|
||||||
|
- 'i2c'
|
||||||
|
'apt':
|
||||||
|
- 'python-smbus'
|
||||||
|
- 'python3-smbus'
|
||||||
|
- 'python-dev'
|
||||||
|
- 'python3-dev'
|
||||||
|
'python':
|
||||||
|
- 'explorerhat'
|
||||||
|
'python3':
|
||||||
|
- 'explorerhat'
|
||||||
|
'examples': 'examples/'
|
||||||
|
-->
|
||||||
|
#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
|
||||||
|
```
|
@ -1,7 +1,10 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: interface
|
||||||
|
type: pinout
|
||||||
name: Ground
|
name: Ground
|
||||||
description: Raspberry Pi Ground Pins
|
description: Raspberry Pi Ground Pins
|
||||||
|
pincount: 1
|
||||||
pin:
|
pin:
|
||||||
'6':
|
'6':
|
||||||
'9':
|
'9':
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: interface
|
||||||
|
type: pinout
|
||||||
name: I2C
|
name: I2C
|
||||||
description: Raspberry Pi i2c pins
|
description: Raspberry Pi i2c pins
|
||||||
pin:
|
pin:
|
||||||
@ -19,12 +21,13 @@ pin:
|
|||||||
name: EEPROM Clock
|
name: EEPROM Clock
|
||||||
direction: both
|
direction: both
|
||||||
active: high
|
active: high
|
||||||
|
|
||||||
-->
|
-->
|
||||||
#I2C - Inter Integrated Circuit
|
#I2C - Inter Integrated Circuit
|
||||||
|
|
||||||
The Raspberry Pi's I2C pins are an extremely useful way to talk to many different types of external peripheral; from the MCP23017 digital IO expander, to a connected ATmega.
|
The Raspberry Pi's I2C pins are an extremely useful way to talk to many different types of external peripheral; from the MCP23017 digital IO expander, to a connected ATmega.
|
||||||
|
|
||||||
|
The i2c pins include a fixed 1.8 kohms pull-up resistor to 3.3v. This means they are not suitable for use as general purpose IO where a pull-up is not required.
|
||||||
|
|
||||||
You can verify the address of connected I2C peripherals with a simple one-liner:
|
You can verify the address of connected I2C peripherals with a simple one-liner:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
57
src/pt/overlay/iface-dpi.md
Normal file
57
src/pt/overlay/iface-dpi.md
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: interface
|
||||||
|
type: pinout
|
||||||
|
name: DPI
|
||||||
|
description: Raspberry Pi DPI pins
|
||||||
|
pin:
|
||||||
|
'bcm0':
|
||||||
|
name: CLK
|
||||||
|
'bcm1':
|
||||||
|
name: DEN
|
||||||
|
'bcm2':
|
||||||
|
name: V-SYNC
|
||||||
|
'bcm3':
|
||||||
|
name: H-SYNC
|
||||||
|
'bcm4':
|
||||||
|
name: Blue 2
|
||||||
|
'bcm5':
|
||||||
|
name: Blue 3
|
||||||
|
'bcm6':
|
||||||
|
name: Blue 4
|
||||||
|
'bcm7':
|
||||||
|
name: Blue 5
|
||||||
|
'bcm8':
|
||||||
|
name: Blue 6
|
||||||
|
'bcm9':
|
||||||
|
name: Blue 7
|
||||||
|
'bcm10':
|
||||||
|
name: Green 2
|
||||||
|
'bcm11':
|
||||||
|
name: Green 3
|
||||||
|
'bcm12':
|
||||||
|
name: Green 4
|
||||||
|
'bcm13':
|
||||||
|
name: Green 5
|
||||||
|
'bcm14':
|
||||||
|
name: Green 6
|
||||||
|
'bcm15':
|
||||||
|
name: Green 7
|
||||||
|
'bcm16':
|
||||||
|
name: Red 2
|
||||||
|
'bcm17':
|
||||||
|
name: Red 3
|
||||||
|
'bcm18':
|
||||||
|
name: Red 4
|
||||||
|
'bcm19':
|
||||||
|
name: Red 5
|
||||||
|
'bcm20':
|
||||||
|
name: Red 6
|
||||||
|
'bcm21':
|
||||||
|
name: Red 7
|
||||||
|
-->
|
||||||
|
#DPI - Display Parallel Interface
|
||||||
|
|
||||||
|
###DPI (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. The Pi uses a cut-down, 6-bit, 22 pin version omitting the least significant R, G and B colour bits.
|
||||||
|
|
||||||
|
DPI, combined with a simple adaptor consisting of 20 resistors, allows you to add a VGA connector to the Pi which supports resolutions from 640 x 480 up to 1920 x 1024 at 60fps and 6bits per channel.
|
31
src/pt/overlay/iface-gpclk.md
Normal file
31
src/pt/overlay/iface-gpclk.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: interface
|
||||||
|
type: pinout
|
||||||
|
name: GPCLK
|
||||||
|
description: Raspberry Pi General Purpose Clock
|
||||||
|
pin:
|
||||||
|
'bcm4':
|
||||||
|
name: GPCLK0
|
||||||
|
'bcm5':
|
||||||
|
name: GPCLK1
|
||||||
|
'bcm6':
|
||||||
|
name: GPCLK2
|
||||||
|
-->
|
||||||
|
#GPCLK - General Purpose CLock
|
||||||
|
|
||||||
|
###General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control.
|
||||||
|
|
||||||
|
The following clock sources are available:
|
||||||
|
|
||||||
|
```
|
||||||
|
0 0 Hz Ground
|
||||||
|
1 19.2 MHz oscillator
|
||||||
|
2 0 Hz testdebug0
|
||||||
|
3 0 Hz testdebug1
|
||||||
|
4 0 Hz PLLA
|
||||||
|
5 1000 MHz PLLC (changes with overclock settings)
|
||||||
|
6 500 MHz PLLD
|
||||||
|
7 216 MHz HDMI auxiliary
|
||||||
|
8-15 0 Hz Ground
|
||||||
|
```
|
33
src/pt/overlay/iface-jtag.md
Normal file
33
src/pt/overlay/iface-jtag.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: interface
|
||||||
|
type: pinout
|
||||||
|
name: JTAG
|
||||||
|
description: Raspberry Pi JTAG pins
|
||||||
|
pin:
|
||||||
|
'bcm4':
|
||||||
|
name: TDI (Alt5)
|
||||||
|
'bcm5':
|
||||||
|
name: TDO (Alt5)
|
||||||
|
'bcm6':
|
||||||
|
name: RTCK (Alt5)
|
||||||
|
'bcm12':
|
||||||
|
name: TMS (Alt5)
|
||||||
|
'bcm13':
|
||||||
|
name: TCK (Alt5)
|
||||||
|
'bcm22':
|
||||||
|
name: TRST (Alt4)
|
||||||
|
'bcm23':
|
||||||
|
name: RTCK (Alt4)
|
||||||
|
'bcm24':
|
||||||
|
name: TDO (Alt4)
|
||||||
|
'bcm25':
|
||||||
|
name: TCK (Alt4)
|
||||||
|
'bcm26':
|
||||||
|
name: TDI (Alt4)
|
||||||
|
'bcm27':
|
||||||
|
name: TMS (Alt4)
|
||||||
|
-->
|
||||||
|
#JTAG - Joint Test Action Group
|
||||||
|
|
||||||
|
###JTAG is a standardised interface for debugging integrated circuits which you can use to debug your Raspberry Pi
|
19
src/pt/overlay/iface-pcm.md
Normal file
19
src/pt/overlay/iface-pcm.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: interface
|
||||||
|
type: pinout
|
||||||
|
name: PCM
|
||||||
|
description: Raspberry Pi PCM pins
|
||||||
|
pin:
|
||||||
|
'bcm18':
|
||||||
|
name: CLK
|
||||||
|
'bcm19':
|
||||||
|
name: FS
|
||||||
|
'bcm20':
|
||||||
|
name: DIN
|
||||||
|
'bcm21':
|
||||||
|
name: DOUT
|
||||||
|
-->
|
||||||
|
#PCM - Pulse-code Modulation
|
||||||
|
|
||||||
|
###PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound.
|
25
src/pt/overlay/iface-sd.md
Normal file
25
src/pt/overlay/iface-sd.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: interface
|
||||||
|
type: pinout
|
||||||
|
name: SD
|
||||||
|
description: Raspberry Pi SD0/SD1 pins
|
||||||
|
pin:
|
||||||
|
'bcm22':
|
||||||
|
name: CLK
|
||||||
|
'bcm23':
|
||||||
|
name: CMD
|
||||||
|
'bcm24':
|
||||||
|
name: DAT0
|
||||||
|
'bcm25':
|
||||||
|
name: DAT1
|
||||||
|
'bcm26':
|
||||||
|
name: DAT2
|
||||||
|
'bcm27':
|
||||||
|
name: DAT3
|
||||||
|
-->
|
||||||
|
#SD - SD Card Interface
|
||||||
|
|
||||||
|
###SD is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot.
|
||||||
|
|
||||||
|
These pins are "SD host" on Alt0 and "eMMC" on Alt3.
|
@ -1,38 +1,42 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: audio
|
||||||
name: "Pi-DAC+"
|
name: "Pi-DAC+"
|
||||||
manufacturer: IQaudIO
|
manufacturer: IQaudIO
|
||||||
buy: http://www.iqaudio.co.uk
|
|
||||||
description: An I2S digital to analog audio converter HAT for the Pi
|
description: An I2S digital to analog audio converter HAT for the Pi
|
||||||
|
buy: http://www.iqaudio.co.uk
|
||||||
|
formfactor: 'HAT'
|
||||||
|
pincount: 40
|
||||||
|
eeprom: yes
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
'12':
|
||||||
|
name: I2S
|
||||||
|
'15':
|
||||||
|
name: Mute/Unmute
|
||||||
|
description: Pi-AMP+ only (optional)
|
||||||
|
'16':
|
||||||
|
name: Rotary Encoder
|
||||||
|
description: (optional)
|
||||||
|
'18':
|
||||||
|
name: Rotary Encoder
|
||||||
|
description: (optional)
|
||||||
|
'22':
|
||||||
|
name: IR Sensor
|
||||||
|
description: (optional)
|
||||||
|
'35':
|
||||||
|
name: I2S
|
||||||
|
'38':
|
||||||
|
name: I2S
|
||||||
|
'40':
|
||||||
|
name: I2S
|
||||||
install:
|
install:
|
||||||
'devices':
|
'devices':
|
||||||
- 'i2c'
|
- 'i2c'
|
||||||
pincount: 40
|
|
||||||
pin:
|
|
||||||
3:
|
|
||||||
mode: i2c
|
|
||||||
5:
|
|
||||||
mode: i2c
|
|
||||||
12:
|
|
||||||
name: I2S
|
|
||||||
15:
|
|
||||||
name: Mute/Unmute
|
|
||||||
description: Pi-AMP+ only (optional)
|
|
||||||
16:
|
|
||||||
name: Rotary Encoder
|
|
||||||
description: (optional)
|
|
||||||
18:
|
|
||||||
name: Rotary Encoder
|
|
||||||
description: (optional)
|
|
||||||
22:
|
|
||||||
name: IR Sensor
|
|
||||||
description: (optional)
|
|
||||||
35:
|
|
||||||
name: I2S
|
|
||||||
38:
|
|
||||||
name: I2S
|
|
||||||
40:
|
|
||||||
name: I2S
|
|
||||||
-->
|
-->
|
||||||
#IQaudIO Pi-DAC+
|
#IQaudIO Pi-DAC+
|
||||||
|
|
||||||
@ -42,7 +46,7 @@ control) analog audio to the Pi-DAC+ Phono connectors. The PI-DAC+ also, via the
|
|||||||
Texas Instruments TPA6133A headphone amp, supports the direct use of headphones via
|
Texas Instruments TPA6133A headphone amp, supports the direct use of headphones via
|
||||||
the Pi-DAC+ 3.5mm audio jack.
|
the Pi-DAC+ 3.5mm audio jack.
|
||||||
|
|
||||||
The Pi Dac uses GPIO22 to mute/unmute the Pi-AMP+.
|
The Pi-DAC+ uses GPIO22 to mute/unmute the Pi-AMP+.
|
||||||
|
|
||||||
You can use GPIO25 to connect an IR sensor and GPIO23/24 for a rotary encoder. Both of
|
You can use GPIO25 to connect an IR sensor and GPIO23/24 for a rotary encoder. Both of
|
||||||
these parts are optional, but are broken out on the Pi-DAC+ for convenient access.
|
these parts are optional, but are broken out on the Pi-DAC+ for convenient access.
|
||||||
|
38
src/pt/overlay/phat-dac.md
Normal file
38
src/pt/overlay/phat-dac.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: board
|
||||||
|
type: audio
|
||||||
|
name: "pHAT DAC"
|
||||||
|
manufacturer: Pimoroni
|
||||||
|
description: An I2S digital to analog audio converter
|
||||||
|
buy: https://shop.pimoroni.com/products/phat-dac
|
||||||
|
formfactor: 'pHAT'
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
power:
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
ground:
|
||||||
|
'6':
|
||||||
|
pin:
|
||||||
|
'12':
|
||||||
|
name: I2S
|
||||||
|
'35':
|
||||||
|
name: I2S
|
||||||
|
'40':
|
||||||
|
name: I2S
|
||||||
|
install:
|
||||||
|
'devices':
|
||||||
|
- 'i2s'
|
||||||
|
-->
|
||||||
|
#pHAT DAC
|
||||||
|
|
||||||
|
The pHAT DAC provides a high-quality digital to analog audio converter for the Raspberry Pi: 24-bits at 192KHz via the I2S interface on the 2x20 pin GPIO header. It has a 3.5mm stereo jack pre-assembled and can accommodate an optional RCA phono connector.
|
||||||
|
|
||||||
|
Though designed to match the format of the Raspberry Pi Zero it is compatible with all 40-pin GPIO Raspberry Pi variants (2/B+/A+/Zero).
|
||||||
|
|
||||||
|
To get the pHAT DAC set up and ready to go you can use the one-line product installer:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -sS get.pimoroni.com/phatdac | bash
|
||||||
|
```
|
@ -1,10 +1,34 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: instrument
|
||||||
name: Piano HAT
|
name: Piano HAT
|
||||||
|
image: 'piano-hat.png'
|
||||||
manufacturer: Pimoroni
|
manufacturer: Pimoroni
|
||||||
url: https://github.com/pimoroni/piano-hat
|
|
||||||
description: A tiny Pi piano with 16 touch-sensitive buttons
|
description: A tiny Pi piano with 16 touch-sensitive buttons
|
||||||
|
url: http://shop.pimoroni.com/products/drum-hat
|
||||||
|
github: https://github.com/pimoroni/piano-hat
|
||||||
|
buy: https://shop.pimoroni.com/products/piano-hat
|
||||||
|
formfactor: 'HAT'
|
||||||
pincount: 40
|
pincount: 40
|
||||||
|
eeprom: yes
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
'7':
|
||||||
|
name: Alert A
|
||||||
|
mode: input
|
||||||
|
'11':
|
||||||
|
name: Reset A
|
||||||
|
mode: output
|
||||||
|
'13':
|
||||||
|
name: Alert B
|
||||||
|
mode: input
|
||||||
|
'15':
|
||||||
|
name: Reset B
|
||||||
|
mode: output
|
||||||
i2c:
|
i2c:
|
||||||
'0x28':
|
'0x28':
|
||||||
name: Cap Touch A
|
name: Cap Touch A
|
||||||
@ -14,23 +38,6 @@ i2c:
|
|||||||
name: Cap Touch B
|
name: Cap Touch B
|
||||||
device: cap1188
|
device: cap1188
|
||||||
datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/CAP1188%20.pdf
|
datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/CAP1188%20.pdf
|
||||||
pin:
|
|
||||||
3:
|
|
||||||
mode: i2c
|
|
||||||
5:
|
|
||||||
mode: i2c
|
|
||||||
7:
|
|
||||||
name: Alert A
|
|
||||||
mode: input
|
|
||||||
11:
|
|
||||||
name: Reset A
|
|
||||||
mode: output
|
|
||||||
13:
|
|
||||||
name: Alert B
|
|
||||||
mode: input
|
|
||||||
15:
|
|
||||||
name: Reset B
|
|
||||||
mode: output
|
|
||||||
-->
|
-->
|
||||||
#Piano HAT
|
#Piano HAT
|
||||||
|
|
||||||
@ -38,10 +45,10 @@ Piano HAT has 16 touch-sensitive buttons. 13 of these are a single Piano octave,
|
|||||||
|
|
||||||
It uses two Microchip CAP1188 chips with the i2c addresses 0x28 and 0x2b.
|
It uses two Microchip CAP1188 chips with the i2c addresses 0x28 and 0x2b.
|
||||||
|
|
||||||
You can use the one-line product installer to get Piano HAT set up and ready to go, just:
|
To get the HAT set up and ready to go you can use the one-line product installer:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl get.pimoroni.com/pianohat | bash
|
curl -sS get.pimoroni.com/pianohat | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
And follow the instructions!
|
And follow the instructions!
|
||||||
|
@ -1,9 +1,15 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: led
|
||||||
name: PiBorg LEDBorg
|
name: PiBorg LEDBorg
|
||||||
|
manufacturer: PiBorg
|
||||||
description: A single RGB LED for your Raspberry Pi
|
description: A single RGB LED for your Raspberry Pi
|
||||||
|
url: https://www.piborg.org/ledborg-new/install
|
||||||
buy: https://www.piborg.org/ledborg
|
buy: https://www.piborg.org/ledborg
|
||||||
|
formfactor: '26-way'
|
||||||
pincount: 26
|
pincount: 26
|
||||||
|
eeprom: no
|
||||||
pin:
|
pin:
|
||||||
'11':
|
'11':
|
||||||
name: Red LED
|
name: Red LED
|
||||||
@ -23,7 +29,7 @@ pin:
|
|||||||
-->
|
-->
|
||||||
###The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi.
|
###The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi.
|
||||||
|
|
||||||
PiBorg has its own driver, so you don't need to drive it manually.
|
the PiBorg Ledborg has its own driver, so you don't need to drive it manually.
|
||||||
|
|
||||||
If you want a much, much wider range of colours, though, you can drive it manually using softPwm in WiringPi. The pin assignments for this are as follows:
|
If you want a much, much wider range of colours, though, you can drive it manually using softPwm in WiringPi. The pin assignments for this are as follows:
|
||||||
|
|
||||||
@ -33,7 +39,6 @@ WiringPi pin 3: Blue LED
|
|||||||
|
|
||||||
This is easy using WiringPi in Python:
|
This is easy using WiringPi in Python:
|
||||||
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import wiringpi2 as wiringpi
|
import wiringpi2 as wiringpi
|
||||||
wiringpi.wiringPiSetup()
|
wiringpi.wiringPiSetup()
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: multi
|
||||||
name: Pibrella
|
name: Pibrella
|
||||||
manufacturer: Pimoroni Vs Cyntech
|
manufacturer: Pimoroni Vs Cyntech
|
||||||
url: https://github.com/pimoroni/pibrella
|
|
||||||
description: An all-in-one light, sound, input and output add-on board.
|
description: An all-in-one light, sound, input and output add-on board.
|
||||||
|
url: https://github.com/pimoroni/pibrella
|
||||||
|
formfactor: '26-way'
|
||||||
pincount: 26
|
pincount: 26
|
||||||
|
eeprom: no
|
||||||
pin:
|
pin:
|
||||||
'7':
|
'7':
|
||||||
name: Green LED
|
name: Green LED
|
||||||
@ -23,15 +27,15 @@ pin:
|
|||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'15':
|
'15':
|
||||||
name: Output A
|
name: Output E
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'16':
|
'16':
|
||||||
name: Output B
|
name: Output F
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'18':
|
'18':
|
||||||
name: Output C
|
name: Output G
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'19':
|
'19':
|
||||||
@ -43,7 +47,7 @@ pin:
|
|||||||
direction: input
|
direction: input
|
||||||
active: high
|
active: high
|
||||||
'22':
|
'22':
|
||||||
name: Output D
|
name: Output H
|
||||||
direction: output
|
direction: output
|
||||||
active: high
|
active: high
|
||||||
'23':
|
'23':
|
||||||
@ -66,8 +70,7 @@ The all-in-one light, sound, input and output add-on board from Pimoroni vs Cynt
|
|||||||
Pibrella is easy to use, first you should install the module using LXTerminal/Command Line:
|
Pibrella is easy to use, first you should install the module using LXTerminal/Command Line:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install python-pip
|
curl -sS get.pimoroni.com/pibrella | bash
|
||||||
sudo pip install pibrella
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Then import it into your Python script and start tinkering:
|
Then import it into your Python script and start tinkering:
|
||||||
|
@ -1,20 +1,38 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: led
|
||||||
name: PiGlow
|
name: PiGlow
|
||||||
manufacturer: Pimoroni
|
manufacturer: Pimoroni
|
||||||
|
description: Simply 18 LEDs in a spiral pattern controllable in Python.
|
||||||
url: https://github.com/pimoroni/piglow
|
url: https://github.com/pimoroni/piglow
|
||||||
github: https://github.com/pimoroni/piglow
|
github: https://github.com/pimoroni/piglow
|
||||||
buy: http://shop.pimoroni.com/products/piglow
|
buy: http://shop.pimoroni.com/products/piglow
|
||||||
description: Simply 18 LEDs in a spiral pattern controllable in Python.
|
formfactor: '26-way'
|
||||||
pincount: 26
|
pincount: 26
|
||||||
|
eeprom: no
|
||||||
|
power:
|
||||||
|
'1':
|
||||||
|
'2':
|
||||||
|
'17':
|
||||||
|
ground:
|
||||||
|
'14':
|
||||||
pin:
|
pin:
|
||||||
'1': {}
|
|
||||||
'2': {}
|
|
||||||
'3':
|
'3':
|
||||||
mode: i2c
|
mode: i2c
|
||||||
'5':
|
'5':
|
||||||
mode: i2c
|
mode: i2c
|
||||||
'14': {}
|
|
||||||
'17': {}
|
|
||||||
-->
|
-->
|
||||||
#PiGlow
|
#PiGlow
|
||||||
|
|
||||||
|
The PiGlow is a small add-on board for the Raspberry Pi that provides 18 individually controllable LEDs.
|
||||||
|
|
||||||
|
The board uses the SN3218 8-bit 18-channel PWM chip to drive surface mount LEDs. Communication is done via I2C over the GPIO header with a bus address of 0x54. Each LED can be set to a PWM value of between 0 and 255.
|
||||||
|
|
||||||
|
To get the module set up and ready to go you can use the one-line product installer:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -sS get.pimoroni.com/piglow | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
And follow the instructions!
|
||||||
|
39
src/pt/overlay/propeller-hat.md
Normal file
39
src/pt/overlay/propeller-hat.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: board
|
||||||
|
type: other
|
||||||
|
name: Propeller HAT
|
||||||
|
image: 'propeller-hat.png'
|
||||||
|
manufacturer: Pimoroni
|
||||||
|
description: The 8-core Propeller Microcontroller in HAT form-factor
|
||||||
|
url: http://shop.pimoroni.com/products/propeller-hat
|
||||||
|
github: https://github.com/pimoroni/piano-hat
|
||||||
|
buy: https://shop.pimoroni.com/products/propeller-hat
|
||||||
|
formfactor: 'HAT'
|
||||||
|
pincount: 40
|
||||||
|
eeprom: yes
|
||||||
|
power:
|
||||||
|
'2':
|
||||||
|
ground:
|
||||||
|
'6':
|
||||||
|
pin:
|
||||||
|
'8':
|
||||||
|
name: TXD / Transmit
|
||||||
|
direction: output
|
||||||
|
active: high
|
||||||
|
'10':
|
||||||
|
name: RXD / Receive
|
||||||
|
direction: input
|
||||||
|
active: high
|
||||||
|
'11':
|
||||||
|
name: Reset
|
||||||
|
active: low
|
||||||
|
'29':
|
||||||
|
name: EEPROM WP
|
||||||
|
active: low
|
||||||
|
-->
|
||||||
|
#Propeller HAT
|
||||||
|
|
||||||
|
Propeller HAT brings the 8-core Parallax Propeller microcontroller to HAT form-factor. Program and talk to it over Serial using Propeller IDE and you'll have a powerful, realtime co-processor for your Pi.
|
||||||
|
|
||||||
|
It's like a little software programming logic device. Great for realtime IO, servo control and even convincingly synthesizing a SID chip.
|
@ -1,11 +1,16 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
name: Ryanteck Motor Controller Board
|
class: board
|
||||||
|
type: motor
|
||||||
|
name: Motor Controller Board
|
||||||
|
page_url: 'ryanteck_motor_controller_board'
|
||||||
manufacturer: Ryanteck
|
manufacturer: Ryanteck
|
||||||
url: http://www.ryanteck.uk/store/ryanteck-rpi-motor-controller-board
|
description: A quick and easy way to start driving motors on your Raspberry Pi
|
||||||
buy: http://www.ryanteck.uk/store/ryanteck-rpi-motor-controller-board
|
url: https://ryanteck.uk/add-ons/6-ryanteck-rpi-motor-controller-board-0635648607160.html
|
||||||
description: A budget motor controller with quick start guides.
|
buy: https://ryanteck.uk/add-ons/6-ryanteck-rpi-motor-controller-board-0635648607160.html
|
||||||
|
formfactor: '26-way'
|
||||||
pincount: 26
|
pincount: 26
|
||||||
|
eeprom: no
|
||||||
pin:
|
pin:
|
||||||
'11':
|
'11':
|
||||||
name: Motor 1 A
|
name: Motor 1 A
|
||||||
|
53
src/pt/overlay/scroll-phat.md
Normal file
53
src/pt/overlay/scroll-phat.md
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
class: board
|
||||||
|
type: led
|
||||||
|
name: Scroll pHAT
|
||||||
|
manufacturer: Pimoroni
|
||||||
|
description: A 11 x 5 LED matrix.
|
||||||
|
url: https://github.com/pimoroni/scroll-phat
|
||||||
|
github: https://github.com/pimoroni/scroll-phat
|
||||||
|
buy: https://shop.pimoroni.com/products/scroll-phat
|
||||||
|
formfactor: 'pHAT'
|
||||||
|
pincount: 40
|
||||||
|
eeprom: no
|
||||||
|
power:
|
||||||
|
'2':
|
||||||
|
ground:
|
||||||
|
'6':
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
|
i2c:
|
||||||
|
'0x60':
|
||||||
|
name: Matrix LED driver
|
||||||
|
device: IS31FL3730
|
||||||
|
install:
|
||||||
|
'devices':
|
||||||
|
- 'i2c'
|
||||||
|
'apt':
|
||||||
|
- 'python-smbus'
|
||||||
|
- 'python3-smbus'
|
||||||
|
'python':
|
||||||
|
- 'scrollphat'
|
||||||
|
'python3':
|
||||||
|
- 'scrollphat'
|
||||||
|
'examples': 'examples/'
|
||||||
|
-->
|
||||||
|
#Scroll pHAT
|
||||||
|
|
||||||
|
The Scroll pHAT provides a matrix of 55 white LED pixels that is ideal for writing messages, showing graphs, and drawing pictures. 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/scrollphat | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
Then import it into your Python script and start tinkering:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
import scrollphat
|
||||||
|
```
|
@ -1,41 +1,31 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: multi
|
||||||
name: "Sense HAT"
|
name: "Sense HAT"
|
||||||
manufacturer: Raspberry Pi Foundation
|
manufacturer: Raspberry Pi Foundation
|
||||||
url: https://www.raspberrypi.org/products/sense-hat/
|
|
||||||
description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystick as well as IMU and environmental sensors
|
description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystick as well as IMU and environmental sensors
|
||||||
|
url: https://www.raspberrypi.org/products/sense-hat/
|
||||||
|
formfactor: 'HAT'
|
||||||
|
pincount: 40
|
||||||
|
eeprom: yes
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode: i2c
|
||||||
|
'5':
|
||||||
|
mode: i2c
|
||||||
install:
|
install:
|
||||||
'devices':
|
'devices':
|
||||||
- 'i2c'
|
- 'i2c'
|
||||||
- 'spi'
|
|
||||||
pincount: 40
|
|
||||||
pin:
|
|
||||||
3:
|
|
||||||
mode: i2c
|
|
||||||
5:
|
|
||||||
mode: i2c
|
|
||||||
16:
|
|
||||||
name: Joystick
|
|
||||||
mode: input
|
|
||||||
18:
|
|
||||||
name: Joystick
|
|
||||||
mode: input
|
|
||||||
19:
|
|
||||||
mode: spi
|
|
||||||
21:
|
|
||||||
mode: spi
|
|
||||||
22:
|
|
||||||
name: Joystick
|
|
||||||
mode: input
|
|
||||||
23:
|
|
||||||
mode: spi
|
|
||||||
24:
|
|
||||||
mode: spi
|
|
||||||
-->
|
-->
|
||||||
#Sense HAT
|
#Sense HAT
|
||||||
|
|
||||||
LED Matrix: LED2472G -> ATTINY88 -> SPI
|
The Sense HAT is an add-on board for Raspberry Pi comprising of a 8×8 RGB LED matrix, a five-button joystick and the following sensors: Gyroscope, Accelerometer, Magnetometer, Temperature, Barometric pressure and Humidity.
|
||||||
Joystick: SKRHABE010 -> ATTINY88 -> GPIO23/24/25
|
|
||||||
Axis/IMU: LSM9DS1 -> i2c 0x1c(1e),0x6a(6b) (INT on MCU)
|
The shift register driving the LED Matrix is a LED2472G connected via an ATTINY88 communicating via i2c at address 0x46 with the Pi. The Multi-Directional SKRHABE010 Switch/Joystick is similarly controlled.
|
||||||
Pressure/Temp: LPS25H -> i2c 0x5c
|
|
||||||
Humidity/Temp: HTS221 -> i2c 0x5f
|
The sensors themselves also operate over the i2c bus:
|
||||||
|
|
||||||
|
The IMU (Gyroscope, Accelerometer, Magnetometer) through a LSM9DS1 found at i2c address 0x1c(0x1e),0x6a(0x6b), with Interrupts on the ATTINY88.
|
||||||
|
|
||||||
|
Environmental sensors are represented by a LPS25H Pressure+Temperature sensor at address 0x5c and by a HTS221 Humidity+Temp sensor at 0x5f on the i2c bus.
|
||||||
|
@ -1,21 +1,20 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: gesture
|
||||||
name: Skywriter HAT
|
name: Skywriter HAT
|
||||||
manufacturer: Pimoroni
|
manufacturer: Pimoroni
|
||||||
|
description: A 3D positional and gesture sensor.
|
||||||
url: https://github.com/pimoroni/skywriter-hat
|
url: https://github.com/pimoroni/skywriter-hat
|
||||||
github: https://github.com/pimoroni/skywriter-hat
|
github: https://github.com/pimoroni/skywriter-hat
|
||||||
buy: http://shop.pimoroni.com/products/skywriter-hat
|
buy: http://shop.pimoroni.com/products/skywriter-hat
|
||||||
description: A 3D positional and gesture sensor.
|
formfactor: 'HAT'
|
||||||
install:
|
|
||||||
'apt':
|
|
||||||
- 'python-smbus'
|
|
||||||
- 'python3-smbus'
|
|
||||||
- 'python-dev'
|
|
||||||
- 'python3-dev'
|
|
||||||
'python':
|
|
||||||
- 'skywriter'
|
|
||||||
'examples': 'python/examples/'
|
|
||||||
pincount: 40
|
pincount: 40
|
||||||
|
eeprom: yes
|
||||||
|
i2c:
|
||||||
|
'0x42':
|
||||||
|
name: Gesture sensor
|
||||||
|
device: MGC3130
|
||||||
pin:
|
pin:
|
||||||
'3':
|
'3':
|
||||||
mode: i2c
|
mode: i2c
|
||||||
@ -25,6 +24,15 @@ pin:
|
|||||||
name: Reset
|
name: Reset
|
||||||
'13':
|
'13':
|
||||||
name: Transfer
|
name: Transfer
|
||||||
|
install:
|
||||||
|
'apt':
|
||||||
|
- 'python-smbus'
|
||||||
|
- 'python3-smbus'
|
||||||
|
- 'python-dev'
|
||||||
|
- 'python3-dev'
|
||||||
|
'python':
|
||||||
|
- 'skywriter'
|
||||||
|
'examples': 'python/examples/'
|
||||||
-->
|
-->
|
||||||
#Skywriter HAT
|
#Skywriter HAT
|
||||||
|
|
||||||
@ -32,3 +40,11 @@ Skywriter HAT senses your finger's position above it in 3 dimensions, outputting
|
|||||||
which you can use in your Python scripts.
|
which you can use in your Python scripts.
|
||||||
|
|
||||||
It also recognises gestures, including swipes and more.
|
It also recognises gestures, including swipes and more.
|
||||||
|
|
||||||
|
To get the HAT set up and ready to go you can use the one-line product installer:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -sS get.pimoroni.com/skywriter | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
And follow the instructions!
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: interface
|
||||||
|
type: pinout
|
||||||
name: SPI
|
name: SPI
|
||||||
description: Raspberry Pi SPI pins
|
description: Raspberry Pi SPI pins
|
||||||
pincount: 5
|
pincount: 5
|
||||||
|
@ -1,12 +1,15 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: multi
|
||||||
name: Traffic HAT
|
name: Traffic HAT
|
||||||
manufacturer: Ryanteck LTD.
|
manufacturer: Ryanteck LTD.
|
||||||
|
description: A quick and easy way to learn the basics of GPIO on a budget. All in a nice HAT.
|
||||||
url: http://www.ryanteck.uk/store/traffichat
|
url: http://www.ryanteck.uk/store/traffichat
|
||||||
buy: http://www.ryanteck.uk/store/traffichat
|
buy: http://www.ryanteck.uk/store/traffichat
|
||||||
description: A quick and easy way to learn the basics of GPIO on a budget. All in
|
formfactor: 'HAT'
|
||||||
a nice HAT.
|
|
||||||
pincount: 40
|
pincount: 40
|
||||||
|
eeprom: yes
|
||||||
pin:
|
pin:
|
||||||
'15':
|
'15':
|
||||||
name: LED1 / Green
|
name: LED1 / Green
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: interface
|
||||||
|
type: pinout
|
||||||
name: UART
|
name: UART
|
||||||
description: Raspberry Pi UART pins
|
description: Raspberry Pi UART pins
|
||||||
|
pincount: 2
|
||||||
pin:
|
pin:
|
||||||
'8':
|
'8':
|
||||||
name: TXD / Transmit
|
name: TXD / Transmit
|
||||||
|
@ -1,11 +1,27 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: board
|
||||||
|
type: led
|
||||||
name: Unicorn HAT
|
name: Unicorn HAT
|
||||||
manufacturer: Pimoroni
|
manufacturer: Pimoroni
|
||||||
url: http://shop.pimoroni.com/products/unicorn-hat
|
|
||||||
buy: http://shop.pimoroni.com/products/unicorn-hat
|
|
||||||
description: 64 blindingly bright RGB LEDs on a single HAT
|
description: 64 blindingly bright RGB LEDs on a single HAT
|
||||||
|
url: http://shop.pimoroni.com/products/unicorn-hat
|
||||||
github: https://github.com/pimoroni/unicornhat
|
github: https://github.com/pimoroni/unicornhat
|
||||||
|
buy: http://shop.pimoroni.com/products/unicorn-hat
|
||||||
|
formfactor: 'HAT'
|
||||||
|
pincount: 40
|
||||||
|
eeprom: yes
|
||||||
|
power:
|
||||||
|
'2':
|
||||||
|
ground:
|
||||||
|
'9':
|
||||||
|
pin:
|
||||||
|
'12':
|
||||||
|
name: Data
|
||||||
|
direction: output
|
||||||
|
mode: pwm
|
||||||
|
active: high
|
||||||
|
description: WS2812 Data
|
||||||
install:
|
install:
|
||||||
'apt':
|
'apt':
|
||||||
- 'python-dev'
|
- 'python-dev'
|
||||||
@ -15,14 +31,6 @@ install:
|
|||||||
'python3':
|
'python3':
|
||||||
- 'unicornhat'
|
- 'unicornhat'
|
||||||
'examples': 'python/examples/'
|
'examples': 'python/examples/'
|
||||||
pincount: 40
|
|
||||||
pin:
|
|
||||||
'12':
|
|
||||||
name: Data
|
|
||||||
direction: output
|
|
||||||
mode: pwm
|
|
||||||
active: high
|
|
||||||
description: WS2812 Data
|
|
||||||
-->
|
-->
|
||||||
#Unicorn HAT
|
#Unicorn HAT
|
||||||
|
|
||||||
@ -32,10 +40,10 @@ from Python make Unicorn HAT PiGlow's bigger, brighter brother.
|
|||||||
Note: Unicorn HAT uses some special PWM trickery, performed with the same hardware that lets you Pi produce sound
|
Note: Unicorn HAT uses some special PWM trickery, performed with the same hardware that lets you Pi produce sound
|
||||||
through the audio jack ( analog audio ) so you can't use both at the same time!
|
through the audio jack ( analog audio ) so you can't use both at the same time!
|
||||||
|
|
||||||
Setup is easy, just:
|
To get the HAT set up and ready to go you can use the one-line product installer:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl get.pimoroni.com/unicornhat | bash
|
curl -sS get.pimoroni.com/unicornhat | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Then import it into your Python script and start tinkering:
|
Then import it into your Python script and start tinkering:
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
<!--
|
<!--
|
||||||
---
|
---
|
||||||
|
class: interface
|
||||||
|
type: pinout
|
||||||
name: WiringPi GPIO Pinout
|
name: WiringPi GPIO Pinout
|
||||||
page_url: wiringpi
|
url: http://wiringpi.com
|
||||||
|
github: https://github.com/WiringPi/WiringPi2-Python
|
||||||
|
pincount: 40
|
||||||
pin:
|
pin:
|
||||||
'3':
|
'3':
|
||||||
name: WiringPi 8
|
name: WiringPi 8
|
||||||
@ -60,22 +64,18 @@ pin:
|
|||||||
|
|
||||||
###WiringPi is an attempt to bring Arduino-wiring-like simplicity to the Raspberry Pi.
|
###WiringPi is an attempt to bring Arduino-wiring-like simplicity to the Raspberry Pi.
|
||||||
|
|
||||||
The goal is to have a single common platform and set of functions for accessing the Raspberry Pi GPIO across muliple languages. WiringPi is a C library at heart, but it's available to both Ruby and Python users who can "gem install wiringpi" or "pip install wiringpi2" respectively.
|
The goal is to have a single common platform and set of functions for accessing the Raspberry Pi GPIO across multiple languages. WiringPi is a C library at heart, but it's available to both Ruby and Python users who can "gem install wiringpi" or "pip install wiringpi2" respectively.
|
||||||
|
|
||||||
Python users note the 2 on the end, the WiringPi2-Python library finally brings a whole host of existing WiringPi functionality to Python including brand new features from WiringPi 2.
|
Python users note the 2 on the end, the WiringPi2-Python library finally brings a whole host of existing WiringPi functionality to Python including brand new features from WiringPi 2.
|
||||||
|
|
||||||
For more information about WiringPi you should visit the official WiringPi website.
|
|
||||||
|
|
||||||
##Getting started with WiringPi
|
##Getting started with WiringPi
|
||||||
|
|
||||||
WiringPi uses its own pin numbering scheme, here you'll learn how WiringPi numbers your GPIO pins, what those pins do and how to do shiny things with them from within Python or Ruby.
|
WiringPi uses its own pin numbering scheme, here you'll learn how WiringPi numbers your GPIO pins, what those pins do and how to do shiny things with them from within Python or Ruby.
|
||||||
|
|
||||||
WiringPi, the Arduino-like GPIO library for the Pi, is available in C right from Gordon's git repository, Python, Ruby and even Perl and PHP to a lesser extent.
|
|
||||||
|
|
||||||
Installing to Python couldn't be easier, just:
|
Installing to Python couldn't be easier, just:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo pip install wiringpi2
|
sudo pip install wiringpi2
|
||||||
```
|
```
|
||||||
|
|
||||||
Note the 2 on the end? That's the all new, shinier WiringPi!
|
For more information about WiringPi you should visit the official WiringPi website.
|
||||||
|
@ -16,8 +16,9 @@ pins:
|
|||||||
bcm: 2
|
bcm: 2
|
||||||
bcmAlt: 0
|
bcmAlt: 0
|
||||||
functions:
|
functions:
|
||||||
alt0: SDA1
|
alt0: I2C1 SDA
|
||||||
alt1: SA3
|
alt1: SMI SA3
|
||||||
|
alt2: DPI V-Sync
|
||||||
'4':
|
'4':
|
||||||
name: 5v Power
|
name: 5v Power
|
||||||
type: "+5v"
|
type: "+5v"
|
||||||
@ -30,8 +31,9 @@ pins:
|
|||||||
bcm: 3
|
bcm: 3
|
||||||
bcmAlt: 1
|
bcmAlt: 1
|
||||||
functions:
|
functions:
|
||||||
alt0: SCL1
|
alt0: I2C1 SCL
|
||||||
alt1: SA2
|
alt1: SMI SA2
|
||||||
|
alt2: DPI H-Sync
|
||||||
'6':
|
'6':
|
||||||
name: Ground
|
name: Ground
|
||||||
type: GND
|
type: GND
|
||||||
@ -43,8 +45,9 @@ pins:
|
|||||||
bcm: 4
|
bcm: 4
|
||||||
functions:
|
functions:
|
||||||
alt0: GPCLK0
|
alt0: GPCLK0
|
||||||
alt1: SA1
|
alt1: SMI SA1
|
||||||
alt5: ARM_TDI
|
alt: Blue 2
|
||||||
|
alt5: JTAG TDI
|
||||||
'8':
|
'8':
|
||||||
name: TXD
|
name: TXD
|
||||||
description: UART Transmit
|
description: UART Transmit
|
||||||
@ -53,10 +56,10 @@ pins:
|
|||||||
wiringpi: 15
|
wiringpi: 15
|
||||||
bcm: 14
|
bcm: 14
|
||||||
functions:
|
functions:
|
||||||
alt0: TXD0
|
alt0: UART0 TXD
|
||||||
alt1: SD6
|
alt1: SMI SD6
|
||||||
alt2: Reserved
|
alt2: DSI Green 6
|
||||||
alt5: TXD1
|
alt5: UART1 TXD
|
||||||
'9':
|
'9':
|
||||||
name: Ground
|
name: Ground
|
||||||
type: GND
|
type: GND
|
||||||
@ -68,10 +71,10 @@ pins:
|
|||||||
wiringpi: 16
|
wiringpi: 16
|
||||||
bcm: 15
|
bcm: 15
|
||||||
functions:
|
functions:
|
||||||
alt0: RXD0
|
alt0: UART0 RXD
|
||||||
alt1: SD7
|
alt1: SMI SD7
|
||||||
alt2: Reserved
|
alt2: DPI Green 7
|
||||||
alt5: RXD1
|
alt5: UART1 RXD
|
||||||
'11':
|
'11':
|
||||||
name: ''
|
name: ''
|
||||||
type: GPIO
|
type: GPIO
|
||||||
@ -80,38 +83,38 @@ pins:
|
|||||||
bcm: 17
|
bcm: 17
|
||||||
functions:
|
functions:
|
||||||
alt0: Reserved
|
alt0: Reserved
|
||||||
alt1: SD9
|
alt1: SMI SD9
|
||||||
alt2: Reserved
|
alt2: DPI Red 3
|
||||||
alt3: RTS0
|
alt3: UART0 RTS
|
||||||
alt4: SPI1_CE1_N
|
alt4: SPI1 CE1
|
||||||
alt5: RTS1
|
alt5: UART1 RTS
|
||||||
'12':
|
'12':
|
||||||
name: PCM_C
|
name: PWM0
|
||||||
description: PCM Clock
|
description: PWM0
|
||||||
type: GPIO
|
type: GPIO
|
||||||
scheme:
|
scheme:
|
||||||
wiringpi: 1
|
wiringpi: 1
|
||||||
bcm: 18
|
bcm: 18
|
||||||
functions:
|
functions:
|
||||||
alt0: PCM_CLK
|
alt0: PCM CLK
|
||||||
alt1: SD10
|
alt1: SMI SD10
|
||||||
alt2: Reserved
|
alt2: DPI Red 4
|
||||||
alt3: BSCSL SDA / MOSI
|
alt3: BSCSL SDA / MOSI
|
||||||
alt4: SPI1_CE0_N
|
alt4: SPI1 CE0
|
||||||
alt5: PWM0
|
alt5: PWM0
|
||||||
'13':
|
'13':
|
||||||
name: PCM_D
|
name: ''
|
||||||
type: GPIO
|
type: GPIO
|
||||||
scheme:
|
scheme:
|
||||||
wiringpi: 2
|
wiringpi: 2
|
||||||
bcm: 27
|
bcm: 27
|
||||||
bcmAlt: 21
|
bcmAlt: 21
|
||||||
functions:
|
functions:
|
||||||
alt0: Reserved
|
alt0: SD0 DAT3
|
||||||
alt1: Reserved
|
alt1: Reserved
|
||||||
alt2: Reserved
|
alt2: Reserved
|
||||||
alt3: SD1_DAT3
|
alt3: SD1 DAT3
|
||||||
alt4: ARM_TMS
|
alt4: JTAG TMS
|
||||||
'14':
|
'14':
|
||||||
name: Ground
|
name: Ground
|
||||||
type: GND
|
type: GND
|
||||||
@ -122,11 +125,11 @@ pins:
|
|||||||
wiringpi: 3
|
wiringpi: 3
|
||||||
bcm: 22
|
bcm: 22
|
||||||
functions:
|
functions:
|
||||||
alt0: Reserved
|
alt0: SD0 CLK
|
||||||
alt1: SD14
|
alt1: SMI SD14
|
||||||
alt2: Reserved
|
alt2: Reserved
|
||||||
alt3: SD1_CLK
|
alt3: SD1 CLK
|
||||||
alt4: ARM_TRST
|
alt4: JTAG TRST
|
||||||
'16':
|
'16':
|
||||||
name: ''
|
name: ''
|
||||||
type: GPIO
|
type: GPIO
|
||||||
@ -134,11 +137,11 @@ pins:
|
|||||||
wiringpi: 4
|
wiringpi: 4
|
||||||
bcm: 23
|
bcm: 23
|
||||||
functions:
|
functions:
|
||||||
alt0: Reserved
|
alt0: SD0 CMD
|
||||||
alt1: SD15
|
alt1: SMI SD15
|
||||||
alt2: Reserved
|
alt2: Reserved
|
||||||
alt3: SD1_CMD
|
alt3: SD1 CMD
|
||||||
alt4: ARM_RTCK
|
alt4: JTAG RTCK
|
||||||
'17':
|
'17':
|
||||||
name: 3v3 Power
|
name: 3v3 Power
|
||||||
type: "+3v3"
|
type: "+3v3"
|
||||||
@ -149,11 +152,11 @@ pins:
|
|||||||
wiringpi: 5
|
wiringpi: 5
|
||||||
bcm: 24
|
bcm: 24
|
||||||
functions:
|
functions:
|
||||||
alt0: Reserved
|
alt0: SD0 DAT0
|
||||||
alt1: SD16
|
alt1: SMI SD16
|
||||||
alt2: Reserved
|
alt2: Reserved
|
||||||
alt3: SD1_DAT0
|
alt3: SD1 DAT0
|
||||||
alt4: ARM_TDO
|
alt4: JTAG TDO
|
||||||
'19':
|
'19':
|
||||||
name: MOSI
|
name: MOSI
|
||||||
type: GPIO/SPI
|
type: GPIO/SPI
|
||||||
@ -161,9 +164,9 @@ pins:
|
|||||||
wiringpi: 12
|
wiringpi: 12
|
||||||
bcm: 10
|
bcm: 10
|
||||||
functions:
|
functions:
|
||||||
alt0: SPI0_MOSI
|
alt0: SPI0 MOSI
|
||||||
alt1: SD2
|
alt1: SMI SD2
|
||||||
alt2: Reserved
|
alt2: DPI Green 2
|
||||||
'20':
|
'20':
|
||||||
name: Ground
|
name: Ground
|
||||||
type: GND
|
type: GND
|
||||||
@ -174,9 +177,9 @@ pins:
|
|||||||
wiringpi: 13
|
wiringpi: 13
|
||||||
bcm: 9
|
bcm: 9
|
||||||
functions:
|
functions:
|
||||||
alt0: SPI0_MISO
|
alt0: SPI0 MISO
|
||||||
alt1: SD1
|
alt1: SMI SD1
|
||||||
alt2: Reserved
|
alt2: DPI Blue 7
|
||||||
'22':
|
'22':
|
||||||
name: ''
|
name: ''
|
||||||
type: GPIO
|
type: GPIO
|
||||||
@ -184,11 +187,11 @@ pins:
|
|||||||
wiringpi: 6
|
wiringpi: 6
|
||||||
bcm: 25
|
bcm: 25
|
||||||
functions:
|
functions:
|
||||||
alt0: Reserved
|
alt0: SD0 DAT1
|
||||||
alt1: SD17
|
alt1: SMI SD17
|
||||||
alt2: Reserved
|
alt2: Reserved
|
||||||
alt3: SD1_DAT1
|
alt3: SD1 DAT1
|
||||||
alt4: ARM_TCK
|
alt4: JTAG TCK
|
||||||
'23':
|
'23':
|
||||||
name: SCLK
|
name: SCLK
|
||||||
type: GPIO/SPI
|
type: GPIO/SPI
|
||||||
@ -196,9 +199,9 @@ pins:
|
|||||||
wiringpi: 14
|
wiringpi: 14
|
||||||
bcm: 11
|
bcm: 11
|
||||||
functions:
|
functions:
|
||||||
alt0: SPI0_SCLK
|
alt0: SPI0 SCLK
|
||||||
alt1: SD3
|
alt1: SMI SD3
|
||||||
alt2: Reserved
|
alt2: DPI Green 3
|
||||||
'24':
|
'24':
|
||||||
name: CE0
|
name: CE0
|
||||||
description: SPI Chip Select 0
|
description: SPI Chip Select 0
|
||||||
@ -207,9 +210,9 @@ pins:
|
|||||||
wiringpi: 10
|
wiringpi: 10
|
||||||
bcm: 8
|
bcm: 8
|
||||||
functions:
|
functions:
|
||||||
alt0: SPI0_CE0_N
|
alt0: SPI0 CE0
|
||||||
alt1: SD0
|
alt1: SMI SD0
|
||||||
alt2: Reserved
|
alt2: DPI Blue 6
|
||||||
'25':
|
'25':
|
||||||
name: Ground
|
name: Ground
|
||||||
type: GND
|
type: GND
|
||||||
@ -221,9 +224,9 @@ pins:
|
|||||||
wiringpi: 11
|
wiringpi: 11
|
||||||
bcm: 7
|
bcm: 7
|
||||||
functions:
|
functions:
|
||||||
alt0: SPI0_CE1_N
|
alt0: SPI0 CE1
|
||||||
alt1: SWE_N / SRW_N
|
alt1: SMI SWE_N / SRW_N
|
||||||
alt2: Reserved
|
alt2: DPI Blue 5
|
||||||
'27':
|
'27':
|
||||||
name: ID_SD
|
name: ID_SD
|
||||||
description: HAT EEPROM i2c Data
|
description: HAT EEPROM i2c Data
|
||||||
@ -232,9 +235,9 @@ pins:
|
|||||||
wiringpi: 30
|
wiringpi: 30
|
||||||
bcm: 0
|
bcm: 0
|
||||||
functions:
|
functions:
|
||||||
alt0: SDA0
|
alt0: I2C0 SDA
|
||||||
alt1: SA5
|
alt1: SMI SA5
|
||||||
alt2: Reserved
|
alt2: DPI CLK
|
||||||
'28':
|
'28':
|
||||||
name: ID_SC
|
name: ID_SC
|
||||||
description: HAT EEPROM i2c Clock
|
description: HAT EEPROM i2c Clock
|
||||||
@ -243,9 +246,9 @@ pins:
|
|||||||
wiringpi: 31
|
wiringpi: 31
|
||||||
bcm: 1
|
bcm: 1
|
||||||
functions:
|
functions:
|
||||||
alt0: SCL0
|
alt0: I2C0 SCL
|
||||||
alt1: SA4
|
alt1: SMI SA4
|
||||||
alt2: Reserved
|
alt2: DPI DEN
|
||||||
'29':
|
'29':
|
||||||
name: ''
|
name: ''
|
||||||
type: GPIO
|
type: GPIO
|
||||||
@ -254,9 +257,9 @@ pins:
|
|||||||
bcm: 5
|
bcm: 5
|
||||||
functions:
|
functions:
|
||||||
alt0: GPCLK1
|
alt0: GPCLK1
|
||||||
alt1: SA0
|
alt1: SMI SA0
|
||||||
alt2: Reserved
|
alt2: DPI Blue 3
|
||||||
alt5: ARM_TDO
|
alt5: JTAG TDO
|
||||||
'30':
|
'30':
|
||||||
name: Ground
|
name: Ground
|
||||||
type: GND
|
type: GND
|
||||||
@ -268,31 +271,31 @@ pins:
|
|||||||
bcm: 6
|
bcm: 6
|
||||||
functions:
|
functions:
|
||||||
alt0: GPCLK2
|
alt0: GPCLK2
|
||||||
alt1: SOE_N / SE
|
alt1: SMI SOE_N / SE
|
||||||
alt2: Reserved
|
alt2: DPI Blue 4
|
||||||
alt5: ARM_RTCK
|
alt5: JTAG RTCK
|
||||||
'32':
|
'32':
|
||||||
name: ''
|
name: PWM0
|
||||||
type: GPIO
|
type: GPIO
|
||||||
scheme:
|
scheme:
|
||||||
wiringpi: 26
|
wiringpi: 26
|
||||||
bcm: 12
|
bcm: 12
|
||||||
functions:
|
functions:
|
||||||
alt0: PWM0
|
alt0: PWM0
|
||||||
alt1: SD4
|
alt1: SMI SD4
|
||||||
alt2: Reserved
|
alt2: DPI Green 4
|
||||||
alt5: ARM_TMS
|
alt5: JTAG TMS
|
||||||
'33':
|
'33':
|
||||||
name: ''
|
name: PWM1
|
||||||
type: GPIO
|
type: GPIO
|
||||||
scheme:
|
scheme:
|
||||||
wiringpi: 23
|
wiringpi: 23
|
||||||
bcm: 13
|
bcm: 13
|
||||||
functions:
|
functions:
|
||||||
alt0: PWM1
|
alt0: PWM1
|
||||||
alt1: SD5
|
alt1: SMI SD5
|
||||||
alt2: Reserved
|
alt2: DPI Green 5
|
||||||
alt5: ARM_TCK
|
alt5: JTAG TCK
|
||||||
'34':
|
'34':
|
||||||
name: Ground
|
name: Ground
|
||||||
type: GND
|
type: GND
|
||||||
@ -304,11 +307,11 @@ pins:
|
|||||||
wiringpi: 24
|
wiringpi: 24
|
||||||
bcm: 19
|
bcm: 19
|
||||||
functions:
|
functions:
|
||||||
alt0: PCM_FS
|
alt0: PCM FS
|
||||||
alt1: SD11
|
alt1: SMI SD11
|
||||||
alt2: Reserved
|
alt2: DPI Red 5
|
||||||
alt3: BSCSL SCL / SCLK
|
alt3: BSCSL SCL / SCLK
|
||||||
alt4: SPI1_MISO
|
alt4: SPI1 MISO
|
||||||
alt5: PWM1
|
alt5: PWM1
|
||||||
'36':
|
'36':
|
||||||
name: ''
|
name: ''
|
||||||
@ -318,11 +321,11 @@ pins:
|
|||||||
bcm: 16
|
bcm: 16
|
||||||
functions:
|
functions:
|
||||||
alt0: Reserved
|
alt0: Reserved
|
||||||
alt1: SD8
|
alt1: SMI SD8
|
||||||
alt2: Reserved
|
alt2: DPI Red 2
|
||||||
alt3: CTS0
|
alt3: UART0 CTS
|
||||||
alt4: SPI1_CE2_N
|
alt4: SPI1 CE2
|
||||||
alt5: CTS1
|
alt5: UART1 CTS
|
||||||
'37':
|
'37':
|
||||||
name: ''
|
name: ''
|
||||||
type: GPIO
|
type: GPIO
|
||||||
@ -330,11 +333,11 @@ pins:
|
|||||||
wiringpi: 25
|
wiringpi: 25
|
||||||
bcm: 26
|
bcm: 26
|
||||||
functions:
|
functions:
|
||||||
alt0: Reserved
|
alt0: SD0 DAT2
|
||||||
alt1: Reserved
|
alt1: Reserved
|
||||||
alt2: Reserved
|
alt2: Reserved
|
||||||
alt3: SD1_DAT2
|
alt3: SD1 DAT2
|
||||||
alt4: ARM_TDI
|
alt4: JTAG TDI
|
||||||
'38':
|
'38':
|
||||||
name: MOSI
|
name: MOSI
|
||||||
description: SPI Master-Out
|
description: SPI Master-Out
|
||||||
@ -343,11 +346,11 @@ pins:
|
|||||||
wiringpi: 28
|
wiringpi: 28
|
||||||
bcm: 20
|
bcm: 20
|
||||||
functions:
|
functions:
|
||||||
alt0: PCM_DIN
|
alt0: PCM DIN
|
||||||
alt1: SD12
|
alt1: SMI SD12
|
||||||
alt2: Reserved
|
alt2: DPI Red 6
|
||||||
alt3: BSCSL / MISO
|
alt3: BSCSL MISO
|
||||||
alt4: SPI1_MOSI
|
alt4: SPI1 MOSI
|
||||||
alt5: CPCLK0
|
alt5: CPCLK0
|
||||||
'39':
|
'39':
|
||||||
name: Ground
|
name: Ground
|
||||||
@ -360,9 +363,9 @@ pins:
|
|||||||
wiringpi: 29
|
wiringpi: 29
|
||||||
bcm: 21
|
bcm: 21
|
||||||
functions:
|
functions:
|
||||||
alt0: PCM_DOUT
|
alt0: PCM DOUT
|
||||||
alt1: SD13
|
alt1: SMI SD13
|
||||||
alt2: Reserved
|
alt2: DPI Red 7
|
||||||
alt3: BSCSL / CE_N
|
alt3: BSCSL CE
|
||||||
alt4: SPI1_SCLK
|
alt4: SPI1 SCLK
|
||||||
alt5: GPCLK1
|
alt5: GPCLK1
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
###The 3v3, 3.3 volt, supply pin on the Pi has a max available current of about 50 mA. Enough to power a couple of LEDs or a microprocessor, but not much more.
|
###O 3v3, 3.3 volt, pino de alimentação no Pi tem um máximo de corrente disponível de cerca de 50 mA. É suficiente para alimentar um par de LEDs ou um microprocessador, mas não muito mais.
|
||||||
|
|
||||||
You should generally use the 5v supply, coupled with a 3v3 regulator for 3.3v projects.
|
Deves geralmente usar a alimentação de 5v, em conjunto com o regulador 3v3 para projetos 3.3v
|
1
src/pt/pin/pin-17.md
Symbolic link
1
src/pt/pin/pin-17.md
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
./pin-1.md
|
@ -1,5 +1,6 @@
|
|||||||
###The 5v power pins are connected directly to the Pi's power input and will capably provide the full current of your mains adaptor, less that used by the Pi itself.
|
###Os pinos de alimentação 5v estão conectados diretamente à entrada de energia do Pi e consegue fornecer a corrente completa do teu adaptador mains, menos do que é usado pelo Pi.
|
||||||
|
|
||||||
With a decent power supply, such as the official Pi adaptor, you can expect to pull about 1.5A.
|
Com uma fonte de energia decente, como o adaptador Pi oficial, podes esperar conseguir cerca de 1.5A.
|
||||||
|
|
||||||
Don't be disuaded by what sounds like a measly low voltage. You can do a lot with 5v. Power Arduinos, and even run a small Electroluminescent wire inverter right off the 5v pin!
|
Não te deixes dissuadir pelo que parece ser uma fraca voltagem. Consegues fazer bastante com 5v.
|
||||||
|
Power Arduinos, e mesmo um pequeno fio inversor Eletroluminiscente logo a partir do pino±
|
@ -1,6 +1,4 @@
|
|||||||
SDA is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
|
SDA (i2c Data) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
|
||||||
|
|
||||||
It's easy to get started writing a digital HIGH or LOW to a GPIO pin, but you've got to remember a few things:
|
SDA includes a fixed, 1.8 kohms pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired.
|
||||||
|
|
||||||
* Run your script as root
|
|
||||||
* Set your pin's mode to OUTPUT (1)
|
|
||||||
|
@ -1 +1,3 @@
|
|||||||
SCL is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
|
SCL (i2c Clock) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
|
||||||
|
|
||||||
|
SCL includes a fixed, 1.8 kohms pull-up to 3.3v, which means this pin is not suitable for use as a general purpose IO where no pullup resistor is desired.
|
@ -1 +1 @@
|
|||||||
Ground!
|
Terra!
|
@ -5,7 +5,7 @@ default_title: Raspberry Pi GPIO Pinout - Pi 1, B+, Pi 2
|
|||||||
title_suffix: " at Raspberry Pi GPIO Pinout"
|
title_suffix: " at Raspberry Pi GPIO Pinout"
|
||||||
base_url: /pinout/
|
base_url: /pinout/
|
||||||
resource_url: /resources/
|
resource_url: /resources/
|
||||||
domain: pt.pinout.xyz
|
domain: pinout.xyz
|
||||||
url_suffix:
|
url_suffix:
|
||||||
urls:
|
urls:
|
||||||
GND: ground
|
GND: ground
|
||||||
@ -24,6 +24,10 @@ strings:
|
|||||||
- more_information: 'More Information'
|
- more_information: 'More Information'
|
||||||
- github_repository: 'GitHub Repository'
|
- github_repository: 'GitHub Repository'
|
||||||
- buy_now: 'Buy Now'
|
- buy_now: 'Buy Now'
|
||||||
|
featured:
|
||||||
|
- piano-hat
|
||||||
|
- propeller-hat
|
||||||
|
- ab-adc-pi-zero
|
||||||
overlays:
|
overlays:
|
||||||
- ground
|
- ground
|
||||||
- uart
|
- uart
|
||||||
@ -31,18 +35,38 @@ overlays:
|
|||||||
- spi
|
- spi
|
||||||
- arduino-spi
|
- arduino-spi
|
||||||
- wiringpi
|
- wiringpi
|
||||||
- iqaudio-pi-dac
|
- cirruslogicaudiocard
|
||||||
- display-o-tron
|
- display-o-tron
|
||||||
- display-o-tron-hat
|
- display-o-tron-hat
|
||||||
- dots
|
- discohat
|
||||||
|
- drum-hat
|
||||||
|
- espiot-phat
|
||||||
- explorer-hat
|
- explorer-hat
|
||||||
- explorer-hat-pro
|
- explorer-hat-pro
|
||||||
|
- explorer-phat
|
||||||
|
- phat-dac
|
||||||
|
- propeller-hat
|
||||||
|
- iqaudio-pi-dac
|
||||||
- piano-hat
|
- piano-hat
|
||||||
- piborg-ledborg
|
- piborg-ledborg
|
||||||
- pibrella
|
- pibrella
|
||||||
- piglow
|
- piglow
|
||||||
|
- dots
|
||||||
- rtk-000-001
|
- rtk-000-001
|
||||||
|
- scroll-phat
|
||||||
- sense-hat
|
- sense-hat
|
||||||
- skywriter-hat
|
- skywriter-hat
|
||||||
- traffic-hat
|
- traffic-hat
|
||||||
- unicorn-hat
|
- unicorn-hat
|
||||||
|
- ab-1-wire-plus
|
||||||
|
- ab-adc-differential-pi
|
||||||
|
- ab-adc-pi-plus
|
||||||
|
- ab-adc-pi-zero
|
||||||
|
- ab-io-pi-plus
|
||||||
|
- ab-rtc-pi-plus
|
||||||
|
- ab-serial-pi-plus
|
||||||
|
- iface-gpclk
|
||||||
|
- iface-dpi
|
||||||
|
- iface-pcm
|
||||||
|
- iface-sd
|
||||||
|
- iface-jtag
|
@ -1,9 +1,10 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html lang="{{langcode}}">
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
|
||||||
<title>{{title}}</title>
|
<title>{{title}}</title>
|
||||||
<meta name="description" content="{{description}}" />
|
<meta name="description" content="{{description}}" />
|
||||||
<link href='//fonts.googleapis.com/css?family=Sanchez|Ubuntu+Mono' rel='stylesheet' type='text/css' />
|
<link href='//fonts.googleapis.com/css?family=Ubuntu+Mono' rel='stylesheet' type='text/css' />
|
||||||
<link href='{{resource_url}}prettify/prettify.css' rel='stylesheet' />
|
<link href='{{resource_url}}prettify/prettify.css' rel='stylesheet' />
|
||||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||||
<link href="{{resource_url}}pinout.css?v={{v}}" rel="stylesheet">
|
<link href="{{resource_url}}pinout.css?v={{v}}" rel="stylesheet">
|
||||||
@ -23,36 +24,40 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<ul class="main-nav">
|
|
||||||
<li><a href="http://pi.gadgetoid.com/">Pi Blog</a></li>
|
|
||||||
<li><a href="http://eagle.gadgetoid.com">Learn Eagle</a></li>
|
|
||||||
<li><a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a></li>
|
|
||||||
<li><a href="https://github.com/Gadgetoid/Pinout2"><i class="fa fa-github"></i> Contribute</a></li>
|
|
||||||
{{lang_links}}
|
|
||||||
</ul>
|
|
||||||
<h1 class="logo"><a title="Raspberry Pi GPIO Pinout home" href="/"><img src="{{resource_url}}pinout-logo.png" style="top:8px;" /><span>Raspberry Pi</span>n<span class="out">out</span></a></h1>
|
<h1 class="logo"><a title="Raspberry Pi GPIO Pinout home" href="/"><img src="{{resource_url}}pinout-logo.png" style="top:8px;" /><span>Raspberry Pi</span>n<span class="out">out</span></a></h1>
|
||||||
<div class="overlay-container">
|
|
||||||
<span>Learn about Pi pins and add-ons <i class="fa fa-arrow-right"></i></span>
|
|
||||||
<div class="drop-down">
|
|
||||||
<span>Select…</span>
|
|
||||||
<ul class="overlay">
|
|
||||||
{{overlays}}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<nav id="gpio">
|
<nav id="gpio">
|
||||||
<div id="pinbase"></div>
|
<div id="pinbase"></div>
|
||||||
<div id="pinbasebplus"></div>
|
<div id="pinbasebplus"></div>
|
||||||
{{nav}}
|
{{nav}}
|
||||||
</nav>
|
</nav>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
<div id="sections">
|
||||||
|
<ul>
|
||||||
|
<li class="boards"><a href="" title="Add-on boards for Raspberry Pi">Boards</a>
|
||||||
|
<div class="dropdown">{{nav_html_board}}</div>
|
||||||
|
</li>
|
||||||
|
<li class="interfaces"><a href="" title="Raspberry Pi hardware interfaces">Interfaces</a>
|
||||||
|
<div class="dropdown">{{nav_html_interface}}</div>
|
||||||
|
</li>
|
||||||
|
<li class="guides"><a href="" title="Connection guides for Raspberry Pi GPIO">Guides</a>
|
||||||
|
<div class="dropdown">{{nav_html_guide}}</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="lang">
|
||||||
|
<ul class="lang-nav">
|
||||||
|
{{lang_links}}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
<div id="pages">
|
<div id="pages">
|
||||||
{{content}}
|
{{content}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer" style="clear: both;padding: 20px 0px;text-align:center;">
|
<div class="footer" style="clear: both;padding: 20px 0px;text-align:center;">
|
||||||
<p>Thanks to <a href="https://twitter.com/roguehal13">@RogueHAL13</a>, <a href="https://twitter.com/ardadev">@ardadev</a></p>
|
|
||||||
<p>Spotted an error, want to add your board's pinout? <a href="https://github.com/gadgetoid/Pinout2">Head on over to our GitHub repository</a> and submit an Issue or a Pull Request!</p>
|
<p>Spotted an error, want to add your board's pinout? <a href="https://github.com/gadgetoid/Pinout2">Head on over to our GitHub repository</a> and submit an Issue or a Pull Request!</p>
|
||||||
|
<p>Originally part of <a href="http://pi.gadgetoid.com">pi.gadgetoid.com</a></p>
|
||||||
|
<p>Maintained by <a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a> and <a href="https://twitter.com/roguehal13"><i class="fa fa-twitter"></i> @RogueHAL13</a></p>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -60,7 +65,6 @@
|
|||||||
<script type="text/javascript" src="//cdn.jsdelivr.net/prettify/0.1/prettify.js"></script>
|
<script type="text/javascript" src="//cdn.jsdelivr.net/prettify/0.1/prettify.js"></script>
|
||||||
<script src='{{resource_url}}prettify/lang-ruby.js'></script>
|
<script src='{{resource_url}}prettify/lang-ruby.js'></script>
|
||||||
<script src='{{resource_url}}prettify/lang-bash.js'></script>
|
<script src='{{resource_url}}prettify/lang-bash.js'></script>
|
||||||
<script src='{{resource_url}}gaat.js'></script>
|
|
||||||
<script src='{{resource_url}}pinout.js?v={{v}}'></script>
|
<script src='{{resource_url}}pinout.js?v={{v}}'></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user