Merge pull request #90 from Maslor/master

Master
This commit is contained in:
Philip Howard 2016-03-15 22:44:22 +00:00
commit f193df94bd
52 changed files with 1480 additions and 386 deletions

7
src/pt/404.md Normal file
View 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.

View File

@ -1,6 +1,6 @@
#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.
@ -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.
* 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.
##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.
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.

View 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")

View 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.

View 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.

View 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.

View 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.

View 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.

View 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)

View File

@ -1,24 +1,27 @@
<!--
---
class: guide
type: info
name: Arduino SPI
description: Program Arduino with Raspberry Pi SPI
pincount: 4
pin:
19:
'19':
name: MOSI
direction: output
active: high
description: Master Out / Slave In
21:
'21':
name: MISO
direction: input
active: high
description: Master In / Slave Out
23:
'23':
name: SCKL
direction: output
active: high
description: Clock
24:
'24':
name: CE0
direction: output
active: high

View 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)

View 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

View File

@ -1,44 +1,52 @@
<!--
---
class: board
type: lcd
name: Display-o-Tron HAT
manufacturer: Pimoroni
url: https://github.com/pimoroni/dot3k
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
eeprom: yes
power:
'1':
'2':
ground:
'6':
pin:
3:
'3':
mode: i2c
5:
'5':
mode: i2c
22:
name: LCD CMD/DATA
mode: output
active: high
19:
'19':
mode: spi
22:
'22':
name: LCD Register Select
mode: output
23:
active: high
'23':
mode: spi
24:
'24':
name: LCD Chip Select
mode: chipselect
active: high
32:
'32':
name: LCD Reset
mode: output
active: low
-->
#Display-o-Tron HAT
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.
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
curl get.pimoroni.com/dot3k | bash
curl -sS get.pimoroni.com/displayotron | bash
```
And follow the instructions!

View File

@ -1,10 +1,54 @@
<!--
---
class: board
type: lcd
name: Display-o-Tron 3000
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
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:
'devices':
- 'i2c'
@ -17,47 +61,15 @@ install:
'python':
- 'dot3k'
'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
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
curl get.pimoroni.com/dot3k | bash
curl -sS get.pimoroni.com/displayotron | bash
```
And follow the instructions!

View File

@ -1,11 +1,15 @@
<!--
---
class: board
type: other
name: Raspberry Pi Dots
manufacturer: Raspberry Pi Foundation
description: Join the dots to make a circuit
url: http://www.raspberrypi.org/dots/
github: https://github.com/raspberrypilearning/dots
formfactor: '40-way'
pincount: 40
eeprom: no
pin:
bcm0:
name: 'Color: Blue'
@ -94,7 +98,7 @@ pin:
-->
#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.
@ -102,13 +106,12 @@ To read a Dot you should set its corresponding pin as an INPUT and make sure it'
```python
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM )
GPIO.setmode(GPIO.BCM)
GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP)
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
this is recommended for reading:
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:
```python
def is_dot_connected(dot_pin):
@ -116,4 +119,4 @@ def is_dot_connected(dot_pin):
state = GPIO.input( dot_pin )
GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_OFF)
return state == 0
```
```

View 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!

View 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
```

View File

@ -1,42 +1,29 @@
<!--
---
class: board
type: multi
name: Explorer HAT Pro
manufacturer: Pimoroni
description: An all-in-one light, input, motor, touch and output add-on board.
url: https://github.com/pimoroni/explorer-hat
github: https://github.com/pimoroni/explorer-hat
buy: http://shop.pimoroni.com/products/explorer-hat
description: An all-in-one light, input, motor, touch and output add-on board.
install:
'apt':
- 'python-smbus'
- 'python3-smbus'
- 'python-dev'
- 'python3-dev'
'python':
- 'explorerhat'
'examples': 'examples/'
formfactor: 'HAT'
pincount: 40
i2c:
'0x28':
name: Cap Touch
device: cap1208
'0x48':
name: Analog Input
device: ads1015
eeprom: yes
pin:
'3': {}
'5': {}
'3':
mode: i2c
'5':
mode: i2c
'7':
name: LED 1
mode: output
active: high
'8': {}
'10': {}
'11':
name: LED 2
mode: output
active: high
'12': {}
'13':
name: LED 3
mode: output
@ -53,14 +40,10 @@ pin:
name: Input 3
mode: input
active: high
'19': {}
'21': {}
'22':
name: Input 4
mode: input
active: high
'23': {}
'24': {}
'29':
name: LED 4
mode: output
@ -97,14 +80,35 @@ pin:
name: Motor 2 +
mode: output
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
sudo apt-get install python-pip
sudo pip install explorer-hat
curl -sS get.pimoroni.com/explorerhat | bash
```
Then import it into your Python script and start tinkering:

View File

@ -1,25 +1,16 @@
<!--
---
class: board
type: multi
name: Explorer HAT
manufacturer: Pimoroni
description: An all-in-one light, input, touch and output add-on board.
url: https://github.com/pimoroni/explorer-hat
github: https://github.com/pimoroni/explorer-hat
buy: http://shop.pimoroni.com/products/explorer-hat
description: An all-in-one light, input, touch and output add-on board.
install:
'devices':
- 'i2c'
'apt':
- 'python-smbus'
- 'python3-smbus'
- 'python-dev'
- 'python3-dev'
'python':
- 'explorerhat'
'python3':
- 'explorerhat'
'examples': 'examples/'
formfactor: 'HAT'
pincount: 40
eeprom: yes
pin:
'7':
name: LED 1
@ -69,14 +60,32 @@ pin:
name: Output 4
mode: output
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
sudo apt-get install python-pip
sudo pip install explorer-hat
curl -sS get.pimoroni.com/explorerhat | bash
```
Then import it into your Python script and start tinkering:

View 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
```

View File

@ -1,7 +1,10 @@
<!--
---
class: interface
type: pinout
name: Ground
description: Raspberry Pi Ground Pins
pincount: 1
pin:
'6':
'9':

View File

@ -1,5 +1,7 @@
<!--
---
class: interface
type: pinout
name: I2C
description: Raspberry Pi i2c pins
pin:
@ -19,12 +21,13 @@ pin:
name: EEPROM Clock
direction: both
active: high
-->
#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 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:
```bash
@ -46,4 +49,4 @@ DEVICE_BUS = 1
DEVICE_ADDR = 0x15
bus = smbus.SMBus(DEVICE_BUS)
bus.write_byte_data(DEVICE_ADDR, 0x00, 0x01)
```
```

View 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.

View 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
```

View 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

View 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.

View 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.

View File

@ -1,38 +1,42 @@
<!--
---
class: board
type: audio
name: "Pi-DAC+"
manufacturer: IQaudIO
buy: http://www.iqaudio.co.uk
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:
'devices':
- '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+
@ -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
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
these parts are optional, but are broken out on the Pi-DAC+ for convenient access.

View 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
```

View File

@ -1,10 +1,34 @@
<!--
---
class: board
type: instrument
name: Piano HAT
image: 'piano-hat.png'
manufacturer: Pimoroni
url: https://github.com/pimoroni/piano-hat
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
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:
'0x28':
name: Cap Touch A
@ -14,23 +38,6 @@ i2c:
name: Cap Touch B
device: cap1188
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
@ -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.
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
curl get.pimoroni.com/pianohat | bash
curl -sS get.pimoroni.com/pianohat | bash
```
And follow the instructions!

View File

@ -1,9 +1,15 @@
<!--
---
class: board
type: led
name: PiBorg LEDBorg
manufacturer: PiBorg
description: A single RGB LED for your Raspberry Pi
url: https://www.piborg.org/ledborg-new/install
buy: https://www.piborg.org/ledborg
formfactor: '26-way'
pincount: 26
eeprom: no
pin:
'11':
name: Red LED
@ -23,7 +29,7 @@ pin:
-->
###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:
@ -33,7 +39,6 @@ WiringPi pin 3: Blue LED
This is easy using WiringPi in Python:
```python
import wiringpi2 as wiringpi
wiringpi.wiringPiSetup()
@ -46,4 +51,4 @@ wiringpi.softPwmCreate(3,0,100)
wiringpi.softPwmWrite(3,100) # Full Blue
wiringpi.softPwmWrite(0,100) # Full Red
wiringpi.softPWMWrite(2,0) # No Green
```
```

View File

@ -1,10 +1,14 @@
<!--
---
class: board
type: multi
name: Pibrella
manufacturer: Pimoroni Vs Cyntech
url: https://github.com/pimoroni/pibrella
description: An all-in-one light, sound, input and output add-on board.
url: https://github.com/pimoroni/pibrella
formfactor: '26-way'
pincount: 26
eeprom: no
pin:
'7':
name: Green LED
@ -23,15 +27,15 @@ pin:
direction: output
active: high
'15':
name: Output A
name: Output E
direction: output
active: high
'16':
name: Output B
name: Output F
direction: output
active: high
'18':
name: Output C
name: Output G
direction: output
active: high
'19':
@ -43,7 +47,7 @@ pin:
direction: input
active: high
'22':
name: Output D
name: Output H
direction: output
active: high
'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:
```bash
sudo apt-get install python-pip
sudo pip install pibrella
curl -sS get.pimoroni.com/pibrella | bash
```
Then import it into your Python script and start tinkering:
@ -75,4 +78,4 @@ Then import it into your Python script and start tinkering:
```bash
import pibrella
pibrella.light.red.on()
```
```

View File

@ -1,20 +1,38 @@
<!--
---
class: board
type: led
name: PiGlow
manufacturer: Pimoroni
description: Simply 18 LEDs in a spiral pattern controllable in Python.
url: https://github.com/pimoroni/piglow
github: https://github.com/pimoroni/piglow
buy: http://shop.pimoroni.com/products/piglow
description: Simply 18 LEDs in a spiral pattern controllable in Python.
formfactor: '26-way'
pincount: 26
eeprom: no
power:
'1':
'2':
'17':
ground:
'14':
pin:
'1': {}
'2': {}
'3':
mode: i2c
'5':
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!

View 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.

View File

@ -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
url: http://www.ryanteck.uk/store/ryanteck-rpi-motor-controller-board
buy: http://www.ryanteck.uk/store/ryanteck-rpi-motor-controller-board
description: A budget motor controller with quick start guides.
description: A quick and easy way to start driving motors on your Raspberry Pi
url: https://ryanteck.uk/add-ons/6-ryanteck-rpi-motor-controller-board-0635648607160.html
buy: https://ryanteck.uk/add-ons/6-ryanteck-rpi-motor-controller-board-0635648607160.html
formfactor: '26-way'
pincount: 26
eeprom: no
pin:
'11':
name: Motor 1 A
@ -55,4 +60,4 @@ while (True):
#And loop back around
#And final cleanup
GPIO.cleanup()
```
```

View 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
```

View File

@ -1,41 +1,31 @@
<!--
---
class: board
type: multi
name: "Sense HAT"
manufacturer: Raspberry Pi Foundation
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/
description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystick as well as IMU and environmental sensors
formfactor: 'HAT'
pincount: 40
eeprom: yes
pin:
'3':
mode: i2c
'5':
mode: i2c
install:
'devices':
- '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
LED Matrix: LED2472G -> ATTINY88 -> SPI
Joystick: SKRHABE010 -> ATTINY88 -> GPIO23/24/25
Axis/IMU: LSM9DS1 -> i2c 0x1c(1e),0x6a(6b) (INT on MCU)
Pressure/Temp: LPS25H -> i2c 0x5c
Humidity/Temp: HTS221 -> i2c 0x5f
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.
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.
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.

View File

@ -1,21 +1,20 @@
<!--
---
class: board
type: gesture
name: Skywriter HAT
manufacturer: Pimoroni
description: A 3D positional and gesture sensor.
url: https://github.com/pimoroni/skywriter-hat
github: https://github.com/pimoroni/skywriter-hat
buy: http://shop.pimoroni.com/products/skywriter-hat
description: A 3D positional and gesture sensor.
install:
'apt':
- 'python-smbus'
- 'python3-smbus'
- 'python-dev'
- 'python3-dev'
'python':
- 'skywriter'
'examples': 'python/examples/'
formfactor: 'HAT'
pincount: 40
eeprom: yes
i2c:
'0x42':
name: Gesture sensor
device: MGC3130
pin:
'3':
mode: i2c
@ -25,6 +24,15 @@ pin:
name: Reset
'13':
name: Transfer
install:
'apt':
- 'python-smbus'
- 'python3-smbus'
- 'python-dev'
- 'python3-dev'
'python':
- 'skywriter'
'examples': 'python/examples/'
-->
#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.
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!

View File

@ -1,5 +1,7 @@
<!--
---
class: interface
type: pinout
name: SPI
description: Raspberry Pi SPI pins
pincount: 5
@ -63,4 +65,4 @@ You can also use the SPI port to "Bit-Bang" an ATmega 328, loading Arduino sketc
Hook up you Pi's SPI port to that of your ATmega, and power the ATmega from the 3.3v pin on the Pi. Make sure you're not running any SPI device drivers, and run "avrdude -p m328p -c gpio" to verify the connection.
See the individual pins to learn how to connect up your ATmega.
See the individual pins to learn how to connect up your ATmega.

View File

@ -1,12 +1,15 @@
<!--
---
class: board
type: multi
name: Traffic HAT
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
buy: http://www.ryanteck.uk/store/traffichat
description: A quick and easy way to learn the basics of GPIO on a budget. All in
a nice HAT.
formfactor: 'HAT'
pincount: 40
eeprom: yes
pin:
'15':
name: LED1 / Green
@ -49,4 +52,4 @@ IO.setup(5,IO.OUT)
#Button
IO.setup(25,IO.IN,pull_up_down=IO.PUD_UP)
```
```

View File

@ -1,7 +1,10 @@
<!--
---
class: interface
type: pinout
name: UART
description: Raspberry Pi UART pins
pincount: 2
pin:
'8':
name: TXD / Transmit
@ -27,4 +30,4 @@ import wiringpi2 as wiringpi
wiringpi.wiringPiSetup()
serial = wiringpi.serialOpen('/dev/ttyAMA0',9600)
wiringpi.serialPuts(serial,'hello world!')
```
```

View File

@ -1,11 +1,27 @@
<!--
---
class: board
type: led
name: Unicorn HAT
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
url: http://shop.pimoroni.com/products/unicorn-hat
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:
'apt':
- 'python-dev'
@ -15,14 +31,6 @@ install:
'python3':
- 'unicornhat'
'examples': 'python/examples/'
pincount: 40
pin:
'12':
name: Data
direction: output
mode: pwm
active: high
description: WS2812 Data
-->
#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
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
curl get.pimoroni.com/unicornhat | bash
curl -sS get.pimoroni.com/unicornhat | bash
```
Then import it into your Python script and start tinkering:

View File

@ -1,7 +1,11 @@
<!--
---
class: interface
type: pinout
name: WiringPi GPIO Pinout
page_url: wiringpi
url: http://wiringpi.com
github: https://github.com/WiringPi/WiringPi2-Python
pincount: 40
pin:
'3':
name: WiringPi 8
@ -60,22 +64,18 @@ pin:
###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.
For more information about WiringPi you should visit the official WiringPi website.
##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, 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:
```bash
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.

View File

@ -16,8 +16,9 @@ pins:
bcm: 2
bcmAlt: 0
functions:
alt0: SDA1
alt1: SA3
alt0: I2C1 SDA
alt1: SMI SA3
alt2: DPI V-Sync
'4':
name: 5v Power
type: "+5v"
@ -30,8 +31,9 @@ pins:
bcm: 3
bcmAlt: 1
functions:
alt0: SCL1
alt1: SA2
alt0: I2C1 SCL
alt1: SMI SA2
alt2: DPI H-Sync
'6':
name: Ground
type: GND
@ -43,8 +45,9 @@ pins:
bcm: 4
functions:
alt0: GPCLK0
alt1: SA1
alt5: ARM_TDI
alt1: SMI SA1
alt: Blue 2
alt5: JTAG TDI
'8':
name: TXD
description: UART Transmit
@ -53,10 +56,10 @@ pins:
wiringpi: 15
bcm: 14
functions:
alt0: TXD0
alt1: SD6
alt2: Reserved
alt5: TXD1
alt0: UART0 TXD
alt1: SMI SD6
alt2: DSI Green 6
alt5: UART1 TXD
'9':
name: Ground
type: GND
@ -68,10 +71,10 @@ pins:
wiringpi: 16
bcm: 15
functions:
alt0: RXD0
alt1: SD7
alt2: Reserved
alt5: RXD1
alt0: UART0 RXD
alt1: SMI SD7
alt2: DPI Green 7
alt5: UART1 RXD
'11':
name: ''
type: GPIO
@ -80,38 +83,38 @@ pins:
bcm: 17
functions:
alt0: Reserved
alt1: SD9
alt2: Reserved
alt3: RTS0
alt4: SPI1_CE1_N
alt5: RTS1
alt1: SMI SD9
alt2: DPI Red 3
alt3: UART0 RTS
alt4: SPI1 CE1
alt5: UART1 RTS
'12':
name: PCM_C
description: PCM Clock
name: PWM0
description: PWM0
type: GPIO
scheme:
wiringpi: 1
bcm: 18
functions:
alt0: PCM_CLK
alt1: SD10
alt2: Reserved
alt0: PCM CLK
alt1: SMI SD10
alt2: DPI Red 4
alt3: BSCSL SDA / MOSI
alt4: SPI1_CE0_N
alt4: SPI1 CE0
alt5: PWM0
'13':
name: PCM_D
name: ''
type: GPIO
scheme:
wiringpi: 2
bcm: 27
bcmAlt: 21
functions:
alt0: Reserved
alt0: SD0 DAT3
alt1: Reserved
alt2: Reserved
alt3: SD1_DAT3
alt4: ARM_TMS
alt3: SD1 DAT3
alt4: JTAG TMS
'14':
name: Ground
type: GND
@ -122,11 +125,11 @@ pins:
wiringpi: 3
bcm: 22
functions:
alt0: Reserved
alt1: SD14
alt0: SD0 CLK
alt1: SMI SD14
alt2: Reserved
alt3: SD1_CLK
alt4: ARM_TRST
alt3: SD1 CLK
alt4: JTAG TRST
'16':
name: ''
type: GPIO
@ -134,11 +137,11 @@ pins:
wiringpi: 4
bcm: 23
functions:
alt0: Reserved
alt1: SD15
alt0: SD0 CMD
alt1: SMI SD15
alt2: Reserved
alt3: SD1_CMD
alt4: ARM_RTCK
alt3: SD1 CMD
alt4: JTAG RTCK
'17':
name: 3v3 Power
type: "+3v3"
@ -149,11 +152,11 @@ pins:
wiringpi: 5
bcm: 24
functions:
alt0: Reserved
alt1: SD16
alt0: SD0 DAT0
alt1: SMI SD16
alt2: Reserved
alt3: SD1_DAT0
alt4: ARM_TDO
alt3: SD1 DAT0
alt4: JTAG TDO
'19':
name: MOSI
type: GPIO/SPI
@ -161,9 +164,9 @@ pins:
wiringpi: 12
bcm: 10
functions:
alt0: SPI0_MOSI
alt1: SD2
alt2: Reserved
alt0: SPI0 MOSI
alt1: SMI SD2
alt2: DPI Green 2
'20':
name: Ground
type: GND
@ -174,9 +177,9 @@ pins:
wiringpi: 13
bcm: 9
functions:
alt0: SPI0_MISO
alt1: SD1
alt2: Reserved
alt0: SPI0 MISO
alt1: SMI SD1
alt2: DPI Blue 7
'22':
name: ''
type: GPIO
@ -184,11 +187,11 @@ pins:
wiringpi: 6
bcm: 25
functions:
alt0: Reserved
alt1: SD17
alt0: SD0 DAT1
alt1: SMI SD17
alt2: Reserved
alt3: SD1_DAT1
alt4: ARM_TCK
alt3: SD1 DAT1
alt4: JTAG TCK
'23':
name: SCLK
type: GPIO/SPI
@ -196,9 +199,9 @@ pins:
wiringpi: 14
bcm: 11
functions:
alt0: SPI0_SCLK
alt1: SD3
alt2: Reserved
alt0: SPI0 SCLK
alt1: SMI SD3
alt2: DPI Green 3
'24':
name: CE0
description: SPI Chip Select 0
@ -207,9 +210,9 @@ pins:
wiringpi: 10
bcm: 8
functions:
alt0: SPI0_CE0_N
alt1: SD0
alt2: Reserved
alt0: SPI0 CE0
alt1: SMI SD0
alt2: DPI Blue 6
'25':
name: Ground
type: GND
@ -221,9 +224,9 @@ pins:
wiringpi: 11
bcm: 7
functions:
alt0: SPI0_CE1_N
alt1: SWE_N / SRW_N
alt2: Reserved
alt0: SPI0 CE1
alt1: SMI SWE_N / SRW_N
alt2: DPI Blue 5
'27':
name: ID_SD
description: HAT EEPROM i2c Data
@ -232,9 +235,9 @@ pins:
wiringpi: 30
bcm: 0
functions:
alt0: SDA0
alt1: SA5
alt2: Reserved
alt0: I2C0 SDA
alt1: SMI SA5
alt2: DPI CLK
'28':
name: ID_SC
description: HAT EEPROM i2c Clock
@ -243,9 +246,9 @@ pins:
wiringpi: 31
bcm: 1
functions:
alt0: SCL0
alt1: SA4
alt2: Reserved
alt0: I2C0 SCL
alt1: SMI SA4
alt2: DPI DEN
'29':
name: ''
type: GPIO
@ -254,9 +257,9 @@ pins:
bcm: 5
functions:
alt0: GPCLK1
alt1: SA0
alt2: Reserved
alt5: ARM_TDO
alt1: SMI SA0
alt2: DPI Blue 3
alt5: JTAG TDO
'30':
name: Ground
type: GND
@ -268,31 +271,31 @@ pins:
bcm: 6
functions:
alt0: GPCLK2
alt1: SOE_N / SE
alt2: Reserved
alt5: ARM_RTCK
alt1: SMI SOE_N / SE
alt2: DPI Blue 4
alt5: JTAG RTCK
'32':
name: ''
name: PWM0
type: GPIO
scheme:
wiringpi: 26
bcm: 12
functions:
alt0: PWM0
alt1: SD4
alt2: Reserved
alt5: ARM_TMS
alt1: SMI SD4
alt2: DPI Green 4
alt5: JTAG TMS
'33':
name: ''
name: PWM1
type: GPIO
scheme:
wiringpi: 23
bcm: 13
functions:
alt0: PWM1
alt1: SD5
alt2: Reserved
alt5: ARM_TCK
alt1: SMI SD5
alt2: DPI Green 5
alt5: JTAG TCK
'34':
name: Ground
type: GND
@ -304,11 +307,11 @@ pins:
wiringpi: 24
bcm: 19
functions:
alt0: PCM_FS
alt1: SD11
alt2: Reserved
alt0: PCM FS
alt1: SMI SD11
alt2: DPI Red 5
alt3: BSCSL SCL / SCLK
alt4: SPI1_MISO
alt4: SPI1 MISO
alt5: PWM1
'36':
name: ''
@ -318,11 +321,11 @@ pins:
bcm: 16
functions:
alt0: Reserved
alt1: SD8
alt2: Reserved
alt3: CTS0
alt4: SPI1_CE2_N
alt5: CTS1
alt1: SMI SD8
alt2: DPI Red 2
alt3: UART0 CTS
alt4: SPI1 CE2
alt5: UART1 CTS
'37':
name: ''
type: GPIO
@ -330,11 +333,11 @@ pins:
wiringpi: 25
bcm: 26
functions:
alt0: Reserved
alt0: SD0 DAT2
alt1: Reserved
alt2: Reserved
alt3: SD1_DAT2
alt4: ARM_TDI
alt3: SD1 DAT2
alt4: JTAG TDI
'38':
name: MOSI
description: SPI Master-Out
@ -343,11 +346,11 @@ pins:
wiringpi: 28
bcm: 20
functions:
alt0: PCM_DIN
alt1: SD12
alt2: Reserved
alt3: BSCSL / MISO
alt4: SPI1_MOSI
alt0: PCM DIN
alt1: SMI SD12
alt2: DPI Red 6
alt3: BSCSL MISO
alt4: SPI1 MOSI
alt5: CPCLK0
'39':
name: Ground
@ -360,9 +363,9 @@ pins:
wiringpi: 29
bcm: 21
functions:
alt0: PCM_DOUT
alt1: SD13
alt2: Reserved
alt3: BSCSL / CE_N
alt4: SPI1_SCLK
alt0: PCM DOUT
alt1: SMI SD13
alt2: DPI Red 7
alt3: BSCSL CE
alt4: SPI1 SCLK
alt5: GPCLK1

View File

@ -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
View File

@ -0,0 +1 @@
./pin-1.md

View File

@ -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±

View File

@ -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)

View File

@ -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.

View File

@ -1 +1 @@
Ground!
Terra!

View File

@ -5,7 +5,7 @@ default_title: Raspberry Pi GPIO Pinout - Pi 1, B+, Pi 2
title_suffix: " at Raspberry Pi GPIO Pinout"
base_url: /pinout/
resource_url: /resources/
domain: pt.pinout.xyz
domain: pinout.xyz
url_suffix:
urls:
GND: ground
@ -24,6 +24,10 @@ strings:
- more_information: 'More Information'
- github_repository: 'GitHub Repository'
- buy_now: 'Buy Now'
featured:
- piano-hat
- propeller-hat
- ab-adc-pi-zero
overlays:
- ground
- uart
@ -31,18 +35,38 @@ overlays:
- spi
- arduino-spi
- wiringpi
- iqaudio-pi-dac
- cirruslogicaudiocard
- display-o-tron
- display-o-tron-hat
- dots
- discohat
- drum-hat
- espiot-phat
- explorer-hat
- explorer-hat-pro
- explorer-phat
- phat-dac
- propeller-hat
- iqaudio-pi-dac
- piano-hat
- piborg-ledborg
- pibrella
- piglow
- dots
- rtk-000-001
- scroll-phat
- sense-hat
- skywriter-hat
- traffic-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

View File

@ -1,9 +1,10 @@
<!doctype html>
<html>
<html lang="{{langcode}}">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>{{title}}</title>
<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="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<link href="{{resource_url}}pinout.css?v={{v}}" rel="stylesheet">
@ -23,36 +24,40 @@
</head>
<body>
<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>
<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&hellip;</span>
<ul class="overlay">
{{overlays}}
</ul>
</div>
</div>
<nav id="gpio">
<div id="pinbase"></div>
<div id="pinbasebplus"></div>
{{nav}}
</nav>
<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">
{{content}}
</div>
</div>
<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>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>
@ -60,7 +65,6 @@
<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-bash.js'></script>
<script src='{{resource_url}}gaat.js'></script>
<script src='{{resource_url}}pinout.js?v={{v}}'></script>
</body>
</html>