diff --git a/src/pt/404.md b/src/pt/404.md new file mode 100644 index 0000000..de3cf17 --- /dev/null +++ b/src/pt/404.md @@ -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. \ No newline at end of file diff --git a/src/pt/index.md b/src/pt/index.md index f1642ce..a682228 100644 --- a/src/pt/index.md +++ b/src/pt/index.md @@ -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. \ No newline at end of file diff --git a/src/pt/overlay/ab-1-wire-plus.md b/src/pt/overlay/ab-1-wire-plus.md new file mode 100644 index 0000000..c9ac75e --- /dev/null +++ b/src/pt/overlay/ab-1-wire-plus.md @@ -0,0 +1,33 @@ + +#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") \ No newline at end of file diff --git a/src/pt/overlay/ab-adc-differential-pi.md b/src/pt/overlay/ab-adc-differential-pi.md new file mode 100644 index 0000000..1b5655b --- /dev/null +++ b/src/pt/overlay/ab-adc-differential-pi.md @@ -0,0 +1,50 @@ + +#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. \ No newline at end of file diff --git a/src/pt/overlay/ab-adc-pi-plus.md b/src/pt/overlay/ab-adc-pi-plus.md new file mode 100644 index 0000000..8e31430 --- /dev/null +++ b/src/pt/overlay/ab-adc-pi-plus.md @@ -0,0 +1,50 @@ + +#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. \ No newline at end of file diff --git a/src/pt/overlay/ab-adc-pi-zero.md b/src/pt/overlay/ab-adc-pi-zero.md new file mode 100644 index 0000000..85aa937 --- /dev/null +++ b/src/pt/overlay/ab-adc-pi-zero.md @@ -0,0 +1,51 @@ + +#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. \ No newline at end of file diff --git a/src/pt/overlay/ab-io-pi-plus.md b/src/pt/overlay/ab-io-pi-plus.md new file mode 100644 index 0000000..d83be08 --- /dev/null +++ b/src/pt/overlay/ab-io-pi-plus.md @@ -0,0 +1,47 @@ + +#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. \ No newline at end of file diff --git a/src/pt/overlay/ab-rtc-pi-plus.md b/src/pt/overlay/ab-rtc-pi-plus.md new file mode 100644 index 0000000..cd6ed1f --- /dev/null +++ b/src/pt/overlay/ab-rtc-pi-plus.md @@ -0,0 +1,33 @@ + +#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. \ No newline at end of file diff --git a/src/pt/overlay/ab-serial-pi-plus.md b/src/pt/overlay/ab-serial-pi-plus.md new file mode 100644 index 0000000..fec0a91 --- /dev/null +++ b/src/pt/overlay/ab-serial-pi-plus.md @@ -0,0 +1,34 @@ + +#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) \ No newline at end of file diff --git a/src/pt/overlay/arduino-spi.md b/src/pt/overlay/arduino-spi.md index 1841c25..2131735 100644 --- a/src/pt/overlay/arduino-spi.md +++ b/src/pt/overlay/arduino-spi.md @@ -1,24 +1,27 @@ +#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) diff --git a/src/pt/overlay/discohat.md b/src/pt/overlay/discohat.md new file mode 100644 index 0000000..3cef6e7 --- /dev/null +++ b/src/pt/overlay/discohat.md @@ -0,0 +1,84 @@ + +#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 diff --git a/src/pt/overlay/display-o-tron-hat.md b/src/pt/overlay/display-o-tron-hat.md index c875db2..0a5720a 100644 --- a/src/pt/overlay/display-o-tron-hat.md +++ b/src/pt/overlay/display-o-tron-hat.md @@ -1,44 +1,52 @@ #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! diff --git a/src/pt/overlay/display-o-tron.md b/src/pt/overlay/display-o-tron.md index d9f7e9f..ae91b0f 100644 --- a/src/pt/overlay/display-o-tron.md +++ b/src/pt/overlay/display-o-tron.md @@ -1,10 +1,54 @@ #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! diff --git a/src/pt/overlay/dots.md b/src/pt/overlay/dots.md index 03b5868..b82636d 100644 --- a/src/pt/overlay/dots.md +++ b/src/pt/overlay/dots.md @@ -1,11 +1,15 @@ #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 -``` \ No newline at end of file +``` diff --git a/src/pt/overlay/drum-hat.md b/src/pt/overlay/drum-hat.md new file mode 100644 index 0000000..c027368 --- /dev/null +++ b/src/pt/overlay/drum-hat.md @@ -0,0 +1,44 @@ + +#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! diff --git a/src/pt/overlay/espiot-phat.md b/src/pt/overlay/espiot-phat.md new file mode 100644 index 0000000..d5e0eee --- /dev/null +++ b/src/pt/overlay/espiot-phat.md @@ -0,0 +1,41 @@ + +#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 +``` diff --git a/src/pt/overlay/explorer-hat-pro.md b/src/pt/overlay/explorer-hat-pro.md index b233bce..40b07f2 100644 --- a/src/pt/overlay/explorer-hat-pro.md +++ b/src/pt/overlay/explorer-hat-pro.md @@ -1,42 +1,29 @@ -#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: diff --git a/src/pt/overlay/explorer-hat.md b/src/pt/overlay/explorer-hat.md index 5669293..14a67e0 100644 --- a/src/pt/overlay/explorer-hat.md +++ b/src/pt/overlay/explorer-hat.md @@ -1,25 +1,16 @@ -#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: diff --git a/src/pt/overlay/explorer-phat.md b/src/pt/overlay/explorer-phat.md new file mode 100644 index 0000000..762806e --- /dev/null +++ b/src/pt/overlay/explorer-phat.md @@ -0,0 +1,99 @@ + +#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 +``` diff --git a/src/pt/overlay/ground.md b/src/pt/overlay/ground.md index ff29f4b..ca48261 100644 --- a/src/pt/overlay/ground.md +++ b/src/pt/overlay/ground.md @@ -1,7 +1,10 @@ #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) -``` \ No newline at end of file +``` diff --git a/src/pt/overlay/iface-dpi.md b/src/pt/overlay/iface-dpi.md new file mode 100644 index 0000000..19488f5 --- /dev/null +++ b/src/pt/overlay/iface-dpi.md @@ -0,0 +1,57 @@ + +#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. \ No newline at end of file diff --git a/src/pt/overlay/iface-gpclk.md b/src/pt/overlay/iface-gpclk.md new file mode 100644 index 0000000..f5f8cb6 --- /dev/null +++ b/src/pt/overlay/iface-gpclk.md @@ -0,0 +1,31 @@ + +#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 +``` \ No newline at end of file diff --git a/src/pt/overlay/iface-jtag.md b/src/pt/overlay/iface-jtag.md new file mode 100644 index 0000000..565e5bc --- /dev/null +++ b/src/pt/overlay/iface-jtag.md @@ -0,0 +1,33 @@ + +#JTAG - Joint Test Action Group + +###JTAG is a standardised interface for debugging integrated circuits which you can use to debug your Raspberry Pi \ No newline at end of file diff --git a/src/pt/overlay/iface-pcm.md b/src/pt/overlay/iface-pcm.md new file mode 100644 index 0000000..204a7a8 --- /dev/null +++ b/src/pt/overlay/iface-pcm.md @@ -0,0 +1,19 @@ + +#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. \ No newline at end of file diff --git a/src/pt/overlay/iface-sd.md b/src/pt/overlay/iface-sd.md new file mode 100644 index 0000000..3c5dd8c --- /dev/null +++ b/src/pt/overlay/iface-sd.md @@ -0,0 +1,25 @@ + +#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. \ No newline at end of file diff --git a/src/pt/overlay/iqaudio-pi-dac.md b/src/pt/overlay/iqaudio-pi-dac.md index cbb83a0..f9ef841 100644 --- a/src/pt/overlay/iqaudio-pi-dac.md +++ b/src/pt/overlay/iqaudio-pi-dac.md @@ -1,38 +1,42 @@ #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. diff --git a/src/pt/overlay/phat-dac.md b/src/pt/overlay/phat-dac.md new file mode 100644 index 0000000..6bab95c --- /dev/null +++ b/src/pt/overlay/phat-dac.md @@ -0,0 +1,38 @@ + +#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 +``` diff --git a/src/pt/overlay/piano-hat.md b/src/pt/overlay/piano-hat.md index 2e274a8..0bf8da4 100644 --- a/src/pt/overlay/piano-hat.md +++ b/src/pt/overlay/piano-hat.md @@ -1,10 +1,34 @@ #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! diff --git a/src/pt/overlay/piborg-ledborg.md b/src/pt/overlay/piborg-ledborg.md index 826b3f3..39df011 100644 --- a/src/pt/overlay/piborg-ledborg.md +++ b/src/pt/overlay/piborg-ledborg.md @@ -1,9 +1,15 @@ ###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 -``` \ No newline at end of file +``` diff --git a/src/pt/overlay/pibrella.md b/src/pt/overlay/pibrella.md index 3e2abfd..0376a01 100644 --- a/src/pt/overlay/pibrella.md +++ b/src/pt/overlay/pibrella.md @@ -1,10 +1,14 @@ -#PiGlow \ No newline at end of file +#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! diff --git a/src/pt/overlay/propeller-hat.md b/src/pt/overlay/propeller-hat.md new file mode 100644 index 0000000..14aa4d6 --- /dev/null +++ b/src/pt/overlay/propeller-hat.md @@ -0,0 +1,39 @@ + +#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. \ No newline at end of file diff --git a/src/pt/overlay/rtk-000-001.md b/src/pt/overlay/rtk-000-001.md index 4320cb0..a284630 100644 --- a/src/pt/overlay/rtk-000-001.md +++ b/src/pt/overlay/rtk-000-001.md @@ -1,11 +1,16 @@ +#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 +``` diff --git a/src/pt/overlay/sense-hat.md b/src/pt/overlay/sense-hat.md index 5e04134..80eaf21 100644 --- a/src/pt/overlay/sense-hat.md +++ b/src/pt/overlay/sense-hat.md @@ -1,41 +1,31 @@ #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 \ No newline at end of file +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. diff --git a/src/pt/overlay/skywriter-hat.md b/src/pt/overlay/skywriter-hat.md index f6f3e7d..d386cc9 100644 --- a/src/pt/overlay/skywriter-hat.md +++ b/src/pt/overlay/skywriter-hat.md @@ -1,21 +1,20 @@ #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! diff --git a/src/pt/overlay/spi.md b/src/pt/overlay/spi.md index 2424228..46062da 100644 --- a/src/pt/overlay/spi.md +++ b/src/pt/overlay/spi.md @@ -1,5 +1,7 @@ #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: diff --git a/src/pt/overlay/wiringpi.md b/src/pt/overlay/wiringpi.md index 1a2e5db..dacb6d4 100644 --- a/src/pt/overlay/wiringpi.md +++ b/src/pt/overlay/wiringpi.md @@ -1,7 +1,11 @@