diff --git a/README.md b/README.md index ab65c86..096b737 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Creative Commons License -Pinout.xyz is the successor to the popular Pi pinout website originally hosted on http://pi.gadgetoid.com/pinout +[Pinout.xyz](http://pinout.xyz/) is the successor to the popular Pi pinout website originally hosted on http://pi.gadgetoid.com/pinout To support translation efforts, and allow people to build tools with the data in this repository, Pinout.xyz is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. @@ -12,11 +12,11 @@ This license excludes the file pinout-graphic-horizontal.ai, which is provided u This project aims to build a consistent workflow behind the Pinout.xyz front-end, gather useful information about the Raspberry Pi GPIO interface and add-on boards, and invite board manufacturers to produce their own "overlay" files which describe which pins their Pi add-ons use. -We hope that by making this project open and extensible I will invite not only contributions of board pinouts, but translations too. +We hope that by making this project open and extensible we will invite not only contributions of board pinouts, but translations too. #Contributing -If you have a board you'd like to contribute, raise an issue and we'll consider it! +If you have a board you'd like to contribute, raise an [issue](https://github.com/Gadgetoid/Pinout.xyz/issues) and we'll consider it! If you've spotted an error, ommission or have a suggestion then you're welcome to do the same. @@ -24,16 +24,20 @@ If you've spotted an error, ommission or have a suggestion then you're welcome t The contents of this GitHub repository are used to build http://pinout.xyz and its translated subdomains. -Current known contributors are: +Maintainers: [@Gadgetoid](https://github.com/Gadgetoid) and [@RogueM](https://github.com/RogueM) -* de - @rdmueller and @KojoePi -* es - @ResonantWave -* fr - @RogueM -* it - @LizardM4 -* pt - @Maslor -* tr - @Ardakilic +GPIO Zero code examples by: [@bennuttall](https://github.com/bennuttall) -If you would like to provide support for a language not yet in the repository you should start by duplicating the `src/en` directory to the appropriate culture. For example if you want to create a German translation you would create the folder `src/de`. +Notable contributions: + +* [en](http://pinout.xyz/) - [@lurch](https://github.com/lurch) and [@abelectronicsuk](https://github.com/abelectronicsuk) +* [de](http://de.pinout.xyz/) - [@rdmueller](https://github.com/rdmueller) and [@KojoePi](https://github.com/KojoePi) +* [es](http://es.pinout.xyz/) - [@ResonantWave](https://github.com/ResonantWave) and [@IkerGarcia](https://github.com/IkerGarcia) +* [fr](http://fr.pinout.xyz/) - [@RogueM](https://github.com/RogueM) and [@smileyn64](https://github.com/smileyn64) +* [it](http://it.pinout.xyz/) - [@LizardM4](https://github.com/LizardM4) +* [tr](http://tr.pinout.xyz/) - [@Ardakilic](https://github.com/Ardakilic) + +If you would like to provide support for a language not yet in the repository you should start by duplicating the `src/en` directory to the appropriate language-code. For example, if you want to create a German translation you would create the folder `src/de`. There are no plans to support cultures (it would just get out of hand!), so you can't have `src/fr-CA` ( sorry! ). @@ -45,15 +49,17 @@ make serve LANG=de And then open: http://127.0.0.1:5000 in your browser. +*note: if you are facing issues on your preview (card not showing, text update not appearing ...), you can fix it by erasing you browser cache (image and cache file only)* + Please do not attempt to translate the `/resources` folder, this is shared between sites on the server and should be generic. -Feel free to modify the template with links relevent to your country, and your Twitter handle but don't fiddle with the structure! +Feel free to modify the template with links relevant to your country, and / or your Twitter handle, but don't fiddle with the structure! -Submit your finished translation as a pull request and we'll get it live on its own pinout.xyz subdomain :) +Submit your finished translation as a [pull request](https://github.com/Gadgetoid/Pinout.xyz/pulls) and we'll get it live on its own *<languagecode>*.pinout.xyz subdomain :) -#Roadmap & wishlist +#Roadmap & wishlist * Redesign HTML generation and unify HTML templates into a single, translatable file * Add functionality to compare two or more boards, to visualise pin compatibility * Tool to convert WiringPi to GPIO to BCM and back -* Add as many boards as possible! +* Add as many [boards](http://pinout.xyz/boards) as possible! diff --git a/draft/append.sh b/draft/append.sh deleted file mode 100755 index b0d3de8..0000000 --- a/draft/append.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -draftpng="../draft/boards" -dirpng="../resources/boards" -draftmd="../draft/overlay" -mdlist=$(ls "$draftmd") -srcdir="../src" -langlist=$(ls "$srcdir") -yamlfile="../src/en/settings.yaml" - -for overlay in $mdlist; do - if [ $overlay != "template.md" ]; then - board=$(echo "$overlay" | rev | cut -c 4- | rev) - for dirmd in ${langlist[@]}; do - if [ $dirmd != "en" ]; then - if ! [ -f $srcdir/$dirmd/overlay/$overlay ]; then - cp $draftmd/$overlay $srcdir/$dirmd/translate/ - fi - else - cp $draftmd/$overlay $srcdir/$dirmd/overlay/ - fi - done - rm $draftmd/$overlay - if [ -f $draftpng/$board.png ];then - mv $draftpng/$board.png $dirpng - fi - if ! grep -e $board $yamlfile &> /dev/null; then - echo "- $board" | tee -a $yamlfile &> /dev/null - fi - fi -done - -exit 0 diff --git a/draft/overlay/4tronix-motor-shim.md b/draft/overlay/4tronix-motor-shim.md new file mode 100644 index 0000000..df8b5dd --- /dev/null +++ b/draft/overlay/4tronix-motor-shim.md @@ -0,0 +1,32 @@ + +#Pi Zero Motor Shim + +The PZM shim gives you the simplest possible motor driver that can be fitted directly to the header of a Pi Zero (or other 40-pin model of Pi). Headers are included to use if required so that it is a plug-in device rather than soldered directly if preferred. diff --git a/draft/overlay/4tronix-pistop.md b/draft/overlay/4tronix-pistop.md new file mode 100644 index 0000000..0cd15d2 --- /dev/null +++ b/draft/overlay/4tronix-pistop.md @@ -0,0 +1,34 @@ + +#Pi Stop Traffic Lights + +The PiStop is placed vertically into the GPIO connectors and can be fitted into several positions in the board. It can be fitted into 26-pin headers as well as 40-pin headers. + +PiStop only uses 3 GPIO pins plus ground, but you can fit multiple PiStops into one header, although not all positions are possible simultaneously as some pins are shared across the options. Note that only one position is illustrated in the pinout, but any succession of 3 GPIO next to a ground pin is suitable. diff --git a/draft/overlay/4tronix-robohat.md b/draft/overlay/4tronix-robohat.md new file mode 100644 index 0000000..2989235 --- /dev/null +++ b/draft/overlay/4tronix-robohat.md @@ -0,0 +1,80 @@ + +#RoboHat +The RoboHat is a complete robot controller for small robots. It has 2 full H-bridges using DRV8833 for up to 1.5A per channel, a 5V switch-mode regulator to generate the 5V for the Raspberry Pi, 6 bufferened inputs that can accept 2.5V to 5.5V and convert to 3.3V and 4 outputs driven up to 5V. All the I/O is via GVS (Ground, Volts, Signal) 3-pin terminals so it is easy to plug in 3-pin sensors or small servos directly. There is also a connector plug in an HC-SR04 ultrasonic distance sensor with the necessary circuitry to read the value using a single GPIO pin. diff --git a/draft/overlay/picade-hat.md b/draft/overlay/picade-hat.md new file mode 100644 index 0000000..2e4901f --- /dev/null +++ b/draft/overlay/picade-hat.md @@ -0,0 +1,78 @@ + +#Picade HAT + +Picade HAT provides screw terminals for 10 arcade buttons and a joystick. It also includes a digital to analog audio converter and amplifier which outputs to a single speaker terminal. + +All button inputs should be configured with their corresponding internal pull-ups. Buttons should be wired between an input and ground. + +* 14 button terminals +* Stereo audio combined for a single speaker +* Support for an external power button and safe power shutdown diff --git a/draft/overlay/picon-zero.md b/draft/overlay/picon-zero.md deleted file mode 100644 index d1bd0b7..0000000 --- a/draft/overlay/picon-zero.md +++ /dev/null @@ -1,39 +0,0 @@ - -#Picon Zero - -TBA \ No newline at end of file diff --git a/draft/publish.sh b/draft/publish.sh new file mode 100755 index 0000000..2ca528f --- /dev/null +++ b/draft/publish.sh @@ -0,0 +1,50 @@ +#!/bin/bash + +draftpng="../draft/boards" +dirpng="../resources/boards" +draftmd="../draft/overlay" +mdlist=$(ls "$draftmd") +srcdir="../src" +langlist=$(ls "$srcdir") +yamlfile="settings.yaml" + +FORCE=$1 + +confirm() { + if [ "$FORCE" == '-y' ]; then + true + else + read -r -p "$1 [y/N] " response < /dev/tty + if [[ $response =~ ^(yes|y|Y)$ ]]; then + true + else + false + fi + fi +} + +for overlay in $mdlist; do + if [ $overlay != "template.md" ]; then + board=$(echo "$overlay" | rev | cut -c 4- | rev) + if confirm "Would you like to publish $board?"; then + for dirmd in ${langlist[@]}; do + if [ $dirmd != "en" ]; then + if ! [ -f $srcdir/$dirmd/overlay/$overlay ]; then + cp $draftmd/$overlay $srcdir/$dirmd/translate/ + fi + else + cp $draftmd/$overlay $srcdir/$dirmd/overlay/ + fi + if ! grep -e $board ../src/$dirmd/$yamlfile &> /dev/null; then + echo "- $board" | tee -a ../src/$dirmd/$yamlfile &> /dev/null + fi + done + rm $draftmd/$overlay + if [ -f $draftpng/$board.png ];then + mv $draftpng/$board.png $dirpng + fi + fi + fi +done + +exit 0 diff --git a/draft/amend.sh b/draft/sync.sh similarity index 56% rename from draft/amend.sh rename to draft/sync.sh index 3411b7c..a1d79e5 100755 --- a/draft/amend.sh +++ b/draft/sync.sh @@ -4,9 +4,11 @@ masterdir="../src/en/overlay" mdlist=$(ls "$masterdir") srcdir="../src" langlist=$(ls "$srcdir") +yamlfile="settings.yaml" filesync=false for overlay in $mdlist; do + board=$(echo "$overlay" | rev | cut -c 4- | rev) for dirmd in ${langlist[@]}; do if [ -f $srcdir/$dirmd/translate/$overlay ]; then if [ -n "$(diff "$masterdir/$overlay" "$srcdir/$dirmd/translate/$overlay" 2> /dev/null)" ]; then @@ -14,6 +16,14 @@ for overlay in $mdlist; do cp $masterdir/$overlay $srcdir/$dirmd/translate/ filesync=true fi + elif ! [ -f $srcdir/$dirmd/overlay/$overlay ]; then + echo "copying $overlay to $dirmd/translate/" + cp $masterdir/$overlay $srcdir/$dirmd/translate/ + filesync=true + fi + if ! grep -e $board ../src/$dirmd/$yamlfile &> /dev/null; then + echo "adding $board to $dirmd/$yamlfile" + echo "- $board" | tee -a ../src/$dirmd/$yamlfile &> /dev/null fi done done diff --git a/generate-html.py b/generate-html.py index 4e27f22..5918f94 100755 --- a/generate-html.py +++ b/generate-html.py @@ -23,7 +23,10 @@ GROUND_PINS = [6,9,14,20,25,30,34,39] lang = "en" default_strings = { 'pin_header': '{} pin header', - 'wiring_pi_pin': 'Wiring Pi pin {}', + 'form_undefined': 'Undefined', + 'group_other': 'other', + 'eeprom_detect': 'Uses VID/PID', + 'eeprom_setup': 'Uses EEPROM', 'uses_5v_and_3v3': 'Needs 5v and 3v3 power', 'uses_5v': 'Needs 5v power', 'uses_3v3': 'Needs 3v3 power', @@ -32,23 +35,11 @@ default_strings = { 'uses_n_gpio_pins': 'Uses {} GPIO pins', 'bcm_pin_rev1_pi': 'BCM pin {} on Rev 1 ( very early ) Pi', 'physical_pin_n': 'Physical pin {}', + 'wiring_pi_pin': 'Wiring Pi pin {}', 'more_information': 'More Information', 'github_repository': 'GitHub Repository', 'buy_now': 'Buy Now', - 'group_multi': 'Multi', - 'group_led': 'LED', - 'group_iot': 'IOT', - 'group_instrument': 'Instrument', - 'group_lcd': 'LCD', - 'group_other': 'Other', - 'group_motor': 'Motor', - 'group_adc': 'ADC', - 'group_audio': 'Audio', - 'group_gesture': 'Gesture', - 'group_touch': 'Touch', - 'group_pinout': 'Pinout', - 'group_info': 'Info', - 'group_featured': 'Featured' + 'translate_msg': 'This page needs translating, can you help?

', } @@ -74,11 +65,20 @@ def slugify(value): def load_overlay(overlay): try: data = markjaml.load('src/{}/overlay/{}.md'.format(lang, overlay)) - loaded = data['data'] loaded['long_description'] = data['html'] except IOError: - return None + try: + data = markjaml.load('src/{}/translate/{}.md'.format(lang, overlay)) + loaded = data['data'] + loaded['long_description'] = strings['translate_msg'] + data['html'] + loaded['type'] = strings['group_other'] + if 'formfactor' in loaded: + if str(loaded['formfactor']) == 'Custom': + loaded['formfactor'] = strings['form_undefined'] + except IOError: + print 'overlay {} missing in lang {}'.format(overlay, lang) + return None ''' If this is not an info page, then build a collection of details and append them to long_description @@ -87,7 +87,7 @@ def load_overlay(overlay): details = [] if 'type' not in loaded: - loaded['type'] = 'addon' + loaded['type'] = strings['group_other'] if 'manufacturer' in loaded: details.append(strings['made_by'].format(manufacturer=loaded['manufacturer'])) @@ -115,6 +115,35 @@ def load_overlay(overlay): else: details.append(strings['pin_header'].format(pincount)) + if 'eeprom' in loaded: + eeprom = str(loaded['eeprom']) + if eeprom == 'detect' or eeprom == 'True': + details.append(strings['eeprom_detect']) + if eeprom == 'setup': + details.append(strings['eeprom_setup']) + + if 'power' in loaded: + uses_5v = False + uses_3v3 = False + + for pin in loaded['power']: + pin = str(pin) + if pin.startswith('bcm'): + pin = pinout.bcm_to_physical(pin[3:]) + + if pin in ['2','4']: + uses_5v = True + + if pin in ['1','17']: + uses_3v3 = True + + if uses_5v and uses_3v3: + details.append(strings['uses_5v_and_3v3']) + elif uses_5v: + details.append(strings['uses_5v']) + elif uses_3v3: + details.append(strings['uses_3v3']) + ''' If the overlay includes a collection of pins then loop through them and count how many non-power pins are used @@ -145,43 +174,14 @@ def load_overlay(overlay): if pin in ['19','21','23'] and data['mode'] == 'spi': uses_spi = True - - - if uses > 0: - details.append(strings['uses_n_gpio_pins'].format(uses)) - if uses_i2c: details.append(strings['uses_i2c']) if uses_spi: details.append(strings['uses_spi']) - if 'power' in loaded: - uses_5v = False - uses_3v3 = False - - for pin in loaded['power']: - pin = str(pin) - if pin.startswith('bcm'): - pin = pinout.bcm_to_physical(pin[3:]) - - if pin in ['2','4']: - uses_5v = True - - if pin in ['1','17']: - uses_3v3 = True - - if uses_5v and uses_3v3: - details.append(strings['uses_5v_and_3v3']) - elif uses_5v: - details.append(strings['uses_5v']) - elif uses_3v3: - details.append(strings['uses_3v3']) - - if 'eeprom' in loaded: - eeprom = str(loaded['eeprom']) - if eeprom == 'yes': - details.append(strings['uses_eeprom']) + if uses > 0: + details.append(strings['uses_n_gpio_pins'].format(uses)) # A URL to more information about the add-on board, could be a GitHub readme or an about page if 'url' in loaded: @@ -319,7 +319,7 @@ def render_pin_page(pin_num): # if pin_text != None: return pin_url, pin_text, pin_text_name # pages[pin_url] = pin_text - + def render_pin(pin_num, selected_url, overlay=None): pin = pinout.pins[str(pin_num)] @@ -537,7 +537,7 @@ as it's used in every single page. overlays_html is generated with all types for legacy reasons ''' for overlay in overlays: - + link = (overlay['page_url'], overlay['name']) overlays_html += [link] @@ -573,8 +573,8 @@ for overlay in overlays: name=overlay['name'], page_url=overlay['page_url'], base_url=base_url, - type=overlay['type'] if 'type' in overlay else '', - formfactor=overlay['formfactor'] if 'formfactor' in overlay else '', + type=overlay['type'] if 'type' in overlay else strings['group_other'], + formfactor=overlay['formfactor'] if 'formfactor' in overlay else strings['form_undefined'], manufacturer=overlay['manufacturer'], resource_url=resource_url)}) @@ -653,8 +653,9 @@ for url in pages: template = template_boards if url == 'boards' else template_main if url == 'index' or url == 'boards': - hreflang = get_hreflang_urls(url) - langlinks = get_lang_urls(url) + src = 'index' + hreflang = get_hreflang_urls(src) + langlinks = get_lang_urls(src) if 'src' in pages[url]: src = pages[url]['src'] diff --git a/pinout.py b/pinout.py index 58aaebd..1663e7d 100644 --- a/pinout.py +++ b/pinout.py @@ -4,7 +4,7 @@ import time try: import yaml except ImportError: - exit("This script requires the psutil module\nInstall with: sudo pip install PyYAML") + exit("This script requires the yaml module\nInstall with: sudo pip install PyYAML") DB_FILE = 'pi-pinout.yaml' diff --git a/draft/boards/picon-zero.png b/resources/boards/4tronix-picon-zero.png similarity index 100% rename from draft/boards/picon-zero.png rename to resources/boards/4tronix-picon-zero.png diff --git a/resources/boards/4tronix-pistep2d.png b/resources/boards/4tronix-pistep2d.png new file mode 100644 index 0000000..965c34f Binary files /dev/null and b/resources/boards/4tronix-pistep2d.png differ diff --git a/resources/boards/4tronix-pistep2q.png b/resources/boards/4tronix-pistep2q.png new file mode 100644 index 0000000..61cea8b Binary files /dev/null and b/resources/boards/4tronix-pistep2q.png differ diff --git a/resources/pinout.css b/resources/pinout.css index c2ccda2..0f85266 100644 --- a/resources/pinout.css +++ b/resources/pinout.css @@ -470,6 +470,7 @@ nav#gpio ul.bottom li.overlay-pin a:hover { nav#gpio .top li.overlay-power a .phys, .bottom li.overlay-power a .phys { color:#FFFFFF; + opacity:1; } nav#gpio ul.top li.overlay-power a, diff --git a/src/de/overlay/rtk-000-001.md b/src/de/overlay/rtk-000-001.md index 7198389..dbca275 100644 --- a/src/de/overlay/rtk-000-001.md +++ b/src/de/overlay/rtk-000-001.md @@ -1,6 +1,6 @@ -#Ryanteck Motorsteuerung +# RTK Motorsteuerung ###Ein schneller und einfacher Weg um Motoren mit deinem Pi zu steuern. ```python -##Simples Motor Script für den RTK-000-001 -import RPi.GPIO as GPIO -import time -#Setze BCM Broadcom Pin Nummern -GPIO.setmode(GPIO.BCM) +from gpiozero import RyanteckRobot +from time import sleep -#Motor 1 = Pins 17 and 18 -#Motor 2 = Pins 22 and 23 -GPIO.setup(17, GPIO.OUT) -GPIO.setup(18, GPIO.OUT) +robot = RyanteckRobot() -#Jetzt wird jede Richtung für 5 Sekunden in -#einer Endlosschleife durchlaufen. -while (True): - #Sleep 1 second then turn 17 on - GPIO.output(18, 0) - time.sleep(1) - GPIO.output(17, 1); - time.sleep(5); - #And now the other way round - GPIO.output(17, 0) - time.sleep(1); - GPIO.output(18, 1); - time.sleep(5); - #And loop back around -#And final cleanup -GPIO.cleanup() +while True: + robot.forward() + sleep(5) + robot.left() + sleep(1) + robot.backward() + sleep(5) + robot.right() + sleep(1) + robot.stop() + sleep(1) ``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ryanteck-mcb-robot) diff --git a/src/de/overlay/traffic-hat.md b/src/de/overlay/traffic-hat.md index 3ddd220..3a80ab1 100644 --- a/src/de/overlay/traffic-hat.md +++ b/src/de/overlay/traffic-hat.md @@ -6,8 +6,8 @@ type: alle formfactor: HAT manufacturer: Ryanteck description: Ein schneller und einfacher Weg um die grundlegenden Fähigkeiten der GPIO-Ports zu erkunden. -url: http://www.ryanteck.uk/store/traffichat -buy: http://www.ryanteck.uk/store/traffichat +url: https://ryanteck.uk/hats/1-traffichat-0635648607122.html +buy: https://ryanteck.uk/hats/1-traffichat-0635648607122.html image: 'traffic-hat.png' pincount: 40 eeprom: yes @@ -53,4 +53,4 @@ IO.setup(5,IO.OUT) #Button IO.setup(25,IO.IN,pull_up_down=IO.PUD_UP) -``` \ No newline at end of file +``` diff --git a/src/de/overlay/unicorn-hat.md b/src/de/overlay/unicorn-hat.md index 2d3964d..0b7b943 100644 --- a/src/de/overlay/unicorn-hat.md +++ b/src/de/overlay/unicorn-hat.md @@ -11,7 +11,7 @@ github: https://github.com/pimoroni/unicornhat buy: http://shop.pimoroni.com/products/unicorn-hat image: 'unicorn-hat.png' pincount: 40 -eeprom: yes +eeprom: detect power: '2': ground: diff --git a/src/de/settings.yaml b/src/de/settings.yaml index 2fa8783..a3365d4 100644 --- a/src/de/settings.yaml +++ b/src/de/settings.yaml @@ -1,7 +1,6 @@ --- default_desc: The comprehensive Raspberry Pi GPIO Pinout guide for the original Raspberry - Pi, B+ and Pi 2 -default_title: Raspberry Pi GPIO Pinout - Pi 1, B+, Pi 2 +default_title: Raspberry Pi GPIO Pinout title_suffix: " at Raspberry Pi GPIO Pinout" base_url: /pinout/ resource_url: /resources/ @@ -10,22 +9,28 @@ url_suffix: urls: GND: masse_ground strings: -- made_by: 'Hersteller: {manufacturer}' +- details: 'Details' +- group_other: 'alle' +- form_undefined: 'Andere' +- pin_header: '{} pin header' - type_hat: 'HAT form-factor' - type_phat: 'pHAT form-factor' - type_classic: 'Classic form-factor' -- pin_header: '{} pin header' -- uses_eeprom: 'benutzt EEPROM' +- eeprom_detect: 'EEPROM Hersteller ID' +- eeprom_setup: 'benutzt EEPROM' - uses_i2c: 'benutzt I2C' - uses_spi: 'benutzt SPI' -- wiring_pi_pin: 'Wiring Pi Anschluss {}' +- uses_5v_and_3v3: '5v und 3v3 Stromversorgung' +- uses_5v: '5v Stromversorgung' +- uses_3v3: '3v3 Stromversorgung' - uses_n_gpio_pins: 'benutzt {} GPIO Anschlüsse' - bcm_pin_rev1_pi: 'BCM Anschluss {} auf dem Rev 1 ( sehr alter ) Pi' - physical_pin_n: 'Physical pin {}' +- wiring_pi_pin: 'Wiring Pi Anschluss {}' +- made_by: 'Hersteller: {manufacturer}' - more_information: 'Mehr Informationen' -- github_repository: 'GitHub Repository' +- github_repository: 'GitHub' - buy_now: 'jetzt kaufen' -- details: 'Details' featured: - display-o-tron - rpf-dots @@ -33,18 +38,74 @@ featured: - rtk-000-001 overlays: - ground +- iface-dpi +- iface-gpclk +- iface-jtag +- iface-1wire +- iface-pcm +- iface-sd - i2c - spi - uart - wiringpi +- 4tronix-picon-zero +- 4tronix-pistep2d +- 4tronix-pistep2q +- ab-1-wire-plus +- ab-1-wire-zero +- ab-adc-differential-pi +- ab-adc-pi-plus +- ab-adc-pi-zero +- ab-adcdac-pi-zero +- ab-io-pi-plus +- ab-io-pi-zero +- ab-rs485-pi +- ab-rtc-pi-plus +- ab-rtc-pi-zero +- ab-serial-pi-plus +- ab-serial-pi-zero +- ab-servo-pwm-pi-zero +- adafruit-cap-mpr121 +- adafruit-servo-hat +- analog-zero +- automation-hat +- blinkt +- carberry +- cirruslogic-audio-card +- discohat - display-o-tron - display-o-tron-hat -- rpf-dots +- drum-hat +- enviro-phat +- espiot-phat - explorer-hat - explorer-hat-pro +- explorer-phat +- iqaudio-pi-dac +- iqaudio-pi-digiamp +- microdot-phat +- phat-dac +- pi-liter - piano-hat +- piborg-ledborg +- piborg-zeroborg - pibrella +- piglow +- pijack +- propeller-hat +- raspio-duino +- redbear-iot-hat +- rpf-dots - rtk-000-001 +- scroll-phat +- sense-hat - skywriter-hat - traffic-hat - unicorn-hat +- unicorn-phat +- uugear-7port-usb-hub +- uugear-witty-pi +- uugear-witty-pi-2 +- uugear-zero4u +- wifi-pants +- zero-lipo diff --git a/src/de/translate/4tronix-picon-zero.md b/src/de/translate/4tronix-picon-zero.md new file mode 100644 index 0000000..2418d2e --- /dev/null +++ b/src/de/translate/4tronix-picon-zero.md @@ -0,0 +1,42 @@ + +#Picon Zero + +The Picon Zero is an add-on PCB for the Raspberry Pi that is physically the same size as a Raspberry Pi Zero and so is ideal as a pseudo-Hat (pHat) for the Pi Zero. However, it can of course be used on any Raspberry Pi with a 40-pin GPIO connector. + +As well as 2 full H-Bridge motor drivers, the Picon Zero has a number of Input and Output pins that can be configured in a variety of ways, allowing you to easily add analog inputs or neopixel outputs to your Raspberry Pi without any complicated software and kernel specific drivers. It also provides an interface for an HC-SR04 ultrasonic distance sensor and opens up 5 GPIO pins from the Raspberry Pi for you to use as you see fit. diff --git a/src/de/translate/4tronix-pistep2d.md b/src/de/translate/4tronix-pistep2d.md new file mode 100644 index 0000000..c8c706e --- /dev/null +++ b/src/de/translate/4tronix-pistep2d.md @@ -0,0 +1,54 @@ + +# PiStep2 Dual + +Drive 2 uni-polar stepper motors using a single control board with the PiStep2 Dual. + +* Uses a ULN2803 Darlington driver chip to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/de/translate/4tronix-pistep2q.md b/src/de/translate/4tronix-pistep2q.md new file mode 100644 index 0000000..4dbc2c2 --- /dev/null +++ b/src/de/translate/4tronix-pistep2q.md @@ -0,0 +1,78 @@ + +# PiStep2 Quad + +Drive 4 uni-polar stepper motors using a single control board with the PiStep2 Quad. + +* Uses ULN2803 Darlington driver chips to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/de/translate/ab-1-wire-plus.md b/src/de/translate/ab-1-wire-plus.md index 07768d0..3eb201e 100644 --- a/src/de/translate/ab-1-wire-plus.md +++ b/src/de/translate/ab-1-wire-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus image: 'ab-1-wire-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -25,10 +36,10 @@ i2c: --> #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 Pi Plus from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi. 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. +I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Plus allowing the board to be used with other I2C devices on the same bus. [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/translate/ab-1-wire-plus.md b/src/de/translate/ab-1-wire-zero.md similarity index 53% rename from src/pt/translate/ab-1-wire-plus.md rename to src/de/translate/ab-1-wire-zero.md index 07768d0..a85f890 100644 --- a/src/pt/translate/ab-1-wire-plus.md +++ b/src/de/translate/ab-1-wire-zero.md @@ -1,18 +1,29 @@ -#1 Wire Pi Plus +#1 Wire Pi Zero -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 Pi Zero from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi Zero. 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 1-Wire® port on the 1 Wire Pi Zero 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 Zero 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. +I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Zero allowing the board to be used with other I2C devices on the same bus. [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/de/translate/ab-adc-differential-pi.md b/src/de/translate/ab-adc-differential-pi.md index dca0b1e..21caa1f 100644 --- a/src/de/translate/ab-adc-differential-pi.md +++ b/src/de/translate/ab-adc-differential-pi.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analo image: 'ab-adc-differential-pi.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -28,7 +39,7 @@ i2c: --> #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. +The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter designed to work with the Raspberry Pi. 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 @@ -48,4 +59,4 @@ The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter des - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries available on GitHub. \ No newline at end of file diff --git a/src/de/translate/ab-adc-pi-plus.md b/src/de/translate/ab-adc-pi-plus.md index 39d61f4..871390a 100644 --- a/src/de/translate/ab-adc-pi-plus.md +++ b/src/de/translate/ab-adc-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-D image: 'ab-adc-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -28,7 +39,7 @@ i2c: --> #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. +The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi. 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 @@ -48,4 +59,4 @@ The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/de/translate/ab-adc-pi-zero.md b/src/de/translate/ab-adc-pi-zero.md index f863fc0..d3bcfb2 100644 --- a/src/de/translate/ab-adc-pi-zero.md +++ b/src/de/translate/ab-adc-pi-zero.md @@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-D image: 'ab-adc-pi-zero.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '14': + '20': + '30': + '34': + '39': pin: '3': mode: i2c @@ -48,4 +57,4 @@ The ADC Pi Zero is an 8 channel 17 bit analogue to digital converter designed to - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/de/translate/ab-adcdac-pi-zero.md b/src/de/translate/ab-adcdac-pi-zero.md new file mode 100644 index 0000000..0f8ab52 --- /dev/null +++ b/src/de/translate/ab-adcdac-pi-zero.md @@ -0,0 +1,51 @@ + +#ADC-DAC Pi Zero + +The ADC-DAC Pi Zero is a 2 channel 12 bit analogue to digital converter and 2 channel 12 bit digital to analogue converter designed to work with the Raspberry Pi. Designed for the same footprint as the Raspberry Pi Zero the ADC-DAC Pi Zero is also compatible with full size Raspberry Pi models. + +The ADC-DAC Pi Zero is based on the Microchip MCP3202 A/D converter containing 2 analogue inputs with 12 bit resolution with a Microchip MCP4822 dual channel 12-bit DAC with internal voltage reference. + +Max ADC Sample Rate: 100 ksamples/sec + +Max ADC Sample Rate under Python: 12,000 samples per second. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/de/translate/ab-io-pi-plus.md b/src/de/translate/ab-io-pi-plus.md index 399712f..ec8504b 100644 --- a/src/de/translate/ab-io-pi-plus.md +++ b/src/de/translate/ab-io-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus image: 'ab-io-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -28,7 +39,7 @@ i2c: --> #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. +The IO Pi Plus is a 32 channel digital expansion board designed for use on the Raspberry Pi. 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. @@ -45,4 +56,4 @@ A pair of MCP23017 expanders are included on the board allowing you to connect u - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/de/translate/ab-io-pi-zero.md b/src/de/translate/ab-io-pi-zero.md new file mode 100644 index 0000000..30cd60f --- /dev/null +++ b/src/de/translate/ab-io-pi-zero.md @@ -0,0 +1,56 @@ + +#IO Pi Zero + +The IO Pi Zero is a 16 channel digital expansion board designed for use on the Raspberry Pi Zero. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc. + +The IO Pi Zero 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 Zero along with other expansion boards. + +##Features + +- 16 Digital Inputs/Outputs +- Control via the Raspberry Pi I2C port +- Stack up to 8 IO Pi boards on a single Raspberry Pi +- Jumper selectable I2C addresses +- External 5V Input with isolation solder bridge +- 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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/de/translate/ab-rs485-pi.md b/src/de/translate/ab-rs485-pi.md new file mode 100644 index 0000000..d5c9d93 --- /dev/null +++ b/src/de/translate/ab-rs485-pi.md @@ -0,0 +1,48 @@ + +#RS485 Pi + +The RS485 Pi is a UART to RS485 serial converter for the Raspberry Pi. + +The RS485 port is connected to the UART port on the Raspberry Pi using a SN65HVD72 interface. The SN65HVD72 IC converts the 3.3V UART port to RS485 differential voltages allowing communication with RS485 compatible devices over a twisted pair cable. The RS485 port can be accessed through the DB9 port or the solder points on the PCB. + +The RS485 Pi contains protection against voltage spikes in the form of a TVS Diode and two 10O, Pulse-Proof Thick-Film Resistors. A 120O terminator resistor is included with the board. + +##Features + +- RS-485 Half Duplex Port. +- Up to 250 kbps transfer rate. +- Use the Raspberry Pi to control external RS-485 devices. +- Stackable with other Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the UART 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/de/translate/ab-rtc-pi-plus.md b/src/de/translate/ab-rtc-pi-plus.md index ed4c3ec..625357a 100644 --- a/src/de/translate/ab-rtc-pi-plus.md +++ b/src/de/translate/ab-rtc-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus image: 'ab-rtc-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -25,10 +36,10 @@ i2c: --> #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 a battery backed real-time clock module for the Raspberry Pi. 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/de/translate/ab-rtc-pi-zero.md b/src/de/translate/ab-rtc-pi-zero.md new file mode 100644 index 0000000..970846d --- /dev/null +++ b/src/de/translate/ab-rtc-pi-zero.md @@ -0,0 +1,45 @@ + +#RTC Pi Zero + +The RTC Pi Zero is a battery backed real-time clock module for the Raspberry Pi Zero. 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 Zero when it is switched back on. + +The RTC Pi Zero 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 Zero along with other expansion boards. The RTC Pi Zero 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 Zero also includes an I2C logic level converter allowing you to connect other 5V I2C devices to your Raspberry Pi. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/de/translate/ab-serial-pi-plus.md b/src/de/translate/ab-serial-pi-plus.md index 38dc2cd..c1a1aee 100644 --- a/src/de/translate/ab-serial-pi-plus.md +++ b/src/de/translate/ab-serial-pi-plus.md @@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus image: 'ab-serial-pi-plus.png' pincount: 40 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': mode: UART diff --git a/src/pt/translate/ab-serial-pi-plus.md b/src/de/translate/ab-serial-pi-zero.md similarity index 70% rename from src/pt/translate/ab-serial-pi-plus.md rename to src/de/translate/ab-serial-pi-zero.md index 38dc2cd..c02c224 100644 --- a/src/pt/translate/ab-serial-pi-plus.md +++ b/src/de/translate/ab-serial-pi-zero.md @@ -1,27 +1,36 @@ -#Serial Pi Plus +#Serial Pi Zero -The Serial Pi Plus is a UART to RS232 serial converter for the Raspberry Pi. +The Serial Pi Zero is a UART to RS232 serial converter for the Raspberry Pi Zero. 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. @@ -29,7 +38,7 @@ The RS232 port is connected to the UART port on the Raspberry Pi using a MAX3232 - 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. +- Stackable with other 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/de/translate/ab-servo-pwm-pi-zero.md b/src/de/translate/ab-servo-pwm-pi-zero.md new file mode 100644 index 0000000..7f384fe --- /dev/null +++ b/src/de/translate/ab-servo-pwm-pi-zero.md @@ -0,0 +1,44 @@ + +#Servo PWM Pi Zero + +The Servo PWM Pi Zero is a 16-channel, 12-bit PWM controller for the Raspberry Pi, suitable for driving LEDs and radio control servos. The board is based around PCA9685 PWM I2C LED controller IC from NXT and can drive each of the 16 outputs with 12 bit (4096 steps) duty cycle from 0% to 100%. + +The output frequency is programmable from a typical 40Hz to 1000Hz. Each output driver is programmed to be either open-drain with a 22 mA current sink capability at 5 V or totem pole with a 22 mA sink, 10 mA source capability at 5 V. 220R current limiting resistors are used on each channel allowing you to connect servos or LEDs directly to the outputs. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/de/translate/adafruit-cap-mpr121.md b/src/de/translate/adafruit-cap-mpr121.md index e17890e..c1cf7b3 100644 --- a/src/de/translate/adafruit-cap-mpr121.md +++ b/src/de/translate/adafruit-cap-mpr121.md @@ -16,6 +16,13 @@ power: '1': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -34,8 +41,27 @@ install: - 'python-dev' - 'python3-dev' --> -#Capacitive Touch HAT +# Capacitive Touch HAT This Raspberry Pi add-on board provides 12 capacitive touch inputs and all the logic to read them over a simple I2C communication bus. -Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. \ No newline at end of file +Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. + +## Code + +```python +from Adafruit_MPR121 import MPR121 +from time import sleep + +cap = MPR121.MPR121() + +last_touched = cap.touched() +while True: + current_touched = cap.touched() + for i in range(12): + pin_bit = 1 << i + if current_touched & pin_bit and not last_touched & pin_bit: + print("{} touched!".format(i)) + last_touched = current_touched + sleep(0.1) +``` diff --git a/src/de/translate/adafruit-servo-hat.md b/src/de/translate/adafruit-servo-hat.md index a35d644..b978229 100644 --- a/src/de/translate/adafruit-servo-hat.md +++ b/src/de/translate/adafruit-servo-hat.md @@ -2,7 +2,7 @@ --- name: Servo/PWM HAT class: board -type: touch +type: io,motor formfactor: HAT manufacturer: Adafruit description: A 16-Channel Servo / PWM HAT for Raspberry Pi @@ -11,11 +11,18 @@ github: https://github.com/adafruit/Adafruit_Python_PCA9685 buy: https://www.adafruit.com/product/2327 image: 'adafruit-servo-hat.png' pincount: 40 -eeprom: no +eeprom: yes power: '1': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -39,4 +46,4 @@ install: The Adafruit Servo/PWM HAT allows you to drive up to 16 servos or PWM outputs over I2C with only 2 pins. The on-board PWM controller will drive all 16 channels simultaneously with no additional processing overhead for the Raspberry Pi. Using a binary addressing system set by jumpers you can solder on the PCB, it is possible to stack up to 62 HATs to control up to 992 servos, using nothing more than the I2C bus. -Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! \ No newline at end of file +Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! diff --git a/src/de/translate/analog-zero.md b/src/de/translate/analog-zero.md index c6af4f0..2d96a04 100644 --- a/src/de/translate/analog-zero.md +++ b/src/de/translate/analog-zero.md @@ -12,7 +12,17 @@ buy: http://rasp.io/analogzero/ image: 'analog-zero.png' pincount: 40 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '19': mode: spi @@ -28,7 +38,7 @@ install: --> #Analog Zero -The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analog channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. +The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analogue channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. With RasPiO Analog Zero you can: @@ -38,4 +48,25 @@ With RasPiO Analog Zero you can: * make a voltmeter * use potentiometer dials for control and display * read analog sensors or voltages -* make your own embedded device with minimal footprint \ No newline at end of file +* make your own embedded device with minimal footprint + +## Code + +```python +from gpiozero import MCP3008 +from time import sleep + +left_pot = MCP3008(0) +light = MCP3008(1) +temperature = MCP3008(2) +right_pot = MCP3008(3) + +while True: + print("Left pot value is {}".format(left_pot.value)) + print("Light sensor value is {}".format(light.value)) + print("Temperature sensor value is {}".format(temperature.value)) + print("Right pot value is {}".format(right_pot.value)) + sleep(1) +``` + +[GPIO Zero docs: MCP3008](http://gpiozero.readthedocs.io/en/v1.3.1/api_spi.html#gpiozero.MCP3008) diff --git a/src/de/translate/automation-hat.md b/src/de/translate/automation-hat.md new file mode 100644 index 0000000..469c31d --- /dev/null +++ b/src/de/translate/automation-hat.md @@ -0,0 +1,101 @@ + +#Automation HAT + +Automation HAT is a home monitoring and automation controller for the Raspberry Pi; with relays, analog channels, powered outputs, and buffered inputs. All 24V tolerant. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS get.pimoroni.com/automationhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import automationhat +automationhat.relay.one.on() +``` diff --git a/src/de/translate/blinkt.md b/src/de/translate/blinkt.md index 2f76692..ed826c6 100644 --- a/src/de/translate/blinkt.md +++ b/src/de/translate/blinkt.md @@ -12,7 +12,10 @@ buy: https://shop.pimoroni.com/products/blinkt image: 'blinkt.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': pin: '16': name: Data @@ -23,6 +26,23 @@ pin: mode: output active: high --> -#Blinkt! +# Blinkt! -Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. \ No newline at end of file +Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. + +## Code + +```python +from blinkt import set_pixel, show +from random import randint +from time import sleep + +while True: + for pixel in range(8): + r = randint(255) + g = randint(255) + b = randint(255) + set_pixel(pixel, r, g, b) + show() + sleep(0.1) +``` diff --git a/src/de/translate/carberry.md b/src/de/translate/carberry.md index 8f6ca5a..eddfd57 100644 --- a/src/de/translate/carberry.md +++ b/src/de/translate/carberry.md @@ -15,6 +15,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/de/translate/cirruslogic-audio-card.md b/src/de/translate/cirruslogic-audio-card.md index 434f7b2..5a3498e 100644 --- a/src/de/translate/cirruslogic-audio-card.md +++ b/src/de/translate/cirruslogic-audio-card.md @@ -10,6 +10,18 @@ url: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-acce buy: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card image: 'cirruslogic-audio-card.png' pincount: 40 +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA1 diff --git a/src/de/translate/discohat.md b/src/de/translate/discohat.md index d61a328..374b52b 100644 --- a/src/de/translate/discohat.md +++ b/src/de/translate/discohat.md @@ -11,6 +11,18 @@ buy: http://discohat.com/shop image: 'discohat.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD diff --git a/src/de/translate/drum-hat.md b/src/de/translate/drum-hat.md index e1ef6a0..ce36571 100644 --- a/src/de/translate/drum-hat.md +++ b/src/de/translate/drum-hat.md @@ -2,7 +2,7 @@ --- name: Drum HAT class: board -type: instrument +type: instrument,touch formfactor: HAT manufacturer: Pimoroni description: An 8 pad finger Drum HAT for your Raspberry Pi @@ -12,6 +12,13 @@ buy: http://shop.pimoroni.com/products/drum-hat image: 'drum-hat.png' pincount: 40 eeprom: yes +power: + '2': + '17': +ground: + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/de/translate/enviro-phat.md b/src/de/translate/enviro-phat.md index b253a52..5287339 100644 --- a/src/de/translate/enviro-phat.md +++ b/src/de/translate/enviro-phat.md @@ -2,7 +2,7 @@ --- name: Enviro pHAT class: board -type: iot,sensor +type: adc,sensor formfactor: pHAT manufacturer: Pimoroni description: A package of environmental sensors for IoT projects @@ -12,7 +12,17 @@ buy: https://shop.pimoroni.com/products/enviro-phat image: 'enviro-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -20,20 +30,20 @@ pin: mode: i2c '7': mode: output - name: Lights + name: LEDs i2c: - '0x29': - name: Light/Colour Sensor - device: TCS3472 '0x1d': name: Motion Sensor device: LSM303D + '0x29': + name: Light/Colour Sensor + device: TCS3472 + '0x49': + name: 4-Channel Analog Input + device: ADS1015 '0x77': name: Temp/Pressure Sensor device: BMP280 - '0x48': - name: 4-Channel Analog Input - device: ADS1015 --> #Enviro pHAT @@ -41,11 +51,12 @@ Coupled with a Pi Zero, Enviro pHAT is an affordable mix of sensors, ideal for m Features: -BMP280 temperature/pressure sensor (0x77 on the i2c bus) -TCS3472 light and RGB colour sensor (0x29 on the i2c bus) -(with two LEDs for illumination) -LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus) -ADS1015 4-channel 3.3v 12-bit ADC (0x48 on the i2c bus) +* BMP280 temperature/pressure sensor (0x77 on the i2c bus) +* TCS3472 light and RGB colour sensor (0x29 on the i2c bus) +(with two GPIO controlled LEDs for illumination) +* LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus) +* ADS1015 4-channel 5v tolerant 12-bit ADC (0x49 on the i2c bus) +(3.3v 12-bit ADC at address 0x48 in first production run of the board) To get the pHAT set up and ready to go you can use the one-line product installer: diff --git a/src/de/translate/espiot-phat.md b/src/de/translate/espiot-phat.md index 0b4c15f..534551b 100644 --- a/src/de/translate/espiot-phat.md +++ b/src/de/translate/espiot-phat.md @@ -15,6 +15,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/de/translate/explorer-phat.md b/src/de/translate/explorer-phat.md index a2c374d..e2b3643 100644 --- a/src/de/translate/explorer-phat.md +++ b/src/de/translate/explorer-phat.md @@ -12,6 +12,18 @@ buy: https://shop.pimoroni.com/products/explorer-phat image: 'explorer-phat.png' pincount: 40 eeprom: no +power: + '2': + '17': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/de/translate/iface-1wire.md b/src/de/translate/iface-1wire.md index 938f208..c3c7644 100644 --- a/src/de/translate/iface-1wire.md +++ b/src/de/translate/iface-1wire.md @@ -11,7 +11,7 @@ pin: --> # W1-GPIO - One-Wire Interface -To enable the one-wire interface you need to add the following line to /boot/config.txt, beofre rebooting your Pi: +To enable the one-wire interface you need to add the following line to /boot/config.txt, before rebooting your Pi: ``` dtoverlay=w1-gpio diff --git a/src/de/translate/iqaudio-pi-dac.md b/src/de/translate/iqaudio-pi-dac.md index 8b297fb..cc9973e 100644 --- a/src/de/translate/iqaudio-pi-dac.md +++ b/src/de/translate/iqaudio-pi-dac.md @@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk image: 'iqaudio-pi-dac.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/de/translate/iqaudio-pi-digiamp.md b/src/de/translate/iqaudio-pi-digiamp.md index 8ffda41..14b75f3 100644 --- a/src/de/translate/iqaudio-pi-digiamp.md +++ b/src/de/translate/iqaudio-pi-digiamp.md @@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk image: 'iqaudio-pi-digiamp.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -39,10 +51,9 @@ install: 'devices': - 'i2c' --> - #Pi-DigiAMP+ The Pi-DigiAMP+ is an add-on board that includes a Digital to Analog Converter (DAC) and powerful 35w stereo amplifier. If you want to turn your Raspberry Pi into a working Hi Fi stereo, just add speakers and you're off. 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. -Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. \ No newline at end of file +Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. diff --git a/src/de/translate/microdot-phat.md b/src/de/translate/microdot-phat.md index 53a191e..b2f5d83 100644 --- a/src/de/translate/microdot-phat.md +++ b/src/de/translate/microdot-phat.md @@ -12,7 +12,11 @@ buy: https://shop.pimoroni.com/products/microdot-phat image: 'microdot-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '39': pin: '3': mode: i2c diff --git a/src/de/translate/phat-dac.md b/src/de/translate/phat-dac.md index 8fd5d9c..3063da0 100644 --- a/src/de/translate/phat-dac.md +++ b/src/de/translate/phat-dac.md @@ -11,10 +11,16 @@ image: 'phat-dac.png' pincount: 40 eeprom: no power: - '1': '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: I2S diff --git a/src/de/translate/pi-liter.md b/src/de/translate/pi-liter.md index 579f4f9..9bfb9f7 100644 --- a/src/de/translate/pi-liter.md +++ b/src/de/translate/pi-liter.md @@ -6,12 +6,19 @@ type: led formfactor: Custom manufacturer: Ciseco description: An 8 LED strip for the Raspberry Pi -url: http://www.averagemanvsraspberrypi.com/2014/04/how-to-use-pi-liter-from-ciseco.html +url: http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter buy: http://cpc.farnell.com/wirelessthings/pi-liter/pi-lite-junior-led-io-board-for/dp/SC13293 image: 'pi-liter.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '7': name: LED1 @@ -56,4 +63,23 @@ Applications: * Bar graph * Light chaser * Activity indicator -* Lighting effects \ No newline at end of file +* Lighting effects + +## Code + +```python +from gpiozero import PiLiter +from time import sleep + +lite = PiLiter() + +for led in lite: + led.on() + sleep(0.1) + led.off() + +lite.on() +sleep(5) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter) diff --git a/src/de/translate/piborg-ledborg.md b/src/de/translate/piborg-ledborg.md index 593be25..95b2cc5 100644 --- a/src/de/translate/piborg-ledborg.md +++ b/src/de/translate/piborg-ledborg.md @@ -11,6 +11,15 @@ buy: https://www.piborg.org/ledborg image: 'piborg-led-borg.png' pincount: 26 eeprom: no +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': pin: '11': name: Red LED @@ -28,28 +37,30 @@ pin: active: high description: PiBorg Blue LED --> -#LedBorg +# LedBorg -The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. It 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: - -WiringPi pin 0: Red LED -WiringPi pin 2: Green LED -WiringPi pin 3: Blue LED - -This is easy using WiringPi in Python: +The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. ```python -import wiringpi2 as wiringpi -wiringpi.wiringPiSetup() +from gpiozero import LedBorg +from time import sleep -wiringpi.softPwmCreate(0,0,100) -wiringpi.softPwmCreate(2,0,100) -wiringpi.softPwmCreate(3,0,100) +lb = LedBorg() -# Purple! -wiringpi.softPwmWrite(3,100) # Full Blue -wiringpi.softPwmWrite(0,100) # Full Red -wiringpi.softPWMWrite(2,0) # No Green +while True: + r, g, b = 0, 0, 0 + for i in range(100): + r = i / 100.0 + lb.value = (r, g, b) + sleep(0.01) + for i in range(100): + g = i / 100.0 + sleep(0.01) + lb.value = (r, g, b) + for i in range(100): + b = i / 100.0 + lb.value = (r, g, b) + sleep(0.01) ``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ledborg) diff --git a/src/de/translate/piborg-zeroborg.md b/src/de/translate/piborg-zeroborg.md new file mode 100644 index 0000000..e7386a5 --- /dev/null +++ b/src/de/translate/piborg-zeroborg.md @@ -0,0 +1,38 @@ + +#ZeroBorg + +The PiBorg ZeroBorg is a 4 channel motor controller for the Raspberry Pi Zero. + +It supports configurable i2c slave addresses from 3 (0x03) to 119 (0x77), meaning that while it uses i2c it can potentially co-exist with *any* other i2c board. See the "Multiple Boards" section of the ZeroBorg install guide for more details. + +* 4 full H-Bridges +* Drives 4 motors or 2 stepper motors +* 2A peak or 1.5A RMS per bridge +* Onboard fast blow fuse at 5A +* Designed to run off a 9V power source +* 2 analogue inputs +* I2C communication \ No newline at end of file diff --git a/src/de/translate/pijack.md b/src/de/translate/pijack.md new file mode 100644 index 0000000..0315a3b --- /dev/null +++ b/src/de/translate/pijack.md @@ -0,0 +1,53 @@ + +#PiJack + +The easiest way to add Ethernet to your Rasberry Pi Zero. Simply plug the PiJack board on to your Pi and boot the latest Raspbian. PiJack will be autodetected by the Linux kernel, the correct driver will be loaded and the Ethernet interface will be ready to use. + +By default, Raspbian will automatically configure the interface for DHCP so as soon as you connect PiJack to your network your Pi will request an address and be ready to go online! + +Each PiJack board is programmed with a unique and persistent MAC address so each time your Pi boots the MAC address will remain the same. This allows you to set up your router to hand out the same IP address each time. + +There are a couple of recent improvements to the Ethernet controller driver, so if you're not running the latest version of Raspbian on your Pi, either download it and reflash your microSD card again, or run +```bash +sudo apt-get update +sudo apt-get dist-upgrade +``` + + diff --git a/src/de/translate/propeller-hat.md b/src/de/translate/propeller-hat.md index 86d154b..ebeefd6 100644 --- a/src/de/translate/propeller-hat.md +++ b/src/de/translate/propeller-hat.md @@ -15,7 +15,13 @@ eeprom: yes power: '2': ground: - '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/de/translate/raspio-duino.md b/src/de/translate/raspio-duino.md index e38362a..9b175ee 100644 --- a/src/de/translate/raspio-duino.md +++ b/src/de/translate/raspio-duino.md @@ -12,7 +12,14 @@ buy: https://ryanteck.uk/add-ons/58-raspio-duino.html image: 'raspio-duino.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '8': mode: uart diff --git a/src/de/translate/redbear-iot-hat.md b/src/de/translate/redbear-iot-hat.md index 5e42b89..c642bf6 100644 --- a/src/de/translate/redbear-iot-hat.md +++ b/src/de/translate/redbear-iot-hat.md @@ -1,53 +1,58 @@ -#PiZero IoT HAT +#IoT pHAT -The RedBear IoT HAT brings the BCM43438 used on the Raspberry Pi 3 to HAT format, compatible with the Pi Zero. +The RedBear IoT pHAT brings the BCM43438 used on the Raspberry Pi 3 to pHAT format, compatible with the Pi Zero. The chip supports Wi-Fi 802.11n and Bluetooth 4.1 (Dual Mode). diff --git a/src/de/translate/scroll-phat.md b/src/de/translate/scroll-phat.md index 15505da..4fc363e 100644 --- a/src/de/translate/scroll-phat.md +++ b/src/de/translate/scroll-phat.md @@ -16,6 +16,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/de/translate/sense-hat.md b/src/de/translate/sense-hat.md index e121e83..d8d5f8e 100644 --- a/src/de/translate/sense-hat.md +++ b/src/de/translate/sense-hat.md @@ -9,7 +9,19 @@ description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystic url: https://www.raspberrypi.org/products/sense-hat/ image: 'sense-hat.png' pincount: 40 -eeprom: yes +eeprom: setup +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/de/translate/unicorn-phat.md b/src/de/translate/unicorn-phat.md index ae1fd5f..8b147d5 100644 --- a/src/de/translate/unicorn-phat.md +++ b/src/de/translate/unicorn-phat.md @@ -15,7 +15,14 @@ eeprom: yes power: '2': ground: + '6': '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: Data @@ -36,7 +43,7 @@ install: 32 blindingly bright LEDs packed into a pHAT and driven with an ultra-fast, C library that you can talk to from Python make Unicorn HAT PiGlow's bigger, brighter brother. -Note: Unicorn pHAT 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! +Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets your Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time! To get the HAT set up and ready to go you can use the one-line product installer: diff --git a/src/de/translate/uugear-7port-usb-hub.md b/src/de/translate/uugear-7port-usb-hub.md index 227943a..b52a4a7 100644 --- a/src/de/translate/uugear-7port-usb-hub.md +++ b/src/de/translate/uugear-7port-usb-hub.md @@ -9,9 +9,12 @@ description: 7-port USB hub for Raspberry Pi url: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ buy: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ image: 'uugear-7port-usb-hub.png' -pincount: 40 +pincount: 7 eeprom: no -power: 5v +power: + '2': +ground: + '39': --> #7-port USB hub for Raspberry Pi diff --git a/src/de/translate/uugear-witty-pi-2.md b/src/de/translate/uugear-witty-pi-2.md index 8f6d498..d7339b4 100644 --- a/src/de/translate/uugear-witty-pi-2.md +++ b/src/de/translate/uugear-witty-pi-2.md @@ -12,7 +12,18 @@ buy: http://www.uugear.com/product/wittypi2/ image: 'uugear-witty-pi-2.png' pincount: 40 eeprom: no -power: 5v,3v3 +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA diff --git a/src/de/translate/uugear-witty-pi.md b/src/de/translate/uugear-witty-pi.md index 47ed0ae..7923089 100644 --- a/src/de/translate/uugear-witty-pi.md +++ b/src/de/translate/uugear-witty-pi.md @@ -12,7 +12,17 @@ buy: http://www.uugear.com/product/witty-pi-realtime-clock-and-power-management- image: 'uugear-witty-pi.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA diff --git a/src/de/translate/uugear-zero4u.md b/src/de/translate/uugear-zero4u.md index 58bfa60..e5c945c 100644 --- a/src/de/translate/uugear-zero4u.md +++ b/src/de/translate/uugear-zero4u.md @@ -9,9 +9,8 @@ description: 4-port USB hub for Raspberry Pi Zero url: http://www.uugear.com/product/zero4u/ buy: http://www.uugear.com/product/zero4u/ image: 'uugear-zero4u.png' -pincount: 40 +pincount: 4 eeprom: no -power: 5v --> #Zero4U diff --git a/src/de/translate/wifi-pants.md b/src/de/translate/wifi-pants.md index e43dff6..4b242a8 100644 --- a/src/de/translate/wifi-pants.md +++ b/src/de/translate/wifi-pants.md @@ -12,7 +12,17 @@ buy: https://www.tindie.com/products/ajlitt/wifi-power-pants/ image: 'wifi-pants.png' pincount: 40 eeprom: no -power: external +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '13': name: ESP GPIO10 diff --git a/src/de/translate/zero-lipo.md b/src/de/translate/zero-lipo.md index ecbb96b..9b277c9 100644 --- a/src/de/translate/zero-lipo.md +++ b/src/de/translate/zero-lipo.md @@ -11,7 +11,10 @@ buy: https://shop.pimoroni.com/products/zero-lipo image: 'zero-lipo.png' pincount: 8 eeprom: no -power: external +power: + '2': +ground: + '6': pin: '7': name: Battery Low diff --git a/src/en/overlay/4tronix-picon-zero.md b/src/en/overlay/4tronix-picon-zero.md new file mode 100644 index 0000000..2418d2e --- /dev/null +++ b/src/en/overlay/4tronix-picon-zero.md @@ -0,0 +1,42 @@ + +#Picon Zero + +The Picon Zero is an add-on PCB for the Raspberry Pi that is physically the same size as a Raspberry Pi Zero and so is ideal as a pseudo-Hat (pHat) for the Pi Zero. However, it can of course be used on any Raspberry Pi with a 40-pin GPIO connector. + +As well as 2 full H-Bridge motor drivers, the Picon Zero has a number of Input and Output pins that can be configured in a variety of ways, allowing you to easily add analog inputs or neopixel outputs to your Raspberry Pi without any complicated software and kernel specific drivers. It also provides an interface for an HC-SR04 ultrasonic distance sensor and opens up 5 GPIO pins from the Raspberry Pi for you to use as you see fit. diff --git a/src/en/overlay/4tronix-pistep2d.md b/src/en/overlay/4tronix-pistep2d.md new file mode 100644 index 0000000..c8c706e --- /dev/null +++ b/src/en/overlay/4tronix-pistep2d.md @@ -0,0 +1,54 @@ + +# PiStep2 Dual + +Drive 2 uni-polar stepper motors using a single control board with the PiStep2 Dual. + +* Uses a ULN2803 Darlington driver chip to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/en/overlay/4tronix-pistep2q.md b/src/en/overlay/4tronix-pistep2q.md new file mode 100644 index 0000000..4dbc2c2 --- /dev/null +++ b/src/en/overlay/4tronix-pistep2q.md @@ -0,0 +1,78 @@ + +# PiStep2 Quad + +Drive 4 uni-polar stepper motors using a single control board with the PiStep2 Quad. + +* Uses ULN2803 Darlington driver chips to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/en/overlay/adafruit-cap-mpr121.md b/src/en/overlay/adafruit-cap-mpr121.md index 46244bf..c1cf7b3 100644 --- a/src/en/overlay/adafruit-cap-mpr121.md +++ b/src/en/overlay/adafruit-cap-mpr121.md @@ -41,8 +41,27 @@ install: - 'python-dev' - 'python3-dev' --> -#Capacitive Touch HAT +# Capacitive Touch HAT This Raspberry Pi add-on board provides 12 capacitive touch inputs and all the logic to read them over a simple I2C communication bus. -Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. \ No newline at end of file +Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. + +## Code + +```python +from Adafruit_MPR121 import MPR121 +from time import sleep + +cap = MPR121.MPR121() + +last_touched = cap.touched() +while True: + current_touched = cap.touched() + for i in range(12): + pin_bit = 1 << i + if current_touched & pin_bit and not last_touched & pin_bit: + print("{} touched!".format(i)) + last_touched = current_touched + sleep(0.1) +``` diff --git a/src/en/overlay/adafruit-servo-hat.md b/src/en/overlay/adafruit-servo-hat.md index 0da7fee..b978229 100644 --- a/src/en/overlay/adafruit-servo-hat.md +++ b/src/en/overlay/adafruit-servo-hat.md @@ -11,7 +11,7 @@ github: https://github.com/adafruit/Adafruit_Python_PCA9685 buy: https://www.adafruit.com/product/2327 image: 'adafruit-servo-hat.png' pincount: 40 -eeprom: no +eeprom: yes power: '1': ground: @@ -46,4 +46,4 @@ install: The Adafruit Servo/PWM HAT allows you to drive up to 16 servos or PWM outputs over I2C with only 2 pins. The on-board PWM controller will drive all 16 channels simultaneously with no additional processing overhead for the Raspberry Pi. Using a binary addressing system set by jumpers you can solder on the PCB, it is possible to stack up to 62 HATs to control up to 992 servos, using nothing more than the I2C bus. -Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! \ No newline at end of file +Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! diff --git a/src/en/overlay/analog-zero.md b/src/en/overlay/analog-zero.md index ec53956..2d96a04 100644 --- a/src/en/overlay/analog-zero.md +++ b/src/en/overlay/analog-zero.md @@ -38,7 +38,7 @@ install: --> #Analog Zero -The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analog channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. +The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analogue channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. With RasPiO Analog Zero you can: @@ -48,4 +48,25 @@ With RasPiO Analog Zero you can: * make a voltmeter * use potentiometer dials for control and display * read analog sensors or voltages -* make your own embedded device with minimal footprint \ No newline at end of file +* make your own embedded device with minimal footprint + +## Code + +```python +from gpiozero import MCP3008 +from time import sleep + +left_pot = MCP3008(0) +light = MCP3008(1) +temperature = MCP3008(2) +right_pot = MCP3008(3) + +while True: + print("Left pot value is {}".format(left_pot.value)) + print("Light sensor value is {}".format(light.value)) + print("Temperature sensor value is {}".format(temperature.value)) + print("Right pot value is {}".format(right_pot.value)) + sleep(1) +``` + +[GPIO Zero docs: MCP3008](http://gpiozero.readthedocs.io/en/v1.3.1/api_spi.html#gpiozero.MCP3008) diff --git a/src/en/overlay/blinkt.md b/src/en/overlay/blinkt.md index 091e613..ed826c6 100644 --- a/src/en/overlay/blinkt.md +++ b/src/en/overlay/blinkt.md @@ -26,6 +26,23 @@ pin: mode: output active: high --> -#Blinkt! +# Blinkt! -Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. \ No newline at end of file +Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. + +## Code + +```python +from blinkt import set_pixel, show +from random import randint +from time import sleep + +while True: + for pixel in range(8): + r = randint(255) + g = randint(255) + b = randint(255) + set_pixel(pixel, r, g, b) + show() + sleep(0.1) +``` diff --git a/src/en/overlay/drum-hat.md b/src/en/overlay/drum-hat.md index 070e85e..ce36571 100644 --- a/src/en/overlay/drum-hat.md +++ b/src/en/overlay/drum-hat.md @@ -2,7 +2,7 @@ --- name: Drum HAT class: board -type: instrument +type: instrument,touch formfactor: HAT manufacturer: Pimoroni description: An 8 pad finger Drum HAT for your Raspberry Pi diff --git a/src/en/overlay/explorer-hat-pro.md b/src/en/overlay/explorer-hat-pro.md index e7d7667..06b21e9 100644 --- a/src/en/overlay/explorer-hat-pro.md +++ b/src/en/overlay/explorer-hat-pro.md @@ -2,7 +2,7 @@ --- name: Explorer HAT Pro class: board -type: adc,io,motor +type: adc,io,motor,touch formfactor: HAT manufacturer: Pimoroni description: An all-in-one light, input, motor, touch and output add-on board diff --git a/src/en/overlay/explorer-hat.md b/src/en/overlay/explorer-hat.md index bb9b1c6..ef467aa 100644 --- a/src/en/overlay/explorer-hat.md +++ b/src/en/overlay/explorer-hat.md @@ -2,7 +2,7 @@ --- name: Explorer HAT class: board -type: io +type: multi,io,touch formfactor: HAT manufacturer: Pimoroni description: An all-in-one light, input, touch and output add-on board diff --git a/src/en/overlay/iface-1wire.md b/src/en/overlay/iface-1wire.md index 938f208..c3c7644 100644 --- a/src/en/overlay/iface-1wire.md +++ b/src/en/overlay/iface-1wire.md @@ -11,7 +11,7 @@ pin: --> # W1-GPIO - One-Wire Interface -To enable the one-wire interface you need to add the following line to /boot/config.txt, beofre rebooting your Pi: +To enable the one-wire interface you need to add the following line to /boot/config.txt, before rebooting your Pi: ``` dtoverlay=w1-gpio diff --git a/src/en/overlay/iqaudio-pi-digiamp.md b/src/en/overlay/iqaudio-pi-digiamp.md index a4aa27e..14b75f3 100644 --- a/src/en/overlay/iqaudio-pi-digiamp.md +++ b/src/en/overlay/iqaudio-pi-digiamp.md @@ -51,10 +51,9 @@ install: 'devices': - 'i2c' --> - #Pi-DigiAMP+ The Pi-DigiAMP+ is an add-on board that includes a Digital to Analog Converter (DAC) and powerful 35w stereo amplifier. If you want to turn your Raspberry Pi into a working Hi Fi stereo, just add speakers and you're off. 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. -Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. \ No newline at end of file +Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. diff --git a/src/en/overlay/pi-liter.md b/src/en/overlay/pi-liter.md index 10ef097..9bfb9f7 100644 --- a/src/en/overlay/pi-liter.md +++ b/src/en/overlay/pi-liter.md @@ -6,7 +6,7 @@ type: led formfactor: Custom manufacturer: Ciseco description: An 8 LED strip for the Raspberry Pi -url: http://www.averagemanvsraspberrypi.com/2014/04/how-to-use-pi-liter-from-ciseco.html +url: http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter buy: http://cpc.farnell.com/wirelessthings/pi-liter/pi-lite-junior-led-io-board-for/dp/SC13293 image: 'pi-liter.png' pincount: 26 @@ -63,4 +63,23 @@ Applications: * Bar graph * Light chaser * Activity indicator -* Lighting effects \ No newline at end of file +* Lighting effects + +## Code + +```python +from gpiozero import PiLiter +from time import sleep + +lite = PiLiter() + +for led in lite: + led.on() + sleep(0.1) + led.off() + +lite.on() +sleep(5) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter) diff --git a/src/en/overlay/piano-hat.md b/src/en/overlay/piano-hat.md index 0c0d860..9679770 100644 --- a/src/en/overlay/piano-hat.md +++ b/src/en/overlay/piano-hat.md @@ -2,7 +2,7 @@ --- name: Piano HAT class: board -type: instrument +type: instrument,touch formfactor: HAT manufacturer: Pimoroni description: A tiny Pi piano with 16 touch-sensitive buttons diff --git a/src/en/overlay/piborg-ledborg.md b/src/en/overlay/piborg-ledborg.md index 29c1b72..95b2cc5 100644 --- a/src/en/overlay/piborg-ledborg.md +++ b/src/en/overlay/piborg-ledborg.md @@ -37,28 +37,30 @@ pin: active: high description: PiBorg Blue LED --> -#LedBorg +# LedBorg -The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. It 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: - -WiringPi pin 0: Red LED -WiringPi pin 2: Green LED -WiringPi pin 3: Blue LED - -This is easy using WiringPi in Python: +The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. ```python -import wiringpi2 as wiringpi -wiringpi.wiringPiSetup() +from gpiozero import LedBorg +from time import sleep -wiringpi.softPwmCreate(0,0,100) -wiringpi.softPwmCreate(2,0,100) -wiringpi.softPwmCreate(3,0,100) +lb = LedBorg() -# Purple! -wiringpi.softPwmWrite(3,100) # Full Blue -wiringpi.softPwmWrite(0,100) # Full Red -wiringpi.softPWMWrite(2,0) # No Green +while True: + r, g, b = 0, 0, 0 + for i in range(100): + r = i / 100.0 + lb.value = (r, g, b) + sleep(0.01) + for i in range(100): + g = i / 100.0 + sleep(0.01) + lb.value = (r, g, b) + for i in range(100): + b = i / 100.0 + lb.value = (r, g, b) + sleep(0.01) ``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ledborg) diff --git a/src/en/overlay/pijack.md b/src/en/overlay/pijack.md index f5bcdea..0315a3b 100644 --- a/src/en/overlay/pijack.md +++ b/src/en/overlay/pijack.md @@ -4,16 +4,15 @@ name: PiJack class: board type: network formfactor: pHAT -manufacturer: Hot Glue Technologies +manufacturer: Hot Glue description: Add Ethernet to your Pi Zero url: https://pijack.net buy: https://pijack.net image: 'pijack.png' pincount: 40 -eeprom: yes +eeprom: setup power: '2': - '4': ground: '6': '9': @@ -49,7 +48,6 @@ There are a couple of recent improvements to the Ethernet controller driver, so ```bash sudo apt-get update sudo apt-get dist-upgrade -sudo rpi-update ``` diff --git a/src/en/overlay/redbear-iot-hat.md b/src/en/overlay/redbear-iot-hat.md index fb07d91..c642bf6 100644 --- a/src/en/overlay/redbear-iot-hat.md +++ b/src/en/overlay/redbear-iot-hat.md @@ -7,11 +7,11 @@ formfactor: pHAT manufacturer: RedBear description: A Wi-Fi + Bluetooth add-on board for the Pi Zero url: https://www.kickstarter.com/projects/1991736672/iot-hat-for-raspberry-pi-a-must-have-for-pi-zero -github: +github: https://github.com/redbear/IoT_pHAT buy: https://redbear.cc/product/rpi/iot-phat.html image: 'redbear-iot-hat.png' pincount: 40 -eeprom: yes +eeprom: setup power: '1': '2': diff --git a/src/en/overlay/rtk-000-001.md b/src/en/overlay/rtk-000-001.md index 60fc2a8..fb517d1 100644 --- a/src/en/overlay/rtk-000-001.md +++ b/src/en/overlay/rtk-000-001.md @@ -1,6 +1,6 @@ -#Motor Controller Board +# RTK Motor Controller -###A quick and easy way to start driving motors on your Raspberry Pi +A quick and easy way to start driving motors on your Raspberry Pi + +## Code ```python -##Simple motor script for the RTK-000-001 -import RPi.GPIO as GPIO -import time -#Set to broadcom pin numbers -GPIO.setmode(GPIO.BCM) +from gpiozero import RyanteckRobot +from time import sleep -#Motor 1 = Pins 17 and 18 -#Motor 2 = Pins 22 and 23 -GPIO.setup(17, GPIO.OUT) -GPIO.setup(18, GPIO.OUT) +robot = RyanteckRobot() -#Now loop forever turning one direction for 5 seconds, then the other -while (True): - #Sleep 1 second then turn 17 on - GPIO.output(18, 0) - time.sleep(1) - GPIO.output(17, 1); - time.sleep(5); - #And now the other way round - GPIO.output(17, 0) - time.sleep(1); - GPIO.output(18, 1); - time.sleep(5); - #And loop back around -#And final cleanup -GPIO.cleanup() +while True: + robot.forward() + sleep(5) + robot.left() + sleep(1) + robot.backward() + sleep(5) + robot.right() + sleep(1) + robot.stop() + sleep(1) ``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ryanteck-mcb-robot) diff --git a/src/en/overlay/sense-hat.md b/src/en/overlay/sense-hat.md index 11ad544..d8d5f8e 100644 --- a/src/en/overlay/sense-hat.md +++ b/src/en/overlay/sense-hat.md @@ -9,7 +9,7 @@ description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystic url: https://www.raspberrypi.org/products/sense-hat/ image: 'sense-hat.png' pincount: 40 -eeprom: yes +eeprom: setup power: '1': '2': diff --git a/src/en/overlay/traffic-hat.md b/src/en/overlay/traffic-hat.md index da48cc1..0946732 100644 --- a/src/en/overlay/traffic-hat.md +++ b/src/en/overlay/traffic-hat.md @@ -6,8 +6,8 @@ type: multi formfactor: HAT manufacturer: Ryanteck description: A quick and easy way to learn the basics of GPIO on a budget -url: http://www.ryanteck.uk/store/traffichat -buy: http://www.ryanteck.uk/store/traffichat +url: https://ryanteck.uk/hats/1-traffichat-0635648607122.html +buy: https://ryanteck.uk/hats/1-traffichat-0635648607122.html image: 'traffic-hat.png' pincount: 40 eeprom: yes @@ -50,19 +50,26 @@ pin: ###A quick and easy way to learn the basics of GPIO on a budget. All in a nice HAT. ```python -import RPi.GPIO as IO +from gpiozero import TrafficHat from time import sleep +from signal import pause -IO.setmode(IO.BCM) +hat = TrafficHat() -#Lights -IO.setup(22,IO.OUT) -IO.setup(23,IO.OUT) -IO.setup(24,IO.OUT) +# control components individually +hat.lights.green.on() +sleep(1) +hat.lights.amber.on() +sleep(1) +hat.lights.red.on() +sleep(1) +hat.buzzer.on() +sleep(1) +hat.off() # turn everything off -#Buzzer -IO.setup(5,IO.OUT) +# set up events on button press/release +hat.button.when_pressed = hat.lights.blink +hat.button.when_released = hat.lights.off -#Button -IO.setup(25,IO.IN,pull_up_down=IO.PUD_UP) +pause() ``` diff --git a/src/en/overlay/unicorn-hat.md b/src/en/overlay/unicorn-hat.md index 9f466a1..ebebccd 100644 --- a/src/en/overlay/unicorn-hat.md +++ b/src/en/overlay/unicorn-hat.md @@ -11,7 +11,7 @@ github: https://github.com/pimoroni/unicornhat buy: http://shop.pimoroni.com/products/unicorn-hat image: 'unicorn-hat.png' pincount: 40 -eeprom: yes +eeprom: detect power: '2': ground: diff --git a/src/en/pin/pin-27.md b/src/en/pin/pin-27.md index 1aa0b3e..eba1962 100644 --- a/src/en/pin/pin-27.md +++ b/src/en/pin/pin-27.md @@ -1 +1,3 @@ -These pins are generally reserved for i2c communication with a HAT EEPROM. \ No newline at end of file +These pins are generally reserved for i2c communication with an EEPROM. + +Connect those pins for auto configuration, if the board provides the feature (check the board description for details of EEPROM functionality). diff --git a/src/en/settings.yaml b/src/en/settings.yaml index d6b5ede..9be9650 100644 --- a/src/en/settings.yaml +++ b/src/en/settings.yaml @@ -10,42 +10,47 @@ urls: GND: ground strings: - details: 'Details' -- made_by: 'Made by {manufacturer}' +- group_other: 'other' +- form_undefined: 'Undefined' +- pin_header: '{} pin header' - type_hat: 'HAT form-factor' - type_phat: 'pHAT form-factor' - type_classic: 'Classic form-factor' -- pin_header: '{} pin header' -- uses_eeprom: 'Uses EEPROM' -- uses_i2c: 'Uses I2C' -- uses_spi: 'Uses SPI' +- eeprom_detect: 'EEPROM product ID' +- eeprom_setup: 'EEPROM auto configuration' +- uses_i2c: 'Communication over I2C' +- uses_spi: 'Communication over SPI' - uses_5v_and_3v3: 'Needs 5v and 3v3 power' - uses_5v: 'Needs 5v power' - uses_3v3: 'Needs 3v3 power' -- wiring_pi_pin: 'Wiring Pi pin {}' - uses_n_gpio_pins: 'Uses {} GPIO pins' - bcm_pin_rev1_pi: 'BCM pin {} on Rev 1 ( very early ) Pi' - physical_pin_n: 'Physical pin {}' +- wiring_pi_pin: 'Wiring Pi pin {}' +- made_by: 'Made by {manufacturer}' - more_information: 'More Information' - github_repository: 'GitHub Repository' - buy_now: 'Buy Now' -- details: 'Details' featured: - pijack - ab-servo-pwm-pi-zero -- microdot-phat +- 4tronix-picon-zero - wifi-pants overlays: - ground - iface-dpi - iface-gpclk -- i2c - iface-jtag - iface-1wire - iface-pcm - iface-sd +- i2c - spi - uart - wiringpi +- 4tronix-picon-zero +- 4tronix-pistep2d +- 4tronix-pistep2q - ab-1-wire-plus - ab-1-wire-zero - ab-adc-differential-pi diff --git a/src/es/index.md b/src/es/index.md index 95536b7..b8418f9 100644 --- a/src/es/index.md +++ b/src/es/index.md @@ -16,4 +16,4 @@ Hemos añadido un [explorador de placas!](https://github.com/Gadgetoid/Pinout.xy ##Diagrama de asignación de pines Hemos creado un diagrama de asignación de pines para Raspberry Pi. Siéntete libre de imprimirlo, adjuntarlo, compartirlo o enlazarlo, ¡no te olvides de nombrarnos! -![pinout](https://github.com/Gadgetoid/Pinout.xyz/blob/master/resources/raspberry-pi-pinout.png) +[![Graphical Raspberry Pi GPIO Pinout](/resources/raspberry-pi-pinout.png)](/resources/raspberry-pi-pinout.png) diff --git a/src/es/translate/ab-1-wire-plus.md b/src/es/overlay/ab-1-wire-plus.md similarity index 94% rename from src/es/translate/ab-1-wire-plus.md rename to src/es/overlay/ab-1-wire-plus.md index 6417db1..327acb2 100644 --- a/src/es/translate/ab-1-wire-plus.md +++ b/src/es/overlay/ab-1-wire-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus image: 'ab-1-wire-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/ab-adc-differential-pi.md b/src/es/overlay/ab-adc-differential-pi.md similarity index 94% rename from src/es/translate/ab-adc-differential-pi.md rename to src/es/overlay/ab-adc-differential-pi.md index 12906be..5f62bb5 100644 --- a/src/es/translate/ab-adc-differential-pi.md +++ b/src/es/overlay/ab-adc-differential-pi.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analo image: 'ab-adc-differential-pi.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/ab-adc-pi-plus.md b/src/es/overlay/ab-adc-pi-plus.md similarity index 94% rename from src/es/translate/ab-adc-pi-plus.md rename to src/es/overlay/ab-adc-pi-plus.md index 44e7c27..a987b95 100644 --- a/src/es/translate/ab-adc-pi-plus.md +++ b/src/es/overlay/ab-adc-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-D image: 'ab-adc-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/ab-adc-pi-zero.md b/src/es/overlay/ab-adc-pi-zero.md similarity index 95% rename from src/es/translate/ab-adc-pi-zero.md rename to src/es/overlay/ab-adc-pi-zero.md index 89f4dba..58c5fab 100644 --- a/src/es/translate/ab-adc-pi-zero.md +++ b/src/es/overlay/ab-adc-pi-zero.md @@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-D image: 'ab-adc-pi-zero.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '14': + '20': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/ab-io-pi-plus.md b/src/es/overlay/ab-io-pi-plus.md similarity index 94% rename from src/es/translate/ab-io-pi-plus.md rename to src/es/overlay/ab-io-pi-plus.md index 1aced6b..65f842b 100644 --- a/src/es/translate/ab-io-pi-plus.md +++ b/src/es/overlay/ab-io-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus image: 'ab-io-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/ab-rtc-pi-plus.md b/src/es/overlay/ab-rtc-pi-plus.md similarity index 93% rename from src/es/translate/ab-rtc-pi-plus.md rename to src/es/overlay/ab-rtc-pi-plus.md index d1642af..94d1a74 100644 --- a/src/es/translate/ab-rtc-pi-plus.md +++ b/src/es/overlay/ab-rtc-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus image: 'ab-rtc-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/ab-serial-pi-plus.md b/src/es/overlay/ab-serial-pi-plus.md similarity index 94% rename from src/es/translate/ab-serial-pi-plus.md rename to src/es/overlay/ab-serial-pi-plus.md index 070824d..36f0329 100644 --- a/src/es/translate/ab-serial-pi-plus.md +++ b/src/es/overlay/ab-serial-pi-plus.md @@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus image: 'ab-serial-pi-plus.png' pincount: 40 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': mode: UART diff --git a/src/es/translate/adafruit-cap-mpr121.md b/src/es/overlay/adafruit-cap-mpr121.md similarity index 93% rename from src/es/translate/adafruit-cap-mpr121.md rename to src/es/overlay/adafruit-cap-mpr121.md index 6722054..13ddec7 100644 --- a/src/es/translate/adafruit-cap-mpr121.md +++ b/src/es/overlay/adafruit-cap-mpr121.md @@ -2,7 +2,7 @@ --- name: Capacitive Touch HAT class: board -type: touch +type: cap formfactor: HAT manufacturer: Adafruit description: Create electronics that can react to human touch with up to 12 individual sensors @@ -16,6 +16,13 @@ power: '1': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/adafruit-servo-hat.md b/src/es/overlay/adafruit-servo-hat.md similarity index 94% rename from src/es/translate/adafruit-servo-hat.md rename to src/es/overlay/adafruit-servo-hat.md index fd5c339..1292f0b 100644 --- a/src/es/translate/adafruit-servo-hat.md +++ b/src/es/overlay/adafruit-servo-hat.md @@ -2,7 +2,7 @@ --- name: Servo/PWM HAT class: board -type: touch +type: io,motor formfactor: HAT manufacturer: Adafruit description: A 16-Channel Servo / PWM HAT for Raspberry Pi @@ -11,11 +11,18 @@ github: https://github.com/adafruit/Adafruit_Python_PCA9685 buy: https://www.adafruit.com/product/2327 image: 'adafruit-servo-hat.png' pincount: 40 -eeprom: no +eeprom: yes power: '1': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/analog-zero.md b/src/es/overlay/analog-zero.md similarity index 66% rename from src/es/translate/analog-zero.md rename to src/es/overlay/analog-zero.md index ebfb723..2825c69 100644 --- a/src/es/translate/analog-zero.md +++ b/src/es/overlay/analog-zero.md @@ -12,7 +12,17 @@ buy: http://rasp.io/analogzero/ image: 'analog-zero.png' pincount: 40 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '19': mode: spi @@ -39,3 +49,20 @@ Con Analog Zero de RasPiO puedes: * Usar los diales del potencómetro para controlar y mostrar * Leer sensores analógicos o voltajes * Hacer tu propio dispositivo incrustado con el mínimo espacio + +```python +from gpiozero import MCP3008 +from time import sleep + +left_pot = MCP3008(0) +light = MCP3008(1) +temperature = MCP3008(2) +right_pot = MCP3008(3) + +while True: + print("Left pot value is {}".format(left_pot.value)) + print("Light sensor value is {}".format(light.value)) + print("Temperature sensor value is {}".format(temperature.value)) + print("Right pot value is {}".format(right_pot.value)) + sleep(1) +``` diff --git a/src/es/translate/carberry.md b/src/es/overlay/carberry.md similarity index 92% rename from src/es/translate/carberry.md rename to src/es/overlay/carberry.md index fe105bb..fd94681 100644 --- a/src/es/translate/carberry.md +++ b/src/es/overlay/carberry.md @@ -2,8 +2,8 @@ --- name: Carberry class: board -type: other -formfactor: Custom +type: otro +formfactor: Otro manufacturer: Paser description: add-on board designed to inteface with car electronics url: http://www.carberry.it/en/p/347/Carberry/ @@ -15,6 +15,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/es/translate/cirruslogic-audio-card.md b/src/es/overlay/cirruslogic-audio-card.md similarity index 96% rename from src/es/translate/cirruslogic-audio-card.md rename to src/es/overlay/cirruslogic-audio-card.md index 3e52477..4411f5e 100644 --- a/src/es/translate/cirruslogic-audio-card.md +++ b/src/es/overlay/cirruslogic-audio-card.md @@ -10,6 +10,18 @@ url: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-acce buy: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card image: 'cirruslogic-audio-card.png' pincount: 40 +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA1 diff --git a/src/es/translate/discohat.md b/src/es/overlay/discohat.md similarity index 96% rename from src/es/translate/discohat.md rename to src/es/overlay/discohat.md index 874d7e7..2b9d435 100644 --- a/src/es/translate/discohat.md +++ b/src/es/overlay/discohat.md @@ -11,6 +11,18 @@ buy: http://discohat.com/shop image: 'discohat.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD diff --git a/src/es/overlay/display-o-tron-hat.md b/src/es/overlay/display-o-tron-hat.md index 27b20eb..be86eec 100644 --- a/src/es/overlay/display-o-tron-hat.md +++ b/src/es/overlay/display-o-tron-hat.md @@ -2,7 +2,7 @@ --- name: Display-o-Tron HAT class: board -type: todas +type: lcd formfactor: HAT manufacturer: Pimoroni description: Una pantalla LCD de 3 líneas con luz RGB con 6 zonas y 6 botones táctiles diff --git a/src/es/overlay/display-o-tron.md b/src/es/overlay/display-o-tron.md index 6d41453..389a2a7 100644 --- a/src/es/overlay/display-o-tron.md +++ b/src/es/overlay/display-o-tron.md @@ -2,7 +2,7 @@ --- name: Display-o-Tron 3000 class: board -type: todas +type: lcd formfactor: Otro manufacturer: Pimoroni description: Un LCD de 3 líneas con luz RGB de fondo y un joystick diff --git a/src/es/translate/drum-hat.md b/src/es/overlay/drum-hat.md similarity index 94% rename from src/es/translate/drum-hat.md rename to src/es/overlay/drum-hat.md index 994e9d9..6ddab8c 100644 --- a/src/es/translate/drum-hat.md +++ b/src/es/overlay/drum-hat.md @@ -2,7 +2,7 @@ --- name: Drum HAT class: board -type: instrument +type: cap formfactor: HAT manufacturer: Pimoroni description: An 8 pad finger Drum HAT for your Raspberry Pi @@ -12,6 +12,13 @@ buy: http://shop.pimoroni.com/products/drum-hat image: 'drum-hat.png' pincount: 40 eeprom: yes +power: + '2': + '17': +ground: + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/enviro-phat.md b/src/es/overlay/enviro-phat.md similarity index 92% rename from src/es/translate/enviro-phat.md rename to src/es/overlay/enviro-phat.md index 3bda1d4..0c9126b 100644 --- a/src/es/translate/enviro-phat.md +++ b/src/es/overlay/enviro-phat.md @@ -2,7 +2,7 @@ --- name: Enviro pHAT class: board -type: iot,sensor +type: adc,sensor formfactor: pHAT manufacturer: Pimoroni description: A package of environmental sensors for IoT projects @@ -12,7 +12,17 @@ buy: https://shop.pimoroni.com/products/enviro-phat image: 'enviro-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -20,20 +30,20 @@ pin: mode: i2c '7': mode: output - name: Lights + name: LEDs i2c: - '0x29': - name: Light/Colour Sensor - device: TCS3472 '0x1d': name: Motion Sensor device: LSM303D + '0x29': + name: Light/Colour Sensor + device: TCS3472 + '0x49': + name: 4-Channel Analog Input + device: ADS1015 '0x77': name: Temp/Pressure Sensor device: BMP280 - '0x48': - name: 4-Channel Analog Input - device: ADS1015 --> #Enviro pHAT diff --git a/src/es/translate/espiot-phat.md b/src/es/overlay/espiot-phat.md similarity index 94% rename from src/es/translate/espiot-phat.md rename to src/es/overlay/espiot-phat.md index 1726eed..0c0defd 100644 --- a/src/es/translate/espiot-phat.md +++ b/src/es/overlay/espiot-phat.md @@ -15,6 +15,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/es/overlay/explorer-hat-pro.md b/src/es/overlay/explorer-hat-pro.md index 8d7ab2c..6d7ad0c 100644 --- a/src/es/overlay/explorer-hat-pro.md +++ b/src/es/overlay/explorer-hat-pro.md @@ -2,7 +2,7 @@ --- name: Explorer HAT Pro class: board -type: todas +type: adc,cap,io,motor formfactor: HAT manufacturer: Pimoroni description: Una placa completa, con luz, entradas, entradas táctiles y salidas. diff --git a/src/es/overlay/explorer-hat.md b/src/es/overlay/explorer-hat.md index 7b8353d..d178051 100644 --- a/src/es/overlay/explorer-hat.md +++ b/src/es/overlay/explorer-hat.md @@ -2,7 +2,7 @@ --- name: Explorer HAT class: board -type: todas +type: cap,io,multi formfactor: HAT manufacturer: Pimoroni description: Una placa completa, con luz, entradas, entradas táctiles y salidas. diff --git a/src/es/translate/explorer-phat.md b/src/es/overlay/explorer-phat.md similarity index 95% rename from src/es/translate/explorer-phat.md rename to src/es/overlay/explorer-phat.md index c9b681e..b56aadc 100644 --- a/src/es/translate/explorer-phat.md +++ b/src/es/overlay/explorer-phat.md @@ -12,6 +12,18 @@ buy: https://shop.pimoroni.com/products/explorer-phat image: 'explorer-phat.png' pincount: 40 eeprom: no +power: + '2': + '17': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/iface-1wire.md b/src/es/overlay/iface-1wire.md similarity index 100% rename from src/es/translate/iface-1wire.md rename to src/es/overlay/iface-1wire.md diff --git a/src/es/translate/iface-dpi.md b/src/es/overlay/iface-dpi.md similarity index 100% rename from src/es/translate/iface-dpi.md rename to src/es/overlay/iface-dpi.md diff --git a/src/es/translate/iface-gpclk.md b/src/es/overlay/iface-gpclk.md similarity index 100% rename from src/es/translate/iface-gpclk.md rename to src/es/overlay/iface-gpclk.md diff --git a/src/es/translate/iface-jtag.md b/src/es/overlay/iface-jtag.md similarity index 100% rename from src/es/translate/iface-jtag.md rename to src/es/overlay/iface-jtag.md diff --git a/src/es/translate/iface-pcm.md b/src/es/overlay/iface-pcm.md similarity index 100% rename from src/es/translate/iface-pcm.md rename to src/es/overlay/iface-pcm.md diff --git a/src/es/translate/iface-sd.md b/src/es/overlay/iface-sd.md similarity index 100% rename from src/es/translate/iface-sd.md rename to src/es/overlay/iface-sd.md diff --git a/src/es/overlay/iqaudio-pi-dac.md b/src/es/overlay/iqaudio-pi-dac.md index 95ff869..3239757 100644 --- a/src/es/overlay/iqaudio-pi-dac.md +++ b/src/es/overlay/iqaudio-pi-dac.md @@ -2,7 +2,7 @@ --- name: "Pi-DAC+" class: board -type: todas +type: audio formfactor: HAT manufacturer: IQaudIO description: Un HAT I2S conversor de audio digital a analógico @@ -20,16 +20,16 @@ pin: name: I2S '15': name: Mutear/Desmutear - description: Solo Pi-AMP+ (opcional) + description: Solo Pi-AMP+ (opcional) '16': name: Codificador rotatorio - description: (opcional) + description: (opcional) '18': name: Codificador rotatorio - description: (opcional) + description: (opcional) '22': name: Sensor de infrarrojos - description: (opcional) + description: (opcional) '35': name: I2S '38': diff --git a/src/es/translate/iqaudio-pi-digiamp.md b/src/es/overlay/iqaudio-pi-digiamp.md similarity index 93% rename from src/es/translate/iqaudio-pi-digiamp.md rename to src/es/overlay/iqaudio-pi-digiamp.md index d5de790..2782f0f 100644 --- a/src/es/translate/iqaudio-pi-digiamp.md +++ b/src/es/overlay/iqaudio-pi-digiamp.md @@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk image: 'iqaudio-pi-digiamp.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -39,7 +51,6 @@ install: 'devices': - 'i2c' --> - #Pi-DigiAMP+ Pi-DigiAMP+ es una placa adicional que incluye un conversor digital a anlógico (DAC) y un potente amplificador estéreo de 35w. Si quieres convertir tu Raspberry Pi en una minicadena con audio estéreo de Alta Fidelidad, simplemente añade altavoces. diff --git a/src/es/translate/microdot-phat.md b/src/es/overlay/microdot-phat.md similarity index 96% rename from src/es/translate/microdot-phat.md rename to src/es/overlay/microdot-phat.md index 1043db5..0aec84f 100644 --- a/src/es/translate/microdot-phat.md +++ b/src/es/overlay/microdot-phat.md @@ -2,7 +2,7 @@ --- name: Micro Dot pHAT class: board -type: display, led +type: led formfactor: pHAT manufacturer: Pimoroni description: An LED matrix display board for the Raspberry Pi @@ -12,7 +12,11 @@ buy: https://shop.pimoroni.com/products/microdot-phat image: 'microdot-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/phat-dac.md b/src/es/overlay/phat-dac.md similarity index 85% rename from src/es/translate/phat-dac.md rename to src/es/overlay/phat-dac.md index d8bdcba..9495c21 100644 --- a/src/es/translate/phat-dac.md +++ b/src/es/overlay/phat-dac.md @@ -11,10 +11,16 @@ image: 'phat-dac.png' pincount: 40 eeprom: no power: - '1': '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: I2S @@ -32,8 +38,6 @@ pHAT DAC es un conversor de sonido digital a analógico de alta calidad para Ras Pese a ser diseñado para Raspberry Pi Zero es compatible con todas las Raspberry Pi de 40 pines (2/B+/A+/Zero) -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). - Para configurar pHAT DAC puedes utilizar el instalador online de una línea. ```bash diff --git a/src/es/translate/pi-liter.md b/src/es/overlay/pi-liter.md similarity index 79% rename from src/es/translate/pi-liter.md rename to src/es/overlay/pi-liter.md index 8e67382..8ee8548 100644 --- a/src/es/translate/pi-liter.md +++ b/src/es/overlay/pi-liter.md @@ -3,15 +3,22 @@ name: Pi-LITE-r class: board type: led -formfactor: Custom +formfactor: Otro manufacturer: Ciseco description: An 8 LED strip for the Raspberry Pi -url: http://www.averagemanvsraspberrypi.com/2014/04/how-to-use-pi-liter-from-ciseco.html +url: http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter buy: http://cpc.farnell.com/wirelessthings/pi-liter/pi-lite-junior-led-io-board-for/dp/SC13293 image: 'pi-liter.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '7': name: LED1 @@ -57,3 +64,18 @@ Aplicaciones: * Control de luz * Indicador de actividad * Efectos de luz + +```python +from gpiozero import PiLiter +from time import sleep + +lite = PiLiter() + +for led in lite: + led.on() + sleep(0.1) + led.off() + +lite.on() +sleep(5) +``` diff --git a/src/es/overlay/piano-hat.md b/src/es/overlay/piano-hat.md index ce5a781..b87ed86 100644 --- a/src/es/overlay/piano-hat.md +++ b/src/es/overlay/piano-hat.md @@ -2,7 +2,7 @@ --- name: Piano HAT class: board -type: todas +type: cap formfactor: HAT manufacturer: Pimoroni description: Un mini Pi piano con 16 botones capacitivos diff --git a/src/es/overlay/piborg-ledborg.md b/src/es/overlay/piborg-ledborg.md index b9d4411..8c35adb 100644 --- a/src/es/overlay/piborg-ledborg.md +++ b/src/es/overlay/piborg-ledborg.md @@ -2,7 +2,7 @@ --- name: LEDBorg class: board -type: todas +type: led formfactor: Otro manufacturer: PiBorg description: Un único LED RGB para tu Raspberry Pi @@ -28,29 +28,30 @@ pin: active: alto (encendido) description: LED Azul PiBorg --> -###El PiBorg LedBord es una placa con un LED RGB ultra-brillante para la Rasberry Pi. - -PiBorg tiene su propio controlador, así que no necesitas controlarlo manualmente. - -Si quieres un mucho, mucho mayor rango de colores, puedes controlarlo manualmente utilizando softPwm en WiringPi. Los pines para esto son los siguientes: - -WiringPi pin 0: LED Rojo -WiringPi pin 2: LED Verde -WiringPi pin 3: LED Azul - -Esto es fácil usando WiringPi en Python: +### PiBorg LedBorg +El LedBorg es una placa con un LED RGB ultra-brillante para la Rasberry Pi. ```python -import wiringpi2 as wiringpi -wiringpi.wiringPiSetup() +from gpiozero import LedBorg +from time import sleep -wiringpi.softPwmCreate(0,0,100) -wiringpi.softPwmCreate(2,0,100) -wiringpi.softPwmCreate(3,0,100) +lb = LedBorg() -# Violeta! -wiringpi.softPwmWrite(3,100) # Azul al máximo -wiringpi.softPwmWrite(0,100) # Rojo al máximo -wiringpi.softPWMWrite(2,0) # No verde +while True: + r, g, b = 0, 0, 0 + for i in range(100): + r = i / 100 + lb.value = (r, g, b) + sleep(0.01) + for i in range(100): + g = i / 100 + sleep(0.01) + lb.value = (r, g, b) + for i in range(100): + b = i / 100 + lb.value = (r, g, b) + sleep(0.01) ``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ledborg) diff --git a/src/es/overlay/pibrella.md b/src/es/overlay/pibrella.md index 1edf12c..ed850d8 100644 --- a/src/es/overlay/pibrella.md +++ b/src/es/overlay/pibrella.md @@ -2,7 +2,7 @@ --- name: Pibrella class: board -type: todas +type: io,multi formfactor: Otro manufacturer: Cyntech description: Luz, sonido, entradas y salidas en una placa. diff --git a/src/es/translate/piglow.md b/src/es/overlay/piglow.md similarity index 98% rename from src/es/translate/piglow.md rename to src/es/overlay/piglow.md index 0df44a4..b060dc4 100644 --- a/src/es/translate/piglow.md +++ b/src/es/overlay/piglow.md @@ -3,7 +3,7 @@ name: PiGlow class: board type: led -formfactor: Custom +formfactor: Otro manufacturer: Pimoroni description: Simply 18 LEDs in a spiral pattern controllable in Python url: http://shop.pimoroni.com/products/piglow diff --git a/src/es/translate/propeller-hat.md b/src/es/overlay/propeller-hat.md similarity index 94% rename from src/es/translate/propeller-hat.md rename to src/es/overlay/propeller-hat.md index 0767e1d..bd87652 100644 --- a/src/es/translate/propeller-hat.md +++ b/src/es/overlay/propeller-hat.md @@ -15,7 +15,13 @@ eeprom: yes power: '2': ground: - '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/es/translate/raspio-duino.md b/src/es/overlay/raspio-duino.md similarity index 93% rename from src/es/translate/raspio-duino.md rename to src/es/overlay/raspio-duino.md index ae7a07b..21215af 100644 --- a/src/es/translate/raspio-duino.md +++ b/src/es/overlay/raspio-duino.md @@ -3,7 +3,7 @@ name: Duino class: board type: mcu,io -formfactor: Custom +formfactor: Otro manufacturer: RasPiO description: Arduino Programming on the Raspberry Pi url: http://rasp.io/duino/ @@ -12,7 +12,14 @@ buy: https://ryanteck.uk/add-ons/58-raspio-duino.html image: 'raspio-duino.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '8': mode: uart diff --git a/src/es/translate/redbear-iot-hat.md b/src/es/overlay/redbear-iot-hat.md similarity index 59% rename from src/es/translate/redbear-iot-hat.md rename to src/es/overlay/redbear-iot-hat.md index 929f1c4..8b35daf 100644 --- a/src/es/translate/redbear-iot-hat.md +++ b/src/es/overlay/redbear-iot-hat.md @@ -1,51 +1,56 @@ -#PiZero IoT HAT +#IoT pHAT IoT HAT fabricado por RedBear lleva el BCM43438 usado en Raspberry Pi 3 a formato HAT, compatible con Pi Zero. diff --git a/src/es/overlay/rpf-dots.md b/src/es/overlay/rpf-dots.md index 8cccd90..5d2aa13 100644 --- a/src/es/overlay/rpf-dots.md +++ b/src/es/overlay/rpf-dots.md @@ -2,7 +2,7 @@ --- name: DOTs class: board -type: todas +type: otro formfactor: Otro manufacturer: Raspberry Pi description: Une los puntos para hacer un circuito diff --git a/src/es/overlay/rtk-000-001.md b/src/es/overlay/rtk-000-001.md index e6713cd..e3e2fd5 100644 --- a/src/es/overlay/rtk-000-001.md +++ b/src/es/overlay/rtk-000-001.md @@ -1,8 +1,8 @@ -#Controlador de Motor Ryanteck +#Controlador de Motor RTK ###Una manera rápida y fácil de empezar a controlar motores en tu Raspberry Pi ```python -import RPi.GPIO as GPIO -import time -GPIO.setmode(GPIO.BCM) +from gpiozero import RyanteckRobot +from time import sleep -#Motor 1 = Pines 17 y 18 -#Motor 2 = Pines 22 y 23 -GPIO.setup(17, GPIO.OUT) -GPIO.setup(18, GPIO.OUT) +robot = RyanteckRobot() -#Bucle infinito, girando en una dirección 5 segundos, después en la otra -while (True): - GPIO.salida(18, 0) - time.sleep(1) - GPIO.salida(17, 1); - time.sleep(5); - #Ahora para el otro lado - GPIO.salida(17, 0) - time.sleep(1); - GPIO.salida(18, 1); - time.sleep(5); -#Y limpieza final -GPIO.cleanup() +while True: + robot.forward() + sleep(5) + robot.left() + sleep(1) + robot.backward() + sleep(5) + robot.right() + sleep(1) + robot.stop() + sleep(1) ``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ryanteck-mcb-robot) diff --git a/src/es/translate/scroll-phat.md b/src/es/overlay/scroll-phat.md similarity index 95% rename from src/es/translate/scroll-phat.md rename to src/es/overlay/scroll-phat.md index cb82179..f2da6cb 100644 --- a/src/es/translate/scroll-phat.md +++ b/src/es/overlay/scroll-phat.md @@ -16,6 +16,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/translate/sense-hat.md b/src/es/overlay/sense-hat.md similarity index 92% rename from src/es/translate/sense-hat.md rename to src/es/overlay/sense-hat.md index 678743f..c561c20 100644 --- a/src/es/translate/sense-hat.md +++ b/src/es/overlay/sense-hat.md @@ -9,7 +9,19 @@ description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystic url: https://www.raspberrypi.org/products/sense-hat/ image: 'sense-hat.png' pincount: 40 -eeprom: yes +eeprom: setup +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/es/overlay/skywriter-hat.md b/src/es/overlay/skywriter-hat.md index cae720b..9b86123 100644 --- a/src/es/overlay/skywriter-hat.md +++ b/src/es/overlay/skywriter-hat.md @@ -2,7 +2,7 @@ --- name: Skywriter HAT class: board -type: todas +type: gestos formfactor: HAT manufacturer: Pimoroni description: Un sensor posicional y de gestos 3D diff --git a/src/es/overlay/traffic-hat.md b/src/es/overlay/traffic-hat.md index ecabb4a..9a7cc42 100644 --- a/src/es/overlay/traffic-hat.md +++ b/src/es/overlay/traffic-hat.md @@ -2,12 +2,12 @@ --- name: Traffic HAT class: board -type: todas +type: multi formfactor: HAT manufacturer: Ryanteck description: Una manera rápida de aprender lo básico del GPIO con un bajo presupuesto. Todo en un bonito HAT. -url: http://www.ryanteck.uk/store/traffichat -buy: http://www.ryanteck.uk/store/traffichat +url: https://ryanteck.uk/hats/1-traffichat-0635648607122.html +buy: https://ryanteck.uk/hats/1-traffichat-0635648607122.html image: 'traffic-hat.png' pincount: 40 eeprom: yes diff --git a/src/es/overlay/unicorn-hat.md b/src/es/overlay/unicorn-hat.md index 81176c8..cb70881 100644 --- a/src/es/overlay/unicorn-hat.md +++ b/src/es/overlay/unicorn-hat.md @@ -2,7 +2,7 @@ --- name: Unicorn HAT class: board -type: todas +type: led formfactor: HAT manufacturer: Pimoroni description: 64 LEDs RGB cegadores en un único HAT @@ -11,7 +11,7 @@ github: https://github.com/pimoroni/unicornhat buy: http://shop.pimoroni.com/products/unicorn-hat image: 'unicorn-hat.png' pincount: 40 -eeprom: yes +eeprom: detect power: '2': ground: diff --git a/src/es/translate/unicorn-phat.md b/src/es/overlay/unicorn-phat.md similarity index 96% rename from src/es/translate/unicorn-phat.md rename to src/es/overlay/unicorn-phat.md index 7f7b957..1eeabb3 100644 --- a/src/es/translate/unicorn-phat.md +++ b/src/es/overlay/unicorn-phat.md @@ -15,7 +15,14 @@ eeprom: yes power: '2': ground: + '6': '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: Data diff --git a/src/es/translate/uugear-7port-usb-hub.md b/src/es/overlay/uugear-7port-usb-hub.md similarity index 96% rename from src/es/translate/uugear-7port-usb-hub.md rename to src/es/overlay/uugear-7port-usb-hub.md index d7a803f..dc7623e 100644 --- a/src/es/translate/uugear-7port-usb-hub.md +++ b/src/es/overlay/uugear-7port-usb-hub.md @@ -9,9 +9,12 @@ description: 7-port USB hub for Raspberry Pi url: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ buy: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ image: 'uugear-7port-usb-hub.png' -pincount: 40 +pincount: 7 eeprom: no -power: 5v +power: + '2': +ground: + '39': --> #7-port USB hub for Raspberry Pi diff --git a/src/es/translate/uugear-witty-pi-2.md b/src/es/overlay/uugear-witty-pi-2.md similarity index 94% rename from src/es/translate/uugear-witty-pi-2.md rename to src/es/overlay/uugear-witty-pi-2.md index bb908eb..ffb2114 100644 --- a/src/es/translate/uugear-witty-pi-2.md +++ b/src/es/overlay/uugear-witty-pi-2.md @@ -12,7 +12,18 @@ buy: http://www.uugear.com/product/wittypi2/ image: 'uugear-witty-pi-2.png' pincount: 40 eeprom: no -power: 5v,3v3 +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA diff --git a/src/es/translate/uugear-witty-pi.md b/src/es/overlay/uugear-witty-pi.md similarity index 94% rename from src/es/translate/uugear-witty-pi.md rename to src/es/overlay/uugear-witty-pi.md index 7bf9146..270b5e6 100644 --- a/src/es/translate/uugear-witty-pi.md +++ b/src/es/overlay/uugear-witty-pi.md @@ -12,7 +12,17 @@ buy: http://www.uugear.com/product/witty-pi-realtime-clock-and-power-management- image: 'uugear-witty-pi.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA diff --git a/src/es/translate/uugear-zero4u.md b/src/es/overlay/uugear-zero4u.md similarity index 97% rename from src/es/translate/uugear-zero4u.md rename to src/es/overlay/uugear-zero4u.md index e216b41..ee85e4c 100644 --- a/src/es/translate/uugear-zero4u.md +++ b/src/es/overlay/uugear-zero4u.md @@ -9,9 +9,8 @@ description: 4-port USB hub for Raspberry Pi Zero url: http://www.uugear.com/product/zero4u/ buy: http://www.uugear.com/product/zero4u/ image: 'uugear-zero4u.png' -pincount: 40 +pincount: 4 eeprom: no -power: 5v --> #Zero4U diff --git a/src/es/translate/wifi-pants.md b/src/es/overlay/wifi-pants.md similarity index 95% rename from src/es/translate/wifi-pants.md rename to src/es/overlay/wifi-pants.md index 54ec040..147dff9 100644 --- a/src/es/translate/wifi-pants.md +++ b/src/es/overlay/wifi-pants.md @@ -12,7 +12,17 @@ buy: https://www.tindie.com/products/ajlitt/wifi-power-pants/ image: 'wifi-pants.png' pincount: 40 eeprom: no -power: external +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '13': name: ESP GPIO10 diff --git a/src/es/settings.yaml b/src/es/settings.yaml index 6f84f50..f546996 100644 --- a/src/es/settings.yaml +++ b/src/es/settings.yaml @@ -1,6 +1,5 @@ --- default_desc: La guía detallada sobre el pinout del GPIO de Raspberry Pi para Raspberry - Pi, B+ y Pi 2 default_title: Pinout de Raspberry Pi - Pi 1, B+, Pi 2 title_suffix: " at Raspberry Pi GPIO Pinout" base_url: /pinout/ @@ -10,43 +9,103 @@ url_suffix: urls: GND: tierra strings: -- made_by: 'Hecho por {manufacturer}' +- details: 'Details' +- group_other: 'otro' +- form_undefined: 'Otro' +- pin_header: '{} pin header' - type_hat: 'formato HAT' - type_phat: 'formato pHAT' - type_classic: 'formato clásico' -- pin_header: '{} pin header' -- uses_eeprom: 'Usa EEPROM' +- eeprom_detect: 'EEPROM ID' +- eeprom_setup: 'Usa EEPROM' - uses_i2c: 'Usa I2C' - uses_spi: 'Usa SPI' -- wiring_pi_pin: 'Wiring Pi pin {}' +- uses_5v_and_3v3: 'Alimentación 5v+3v3' +- uses_5v: 'Alimentación 5v' +- uses_3v3: 'Alimentación 3v3' - uses_n_gpio_pins: 'Usa {} GPIO pins' - bcm_pin_rev1_pi: 'BCM pin {} on Rev 1 ( very early ) Pi' - physical_pin_n: 'Physical pin {}' +- wiring_pi_pin: 'Wiring Pi pin {}' +- made_by: 'Hecho por {manufacturer}' - more_information: 'More Information' -- github_repository: 'GitHub Repository' +- github_repository: 'GitHub' - buy_now: 'Buy Now' -- details: 'Details' featured: -- display-o-tron +- ab-adc-pi-zero +- analog-zero - piborg-ledborg - pibrella -- rtk-000-001 overlays: - ground +- iface-dpi +- iface-gpclk +- iface-jtag +- iface-1wire +- iface-pcm +- iface-sd - i2c - spi - uart - wiringpi -- iqaudio-pi-dac +- 4tronix-picon-zero +- 4tronix-pistep2d +- 4tronix-pistep2q +- ab-1-wire-plus +- ab-1-wire-zero +- ab-adc-differential-pi +- ab-adc-pi-plus +- ab-adc-pi-zero +- ab-adcdac-pi-zero +- ab-io-pi-plus +- ab-io-pi-zero +- ab-rs485-pi +- ab-rtc-pi-plus +- ab-rtc-pi-zero +- ab-serial-pi-plus +- ab-serial-pi-zero +- ab-servo-pwm-pi-zero +- adafruit-cap-mpr121 +- adafruit-servo-hat +- analog-zero +- automation-hat +- blinkt +- carberry +- cirruslogic-audio-card +- discohat - display-o-tron - display-o-tron-hat -- rpf-dots +- drum-hat +- enviro-phat +- espiot-phat - explorer-hat - explorer-hat-pro +- explorer-phat +- iqaudio-pi-dac +- iqaudio-pi-digiamp +- microdot-phat +- phat-dac +- pi-liter - piano-hat - piborg-ledborg +- piborg-zeroborg - pibrella +- piglow +- pijack +- propeller-hat +- raspio-duino +- redbear-iot-hat +- rpf-dots - rtk-000-001 +- scroll-phat +- sense-hat - skywriter-hat - traffic-hat - unicorn-hat +- unicorn-phat +- uugear-7port-usb-hub +- uugear-witty-pi +- uugear-witty-pi-2 +- uugear-zero4u +- wifi-pants +- zero-lipo diff --git a/src/es/template/layout.html b/src/es/template/layout.html index 161f3a7..8c17dcd 100755 --- a/src/es/template/layout.html +++ b/src/es/template/layout.html @@ -1,69 +1,68 @@ - - - {{title}} - - - - - - - - {{hreflang}} - - - -
-

Raspberry Pinout

-
- -
-
- -
-
    - {{nav_html_interface}} -
-
-
- {{content}} -
-
-
    - {{lang_links}} -
-
-
- -
+ + + +
+

Raspberry Pinout

+
+ +
+
+ +
+
    + {{nav_html_interface}} +
+
+
+ {{content}} +
+
+
    + {{lang_links}} +
+
+
+ +
- - - - - + + + + + diff --git a/src/es/translate/4tronix-picon-zero.md b/src/es/translate/4tronix-picon-zero.md new file mode 100644 index 0000000..2418d2e --- /dev/null +++ b/src/es/translate/4tronix-picon-zero.md @@ -0,0 +1,42 @@ + +#Picon Zero + +The Picon Zero is an add-on PCB for the Raspberry Pi that is physically the same size as a Raspberry Pi Zero and so is ideal as a pseudo-Hat (pHat) for the Pi Zero. However, it can of course be used on any Raspberry Pi with a 40-pin GPIO connector. + +As well as 2 full H-Bridge motor drivers, the Picon Zero has a number of Input and Output pins that can be configured in a variety of ways, allowing you to easily add analog inputs or neopixel outputs to your Raspberry Pi without any complicated software and kernel specific drivers. It also provides an interface for an HC-SR04 ultrasonic distance sensor and opens up 5 GPIO pins from the Raspberry Pi for you to use as you see fit. diff --git a/src/es/translate/4tronix-pistep2d.md b/src/es/translate/4tronix-pistep2d.md new file mode 100644 index 0000000..c8c706e --- /dev/null +++ b/src/es/translate/4tronix-pistep2d.md @@ -0,0 +1,54 @@ + +# PiStep2 Dual + +Drive 2 uni-polar stepper motors using a single control board with the PiStep2 Dual. + +* Uses a ULN2803 Darlington driver chip to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/es/translate/4tronix-pistep2q.md b/src/es/translate/4tronix-pistep2q.md new file mode 100644 index 0000000..4dbc2c2 --- /dev/null +++ b/src/es/translate/4tronix-pistep2q.md @@ -0,0 +1,78 @@ + +# PiStep2 Quad + +Drive 4 uni-polar stepper motors using a single control board with the PiStep2 Quad. + +* Uses ULN2803 Darlington driver chips to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/fr/translate/ab-1-wire-plus.md b/src/es/translate/ab-1-wire-zero.md similarity index 53% rename from src/fr/translate/ab-1-wire-plus.md rename to src/es/translate/ab-1-wire-zero.md index 07768d0..a85f890 100644 --- a/src/fr/translate/ab-1-wire-plus.md +++ b/src/es/translate/ab-1-wire-zero.md @@ -1,18 +1,29 @@ -#1 Wire Pi Plus +#1 Wire Pi Zero -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 Pi Zero from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi Zero. 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 1-Wire® port on the 1 Wire Pi Zero 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 Zero 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. +I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Zero allowing the board to be used with other I2C devices on the same bus. [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/es/translate/ab-adcdac-pi-zero.md b/src/es/translate/ab-adcdac-pi-zero.md new file mode 100644 index 0000000..0f8ab52 --- /dev/null +++ b/src/es/translate/ab-adcdac-pi-zero.md @@ -0,0 +1,51 @@ + +#ADC-DAC Pi Zero + +The ADC-DAC Pi Zero is a 2 channel 12 bit analogue to digital converter and 2 channel 12 bit digital to analogue converter designed to work with the Raspberry Pi. Designed for the same footprint as the Raspberry Pi Zero the ADC-DAC Pi Zero is also compatible with full size Raspberry Pi models. + +The ADC-DAC Pi Zero is based on the Microchip MCP3202 A/D converter containing 2 analogue inputs with 12 bit resolution with a Microchip MCP4822 dual channel 12-bit DAC with internal voltage reference. + +Max ADC Sample Rate: 100 ksamples/sec + +Max ADC Sample Rate under Python: 12,000 samples per second. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/es/translate/ab-io-pi-zero.md b/src/es/translate/ab-io-pi-zero.md new file mode 100644 index 0000000..30cd60f --- /dev/null +++ b/src/es/translate/ab-io-pi-zero.md @@ -0,0 +1,56 @@ + +#IO Pi Zero + +The IO Pi Zero is a 16 channel digital expansion board designed for use on the Raspberry Pi Zero. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc. + +The IO Pi Zero 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 Zero along with other expansion boards. + +##Features + +- 16 Digital Inputs/Outputs +- Control via the Raspberry Pi I2C port +- Stack up to 8 IO Pi boards on a single Raspberry Pi +- Jumper selectable I2C addresses +- External 5V Input with isolation solder bridge +- 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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/es/translate/ab-rs485-pi.md b/src/es/translate/ab-rs485-pi.md new file mode 100644 index 0000000..d5c9d93 --- /dev/null +++ b/src/es/translate/ab-rs485-pi.md @@ -0,0 +1,48 @@ + +#RS485 Pi + +The RS485 Pi is a UART to RS485 serial converter for the Raspberry Pi. + +The RS485 port is connected to the UART port on the Raspberry Pi using a SN65HVD72 interface. The SN65HVD72 IC converts the 3.3V UART port to RS485 differential voltages allowing communication with RS485 compatible devices over a twisted pair cable. The RS485 port can be accessed through the DB9 port or the solder points on the PCB. + +The RS485 Pi contains protection against voltage spikes in the form of a TVS Diode and two 10O, Pulse-Proof Thick-Film Resistors. A 120O terminator resistor is included with the board. + +##Features + +- RS-485 Half Duplex Port. +- Up to 250 kbps transfer rate. +- Use the Raspberry Pi to control external RS-485 devices. +- Stackable with other Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the UART 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/es/translate/ab-rtc-pi-zero.md b/src/es/translate/ab-rtc-pi-zero.md new file mode 100644 index 0000000..970846d --- /dev/null +++ b/src/es/translate/ab-rtc-pi-zero.md @@ -0,0 +1,45 @@ + +#RTC Pi Zero + +The RTC Pi Zero is a battery backed real-time clock module for the Raspberry Pi Zero. 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 Zero when it is switched back on. + +The RTC Pi Zero 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 Zero along with other expansion boards. The RTC Pi Zero 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 Zero also includes an I2C logic level converter allowing you to connect other 5V I2C devices to your Raspberry Pi. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/es/translate/ab-serial-pi-zero.md b/src/es/translate/ab-serial-pi-zero.md new file mode 100644 index 0000000..c02c224 --- /dev/null +++ b/src/es/translate/ab-serial-pi-zero.md @@ -0,0 +1,44 @@ + +#Serial Pi Zero + +The Serial Pi Zero is a UART to RS232 serial converter for the Raspberry Pi Zero. + +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 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/es/translate/ab-servo-pwm-pi-zero.md b/src/es/translate/ab-servo-pwm-pi-zero.md new file mode 100644 index 0000000..7f384fe --- /dev/null +++ b/src/es/translate/ab-servo-pwm-pi-zero.md @@ -0,0 +1,44 @@ + +#Servo PWM Pi Zero + +The Servo PWM Pi Zero is a 16-channel, 12-bit PWM controller for the Raspberry Pi, suitable for driving LEDs and radio control servos. The board is based around PCA9685 PWM I2C LED controller IC from NXT and can drive each of the 16 outputs with 12 bit (4096 steps) duty cycle from 0% to 100%. + +The output frequency is programmable from a typical 40Hz to 1000Hz. Each output driver is programmed to be either open-drain with a 22 mA current sink capability at 5 V or totem pole with a 22 mA sink, 10 mA source capability at 5 V. 220R current limiting resistors are used on each channel allowing you to connect servos or LEDs directly to the outputs. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/es/translate/automation-hat.md b/src/es/translate/automation-hat.md new file mode 100644 index 0000000..469c31d --- /dev/null +++ b/src/es/translate/automation-hat.md @@ -0,0 +1,101 @@ + +#Automation HAT + +Automation HAT is a home monitoring and automation controller for the Raspberry Pi; with relays, analog channels, powered outputs, and buffered inputs. All 24V tolerant. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS get.pimoroni.com/automationhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import automationhat +automationhat.relay.one.on() +``` diff --git a/src/es/translate/blinkt.md b/src/es/translate/blinkt.md deleted file mode 100644 index 3a790d2..0000000 --- a/src/es/translate/blinkt.md +++ /dev/null @@ -1,28 +0,0 @@ - -#Blinkt! - -Blinkt! es una placa adicional ultradelgada para Raspberry Pi con 8 LEDs APA-102. diff --git a/src/es/translate/piborg-zeroborg.md b/src/es/translate/piborg-zeroborg.md new file mode 100644 index 0000000..e7386a5 --- /dev/null +++ b/src/es/translate/piborg-zeroborg.md @@ -0,0 +1,38 @@ + +#ZeroBorg + +The PiBorg ZeroBorg is a 4 channel motor controller for the Raspberry Pi Zero. + +It supports configurable i2c slave addresses from 3 (0x03) to 119 (0x77), meaning that while it uses i2c it can potentially co-exist with *any* other i2c board. See the "Multiple Boards" section of the ZeroBorg install guide for more details. + +* 4 full H-Bridges +* Drives 4 motors or 2 stepper motors +* 2A peak or 1.5A RMS per bridge +* Onboard fast blow fuse at 5A +* Designed to run off a 9V power source +* 2 analogue inputs +* I2C communication \ No newline at end of file diff --git a/src/es/translate/pijack.md b/src/es/translate/pijack.md new file mode 100644 index 0000000..0315a3b --- /dev/null +++ b/src/es/translate/pijack.md @@ -0,0 +1,53 @@ + +#PiJack + +The easiest way to add Ethernet to your Rasberry Pi Zero. Simply plug the PiJack board on to your Pi and boot the latest Raspbian. PiJack will be autodetected by the Linux kernel, the correct driver will be loaded and the Ethernet interface will be ready to use. + +By default, Raspbian will automatically configure the interface for DHCP so as soon as you connect PiJack to your network your Pi will request an address and be ready to go online! + +Each PiJack board is programmed with a unique and persistent MAC address so each time your Pi boots the MAC address will remain the same. This allows you to set up your router to hand out the same IP address each time. + +There are a couple of recent improvements to the Ethernet controller driver, so if you're not running the latest version of Raspbian on your Pi, either download it and reflash your microSD card again, or run +```bash +sudo apt-get update +sudo apt-get dist-upgrade +``` + + diff --git a/src/es/translate/zero-lipo.md b/src/es/translate/zero-lipo.md index ecbb96b..9b277c9 100644 --- a/src/es/translate/zero-lipo.md +++ b/src/es/translate/zero-lipo.md @@ -11,7 +11,10 @@ buy: https://shop.pimoroni.com/products/zero-lipo image: 'zero-lipo.png' pincount: 8 eeprom: no -power: external +power: + '2': +ground: + '6': pin: '7': name: Battery Low diff --git a/src/fr/index.md b/src/fr/index.md index b7db95b..8b0ebc5 100644 --- a/src/fr/index.md +++ b/src/fr/index.md @@ -4,17 +4,18 @@ Ce document n'est pas destiné à l'impression, c'est à la fois un outil de référence rapide et un guide complet des broches GPIO de la Raspberry Pi. +##Dernières News de Pinout + +Nous avons [ajouté un explorateur de cartes](/boards)! Utilisez le pour trouver le brochage de votre carte chapeau Raspberry Pi, ou en découvrir de nouvelles. Si vous fabriquez des cartes chapeau, nous serions ravis de les ajouter aussi ! [Vous pouvez contribuer sur GitHub](https://github.com/gadgetoid/Pinout2). + ##Mais que veulent dire tous ces numéros? * BCM - numérotation Broadcom, plus communément apellée "GPIO"; utile pour travailler avec la librarie RPi.GPIO * WiringPi - numérotation Wiring Pi; utile pour travailler avec la librarie Wiring Pi * Physique - numérotation correspondante à la position physique des broches sur le connecteur GPIO -##Pi 2 (note 1) +##Représentation graphique du brochage -Pour fêter la sortie de la Raspberry Pi 2 et l'engouement qu'elle suscite, Pinout à été mis à jour et est maintenant plus clair et plus complet. Il sera mis à jour dans le futur avec toute information utile ou autres précisions manquantes. - -##Model B+ (note 2) - -Avec la sortie du modèle B+ de la Raspberry Pi, Pinout maintenant documente les 14 broches supplémentaires qu'elle vous offre. +Nous avons créé un schema simple du brochage du port GPIO du Raspberry Pi. Soyez libres d'imprimer, intégrer, partager ou référencer cette image mais sans oublier de nous mentionner ! +[![Graphical Raspberry Pi GPIO Pinout](/resources/raspberry-pi-pinout.png)](/resources/raspberry-pi-pinout.png) diff --git a/src/fr/overlay/4tronix-picon-zero.md b/src/fr/overlay/4tronix-picon-zero.md new file mode 100644 index 0000000..5b252a3 --- /dev/null +++ b/src/fr/overlay/4tronix-picon-zero.md @@ -0,0 +1,42 @@ + +#Picon Zero + +Le **Picon Zero** est une carte chapeau au format pHat (pseudo-Hat) pour le **Raspberry Pi Zero**. La carte peut, bien evidemment, être utilisée sur les autres Raspberry pi grâce au connecteur GPIO 40 broches. + +En plus de 2 pilotes moteur **H-Bridge**, Le **Picon Zero** a un ensemble d'entrée/sorties entièrement paramétrables, vous permettant facilement de rajouter des entrées analogiques ou sorties neopixel à votre Raspeberry Pi sans logiciels ou kernel compliqués ou spécifiques. La carte propose aussi une interface **HC-SR04** pour capteur de distance ultrasonique et libère aussi 5 port GPIO de votre Raspberry Pi. diff --git a/src/fr/overlay/ab-1-wire-plus.md b/src/fr/overlay/ab-1-wire-plus.md new file mode 100644 index 0000000..82a3ab0 --- /dev/null +++ b/src/fr/overlay/ab-1-wire-plus.md @@ -0,0 +1,45 @@ + +#1 Wire Pi Plus + +Le **1 Wire Pi Plus** de **AB Electronics UK** est une carte chapeau de communication supportant le protocole **1-Wire®** et conçu pour une utilisation avec le Raspberry Pi. Un port I2C 5v est aussi disponible sur la carte. + +Le port **1-Wire®** sur la carte chapeau **1 Wire Pi Plus** est conçu autour d'un pont **DS2482-100**: **I2C** vers **1-Wire®**. Le **DS2482-100** permet une conversion de protocole bi-directionnel entre le port **I2C** du Raspberry et n'importe quel equipement esclave **1-Wire®** attaché à la carte. Une diode de protection ESD permet de protéger la carte **1 Wire Pi Plus** et le Raspberry Pi de toutes décharges électrostatiques sur le port **1-Wire®**. Les connections sur le port **1-Wire®** se font grâce à une prise **RJ-12** ou sur les points de soudures de la carte. + +Le cavalier sur la carte permet de sélectionner l'addresse **I2C** de la carte **1 Wire Pi Plus** permettant ainsi d'utiliser la carte avec d'autres equipements sur le même bus. + +[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") diff --git a/src/fr/overlay/ab-1-wire-zero.md b/src/fr/overlay/ab-1-wire-zero.md new file mode 100644 index 0000000..bdd584a --- /dev/null +++ b/src/fr/overlay/ab-1-wire-zero.md @@ -0,0 +1,45 @@ + +#1 Wire Pi Zero + +Le **1 Wire Pi Zero** de **AB Electronics UK** est une carte chapeau de communication supportant le protocole **1-Wire®** et conçu pour une utilisation avec le Raspberry Pi Zero. Un port I2C 5v est aussi disponible sur la carte. + +Le port **1-Wire®** sur la carte chapeau **1 Wire Pi Zero** est conçu autour d'un pont **DS2482-100**: **I2C** vers **1-Wire®**. Le **DS2482-100** permet une conversion de protocole bi-directionnel entre le port **I2C** du Raspberry et n'importe quel equipement esclave **1-Wire®** attaché à la carte. Une diode de protection ESD permet de protéger la carte **1 Wire Pi Zero** et le Raspberry Pi Zero de toutes décharges électrostatiques sur le port **1-Wire®**. Les connections sur le port **1-Wire®** se font grâce à une prise **RJ-12** ou sur les points de soudures de la carte. + +Le cavalier sur la carte permet de sélectionner l'addresse **I2C** de la carte **1 Wire Pi Zero** permettant ainsi d'utiliser la carte avec d'autres equipements sur le même bus. + +[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") diff --git a/src/fr/overlay/ab-adc-differential-pi.md b/src/fr/overlay/ab-adc-differential-pi.md new file mode 100644 index 0000000..2bf3aca --- /dev/null +++ b/src/fr/overlay/ab-adc-differential-pi.md @@ -0,0 +1,62 @@ + +#ADC Differential Pi + +Le **ADC Differential Pi** de **AB Electronics** est une carte chapeau de conversion sur 8 canaux 18 bit *Analogique vers Digital* conçu pour fonctionner avec le Raspberry Pi. Le **ADC Differential Pi** est basé sur deux micro-puce de conversion **MCP3424 A/D** qui comportent chacun quatres entrées analogiques. La micro-puce **MCP3424** est un convertisseur *delta-sigma A/D* avec entrées différentielles à réduction de bruit. + +##Caractéristiques + +- 8 x Entrées 18-bit différentielles +- Controle via le port **I2C** du Raspberry Pi +- Superposez jusqu'à 4 cartes chapeau **ADC Differential Pi** sur le même Raspberry Pi +- Adresses **I2C** sélectionnable par cavaliers (8 choix) +- Port **I2C** 5V à mémoire tampon +- Basé sur le **MCP3424** de **Microchip Technologies Inc** +- Entrée à plage de tension de ±2.048V +- Tension de référence 2.048V embarquée (Précision ± 0.05%, Glissement: 15 ppm/°C) +- Amplificateur de Gain programmable embarqué (PGA): Gain de 1, 2, 4 ou 8 +- Débit de données programmable: + - 3.75 SPS (18 bits) + - 15 SPS (16 bits) + - 60 SPS (14 bits) + - 240 SPS (12 bits) +- Convertion unique ou continue + +Les librairies **Arduino**, **C**, **Node.js**, **Windows 10 IOT**, **Python 2** et **Python 3** sont disponibles sur GitHub. diff --git a/src/fr/overlay/ab-adc-pi-plus.md b/src/fr/overlay/ab-adc-pi-plus.md new file mode 100644 index 0000000..9169b9d --- /dev/null +++ b/src/fr/overlay/ab-adc-pi-plus.md @@ -0,0 +1,61 @@ + +#ADC Pi Plus + +Le **ADC Pi Plus** de **AB Electronics** est une carte chapeau de conversion sur 8 canaux 17 bit *Analogique vers Digital* conçu pour fonctionner avec le Raspberry Pi. Le **ADC Pi Plus** est basé sur deux micro-puce de conversion **MCP3424 A/D** qui comportent chacun quatres entrées analogiques. La micro-puce **MCP3424** est un convertisseur *delta-sigma A/D* avec entrées différentielles à réduction de bruit. + +##Caractéristiques + +- 8 x Entrées 17-bit 0-5V +- Controle via le port **I2C** du Raspberry Pi +- Superposez jusqu'à 4 cartes chapeau **ADC Pi Plus** sur le même Raspberry Pi +- Adresse **I2C** sélectionnable par cavaliers +- Port **I2C** 5V à mémoire tampon +- Basé sur le **MCP3424** de **Microchip Technologies Inc** +- Tension de référence 2.048V embarquée (Précision ± 0.05%, Glissement: 15 ppm/°C) +- Amplificateur de Gain programmable embarqué (PGA): Gain de 1, 2, 4 ou 8 +- Débit de données programmable: + - 3.75 SPS (17 bits) + - 15 SPS (15 bits) + - 60 SPS (13 bits) + - 240 SPS (11 bits) +- Convertion unique ou continue + +Les librairies **Arduino**, **C**, **Node.js**, **Windows 10 IOT**, **Python 2** et **Python 3** sont disponibles sur GitHub. diff --git a/src/fr/overlay/ab-adc-pi-zero.md b/src/fr/overlay/ab-adc-pi-zero.md new file mode 100644 index 0000000..a254930 --- /dev/null +++ b/src/fr/overlay/ab-adc-pi-zero.md @@ -0,0 +1,59 @@ + +#ADC Pi Zero + +Le **ADC Pi Zero** de **AB Electronics** est une carte chapeau de conversion sur 8 canaux 17 bit *Analogique vers Digital* conçu pour fonctionner avec le Raspberry Pi Zero. Le **ADC Pi Plus** est basé sur deux micro-puce de conversion **MCP3424 A/D** qui comportent chacun quatres entrées analogiques. La micro-puce **MCP3424** est un convertisseur *delta-sigma A/D* avec entrées différentielles à réduction de bruit. + +##Caractéristiques + +- 8 x Entrées 17-bit 0-5V +- Controle via le port **I2C** du Raspberry Pi +- Superposez jusqu'à 4 cartes chapeau **ADC Pi Plus** sur le même Raspberry Pi +- Adresse **I2C** sélectionnable par cavaliers +- Port **I2C** 5V à mémoire tampon +- Basé sur le **MCP3424** de **Microchip Technologies Inc** +- Tension de référence 2.048V embarquée (Précision ± 0.05%, Glissement: 15 ppm/°C) +- Amplificateur de Gain programmable embarqué (PGA): Gain de 1, 2, 4 ou 8 +- Débit de données programmable: + - 3.75 SPS (17 bits) + - 15 SPS (15 bits) + - 60 SPS (13 bits) + - 240 SPS (11 bits) +- Convertion unique ou continue + +Les librairies **Arduino**, **C**, **Node.js**, **Windows 10 IOT**, **Python 2** et **Python 3** sont disponibles sur GitHub. diff --git a/src/fr/overlay/ab-adcdac-pi-zero.md b/src/fr/overlay/ab-adcdac-pi-zero.md new file mode 100644 index 0000000..9a4fbd3 --- /dev/null +++ b/src/fr/overlay/ab-adcdac-pi-zero.md @@ -0,0 +1,51 @@ + +#ADC-DAC Pi Zero + +Le **ADC-DAC Pi Zero** de **AB Electronics** est une carte chapeau de conversion de signaux Analogiques vers Digitaux sur 2 canaux 12 bit et Digitaux vers Analogiques sur 2 canaux 12 bit conçu pour fonctionner avec le Raspberry Pi. Taillé aux dimensions du Raspberry Pi Zero, la carte chapeau **ADC-DAC Pi Zero** est aussi compatible avec les autres modèles de Raspberry Pi. + +Le **ADC-DAC Pi Zero** est basé sur la micro-puce de conversion **MCP3202 A/D** qui comporte 2 entrées analogiques 12 bit et sur une micro-puce **MCP4822 D/A** qui comporte 2 entrées digitales avec tension de référence interne. + +Débit de conversion ADC max: 100 ksamples/sec + +Débit de conversion ADC max (sous Python): 12,000 samples per second. + +Les librairies **Arduino**, **C**, **Node.js**, **Windows 10 IOT**, **Python 2** et **Python 3** sont disponibles sur GitHub. diff --git a/src/fr/overlay/ab-rtc-pi-zero.md b/src/fr/overlay/ab-rtc-pi-zero.md new file mode 100644 index 0000000..85747cc --- /dev/null +++ b/src/fr/overlay/ab-rtc-pi-zero.md @@ -0,0 +1,45 @@ + +#RTC Pi Zero + +Le **RTC Pi Zero** est une carte chapeau horloge autonome pour le Raspberry Pi Zero. Cette carte garde en mémoire votre réglage date/heure quand le raspberry est non alimenté, ce qui lui donne la possiblité de récupérer la date et l'heure de la carte chapeau RTC au démarrage. + +La carte chapeau **RTC Pi Zero** est alimenté via les ports GPIO du Raspberry Pi, elle étend aussi les connecteurs du GPIO pour permettre de rajouter une carte chapeau supplémentaires. Le **RTC Pi Zero** utilise une horloge **DS1307 RTC** et une batterie **CR2032** pour maintenir la date et l'heure quand l'alimentation principale du système n'est pas disponible. + +Contrairement aux autres modules basé sur les horloges **DS1307 RTC**, le **RTC Pi Zero** inclu un convertisseur de niveau logique I2C qui vous permet de connecter d'autres cartes I2C 5v à votre Raspberry. + +Les librairies **Arduino**, **C**, **Node.js**, **Windows 10 IOT**, **Python 2** et **Python 3** sont disponibles sur GitHub. diff --git a/src/fr/overlay/display-o-tron-hat.md b/src/fr/overlay/display-o-tron-hat.md index 206dc63..2bd82ee 100644 --- a/src/fr/overlay/display-o-tron-hat.md +++ b/src/fr/overlay/display-o-tron-hat.md @@ -2,7 +2,7 @@ --- name: Display-o-Tron HAT class: board -type: Tous +type: lcd formfactor: HAT manufacturer: Pimoroni description: Un LCD 3x16 avec rétro-éclairage sur 6 zones RGB et buttons tactiles diff --git a/src/fr/overlay/display-o-tron.md b/src/fr/overlay/display-o-tron.md index 24fb1d9..2ead87d 100644 --- a/src/fr/overlay/display-o-tron.md +++ b/src/fr/overlay/display-o-tron.md @@ -2,7 +2,7 @@ --- name: Display-o-Tron 3000 class: board -type: Tous +type: lcd formfactor: Autre manufacturer: Pimoroni description: Un écran LCD 3 lignes avec rétro-éclairage et joystick @@ -16,7 +16,7 @@ power: '2': '17': ground: - '6': + '6': pin: '3': mode: i2c @@ -59,4 +59,4 @@ Pour l'installation et mise en route exécutez simplement les commandes ci-desso ```bash curl -sS get.pimoroni.com/dot3k | bash -``` \ No newline at end of file +``` diff --git a/src/fr/overlay/explorer-hat-pro.md b/src/fr/overlay/explorer-hat-pro.md index 6e6a309..607baca 100644 --- a/src/fr/overlay/explorer-hat-pro.md +++ b/src/fr/overlay/explorer-hat-pro.md @@ -2,7 +2,7 @@ --- name: Explorer HAT Pro class: board -type: Tous +type: a/n,cap.,e/s,moteur formfactor: HAT manufacturer: Pimoroni description: Un chapeau multi-usage avec entrées analogiques et contrôle moteurs diff --git a/src/fr/overlay/explorer-hat.md b/src/fr/overlay/explorer-hat.md index 526a8e6..324d7e3 100644 --- a/src/fr/overlay/explorer-hat.md +++ b/src/fr/overlay/explorer-hat.md @@ -2,7 +2,7 @@ --- name: Explorer HAT class: board -type: Tous +type: cap.,e/s,multi formfactor: HAT manufacturer: Pimoroni description: Un chapeau multi-usage avec entrées et sorties 5V diff --git a/src/fr/overlay/iqaudio-pi-dac.md b/src/fr/overlay/iqaudio-pi-dac.md index b3c6f0c..4d32fa9 100644 --- a/src/fr/overlay/iqaudio-pi-dac.md +++ b/src/fr/overlay/iqaudio-pi-dac.md @@ -2,7 +2,7 @@ --- name: "Pi-DAC+" class: board -type: Tous +type: audio formfactor: HAT manufacturer: IQaudIO description: Convertisseur numérique-analogique pour la Raspberry Pi @@ -20,16 +20,16 @@ pin: name: I2S '15': name: silence - description: pour le Pi-AMP+ (option) + description: pour le Pi-AMP+ (option) '16': name: encodeur rotatif - description: (option) + description: (option) '18': name: encodeur rotatif description: (option) '22': name: capteur IR - description: (option) + description: (option) '35': name: I2S '38': @@ -45,4 +45,4 @@ La broche GPIO22 peut être utilisée pour couper le volume de l'ampli optionnel De même la broche GPIO25 peut être utilisée pour la lecture d'un capteur IR, et les broches GPIO23/24 pour celle d'un encodeur rotatif. Ces composants sont des options à souder sur la carte en elle-même. -Note: Les broches réservées à ces options peuvent être utilisées pour d'autres applications du moment qu'elles n'ont pas été activées programmatiquement pour leur fonction Pi-DAC. \ No newline at end of file +Note: Les broches réservées à ces options peuvent être utilisées pour d'autres applications du moment qu'elles n'ont pas été activées programmatiquement pour leur fonction Pi-DAC. diff --git a/src/fr/overlay/piano-hat.md b/src/fr/overlay/piano-hat.md index 753c835..83fb2df 100644 --- a/src/fr/overlay/piano-hat.md +++ b/src/fr/overlay/piano-hat.md @@ -2,7 +2,7 @@ --- name: Piano HAT class: board -type: Tous +type: cap.,instrument formfactor: HAT manufacturer: Pimoroni description: Un mini-piano avec 16 touches tactiles diff --git a/src/fr/overlay/piborg-ledborg.md b/src/fr/overlay/piborg-ledborg.md index ec0d35e..5a48d4f 100644 --- a/src/fr/overlay/piborg-ledborg.md +++ b/src/fr/overlay/piborg-ledborg.md @@ -2,7 +2,7 @@ --- name: LedBorg class: board -type: Tous +type: led formfactor: Autre manufacturer: PiBorg description: une carte LED RGB pour la Raspberry Pi @@ -28,28 +28,30 @@ pin: active: high description: LED bleue de la PiBorg --> -###La carte PiBorg LedBorg ajoute une LED tricolore RGB à votre Raspberry Pi. +### PiBorg LedBorg -La carte LedBorg prend en charge la gestion de la LED. Cependant, si vous désirez contrôler le gamut de couleurs de manière plus précise, vous pouvez vous tourner vers WiringPi et son softPwn. - -Pour ce faire, sachez que les broches WiringPi concernées sont les suivantes: - -WiringPi broche 0: LED rouge -WiringPi broche 2: LED verte -WiringPi broche 3: LED bleue - -Voici un exemple WiringPi sous Python: +La carte PiBorg LedBorg ajoute une LED tricolore RGB à votre Raspberry Pi. ```python -import wiringpi2 as wiringpi -wiringpi.wiringPiSetup() +from gpiozero import LedBorg +from time import sleep -wiringpi.softPwmCreate(0,0,100) -wiringpi.softPwmCreate(2,0,100) -wiringpi.softPwmCreate(3,0,100) +lb = LedBorg() -# Pour du violet: -wiringpi.softPwmWrite(0,100) # max rouge -wiringpi.softPwmWrite(3,100) # max bleu -wiringpi.softPWMWrite(2,0) # pas de vert -``` \ No newline at end of file +while True: + r, g, b = 0, 0, 0 + for i in range(100): + r = i / 100 + lb.value = (r, g, b) + sleep(0.01) + for i in range(100): + g = i / 100 + sleep(0.01) + lb.value = (r, g, b) + for i in range(100): + b = i / 100 + lb.value = (r, g, b) + sleep(0.01) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ledborg) diff --git a/src/fr/overlay/pibrella.md b/src/fr/overlay/pibrella.md index a91f638..1672450 100644 --- a/src/fr/overlay/pibrella.md +++ b/src/fr/overlay/pibrella.md @@ -2,7 +2,7 @@ --- name: Pibrella class: board -type: Tous +type: e/s,multi formfactor: Autre manufacturer: Cyntech description: carte multi-usage avec son, lumière, entrées et sorties @@ -81,4 +81,4 @@ Puis, sous Python, en guise de test que tout fonctionne bien: ```bash import pibrella pibrella.light.red.on() -``` \ No newline at end of file +``` diff --git a/src/fr/overlay/piglow.md b/src/fr/overlay/piglow.md index 993467f..a4529b6 100644 --- a/src/fr/overlay/piglow.md +++ b/src/fr/overlay/piglow.md @@ -2,7 +2,7 @@ --- name: PiGlow class: board -type: Tous +type: led formfactor: Autre manufacturer: Pimoroni description: une spirale de LED contrôlable depuis Python. diff --git a/src/fr/overlay/rpf-dots.md b/src/fr/overlay/rpf-dots.md index abab862..7edf6fd 100644 --- a/src/fr/overlay/rpf-dots.md +++ b/src/fr/overlay/rpf-dots.md @@ -2,7 +2,7 @@ --- name: DOTs class: board -type: Tous +type: autre formfactor: Autre manufacturer: Raspberry Pi description: créez un circuit avec de la peinture électrique @@ -122,4 +122,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/fr/overlay/rtk-000-001.md b/src/fr/overlay/rtk-000-001.md index b51445a..102f5b1 100644 --- a/src/fr/overlay/rtk-000-001.md +++ b/src/fr/overlay/rtk-000-001.md @@ -1,8 +1,8 @@ -#Contrôleur moteur Ryanteck RTK-000-001 +#Contrôleur moteur RTK -###Contrôler un moteur connecté au RTK-000-001 depuis votre Raspberry Pi est aisé: +###Contrôler un moteur connecté au RTK-000-001 depuis votre Raspberry Pi est aisé: ```python -import RPi.GPIO as GPIO -import time +from gpiozero import RyanteckRobot +from time import sleep -GPIO.setmode(GPIO.BCM) -GPIO.setup(17, GPIO.OUT) -GPIO.setup(18, GPIO.OUT) +robot = RyanteckRobot() -while (True): - GPIO.output(18, 0) - time.sleep(1) - GPIO.output(17, 1); - time.sleep(5); - GPIO.output(17, 0) - time.sleep(1); - GPIO.output(18, 1); - time.sleep(5); -GPIO.cleanup() -``` \ No newline at end of file +while True: + robot.forward() + sleep(5) + robot.left() + sleep(1) + robot.backward() + sleep(5) + robot.right() + sleep(1) + robot.stop() + sleep(1) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ryanteck-mcb-robot) diff --git a/src/fr/overlay/skywriter-hat.md b/src/fr/overlay/skywriter-hat.md index 2390c5d..9212a5f 100644 --- a/src/fr/overlay/skywriter-hat.md +++ b/src/fr/overlay/skywriter-hat.md @@ -2,7 +2,7 @@ --- name: Skywriter HAT class: board -type: Tous +type: autre formfactor: HAT manufacturer: Pimoroni description: un capteur de mouvements 3D diff --git a/src/fr/overlay/spi.md b/src/fr/overlay/spi.md deleted file mode 100644 index 3897534..0000000 --- a/src/fr/overlay/spi.md +++ /dev/null @@ -1,71 +0,0 @@ - -#SPI - Serial Peripheral Interface - -###Known as the four-wire serial bus, SPI lets you daisy-chain multiple compatible devices off a single set of pins by assigning them different chip-select pins. - -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION - -A useful example of an SPI peripheral is the MCP23S17 digital IO expander chip Note the S in place of the 0 found on the I2C version. - -To talk to an SPI device, you assert its corresponding chip-select pin. By default the Pi has CE0 and CE1. - -```python -import spidev - -spi = spidev.SpiDev() -spi.open(0, CHIP_SELECT_0_OR_1) -spi.max_speed_hz = 1000000 -spi.xfer([value_8bit]) -``` - -You can also use the SPI port to "Bit-Bang" an ATmega 328, loading Arduino sketches onto it with Gordon Henderson's modified version of AVRDude. - -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. \ No newline at end of file diff --git a/src/fr/overlay/traffic-hat.md b/src/fr/overlay/traffic-hat.md index 95ddcfd..45690fe 100644 --- a/src/fr/overlay/traffic-hat.md +++ b/src/fr/overlay/traffic-hat.md @@ -2,12 +2,12 @@ --- name: Traffic HAT class: board -type: Tous +type: multi formfactor: HAT manufacturer: Ryanteck description: carte multi-usage avec buzzer, LED et bouton -url: http://www.ryanteck.uk/store/traffichat -buy: http://www.ryanteck.uk/store/traffichat +url: https://ryanteck.uk/hats/1-traffichat-0635648607122.html +buy: https://ryanteck.uk/hats/1-traffichat-0635648607122.html image: 'traffic-hat.png' pincount: 40 eeprom: yes @@ -35,7 +35,7 @@ pin: --> #Traffic HAT -###Contrôler les broches GPIO du Traffic HAT depuis votre Raspberry Pi est aisé: +###Contrôler les broches GPIO du Traffic HAT depuis votre Raspberry Pi est aisé: ```python import RPi.GPIO as GPIO @@ -53,4 +53,4 @@ GPIO.setup(5,GPIO.OUT) #Bouton GPIO.setup(25,GPIO.IN,pull_up_down=GPIO.PUD_UP) -``` \ No newline at end of file +``` diff --git a/src/fr/overlay/uart.md b/src/fr/overlay/uart.md deleted file mode 100644 index 2a2448c..0000000 --- a/src/fr/overlay/uart.md +++ /dev/null @@ -1,35 +0,0 @@ - -#UART - Universal Asynchronous Receiver/Transmitter - -###The 2 UART pins in WiringPi are: 15, 16 - -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION - -UART is a handy, straight forward way to interface an Arduino ( or bootloaded ATmega ) with your Pi. You must, however, be careful with logic-levels between the two devices: the Pi is 3.3v and the Arduino is 5v. Connect the two and you might conjure up some magic blue smoke. - -Personally I'm a fan of building out a Arduino Bootloaded ATmega 328 circuit on a breadboard with a voltage regulator to take the Pi's 5v line and convert it to 3.3v. The ATmega 328 seems to run quite happily at 3.3v using a 16Mhz crystal and you'll then have an Arduino clone with 3.3v logic. - -Assuming you have WiringPi2-Python installed, the following python example opens the Pi's UART at 9600baud and puts 'hello world' - -```python -import wiringpi2 as wiringpi -wiringpi.wiringPiSetup() -serial = wiringpi.serialOpen('/dev/ttyAMA0',9600) -wiringpi.serialPuts(serial,'hello world!') -``` \ No newline at end of file diff --git a/src/fr/overlay/unicorn-hat.md b/src/fr/overlay/unicorn-hat.md index c784288..061b091 100644 --- a/src/fr/overlay/unicorn-hat.md +++ b/src/fr/overlay/unicorn-hat.md @@ -2,7 +2,7 @@ --- name: Unicorn HAT class: board -type: Tous +type: led formfactor: HAT manufacturer: Pimoroni description: une matrice 8x8 de LEDs RGB @@ -11,7 +11,7 @@ github: https://github.com/pimoroni/unicornhat buy: http://shop.pimoroni.com/products/unicorn-hat image: 'unicorn-hat.png' pincount: 40 -eeprom: yes +eeprom: setup power: '2': ground: diff --git a/src/fr/pin/pin-27.md b/src/fr/pin/pin-27.md index 16766f9..73beb4c 100644 --- a/src/fr/pin/pin-27.md +++ b/src/fr/pin/pin-27.md @@ -1 +1,3 @@ -Ces broches sont généralement réservées à la communication i2c avec l'EEPROM des 'chapeaux' HAT. \ No newline at end of file +Ces broches sont généralement réservées à la communication i2c avec l'EEPROM des cartes. + +Assurez vous de connecter ces broches si la carte permet une configuration automatique au démarrage (cette information fait partie du résumé descriptif des cartes, si applicable). diff --git a/src/fr/settings.yaml b/src/fr/settings.yaml index 54b18d3..33a95d9 100644 --- a/src/fr/settings.yaml +++ b/src/fr/settings.yaml @@ -1,6 +1,5 @@ --- default_desc: Le guide complet des broches GPIO de la Raspberry Pi - Pi, B+ and Pi 2 default_title: Raspberry Pi GPIO Pinout - Pi 1, B+, Pi 2 title_suffix: " Raspberry Pi GPIO Pinout" base_url: /pinout/ @@ -10,44 +9,103 @@ url_suffix: urls: GND: masse strings: -- made_by: 'produit {manufacturer}' +- details: 'Détails' +- group_other: 'autre' +- form_undefined: 'Autre' +- pin_header: '{} broches' - type_hat: 'format HAT' - type_phat: 'format pHAT' - type_classic: 'format Classic' -- pin_header: '{} broches' -- uses_eeprom: 'EEPROM' -- uses_i2c: 'bus I2C' -- uses_spi: 'bus SPI' -- wiring_pi_pin: 'broche Wiring Pi {}' +- eeprom_detect: 'identification produit par EEPROM' +- eeprom_setup: 'configuration automatique par EEPROM' +- uses_i2c: 'communication par bus I2C' +- uses_spi: 'communication par bus SPI' +- uses_5v_and_3v3: 'Alimentation 5v et 3v3' +- uses_5v: 'Alimentation 5v' +- uses_3v3: 'Alimentation 3v3' - uses_n_gpio_pins: '{} broches GPIO actives' - bcm_pin_rev1_pi: 'broche BCM {} sur Raspi Rev 1' - physical_pin_n: 'broche physique {}' +- wiring_pi_pin: 'broche Wiring Pi {}' +- made_by: 'produit {manufacturer}' - more_information: 'plus d''info' - github_repository: 'lien GitHub' - buy_now: 'achat' -- details: 'Details' featured: -- display-o-tron +- 4tronix-picon-zero +- ab-adc-pi-zero - piborg-ledborg - pibrella -- rtk-000-001 overlays: - ground +- iface-dpi +- iface-gpclk +- iface-jtag +- iface-1wire +- iface-pcm +- iface-sd - i2c - spi - uart - wiringpi -- iqaudio-pi-dac +- 4tronix-picon-zero +- 4tronix-pistep2d +- 4tronix-pistep2q +- ab-1-wire-plus +- ab-1-wire-zero +- ab-adc-differential-pi +- ab-adc-pi-plus +- ab-adc-pi-zero +- ab-adcdac-pi-zero +- ab-io-pi-plus +- ab-io-pi-zero +- ab-rs485-pi +- ab-rtc-pi-plus +- ab-rtc-pi-zero +- ab-serial-pi-plus +- ab-serial-pi-zero +- ab-servo-pwm-pi-zero +- adafruit-cap-mpr121 +- adafruit-servo-hat +- analog-zero +- automation-hat +- blinkt +- carberry +- cirruslogic-audio-card +- discohat - display-o-tron - display-o-tron-hat -- rpf-dots +- drum-hat +- enviro-phat +- espiot-phat - explorer-hat - explorer-hat-pro +- explorer-phat +- iqaudio-pi-dac +- iqaudio-pi-digiamp +- microdot-phat +- phat-dac +- pi-liter - piano-hat - piborg-ledborg +- piborg-zeroborg - pibrella - piglow +- pijack +- propeller-hat +- raspio-duino +- redbear-iot-hat +- rpf-dots - rtk-000-001 +- scroll-phat +- sense-hat - skywriter-hat - traffic-hat - unicorn-hat +- unicorn-phat +- uugear-7port-usb-hub +- uugear-witty-pi +- uugear-witty-pi-2 +- uugear-zero4u +- wifi-pants +- zero-lipo diff --git a/src/fr/template/boards.html b/src/fr/template/boards.html index 39ab9bc..f7e33f3 100644 --- a/src/fr/template/boards.html +++ b/src/fr/template/boards.html @@ -1,67 +1,67 @@ - - - {{title}} - - - - - - - - {{hreflang}} - - - -
-

Raspberry Pinout

-
- -
-
-
-

Raspberry Pi HATs, pHATs & Add-ons

-

Click on a HAT, pHAT or add-on for more details and to see which pins it uses!

-
-
    {{content}}
-
-
-
    - {{lang_links}} -
-
-
- -
+ + + +
+

Raspberry Pinout

+
+ +
+
+
+

Cartes d'extension pour la Raspberry Pi

+

Cliquez sur une carte ci-dessous pour en révéler tous les détails!

+
+
    {{content}}
+
+
+
    + {{lang_links}} +
+
+
+ +
- - - - - - + + + + + + diff --git a/src/fr/template/layout.html b/src/fr/template/layout.html index bd5cc35..3f72085 100755 --- a/src/fr/template/layout.html +++ b/src/fr/template/layout.html @@ -1,69 +1,68 @@ - - - {{title}} - - - - - - - - {{hreflang}} - - - -
-

Raspberry Pinout

-
- -
-
- -
-
    - {{nav_html_interface}} -
-
-
- {{content}} -
-
-
    - {{lang_links}} -
-
-
- -
+ + + +
+

Raspberry Pinout

+
+ +
+
+ +
+
    + {{nav_html_interface}} +
+
+
+ {{content}} +
+
+
    + {{lang_links}} +
+
+
+ +
- - - - - + + + + + diff --git a/src/fr/translate/4tronix-pistep2d.md b/src/fr/translate/4tronix-pistep2d.md new file mode 100644 index 0000000..c8c706e --- /dev/null +++ b/src/fr/translate/4tronix-pistep2d.md @@ -0,0 +1,54 @@ + +# PiStep2 Dual + +Drive 2 uni-polar stepper motors using a single control board with the PiStep2 Dual. + +* Uses a ULN2803 Darlington driver chip to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/fr/translate/4tronix-pistep2q.md b/src/fr/translate/4tronix-pistep2q.md new file mode 100644 index 0000000..4dbc2c2 --- /dev/null +++ b/src/fr/translate/4tronix-pistep2q.md @@ -0,0 +1,78 @@ + +# PiStep2 Quad + +Drive 4 uni-polar stepper motors using a single control board with the PiStep2 Quad. + +* Uses ULN2803 Darlington driver chips to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/fr/translate/ab-adc-differential-pi.md b/src/fr/translate/ab-adc-differential-pi.md deleted file mode 100644 index dca0b1e..0000000 --- a/src/fr/translate/ab-adc-differential-pi.md +++ /dev/null @@ -1,51 +0,0 @@ - -#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/fr/translate/ab-adc-pi-plus.md b/src/fr/translate/ab-adc-pi-plus.md deleted file mode 100644 index 39d61f4..0000000 --- a/src/fr/translate/ab-adc-pi-plus.md +++ /dev/null @@ -1,51 +0,0 @@ - -#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/fr/translate/ab-adc-pi-zero.md b/src/fr/translate/ab-adc-pi-zero.md deleted file mode 100644 index f863fc0..0000000 --- a/src/fr/translate/ab-adc-pi-zero.md +++ /dev/null @@ -1,51 +0,0 @@ - -#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/fr/translate/ab-io-pi-plus.md b/src/fr/translate/ab-io-pi-plus.md index 399712f..ec8504b 100644 --- a/src/fr/translate/ab-io-pi-plus.md +++ b/src/fr/translate/ab-io-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus image: 'ab-io-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -28,7 +39,7 @@ i2c: --> #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. +The IO Pi Plus is a 32 channel digital expansion board designed for use on the Raspberry Pi. 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. @@ -45,4 +56,4 @@ A pair of MCP23017 expanders are included on the board allowing you to connect u - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/fr/translate/ab-io-pi-zero.md b/src/fr/translate/ab-io-pi-zero.md new file mode 100644 index 0000000..30cd60f --- /dev/null +++ b/src/fr/translate/ab-io-pi-zero.md @@ -0,0 +1,56 @@ + +#IO Pi Zero + +The IO Pi Zero is a 16 channel digital expansion board designed for use on the Raspberry Pi Zero. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc. + +The IO Pi Zero 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 Zero along with other expansion boards. + +##Features + +- 16 Digital Inputs/Outputs +- Control via the Raspberry Pi I2C port +- Stack up to 8 IO Pi boards on a single Raspberry Pi +- Jumper selectable I2C addresses +- External 5V Input with isolation solder bridge +- 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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/fr/translate/ab-rs485-pi.md b/src/fr/translate/ab-rs485-pi.md new file mode 100644 index 0000000..d5c9d93 --- /dev/null +++ b/src/fr/translate/ab-rs485-pi.md @@ -0,0 +1,48 @@ + +#RS485 Pi + +The RS485 Pi is a UART to RS485 serial converter for the Raspberry Pi. + +The RS485 port is connected to the UART port on the Raspberry Pi using a SN65HVD72 interface. The SN65HVD72 IC converts the 3.3V UART port to RS485 differential voltages allowing communication with RS485 compatible devices over a twisted pair cable. The RS485 port can be accessed through the DB9 port or the solder points on the PCB. + +The RS485 Pi contains protection against voltage spikes in the form of a TVS Diode and two 10O, Pulse-Proof Thick-Film Resistors. A 120O terminator resistor is included with the board. + +##Features + +- RS-485 Half Duplex Port. +- Up to 250 kbps transfer rate. +- Use the Raspberry Pi to control external RS-485 devices. +- Stackable with other Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the UART 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/fr/translate/ab-rtc-pi-plus.md b/src/fr/translate/ab-rtc-pi-plus.md index ed4c3ec..625357a 100644 --- a/src/fr/translate/ab-rtc-pi-plus.md +++ b/src/fr/translate/ab-rtc-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus image: 'ab-rtc-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -25,10 +36,10 @@ i2c: --> #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 a battery backed real-time clock module for the Raspberry Pi. 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/fr/translate/ab-serial-pi-plus.md b/src/fr/translate/ab-serial-pi-plus.md index 38dc2cd..c1a1aee 100644 --- a/src/fr/translate/ab-serial-pi-plus.md +++ b/src/fr/translate/ab-serial-pi-plus.md @@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus image: 'ab-serial-pi-plus.png' pincount: 40 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': mode: UART diff --git a/src/fr/translate/ab-serial-pi-zero.md b/src/fr/translate/ab-serial-pi-zero.md new file mode 100644 index 0000000..c02c224 --- /dev/null +++ b/src/fr/translate/ab-serial-pi-zero.md @@ -0,0 +1,44 @@ + +#Serial Pi Zero + +The Serial Pi Zero is a UART to RS232 serial converter for the Raspberry Pi Zero. + +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 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/fr/translate/ab-servo-pwm-pi-zero.md b/src/fr/translate/ab-servo-pwm-pi-zero.md new file mode 100644 index 0000000..7f384fe --- /dev/null +++ b/src/fr/translate/ab-servo-pwm-pi-zero.md @@ -0,0 +1,44 @@ + +#Servo PWM Pi Zero + +The Servo PWM Pi Zero is a 16-channel, 12-bit PWM controller for the Raspberry Pi, suitable for driving LEDs and radio control servos. The board is based around PCA9685 PWM I2C LED controller IC from NXT and can drive each of the 16 outputs with 12 bit (4096 steps) duty cycle from 0% to 100%. + +The output frequency is programmable from a typical 40Hz to 1000Hz. Each output driver is programmed to be either open-drain with a 22 mA current sink capability at 5 V or totem pole with a 22 mA sink, 10 mA source capability at 5 V. 220R current limiting resistors are used on each channel allowing you to connect servos or LEDs directly to the outputs. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/fr/translate/adafruit-cap-mpr121.md b/src/fr/translate/adafruit-cap-mpr121.md index e17890e..c1cf7b3 100644 --- a/src/fr/translate/adafruit-cap-mpr121.md +++ b/src/fr/translate/adafruit-cap-mpr121.md @@ -16,6 +16,13 @@ power: '1': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -34,8 +41,27 @@ install: - 'python-dev' - 'python3-dev' --> -#Capacitive Touch HAT +# Capacitive Touch HAT This Raspberry Pi add-on board provides 12 capacitive touch inputs and all the logic to read them over a simple I2C communication bus. -Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. \ No newline at end of file +Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. + +## Code + +```python +from Adafruit_MPR121 import MPR121 +from time import sleep + +cap = MPR121.MPR121() + +last_touched = cap.touched() +while True: + current_touched = cap.touched() + for i in range(12): + pin_bit = 1 << i + if current_touched & pin_bit and not last_touched & pin_bit: + print("{} touched!".format(i)) + last_touched = current_touched + sleep(0.1) +``` diff --git a/src/fr/translate/adafruit-servo-hat.md b/src/fr/translate/adafruit-servo-hat.md index a35d644..b978229 100644 --- a/src/fr/translate/adafruit-servo-hat.md +++ b/src/fr/translate/adafruit-servo-hat.md @@ -2,7 +2,7 @@ --- name: Servo/PWM HAT class: board -type: touch +type: io,motor formfactor: HAT manufacturer: Adafruit description: A 16-Channel Servo / PWM HAT for Raspberry Pi @@ -11,11 +11,18 @@ github: https://github.com/adafruit/Adafruit_Python_PCA9685 buy: https://www.adafruit.com/product/2327 image: 'adafruit-servo-hat.png' pincount: 40 -eeprom: no +eeprom: yes power: '1': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -39,4 +46,4 @@ install: The Adafruit Servo/PWM HAT allows you to drive up to 16 servos or PWM outputs over I2C with only 2 pins. The on-board PWM controller will drive all 16 channels simultaneously with no additional processing overhead for the Raspberry Pi. Using a binary addressing system set by jumpers you can solder on the PCB, it is possible to stack up to 62 HATs to control up to 992 servos, using nothing more than the I2C bus. -Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! \ No newline at end of file +Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! diff --git a/src/fr/translate/analog-zero.md b/src/fr/translate/analog-zero.md index c6af4f0..2d96a04 100644 --- a/src/fr/translate/analog-zero.md +++ b/src/fr/translate/analog-zero.md @@ -12,7 +12,17 @@ buy: http://rasp.io/analogzero/ image: 'analog-zero.png' pincount: 40 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '19': mode: spi @@ -28,7 +38,7 @@ install: --> #Analog Zero -The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analog channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. +The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analogue channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. With RasPiO Analog Zero you can: @@ -38,4 +48,25 @@ With RasPiO Analog Zero you can: * make a voltmeter * use potentiometer dials for control and display * read analog sensors or voltages -* make your own embedded device with minimal footprint \ No newline at end of file +* make your own embedded device with minimal footprint + +## Code + +```python +from gpiozero import MCP3008 +from time import sleep + +left_pot = MCP3008(0) +light = MCP3008(1) +temperature = MCP3008(2) +right_pot = MCP3008(3) + +while True: + print("Left pot value is {}".format(left_pot.value)) + print("Light sensor value is {}".format(light.value)) + print("Temperature sensor value is {}".format(temperature.value)) + print("Right pot value is {}".format(right_pot.value)) + sleep(1) +``` + +[GPIO Zero docs: MCP3008](http://gpiozero.readthedocs.io/en/v1.3.1/api_spi.html#gpiozero.MCP3008) diff --git a/src/fr/translate/automation-hat.md b/src/fr/translate/automation-hat.md new file mode 100644 index 0000000..469c31d --- /dev/null +++ b/src/fr/translate/automation-hat.md @@ -0,0 +1,101 @@ + +#Automation HAT + +Automation HAT is a home monitoring and automation controller for the Raspberry Pi; with relays, analog channels, powered outputs, and buffered inputs. All 24V tolerant. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS get.pimoroni.com/automationhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import automationhat +automationhat.relay.one.on() +``` diff --git a/src/fr/translate/blinkt.md b/src/fr/translate/blinkt.md index 2f76692..ed826c6 100644 --- a/src/fr/translate/blinkt.md +++ b/src/fr/translate/blinkt.md @@ -12,7 +12,10 @@ buy: https://shop.pimoroni.com/products/blinkt image: 'blinkt.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': pin: '16': name: Data @@ -23,6 +26,23 @@ pin: mode: output active: high --> -#Blinkt! +# Blinkt! -Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. \ No newline at end of file +Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. + +## Code + +```python +from blinkt import set_pixel, show +from random import randint +from time import sleep + +while True: + for pixel in range(8): + r = randint(255) + g = randint(255) + b = randint(255) + set_pixel(pixel, r, g, b) + show() + sleep(0.1) +``` diff --git a/src/fr/translate/carberry.md b/src/fr/translate/carberry.md index 8f6ca5a..eddfd57 100644 --- a/src/fr/translate/carberry.md +++ b/src/fr/translate/carberry.md @@ -15,6 +15,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/fr/translate/cirruslogic-audio-card.md b/src/fr/translate/cirruslogic-audio-card.md index 434f7b2..5a3498e 100644 --- a/src/fr/translate/cirruslogic-audio-card.md +++ b/src/fr/translate/cirruslogic-audio-card.md @@ -10,6 +10,18 @@ url: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-acce buy: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card image: 'cirruslogic-audio-card.png' pincount: 40 +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA1 diff --git a/src/fr/translate/discohat.md b/src/fr/translate/discohat.md index d61a328..374b52b 100644 --- a/src/fr/translate/discohat.md +++ b/src/fr/translate/discohat.md @@ -11,6 +11,18 @@ buy: http://discohat.com/shop image: 'discohat.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD diff --git a/src/fr/translate/drum-hat.md b/src/fr/translate/drum-hat.md index e1ef6a0..ce36571 100644 --- a/src/fr/translate/drum-hat.md +++ b/src/fr/translate/drum-hat.md @@ -2,7 +2,7 @@ --- name: Drum HAT class: board -type: instrument +type: instrument,touch formfactor: HAT manufacturer: Pimoroni description: An 8 pad finger Drum HAT for your Raspberry Pi @@ -12,6 +12,13 @@ buy: http://shop.pimoroni.com/products/drum-hat image: 'drum-hat.png' pincount: 40 eeprom: yes +power: + '2': + '17': +ground: + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/fr/translate/enviro-phat.md b/src/fr/translate/enviro-phat.md index b253a52..5287339 100644 --- a/src/fr/translate/enviro-phat.md +++ b/src/fr/translate/enviro-phat.md @@ -2,7 +2,7 @@ --- name: Enviro pHAT class: board -type: iot,sensor +type: adc,sensor formfactor: pHAT manufacturer: Pimoroni description: A package of environmental sensors for IoT projects @@ -12,7 +12,17 @@ buy: https://shop.pimoroni.com/products/enviro-phat image: 'enviro-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -20,20 +30,20 @@ pin: mode: i2c '7': mode: output - name: Lights + name: LEDs i2c: - '0x29': - name: Light/Colour Sensor - device: TCS3472 '0x1d': name: Motion Sensor device: LSM303D + '0x29': + name: Light/Colour Sensor + device: TCS3472 + '0x49': + name: 4-Channel Analog Input + device: ADS1015 '0x77': name: Temp/Pressure Sensor device: BMP280 - '0x48': - name: 4-Channel Analog Input - device: ADS1015 --> #Enviro pHAT @@ -41,11 +51,12 @@ Coupled with a Pi Zero, Enviro pHAT is an affordable mix of sensors, ideal for m Features: -BMP280 temperature/pressure sensor (0x77 on the i2c bus) -TCS3472 light and RGB colour sensor (0x29 on the i2c bus) -(with two LEDs for illumination) -LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus) -ADS1015 4-channel 3.3v 12-bit ADC (0x48 on the i2c bus) +* BMP280 temperature/pressure sensor (0x77 on the i2c bus) +* TCS3472 light and RGB colour sensor (0x29 on the i2c bus) +(with two GPIO controlled LEDs for illumination) +* LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus) +* ADS1015 4-channel 5v tolerant 12-bit ADC (0x49 on the i2c bus) +(3.3v 12-bit ADC at address 0x48 in first production run of the board) To get the pHAT set up and ready to go you can use the one-line product installer: diff --git a/src/fr/translate/espiot-phat.md b/src/fr/translate/espiot-phat.md index 0b4c15f..534551b 100644 --- a/src/fr/translate/espiot-phat.md +++ b/src/fr/translate/espiot-phat.md @@ -15,6 +15,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/fr/translate/explorer-phat.md b/src/fr/translate/explorer-phat.md index a2c374d..e2b3643 100644 --- a/src/fr/translate/explorer-phat.md +++ b/src/fr/translate/explorer-phat.md @@ -12,6 +12,18 @@ buy: https://shop.pimoroni.com/products/explorer-phat image: 'explorer-phat.png' pincount: 40 eeprom: no +power: + '2': + '17': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/fr/translate/iface-1wire.md b/src/fr/translate/iface-1wire.md index 938f208..c3c7644 100644 --- a/src/fr/translate/iface-1wire.md +++ b/src/fr/translate/iface-1wire.md @@ -11,7 +11,7 @@ pin: --> # W1-GPIO - One-Wire Interface -To enable the one-wire interface you need to add the following line to /boot/config.txt, beofre rebooting your Pi: +To enable the one-wire interface you need to add the following line to /boot/config.txt, before rebooting your Pi: ``` dtoverlay=w1-gpio diff --git a/src/fr/translate/iqaudio-pi-digiamp.md b/src/fr/translate/iqaudio-pi-digiamp.md index 8ffda41..14b75f3 100644 --- a/src/fr/translate/iqaudio-pi-digiamp.md +++ b/src/fr/translate/iqaudio-pi-digiamp.md @@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk image: 'iqaudio-pi-digiamp.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -39,10 +51,9 @@ install: 'devices': - 'i2c' --> - #Pi-DigiAMP+ The Pi-DigiAMP+ is an add-on board that includes a Digital to Analog Converter (DAC) and powerful 35w stereo amplifier. If you want to turn your Raspberry Pi into a working Hi Fi stereo, just add speakers and you're off. 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. -Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. \ No newline at end of file +Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. diff --git a/src/fr/translate/microdot-phat.md b/src/fr/translate/microdot-phat.md index 53a191e..b2f5d83 100644 --- a/src/fr/translate/microdot-phat.md +++ b/src/fr/translate/microdot-phat.md @@ -12,7 +12,11 @@ buy: https://shop.pimoroni.com/products/microdot-phat image: 'microdot-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '39': pin: '3': mode: i2c diff --git a/src/fr/translate/phat-dac.md b/src/fr/translate/phat-dac.md index 8fd5d9c..3063da0 100644 --- a/src/fr/translate/phat-dac.md +++ b/src/fr/translate/phat-dac.md @@ -11,10 +11,16 @@ image: 'phat-dac.png' pincount: 40 eeprom: no power: - '1': '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: I2S diff --git a/src/fr/translate/pi-liter.md b/src/fr/translate/pi-liter.md index 579f4f9..9bfb9f7 100644 --- a/src/fr/translate/pi-liter.md +++ b/src/fr/translate/pi-liter.md @@ -6,12 +6,19 @@ type: led formfactor: Custom manufacturer: Ciseco description: An 8 LED strip for the Raspberry Pi -url: http://www.averagemanvsraspberrypi.com/2014/04/how-to-use-pi-liter-from-ciseco.html +url: http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter buy: http://cpc.farnell.com/wirelessthings/pi-liter/pi-lite-junior-led-io-board-for/dp/SC13293 image: 'pi-liter.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '7': name: LED1 @@ -56,4 +63,23 @@ Applications: * Bar graph * Light chaser * Activity indicator -* Lighting effects \ No newline at end of file +* Lighting effects + +## Code + +```python +from gpiozero import PiLiter +from time import sleep + +lite = PiLiter() + +for led in lite: + led.on() + sleep(0.1) + led.off() + +lite.on() +sleep(5) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter) diff --git a/src/fr/translate/piborg-zeroborg.md b/src/fr/translate/piborg-zeroborg.md new file mode 100644 index 0000000..e7386a5 --- /dev/null +++ b/src/fr/translate/piborg-zeroborg.md @@ -0,0 +1,38 @@ + +#ZeroBorg + +The PiBorg ZeroBorg is a 4 channel motor controller for the Raspberry Pi Zero. + +It supports configurable i2c slave addresses from 3 (0x03) to 119 (0x77), meaning that while it uses i2c it can potentially co-exist with *any* other i2c board. See the "Multiple Boards" section of the ZeroBorg install guide for more details. + +* 4 full H-Bridges +* Drives 4 motors or 2 stepper motors +* 2A peak or 1.5A RMS per bridge +* Onboard fast blow fuse at 5A +* Designed to run off a 9V power source +* 2 analogue inputs +* I2C communication \ No newline at end of file diff --git a/src/fr/translate/pijack.md b/src/fr/translate/pijack.md new file mode 100644 index 0000000..0315a3b --- /dev/null +++ b/src/fr/translate/pijack.md @@ -0,0 +1,53 @@ + +#PiJack + +The easiest way to add Ethernet to your Rasberry Pi Zero. Simply plug the PiJack board on to your Pi and boot the latest Raspbian. PiJack will be autodetected by the Linux kernel, the correct driver will be loaded and the Ethernet interface will be ready to use. + +By default, Raspbian will automatically configure the interface for DHCP so as soon as you connect PiJack to your network your Pi will request an address and be ready to go online! + +Each PiJack board is programmed with a unique and persistent MAC address so each time your Pi boots the MAC address will remain the same. This allows you to set up your router to hand out the same IP address each time. + +There are a couple of recent improvements to the Ethernet controller driver, so if you're not running the latest version of Raspbian on your Pi, either download it and reflash your microSD card again, or run +```bash +sudo apt-get update +sudo apt-get dist-upgrade +``` + + diff --git a/src/fr/translate/propeller-hat.md b/src/fr/translate/propeller-hat.md index 86d154b..ebeefd6 100644 --- a/src/fr/translate/propeller-hat.md +++ b/src/fr/translate/propeller-hat.md @@ -15,7 +15,13 @@ eeprom: yes power: '2': ground: - '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/fr/translate/raspio-duino.md b/src/fr/translate/raspio-duino.md index e38362a..9b175ee 100644 --- a/src/fr/translate/raspio-duino.md +++ b/src/fr/translate/raspio-duino.md @@ -12,7 +12,14 @@ buy: https://ryanteck.uk/add-ons/58-raspio-duino.html image: 'raspio-duino.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '8': mode: uart diff --git a/src/fr/translate/redbear-iot-hat.md b/src/fr/translate/redbear-iot-hat.md index 5e42b89..c642bf6 100644 --- a/src/fr/translate/redbear-iot-hat.md +++ b/src/fr/translate/redbear-iot-hat.md @@ -1,53 +1,58 @@ -#PiZero IoT HAT +#IoT pHAT -The RedBear IoT HAT brings the BCM43438 used on the Raspberry Pi 3 to HAT format, compatible with the Pi Zero. +The RedBear IoT pHAT brings the BCM43438 used on the Raspberry Pi 3 to pHAT format, compatible with the Pi Zero. The chip supports Wi-Fi 802.11n and Bluetooth 4.1 (Dual Mode). diff --git a/src/fr/translate/scroll-phat.md b/src/fr/translate/scroll-phat.md index 15505da..4fc363e 100644 --- a/src/fr/translate/scroll-phat.md +++ b/src/fr/translate/scroll-phat.md @@ -16,6 +16,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/fr/translate/sense-hat.md b/src/fr/translate/sense-hat.md index e121e83..d8d5f8e 100644 --- a/src/fr/translate/sense-hat.md +++ b/src/fr/translate/sense-hat.md @@ -9,7 +9,19 @@ description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystic url: https://www.raspberrypi.org/products/sense-hat/ image: 'sense-hat.png' pincount: 40 -eeprom: yes +eeprom: setup +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/pt/overlay/spi.md b/src/fr/translate/spi.md similarity index 100% rename from src/pt/overlay/spi.md rename to src/fr/translate/spi.md diff --git a/src/pt/overlay/uart.md b/src/fr/translate/uart.md similarity index 100% rename from src/pt/overlay/uart.md rename to src/fr/translate/uart.md diff --git a/src/fr/translate/unicorn-phat.md b/src/fr/translate/unicorn-phat.md index ae1fd5f..8b147d5 100644 --- a/src/fr/translate/unicorn-phat.md +++ b/src/fr/translate/unicorn-phat.md @@ -15,7 +15,14 @@ eeprom: yes power: '2': ground: + '6': '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: Data @@ -36,7 +43,7 @@ install: 32 blindingly bright LEDs packed into a pHAT and driven with an ultra-fast, C library that you can talk to from Python make Unicorn HAT PiGlow's bigger, brighter brother. -Note: Unicorn pHAT 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! +Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets your Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time! To get the HAT set up and ready to go you can use the one-line product installer: diff --git a/src/fr/translate/uugear-7port-usb-hub.md b/src/fr/translate/uugear-7port-usb-hub.md index 227943a..b52a4a7 100644 --- a/src/fr/translate/uugear-7port-usb-hub.md +++ b/src/fr/translate/uugear-7port-usb-hub.md @@ -9,9 +9,12 @@ description: 7-port USB hub for Raspberry Pi url: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ buy: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ image: 'uugear-7port-usb-hub.png' -pincount: 40 +pincount: 7 eeprom: no -power: 5v +power: + '2': +ground: + '39': --> #7-port USB hub for Raspberry Pi diff --git a/src/fr/translate/uugear-witty-pi-2.md b/src/fr/translate/uugear-witty-pi-2.md index 8f6d498..d7339b4 100644 --- a/src/fr/translate/uugear-witty-pi-2.md +++ b/src/fr/translate/uugear-witty-pi-2.md @@ -12,7 +12,18 @@ buy: http://www.uugear.com/product/wittypi2/ image: 'uugear-witty-pi-2.png' pincount: 40 eeprom: no -power: 5v,3v3 +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA diff --git a/src/fr/translate/uugear-witty-pi.md b/src/fr/translate/uugear-witty-pi.md index 47ed0ae..7923089 100644 --- a/src/fr/translate/uugear-witty-pi.md +++ b/src/fr/translate/uugear-witty-pi.md @@ -12,7 +12,17 @@ buy: http://www.uugear.com/product/witty-pi-realtime-clock-and-power-management- image: 'uugear-witty-pi.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA diff --git a/src/fr/translate/uugear-zero4u.md b/src/fr/translate/uugear-zero4u.md index 58bfa60..e5c945c 100644 --- a/src/fr/translate/uugear-zero4u.md +++ b/src/fr/translate/uugear-zero4u.md @@ -9,9 +9,8 @@ description: 4-port USB hub for Raspberry Pi Zero url: http://www.uugear.com/product/zero4u/ buy: http://www.uugear.com/product/zero4u/ image: 'uugear-zero4u.png' -pincount: 40 +pincount: 4 eeprom: no -power: 5v --> #Zero4U diff --git a/src/fr/translate/wifi-pants.md b/src/fr/translate/wifi-pants.md index e43dff6..4b242a8 100644 --- a/src/fr/translate/wifi-pants.md +++ b/src/fr/translate/wifi-pants.md @@ -12,7 +12,17 @@ buy: https://www.tindie.com/products/ajlitt/wifi-power-pants/ image: 'wifi-pants.png' pincount: 40 eeprom: no -power: external +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '13': name: ESP GPIO10 diff --git a/src/fr/translate/zero-lipo.md b/src/fr/translate/zero-lipo.md index ecbb96b..9b277c9 100644 --- a/src/fr/translate/zero-lipo.md +++ b/src/fr/translate/zero-lipo.md @@ -11,7 +11,10 @@ buy: https://shop.pimoroni.com/products/zero-lipo image: 'zero-lipo.png' pincount: 8 eeprom: no -power: external +power: + '2': +ground: + '6': pin: '7': name: Battery Low diff --git a/src/it/overlay/piborg-ledborg.md b/src/it/overlay/piborg-ledborg.md index 0843d18..5526a4a 100644 --- a/src/it/overlay/piborg-ledborg.md +++ b/src/it/overlay/piborg-ledborg.md @@ -28,30 +28,30 @@ pin: active: high description: PiBorg LED blu --> -###Il PiBorg LedBorg è un LED RGB ultra-luminoso per il Raspberry Pi. - -PiBorg ha il suo driver, quindi non devi controllarlo manualmente. - -Se vuoi una gamma di colori decisamente più ampia tuttavia, puoi controllarlo manualmente -usando softPwm su WiringPi. L'assegnazione dei pin è come segue: - -* WiringPi pin 0: LED rosso -* WiringPi pin 2: LED verde -* WiringPi pin 3: LED blu - -È facile usando WiringPi con Python: +# PiBorg LedBorg +Il PiBorg LedBorg è un LED RGB ultra-luminoso per il Raspberry Pi. ```python -import wiringpi2 as wiringpi -wiringpi.wiringPiSetup() +from gpiozero import LedBorg +from time import sleep -wiringpi.softPwmCreate(0,0,100) -wiringpi.softPwmCreate(2,0,100) -wiringpi.softPwmCreate(3,0,100) +lb = LedBorg() -# Viola! -wiringpi.softPwmWrite(3,100) # Blu al massimo -wiringpi.softPwmWrite(0,100) # Rosso al massimo -wiringpi.softPWMWrite(2,0) # Verde spento -``` \ No newline at end of file +while True: + r, g, b = 0, 0, 0 + for i in range(100): + r = i / 100 + lb.value = (r, g, b) + sleep(0.01) + for i in range(100): + g = i / 100 + sleep(0.01) + lb.value = (r, g, b) + for i in range(100): + b = i / 100 + lb.value = (r, g, b) + sleep(0.01) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ledborg) diff --git a/src/it/overlay/rtk-000-001.md b/src/it/overlay/rtk-000-001.md index 45a9b42..ec548f0 100644 --- a/src/it/overlay/rtk-000-001.md +++ b/src/it/overlay/rtk-000-001.md @@ -1,6 +1,6 @@ -#Ryanteck Motor Controller Board +#RTK Motor Controller ###Una maniera facile e veloce per controllare dei motori dal tuo Raspberry ```python -# Semplice script per i motori dell'RTK-000-001 -import RPi.GPIO as GPIO -import time -# Imposta la numerazione Broadcom -GPIO.setmode(GPIO.BCM) +from gpiozero import RyanteckRobot +from time import sleep -# Motore 1 = Pin 17 e 18 -# Motore 2 = Pin 22 e 23 -GPIO.setup(17, GPIO.OUT) -GPIO.setup(18, GPIO.OUT) +robot = RyanteckRobot() -# Ora ripeti all'infinito attivando -# alternativamente ogni direzione per 5s -while (True): - # Sleep di 1 secondo, poi attiva il 17 - GPIO.output(18, 0) - time.sleep(1) - GPIO.output(17, 1); - time.sleep(5); - # Ed ora l'opposto - GPIO.output(17, 0) - time.sleep(1); - GPIO.output(18, 1); - time.sleep(5); - # E si ricomincia -# Cleanup finale -GPIO.cleanup() -``` \ No newline at end of file +while True: + robot.forward() + sleep(5) + robot.left() + sleep(1) + robot.backward() + sleep(5) + robot.right() + sleep(1) + robot.stop() + sleep(1) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ryanteck-mcb-robot) diff --git a/src/it/overlay/traffic-hat.md b/src/it/overlay/traffic-hat.md index d17fa09..1d765f5 100644 --- a/src/it/overlay/traffic-hat.md +++ b/src/it/overlay/traffic-hat.md @@ -6,8 +6,8 @@ type: Tutti formfactor: HAT manufacturer: Ryanteck description: Una maniera facile e veloce per imparare le basi del GPIO a basso prezzo. Tutto in un singolo HAT. -url: http://www.ryanteck.uk/store/traffichat -buy: http://www.ryanteck.uk/store/traffichat +url: https://ryanteck.uk/hats/1-traffichat-0635648607122.html +buy: https://ryanteck.uk/hats/1-traffichat-0635648607122.html image: 'traffic-hat.png' pincount: 40 eeprom: yes @@ -53,4 +53,4 @@ IO.setup(5,IO.OUT) #Bottone IO.setup(25,IO.IN,pull_up_down=IO.PUD_UP) -``` \ No newline at end of file +``` diff --git a/src/it/overlay/unicorn-hat.md b/src/it/overlay/unicorn-hat.md index 2317378..f810d0a 100644 --- a/src/it/overlay/unicorn-hat.md +++ b/src/it/overlay/unicorn-hat.md @@ -11,7 +11,7 @@ github: https://github.com/pimoroni/unicornhat buy: http://shop.pimoroni.com/products/unicorn-hat image: 'unicorn-hat.png' pincount: 40 -eeprom: yes +eeprom: detect power: '2': ground: @@ -26,10 +26,10 @@ pin: --> #Unicorn HAT -64 LED accecanti montati su un HAT e controllati da una velocissima libreria in C, con cui puoi comunicare +64 LED accecanti montati su un HAT e controllati da una velocissima libreria in C, con cui puoi comunicare via Python, rendono l'Unicorn HAT il fratello maggiore (e più luminoso) del PiGlow. -Nota: Unicorn HAT usa alcuni trucchetti col PWM, che sfruttano lo stesso hardware che ti permette di produrre +Nota: Unicorn HAT usa alcuni trucchetti col PWM, che sfruttano lo stesso hardware che ti permette di produrre suoni tramite il jack audio (analogico), per cui non puoi usare entrambi allo stesso momento! Per preparare e impostare l'HAT puoi utilizzare l'installer fornito: diff --git a/src/it/settings.yaml b/src/it/settings.yaml index 82fd4d6..8663157 100644 --- a/src/it/settings.yaml +++ b/src/it/settings.yaml @@ -1,6 +1,5 @@ --- -default_desc: La guida completa ai pin GPIO del Raspberry Pi originale, del Modello - B+ e del Raspberry Pi 2 +default_desc: La guida completa ai pin GPIO del Raspberry Pi originale default_title: Assegnazione pin GPIO del Raspberry Pi - Pi 1, B+, Pi 2 title_suffix: " - Assegnazione pin GPIO del Raspberry Pi" base_url: /pinout/ @@ -10,22 +9,28 @@ url_suffix: urls: GND: massa strings: -- made_by: 'Prodotto da {manufacturer}' +- details: 'Details' +- group_other: 'Tutti' +- form_undefined: 'Altro' +- pin_header: '{} pin header' - type_hat: 'Fattore di forma HAT' - type_phat: 'Fattore di forma pHAT' - type_classic: 'Fattore di forma classico' -- pin_header: '{} pin header' -- uses_eeprom: 'Utilizza EEPROM' +- eeprom_detect: 'Prodotto ID EEPROM' +- eeprom_setup: 'Utilizza EEPROM' - uses_i2c: 'Utilizza I2C' - uses_spi: 'Utilizza SPI' -- wiring_pi_pin: 'Wiring Pi pin {}' +- uses_5v_and_3v3: 'Alimentazione a 5v+3.3V' +- uses_5v: 'Alimentazione a 5V' +- uses_3v3: 'Alimentazione a 3.3V' - uses_n_gpio_pins: 'Utilizza {} GPIO pins' - bcm_pin_rev1_pi: 'BCM pin {} su Raspberry Rev 1 (le prime edizioni)' - physical_pin_n: 'Pin fisico {}' +- wiring_pi_pin: 'Wiring Pi pin {}' +- made_by: 'Prodotto da {manufacturer}' - more_information: 'Maggiori informazioni' -- github_repository: 'GitHub Repository' +- github_repository: 'GitHub' - buy_now: 'Acquista' -- details: 'Details' featured: - display-o-tron - piborg-ledborg @@ -33,20 +38,74 @@ featured: - rtk-000-001 overlays: - ground +- iface-dpi +- iface-gpclk +- iface-jtag +- iface-1wire +- iface-pcm +- iface-sd - i2c - spi - uart - wiringpi -- iqaudio-pi-dac +- 4tronix-picon-zero +- 4tronix-pistep2d +- 4tronix-pistep2q +- ab-1-wire-plus +- ab-1-wire-zero +- ab-adc-differential-pi +- ab-adc-pi-plus +- ab-adc-pi-zero +- ab-adcdac-pi-zero +- ab-io-pi-plus +- ab-io-pi-zero +- ab-rs485-pi +- ab-rtc-pi-plus +- ab-rtc-pi-zero +- ab-serial-pi-plus +- ab-serial-pi-zero +- ab-servo-pwm-pi-zero +- adafruit-cap-mpr121 +- adafruit-servo-hat +- analog-zero +- automation-hat +- blinkt +- carberry +- cirruslogic-audio-card +- discohat - display-o-tron - display-o-tron-hat -- rpf-dots +- drum-hat +- enviro-phat +- espiot-phat - explorer-hat - explorer-hat-pro +- explorer-phat +- iqaudio-pi-dac +- iqaudio-pi-digiamp +- microdot-phat +- phat-dac +- pi-liter - piano-hat - piborg-ledborg +- piborg-zeroborg - pibrella +- piglow +- pijack +- propeller-hat +- raspio-duino +- redbear-iot-hat +- rpf-dots - rtk-000-001 +- scroll-phat +- sense-hat - skywriter-hat - traffic-hat - unicorn-hat +- unicorn-phat +- uugear-7port-usb-hub +- uugear-witty-pi +- uugear-witty-pi-2 +- uugear-zero4u +- wifi-pants +- zero-lipo diff --git a/src/it/translate/4tronix-picon-zero.md b/src/it/translate/4tronix-picon-zero.md new file mode 100644 index 0000000..2418d2e --- /dev/null +++ b/src/it/translate/4tronix-picon-zero.md @@ -0,0 +1,42 @@ + +#Picon Zero + +The Picon Zero is an add-on PCB for the Raspberry Pi that is physically the same size as a Raspberry Pi Zero and so is ideal as a pseudo-Hat (pHat) for the Pi Zero. However, it can of course be used on any Raspberry Pi with a 40-pin GPIO connector. + +As well as 2 full H-Bridge motor drivers, the Picon Zero has a number of Input and Output pins that can be configured in a variety of ways, allowing you to easily add analog inputs or neopixel outputs to your Raspberry Pi without any complicated software and kernel specific drivers. It also provides an interface for an HC-SR04 ultrasonic distance sensor and opens up 5 GPIO pins from the Raspberry Pi for you to use as you see fit. diff --git a/src/it/translate/4tronix-pistep2d.md b/src/it/translate/4tronix-pistep2d.md new file mode 100644 index 0000000..c8c706e --- /dev/null +++ b/src/it/translate/4tronix-pistep2d.md @@ -0,0 +1,54 @@ + +# PiStep2 Dual + +Drive 2 uni-polar stepper motors using a single control board with the PiStep2 Dual. + +* Uses a ULN2803 Darlington driver chip to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/it/translate/4tronix-pistep2q.md b/src/it/translate/4tronix-pistep2q.md new file mode 100644 index 0000000..4dbc2c2 --- /dev/null +++ b/src/it/translate/4tronix-pistep2q.md @@ -0,0 +1,78 @@ + +# PiStep2 Quad + +Drive 4 uni-polar stepper motors using a single control board with the PiStep2 Quad. + +* Uses ULN2803 Darlington driver chips to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/it/translate/ab-1-wire-plus.md b/src/it/translate/ab-1-wire-plus.md index 07768d0..3eb201e 100644 --- a/src/it/translate/ab-1-wire-plus.md +++ b/src/it/translate/ab-1-wire-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus image: 'ab-1-wire-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -25,10 +36,10 @@ i2c: --> #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 Pi Plus from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi. 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. +I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Plus allowing the board to be used with other I2C devices on the same bus. [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/it/translate/ab-1-wire-zero.md b/src/it/translate/ab-1-wire-zero.md new file mode 100644 index 0000000..a85f890 --- /dev/null +++ b/src/it/translate/ab-1-wire-zero.md @@ -0,0 +1,45 @@ + +#1 Wire Pi Zero + +The 1 Wire Pi Zero from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi Zero. A 5V buffered I2C port is also provided on the board. + +The 1-Wire® port on the 1 Wire Pi Zero 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 Zero 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. + +I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Zero allowing the board to be used with other I2C devices on the same bus. + +[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/it/translate/ab-adc-differential-pi.md b/src/it/translate/ab-adc-differential-pi.md index dca0b1e..21caa1f 100644 --- a/src/it/translate/ab-adc-differential-pi.md +++ b/src/it/translate/ab-adc-differential-pi.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analo image: 'ab-adc-differential-pi.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -28,7 +39,7 @@ i2c: --> #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. +The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter designed to work with the Raspberry Pi. 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 @@ -48,4 +59,4 @@ The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter des - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries available on GitHub. \ No newline at end of file diff --git a/src/it/translate/ab-adc-pi-plus.md b/src/it/translate/ab-adc-pi-plus.md index 39d61f4..871390a 100644 --- a/src/it/translate/ab-adc-pi-plus.md +++ b/src/it/translate/ab-adc-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-D image: 'ab-adc-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -28,7 +39,7 @@ i2c: --> #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. +The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi. 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 @@ -48,4 +59,4 @@ The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/it/translate/ab-adc-pi-zero.md b/src/it/translate/ab-adc-pi-zero.md index f863fc0..d3bcfb2 100644 --- a/src/it/translate/ab-adc-pi-zero.md +++ b/src/it/translate/ab-adc-pi-zero.md @@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-D image: 'ab-adc-pi-zero.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '14': + '20': + '30': + '34': + '39': pin: '3': mode: i2c @@ -48,4 +57,4 @@ The ADC Pi Zero is an 8 channel 17 bit analogue to digital converter designed to - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/it/translate/ab-adcdac-pi-zero.md b/src/it/translate/ab-adcdac-pi-zero.md new file mode 100644 index 0000000..0f8ab52 --- /dev/null +++ b/src/it/translate/ab-adcdac-pi-zero.md @@ -0,0 +1,51 @@ + +#ADC-DAC Pi Zero + +The ADC-DAC Pi Zero is a 2 channel 12 bit analogue to digital converter and 2 channel 12 bit digital to analogue converter designed to work with the Raspberry Pi. Designed for the same footprint as the Raspberry Pi Zero the ADC-DAC Pi Zero is also compatible with full size Raspberry Pi models. + +The ADC-DAC Pi Zero is based on the Microchip MCP3202 A/D converter containing 2 analogue inputs with 12 bit resolution with a Microchip MCP4822 dual channel 12-bit DAC with internal voltage reference. + +Max ADC Sample Rate: 100 ksamples/sec + +Max ADC Sample Rate under Python: 12,000 samples per second. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/it/translate/ab-io-pi-plus.md b/src/it/translate/ab-io-pi-plus.md index 399712f..ec8504b 100644 --- a/src/it/translate/ab-io-pi-plus.md +++ b/src/it/translate/ab-io-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus image: 'ab-io-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -28,7 +39,7 @@ i2c: --> #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. +The IO Pi Plus is a 32 channel digital expansion board designed for use on the Raspberry Pi. 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. @@ -45,4 +56,4 @@ A pair of MCP23017 expanders are included on the board allowing you to connect u - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/it/translate/ab-io-pi-zero.md b/src/it/translate/ab-io-pi-zero.md new file mode 100644 index 0000000..30cd60f --- /dev/null +++ b/src/it/translate/ab-io-pi-zero.md @@ -0,0 +1,56 @@ + +#IO Pi Zero + +The IO Pi Zero is a 16 channel digital expansion board designed for use on the Raspberry Pi Zero. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc. + +The IO Pi Zero 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 Zero along with other expansion boards. + +##Features + +- 16 Digital Inputs/Outputs +- Control via the Raspberry Pi I2C port +- Stack up to 8 IO Pi boards on a single Raspberry Pi +- Jumper selectable I2C addresses +- External 5V Input with isolation solder bridge +- 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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/it/translate/ab-rs485-pi.md b/src/it/translate/ab-rs485-pi.md new file mode 100644 index 0000000..d5c9d93 --- /dev/null +++ b/src/it/translate/ab-rs485-pi.md @@ -0,0 +1,48 @@ + +#RS485 Pi + +The RS485 Pi is a UART to RS485 serial converter for the Raspberry Pi. + +The RS485 port is connected to the UART port on the Raspberry Pi using a SN65HVD72 interface. The SN65HVD72 IC converts the 3.3V UART port to RS485 differential voltages allowing communication with RS485 compatible devices over a twisted pair cable. The RS485 port can be accessed through the DB9 port or the solder points on the PCB. + +The RS485 Pi contains protection against voltage spikes in the form of a TVS Diode and two 10O, Pulse-Proof Thick-Film Resistors. A 120O terminator resistor is included with the board. + +##Features + +- RS-485 Half Duplex Port. +- Up to 250 kbps transfer rate. +- Use the Raspberry Pi to control external RS-485 devices. +- Stackable with other Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the UART 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/it/translate/ab-rtc-pi-plus.md b/src/it/translate/ab-rtc-pi-plus.md index ed4c3ec..625357a 100644 --- a/src/it/translate/ab-rtc-pi-plus.md +++ b/src/it/translate/ab-rtc-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus image: 'ab-rtc-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -25,10 +36,10 @@ i2c: --> #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 a battery backed real-time clock module for the Raspberry Pi. 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/it/translate/ab-rtc-pi-zero.md b/src/it/translate/ab-rtc-pi-zero.md new file mode 100644 index 0000000..970846d --- /dev/null +++ b/src/it/translate/ab-rtc-pi-zero.md @@ -0,0 +1,45 @@ + +#RTC Pi Zero + +The RTC Pi Zero is a battery backed real-time clock module for the Raspberry Pi Zero. 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 Zero when it is switched back on. + +The RTC Pi Zero 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 Zero along with other expansion boards. The RTC Pi Zero 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 Zero also includes an I2C logic level converter allowing you to connect other 5V I2C devices to your Raspberry Pi. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/it/translate/ab-serial-pi-plus.md b/src/it/translate/ab-serial-pi-plus.md index 38dc2cd..c1a1aee 100644 --- a/src/it/translate/ab-serial-pi-plus.md +++ b/src/it/translate/ab-serial-pi-plus.md @@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus image: 'ab-serial-pi-plus.png' pincount: 40 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': mode: UART diff --git a/src/it/translate/ab-serial-pi-zero.md b/src/it/translate/ab-serial-pi-zero.md new file mode 100644 index 0000000..c02c224 --- /dev/null +++ b/src/it/translate/ab-serial-pi-zero.md @@ -0,0 +1,44 @@ + +#Serial Pi Zero + +The Serial Pi Zero is a UART to RS232 serial converter for the Raspberry Pi Zero. + +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 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/it/translate/ab-servo-pwm-pi-zero.md b/src/it/translate/ab-servo-pwm-pi-zero.md new file mode 100644 index 0000000..7f384fe --- /dev/null +++ b/src/it/translate/ab-servo-pwm-pi-zero.md @@ -0,0 +1,44 @@ + +#Servo PWM Pi Zero + +The Servo PWM Pi Zero is a 16-channel, 12-bit PWM controller for the Raspberry Pi, suitable for driving LEDs and radio control servos. The board is based around PCA9685 PWM I2C LED controller IC from NXT and can drive each of the 16 outputs with 12 bit (4096 steps) duty cycle from 0% to 100%. + +The output frequency is programmable from a typical 40Hz to 1000Hz. Each output driver is programmed to be either open-drain with a 22 mA current sink capability at 5 V or totem pole with a 22 mA sink, 10 mA source capability at 5 V. 220R current limiting resistors are used on each channel allowing you to connect servos or LEDs directly to the outputs. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/it/translate/adafruit-cap-mpr121.md b/src/it/translate/adafruit-cap-mpr121.md index e17890e..c1cf7b3 100644 --- a/src/it/translate/adafruit-cap-mpr121.md +++ b/src/it/translate/adafruit-cap-mpr121.md @@ -16,6 +16,13 @@ power: '1': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -34,8 +41,27 @@ install: - 'python-dev' - 'python3-dev' --> -#Capacitive Touch HAT +# Capacitive Touch HAT This Raspberry Pi add-on board provides 12 capacitive touch inputs and all the logic to read them over a simple I2C communication bus. -Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. \ No newline at end of file +Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. + +## Code + +```python +from Adafruit_MPR121 import MPR121 +from time import sleep + +cap = MPR121.MPR121() + +last_touched = cap.touched() +while True: + current_touched = cap.touched() + for i in range(12): + pin_bit = 1 << i + if current_touched & pin_bit and not last_touched & pin_bit: + print("{} touched!".format(i)) + last_touched = current_touched + sleep(0.1) +``` diff --git a/src/it/translate/adafruit-servo-hat.md b/src/it/translate/adafruit-servo-hat.md index a35d644..b978229 100644 --- a/src/it/translate/adafruit-servo-hat.md +++ b/src/it/translate/adafruit-servo-hat.md @@ -2,7 +2,7 @@ --- name: Servo/PWM HAT class: board -type: touch +type: io,motor formfactor: HAT manufacturer: Adafruit description: A 16-Channel Servo / PWM HAT for Raspberry Pi @@ -11,11 +11,18 @@ github: https://github.com/adafruit/Adafruit_Python_PCA9685 buy: https://www.adafruit.com/product/2327 image: 'adafruit-servo-hat.png' pincount: 40 -eeprom: no +eeprom: yes power: '1': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -39,4 +46,4 @@ install: The Adafruit Servo/PWM HAT allows you to drive up to 16 servos or PWM outputs over I2C with only 2 pins. The on-board PWM controller will drive all 16 channels simultaneously with no additional processing overhead for the Raspberry Pi. Using a binary addressing system set by jumpers you can solder on the PCB, it is possible to stack up to 62 HATs to control up to 992 servos, using nothing more than the I2C bus. -Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! \ No newline at end of file +Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! diff --git a/src/it/translate/analog-zero.md b/src/it/translate/analog-zero.md index c6af4f0..2d96a04 100644 --- a/src/it/translate/analog-zero.md +++ b/src/it/translate/analog-zero.md @@ -12,7 +12,17 @@ buy: http://rasp.io/analogzero/ image: 'analog-zero.png' pincount: 40 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '19': mode: spi @@ -28,7 +38,7 @@ install: --> #Analog Zero -The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analog channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. +The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analogue channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. With RasPiO Analog Zero you can: @@ -38,4 +48,25 @@ With RasPiO Analog Zero you can: * make a voltmeter * use potentiometer dials for control and display * read analog sensors or voltages -* make your own embedded device with minimal footprint \ No newline at end of file +* make your own embedded device with minimal footprint + +## Code + +```python +from gpiozero import MCP3008 +from time import sleep + +left_pot = MCP3008(0) +light = MCP3008(1) +temperature = MCP3008(2) +right_pot = MCP3008(3) + +while True: + print("Left pot value is {}".format(left_pot.value)) + print("Light sensor value is {}".format(light.value)) + print("Temperature sensor value is {}".format(temperature.value)) + print("Right pot value is {}".format(right_pot.value)) + sleep(1) +``` + +[GPIO Zero docs: MCP3008](http://gpiozero.readthedocs.io/en/v1.3.1/api_spi.html#gpiozero.MCP3008) diff --git a/src/it/translate/automation-hat.md b/src/it/translate/automation-hat.md new file mode 100644 index 0000000..469c31d --- /dev/null +++ b/src/it/translate/automation-hat.md @@ -0,0 +1,101 @@ + +#Automation HAT + +Automation HAT is a home monitoring and automation controller for the Raspberry Pi; with relays, analog channels, powered outputs, and buffered inputs. All 24V tolerant. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS get.pimoroni.com/automationhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import automationhat +automationhat.relay.one.on() +``` diff --git a/src/it/translate/blinkt.md b/src/it/translate/blinkt.md index 2f76692..ed826c6 100644 --- a/src/it/translate/blinkt.md +++ b/src/it/translate/blinkt.md @@ -12,7 +12,10 @@ buy: https://shop.pimoroni.com/products/blinkt image: 'blinkt.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': pin: '16': name: Data @@ -23,6 +26,23 @@ pin: mode: output active: high --> -#Blinkt! +# Blinkt! -Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. \ No newline at end of file +Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. + +## Code + +```python +from blinkt import set_pixel, show +from random import randint +from time import sleep + +while True: + for pixel in range(8): + r = randint(255) + g = randint(255) + b = randint(255) + set_pixel(pixel, r, g, b) + show() + sleep(0.1) +``` diff --git a/src/it/translate/carberry.md b/src/it/translate/carberry.md index 8f6ca5a..eddfd57 100644 --- a/src/it/translate/carberry.md +++ b/src/it/translate/carberry.md @@ -15,6 +15,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/it/translate/cirruslogic-audio-card.md b/src/it/translate/cirruslogic-audio-card.md index 434f7b2..5a3498e 100644 --- a/src/it/translate/cirruslogic-audio-card.md +++ b/src/it/translate/cirruslogic-audio-card.md @@ -10,6 +10,18 @@ url: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-acce buy: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card image: 'cirruslogic-audio-card.png' pincount: 40 +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA1 diff --git a/src/it/translate/discohat.md b/src/it/translate/discohat.md index d61a328..374b52b 100644 --- a/src/it/translate/discohat.md +++ b/src/it/translate/discohat.md @@ -11,6 +11,18 @@ buy: http://discohat.com/shop image: 'discohat.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD diff --git a/src/it/translate/drum-hat.md b/src/it/translate/drum-hat.md index e1ef6a0..ce36571 100644 --- a/src/it/translate/drum-hat.md +++ b/src/it/translate/drum-hat.md @@ -2,7 +2,7 @@ --- name: Drum HAT class: board -type: instrument +type: instrument,touch formfactor: HAT manufacturer: Pimoroni description: An 8 pad finger Drum HAT for your Raspberry Pi @@ -12,6 +12,13 @@ buy: http://shop.pimoroni.com/products/drum-hat image: 'drum-hat.png' pincount: 40 eeprom: yes +power: + '2': + '17': +ground: + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/it/translate/enviro-phat.md b/src/it/translate/enviro-phat.md index b253a52..5287339 100644 --- a/src/it/translate/enviro-phat.md +++ b/src/it/translate/enviro-phat.md @@ -2,7 +2,7 @@ --- name: Enviro pHAT class: board -type: iot,sensor +type: adc,sensor formfactor: pHAT manufacturer: Pimoroni description: A package of environmental sensors for IoT projects @@ -12,7 +12,17 @@ buy: https://shop.pimoroni.com/products/enviro-phat image: 'enviro-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -20,20 +30,20 @@ pin: mode: i2c '7': mode: output - name: Lights + name: LEDs i2c: - '0x29': - name: Light/Colour Sensor - device: TCS3472 '0x1d': name: Motion Sensor device: LSM303D + '0x29': + name: Light/Colour Sensor + device: TCS3472 + '0x49': + name: 4-Channel Analog Input + device: ADS1015 '0x77': name: Temp/Pressure Sensor device: BMP280 - '0x48': - name: 4-Channel Analog Input - device: ADS1015 --> #Enviro pHAT @@ -41,11 +51,12 @@ Coupled with a Pi Zero, Enviro pHAT is an affordable mix of sensors, ideal for m Features: -BMP280 temperature/pressure sensor (0x77 on the i2c bus) -TCS3472 light and RGB colour sensor (0x29 on the i2c bus) -(with two LEDs for illumination) -LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus) -ADS1015 4-channel 3.3v 12-bit ADC (0x48 on the i2c bus) +* BMP280 temperature/pressure sensor (0x77 on the i2c bus) +* TCS3472 light and RGB colour sensor (0x29 on the i2c bus) +(with two GPIO controlled LEDs for illumination) +* LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus) +* ADS1015 4-channel 5v tolerant 12-bit ADC (0x49 on the i2c bus) +(3.3v 12-bit ADC at address 0x48 in first production run of the board) To get the pHAT set up and ready to go you can use the one-line product installer: diff --git a/src/it/translate/espiot-phat.md b/src/it/translate/espiot-phat.md index 0b4c15f..534551b 100644 --- a/src/it/translate/espiot-phat.md +++ b/src/it/translate/espiot-phat.md @@ -15,6 +15,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/it/translate/explorer-phat.md b/src/it/translate/explorer-phat.md index a2c374d..e2b3643 100644 --- a/src/it/translate/explorer-phat.md +++ b/src/it/translate/explorer-phat.md @@ -12,6 +12,18 @@ buy: https://shop.pimoroni.com/products/explorer-phat image: 'explorer-phat.png' pincount: 40 eeprom: no +power: + '2': + '17': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/it/translate/iface-1wire.md b/src/it/translate/iface-1wire.md index 938f208..c3c7644 100644 --- a/src/it/translate/iface-1wire.md +++ b/src/it/translate/iface-1wire.md @@ -11,7 +11,7 @@ pin: --> # W1-GPIO - One-Wire Interface -To enable the one-wire interface you need to add the following line to /boot/config.txt, beofre rebooting your Pi: +To enable the one-wire interface you need to add the following line to /boot/config.txt, before rebooting your Pi: ``` dtoverlay=w1-gpio diff --git a/src/it/translate/iqaudio-pi-digiamp.md b/src/it/translate/iqaudio-pi-digiamp.md index 8ffda41..14b75f3 100644 --- a/src/it/translate/iqaudio-pi-digiamp.md +++ b/src/it/translate/iqaudio-pi-digiamp.md @@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk image: 'iqaudio-pi-digiamp.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -39,10 +51,9 @@ install: 'devices': - 'i2c' --> - #Pi-DigiAMP+ The Pi-DigiAMP+ is an add-on board that includes a Digital to Analog Converter (DAC) and powerful 35w stereo amplifier. If you want to turn your Raspberry Pi into a working Hi Fi stereo, just add speakers and you're off. 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. -Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. \ No newline at end of file +Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. diff --git a/src/it/translate/microdot-phat.md b/src/it/translate/microdot-phat.md index 53a191e..b2f5d83 100644 --- a/src/it/translate/microdot-phat.md +++ b/src/it/translate/microdot-phat.md @@ -12,7 +12,11 @@ buy: https://shop.pimoroni.com/products/microdot-phat image: 'microdot-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '39': pin: '3': mode: i2c diff --git a/src/it/translate/phat-dac.md b/src/it/translate/phat-dac.md index 8fd5d9c..3063da0 100644 --- a/src/it/translate/phat-dac.md +++ b/src/it/translate/phat-dac.md @@ -11,10 +11,16 @@ image: 'phat-dac.png' pincount: 40 eeprom: no power: - '1': '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: I2S diff --git a/src/it/translate/pi-liter.md b/src/it/translate/pi-liter.md index 579f4f9..9bfb9f7 100644 --- a/src/it/translate/pi-liter.md +++ b/src/it/translate/pi-liter.md @@ -6,12 +6,19 @@ type: led formfactor: Custom manufacturer: Ciseco description: An 8 LED strip for the Raspberry Pi -url: http://www.averagemanvsraspberrypi.com/2014/04/how-to-use-pi-liter-from-ciseco.html +url: http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter buy: http://cpc.farnell.com/wirelessthings/pi-liter/pi-lite-junior-led-io-board-for/dp/SC13293 image: 'pi-liter.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '7': name: LED1 @@ -56,4 +63,23 @@ Applications: * Bar graph * Light chaser * Activity indicator -* Lighting effects \ No newline at end of file +* Lighting effects + +## Code + +```python +from gpiozero import PiLiter +from time import sleep + +lite = PiLiter() + +for led in lite: + led.on() + sleep(0.1) + led.off() + +lite.on() +sleep(5) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter) diff --git a/src/it/translate/piborg-zeroborg.md b/src/it/translate/piborg-zeroborg.md new file mode 100644 index 0000000..e7386a5 --- /dev/null +++ b/src/it/translate/piborg-zeroborg.md @@ -0,0 +1,38 @@ + +#ZeroBorg + +The PiBorg ZeroBorg is a 4 channel motor controller for the Raspberry Pi Zero. + +It supports configurable i2c slave addresses from 3 (0x03) to 119 (0x77), meaning that while it uses i2c it can potentially co-exist with *any* other i2c board. See the "Multiple Boards" section of the ZeroBorg install guide for more details. + +* 4 full H-Bridges +* Drives 4 motors or 2 stepper motors +* 2A peak or 1.5A RMS per bridge +* Onboard fast blow fuse at 5A +* Designed to run off a 9V power source +* 2 analogue inputs +* I2C communication \ No newline at end of file diff --git a/src/it/translate/pijack.md b/src/it/translate/pijack.md new file mode 100644 index 0000000..0315a3b --- /dev/null +++ b/src/it/translate/pijack.md @@ -0,0 +1,53 @@ + +#PiJack + +The easiest way to add Ethernet to your Rasberry Pi Zero. Simply plug the PiJack board on to your Pi and boot the latest Raspbian. PiJack will be autodetected by the Linux kernel, the correct driver will be loaded and the Ethernet interface will be ready to use. + +By default, Raspbian will automatically configure the interface for DHCP so as soon as you connect PiJack to your network your Pi will request an address and be ready to go online! + +Each PiJack board is programmed with a unique and persistent MAC address so each time your Pi boots the MAC address will remain the same. This allows you to set up your router to hand out the same IP address each time. + +There are a couple of recent improvements to the Ethernet controller driver, so if you're not running the latest version of Raspbian on your Pi, either download it and reflash your microSD card again, or run +```bash +sudo apt-get update +sudo apt-get dist-upgrade +``` + + diff --git a/src/it/translate/propeller-hat.md b/src/it/translate/propeller-hat.md index 86d154b..ebeefd6 100644 --- a/src/it/translate/propeller-hat.md +++ b/src/it/translate/propeller-hat.md @@ -15,7 +15,13 @@ eeprom: yes power: '2': ground: - '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/it/translate/raspio-duino.md b/src/it/translate/raspio-duino.md index e38362a..9b175ee 100644 --- a/src/it/translate/raspio-duino.md +++ b/src/it/translate/raspio-duino.md @@ -12,7 +12,14 @@ buy: https://ryanteck.uk/add-ons/58-raspio-duino.html image: 'raspio-duino.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '8': mode: uart diff --git a/src/it/translate/redbear-iot-hat.md b/src/it/translate/redbear-iot-hat.md index 5e42b89..c642bf6 100644 --- a/src/it/translate/redbear-iot-hat.md +++ b/src/it/translate/redbear-iot-hat.md @@ -1,53 +1,58 @@ -#PiZero IoT HAT +#IoT pHAT -The RedBear IoT HAT brings the BCM43438 used on the Raspberry Pi 3 to HAT format, compatible with the Pi Zero. +The RedBear IoT pHAT brings the BCM43438 used on the Raspberry Pi 3 to pHAT format, compatible with the Pi Zero. The chip supports Wi-Fi 802.11n and Bluetooth 4.1 (Dual Mode). diff --git a/src/it/translate/scroll-phat.md b/src/it/translate/scroll-phat.md index 15505da..4fc363e 100644 --- a/src/it/translate/scroll-phat.md +++ b/src/it/translate/scroll-phat.md @@ -16,6 +16,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/it/translate/sense-hat.md b/src/it/translate/sense-hat.md index e121e83..d8d5f8e 100644 --- a/src/it/translate/sense-hat.md +++ b/src/it/translate/sense-hat.md @@ -9,7 +9,19 @@ description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystic url: https://www.raspberrypi.org/products/sense-hat/ image: 'sense-hat.png' pincount: 40 -eeprom: yes +eeprom: setup +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/it/translate/unicorn-phat.md b/src/it/translate/unicorn-phat.md index ae1fd5f..8b147d5 100644 --- a/src/it/translate/unicorn-phat.md +++ b/src/it/translate/unicorn-phat.md @@ -15,7 +15,14 @@ eeprom: yes power: '2': ground: + '6': '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: Data @@ -36,7 +43,7 @@ install: 32 blindingly bright LEDs packed into a pHAT and driven with an ultra-fast, C library that you can talk to from Python make Unicorn HAT PiGlow's bigger, brighter brother. -Note: Unicorn pHAT 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! +Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets your Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time! To get the HAT set up and ready to go you can use the one-line product installer: diff --git a/src/it/translate/uugear-7port-usb-hub.md b/src/it/translate/uugear-7port-usb-hub.md index 227943a..b52a4a7 100644 --- a/src/it/translate/uugear-7port-usb-hub.md +++ b/src/it/translate/uugear-7port-usb-hub.md @@ -9,9 +9,12 @@ description: 7-port USB hub for Raspberry Pi url: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ buy: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ image: 'uugear-7port-usb-hub.png' -pincount: 40 +pincount: 7 eeprom: no -power: 5v +power: + '2': +ground: + '39': --> #7-port USB hub for Raspberry Pi diff --git a/src/it/translate/uugear-witty-pi-2.md b/src/it/translate/uugear-witty-pi-2.md index 8f6d498..d7339b4 100644 --- a/src/it/translate/uugear-witty-pi-2.md +++ b/src/it/translate/uugear-witty-pi-2.md @@ -12,7 +12,18 @@ buy: http://www.uugear.com/product/wittypi2/ image: 'uugear-witty-pi-2.png' pincount: 40 eeprom: no -power: 5v,3v3 +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA diff --git a/src/it/translate/uugear-witty-pi.md b/src/it/translate/uugear-witty-pi.md index 47ed0ae..7923089 100644 --- a/src/it/translate/uugear-witty-pi.md +++ b/src/it/translate/uugear-witty-pi.md @@ -12,7 +12,17 @@ buy: http://www.uugear.com/product/witty-pi-realtime-clock-and-power-management- image: 'uugear-witty-pi.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA diff --git a/src/it/translate/uugear-zero4u.md b/src/it/translate/uugear-zero4u.md index 58bfa60..e5c945c 100644 --- a/src/it/translate/uugear-zero4u.md +++ b/src/it/translate/uugear-zero4u.md @@ -9,9 +9,8 @@ description: 4-port USB hub for Raspberry Pi Zero url: http://www.uugear.com/product/zero4u/ buy: http://www.uugear.com/product/zero4u/ image: 'uugear-zero4u.png' -pincount: 40 +pincount: 4 eeprom: no -power: 5v --> #Zero4U diff --git a/src/it/translate/wifi-pants.md b/src/it/translate/wifi-pants.md index e43dff6..4b242a8 100644 --- a/src/it/translate/wifi-pants.md +++ b/src/it/translate/wifi-pants.md @@ -12,7 +12,17 @@ buy: https://www.tindie.com/products/ajlitt/wifi-power-pants/ image: 'wifi-pants.png' pincount: 40 eeprom: no -power: external +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '13': name: ESP GPIO10 diff --git a/src/it/translate/zero-lipo.md b/src/it/translate/zero-lipo.md index ecbb96b..9b277c9 100644 --- a/src/it/translate/zero-lipo.md +++ b/src/it/translate/zero-lipo.md @@ -11,7 +11,10 @@ buy: https://shop.pimoroni.com/products/zero-lipo image: 'zero-lipo.png' pincount: 8 eeprom: no -power: external +power: + '2': +ground: + '6': pin: '7': name: Battery Low diff --git a/src/pt/404.md b/src/pt/404.md deleted file mode 100644 index de3cf17..0000000 --- a/src/pt/404.md +++ /dev/null @@ -1,7 +0,0 @@ -#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 deleted file mode 100644 index cc31857..0000000 --- a/src/pt/index.md +++ /dev/null @@ -1,27 +0,0 @@ -#Diagrama de Pinos! - -###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. - -##O que é que estes números significam, afinal? - -* BCM - Número de pino Broadcom (Broadcom pin number), frequentemente chamados "GPIO", estes são os que provavelmente vais querer usar com o RPi.GPIO -* WiringPi - Número de pino Wiring Pi, para a biblioteca Wiring Pi de Gordon Henderson. -* Physical - Número correspondente à localização física dos pinos no cabeçalho. - -##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. - -##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. - -##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/ground.md b/src/pt/overlay/ground.md deleted file mode 100644 index 1ffd52b..0000000 --- a/src/pt/overlay/ground.md +++ /dev/null @@ -1,27 +0,0 @@ - -#Ground - -The Ground pins on the Raspberry Pi are all electrically connected, so it doesn't matter -which one you use if you're wiring up a voltage supply. - -Generally the one that's most convenient or closest to the rest of your connections is tidier -and easier, or alternatively the one closest to the supply pin that you use. - -For example, it's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using -the SPI connections, as these are right next to the important pins for SPI0. diff --git a/src/pt/overlay/i2c.md b/src/pt/overlay/i2c.md deleted file mode 100644 index 4070dda..0000000 --- a/src/pt/overlay/i2c.md +++ /dev/null @@ -1,50 +0,0 @@ - -#I2C - Inter Integrated Circuit ---- -###I2C pins in BCM mode are: 2, 3 -###I2C pins in WiringPi are: 8, 9 ---- -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 -sudo apt-get install i2c-tools -sudo i2cdetect -y 1 -``` - -You can then access I2C from Python using the smbus library: - -```python -import smbus -DEVICE_BUS = 1 -DEVICE_ADDR = 0x15 -bus = smbus.SMBus(DEVICE_BUS) -bus.write_byte_data(DEVICE_ADDR, 0x00, 0x01) -``` diff --git a/src/pt/overlay/wiringpi.md b/src/pt/overlay/wiringpi.md deleted file mode 100644 index a6bb73a..0000000 --- a/src/pt/overlay/wiringpi.md +++ /dev/null @@ -1,79 +0,0 @@ - -#WiringPi - -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 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. - -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. - -Installing to Python couldn't be easier, just: - -```bash -sudo pip install wiringpi2 -``` - -For more information about WiringPi you should visit the official WiringPi website. diff --git a/src/pt/pi-pinout.yaml b/src/pt/pi-pinout.yaml deleted file mode 100644 index 29189d2..0000000 --- a/src/pt/pi-pinout.yaml +++ /dev/null @@ -1,371 +0,0 @@ ---- -name: Raspberry Pi GPIO Pinout -pins: - '1': - name: 3v3 Power - type: "+3v3" - '2': - name: 5v Power - type: "+5v" - '3': - name: SDA - description: I2C Data - type: GPIO/I2C - scheme: - wiringpi: 8 - bcm: 2 - bcmAlt: 0 - functions: - alt0: I2C1 SDA - alt1: SMI SA3 - alt2: DPI V-Sync - '4': - name: 5v Power - type: "+5v" - '5': - name: SCL - description: I2C Clock - type: GPIO/I2C - scheme: - wiringpi: 9 - bcm: 3 - bcmAlt: 1 - functions: - alt0: I2C1 SCL - alt1: SMI SA2 - alt2: DPI H-Sync - '6': - name: Ground - type: GND - '7': - name: GPCLK0 - type: GPIO - scheme: - wiringpi: 7 - bcm: 4 - functions: - alt0: GPCLK0 - alt1: SMI SA1 - alt: Blue 2 - alt5: JTAG TDI - '8': - name: TXD - description: UART Transmit - type: GPIO/UART - scheme: - wiringpi: 15 - bcm: 14 - functions: - alt0: UART0 TXD - alt1: SMI SD6 - alt2: DSI Green 6 - alt5: UART1 TXD - '9': - name: Ground - type: GND - '10': - name: RXD - description: UART Receive - type: GPIO/UART - scheme: - wiringpi: 16 - bcm: 15 - functions: - alt0: UART0 RXD - alt1: SMI SD7 - alt2: DPI Green 7 - alt5: UART1 RXD - '11': - name: '' - type: GPIO - scheme: - wiringpi: 0 - bcm: 17 - functions: - alt0: Reserved - alt1: SMI SD9 - alt2: DPI Red 3 - alt3: UART0 RTS - alt4: SPI1 CE1 - alt5: UART1 RTS - '12': - name: PWM0 - description: PWM0 - type: GPIO - scheme: - wiringpi: 1 - bcm: 18 - functions: - alt0: PCM CLK - alt1: SMI SD10 - alt2: DPI Red 4 - alt3: BSCSL SDA / MOSI - alt4: SPI1 CE0 - alt5: PWM0 - '13': - name: '' - type: GPIO - scheme: - wiringpi: 2 - bcm: 27 - bcmAlt: 21 - functions: - alt0: SD0 DAT3 - alt1: Reserved - alt2: Reserved - alt3: SD1 DAT3 - alt4: JTAG TMS - '14': - name: Ground - type: GND - '15': - name: '' - type: GPIO - scheme: - wiringpi: 3 - bcm: 22 - functions: - alt0: SD0 CLK - alt1: SMI SD14 - alt2: Reserved - alt3: SD1 CLK - alt4: JTAG TRST - '16': - name: '' - type: GPIO - scheme: - wiringpi: 4 - bcm: 23 - functions: - alt0: SD0 CMD - alt1: SMI SD15 - alt2: Reserved - alt3: SD1 CMD - alt4: JTAG RTCK - '17': - name: 3v3 Power - type: "+3v3" - '18': - name: '' - type: GPIO - scheme: - wiringpi: 5 - bcm: 24 - functions: - alt0: SD0 DAT0 - alt1: SMI SD16 - alt2: Reserved - alt3: SD1 DAT0 - alt4: JTAG TDO - '19': - name: MOSI - type: GPIO/SPI - scheme: - wiringpi: 12 - bcm: 10 - functions: - alt0: SPI0 MOSI - alt1: SMI SD2 - alt2: DPI Green 2 - '20': - name: Ground - type: GND - '21': - name: MISO - type: GPIO/SPI - scheme: - wiringpi: 13 - bcm: 9 - functions: - alt0: SPI0 MISO - alt1: SMI SD1 - alt2: DPI Blue 7 - '22': - name: '' - type: GPIO - scheme: - wiringpi: 6 - bcm: 25 - functions: - alt0: SD0 DAT1 - alt1: SMI SD17 - alt2: Reserved - alt3: SD1 DAT1 - alt4: JTAG TCK - '23': - name: SCLK - type: GPIO/SPI - scheme: - wiringpi: 14 - bcm: 11 - functions: - alt0: SPI0 SCLK - alt1: SMI SD3 - alt2: DPI Green 3 - '24': - name: CE0 - description: SPI Chip Select 0 - type: GPIO/SPI - scheme: - wiringpi: 10 - bcm: 8 - functions: - alt0: SPI0 CE0 - alt1: SMI SD0 - alt2: DPI Blue 6 - '25': - name: Ground - type: GND - '26': - name: CE1 - description: SPI Chip Select 1 - type: GPIO/SPI - scheme: - wiringpi: 11 - bcm: 7 - functions: - alt0: SPI0 CE1 - alt1: SMI SWE_N / SRW_N - alt2: DPI Blue 5 - '27': - name: ID_SD - description: HAT EEPROM i2c Data - type: GPIO/I2C - scheme: - wiringpi: 30 - bcm: 0 - functions: - alt0: I2C0 SDA - alt1: SMI SA5 - alt2: DPI CLK - '28': - name: ID_SC - description: HAT EEPROM i2c Clock - type: GPIO/I2C - scheme: - wiringpi: 31 - bcm: 1 - functions: - alt0: I2C0 SCL - alt1: SMI SA4 - alt2: DPI DEN - '29': - name: '' - type: GPIO - scheme: - wiringpi: 21 - bcm: 5 - functions: - alt0: GPCLK1 - alt1: SMI SA0 - alt2: DPI Blue 3 - alt5: JTAG TDO - '30': - name: Ground - type: GND - '31': - name: '' - type: GPIO - scheme: - wiringpi: 22 - bcm: 6 - functions: - alt0: GPCLK2 - alt1: SMI SOE_N / SE - alt2: DPI Blue 4 - alt5: JTAG RTCK - '32': - name: PWM0 - type: GPIO - scheme: - wiringpi: 26 - bcm: 12 - functions: - alt0: PWM0 - alt1: SMI SD4 - alt2: DPI Green 4 - alt5: JTAG TMS - '33': - name: PWM1 - type: GPIO - scheme: - wiringpi: 23 - bcm: 13 - functions: - alt0: PWM1 - alt1: SMI SD5 - alt2: DPI Green 5 - alt5: JTAG TCK - '34': - name: Ground - type: GND - '35': - name: MISO - description: SPI Master-In - type: GPIO/SPI - scheme: - wiringpi: 24 - bcm: 19 - functions: - alt0: PCM FS - alt1: SMI SD11 - alt2: DPI Red 5 - alt3: BSCSL SCL / SCLK - alt4: SPI1 MISO - alt5: PWM1 - '36': - name: '' - type: GPIO - scheme: - wiringpi: 27 - bcm: 16 - functions: - alt0: Reserved - alt1: SMI SD8 - alt2: DPI Red 2 - alt3: UART0 CTS - alt4: SPI1 CE2 - alt5: UART1 CTS - '37': - name: '' - type: GPIO - scheme: - wiringpi: 25 - bcm: 26 - functions: - alt0: SD0 DAT2 - alt1: Reserved - alt2: Reserved - alt3: SD1 DAT2 - alt4: JTAG TDI - '38': - name: MOSI - description: SPI Master-Out - type: GPIO/SPI - scheme: - wiringpi: 28 - bcm: 20 - functions: - alt0: PCM DIN - alt1: SMI SD12 - alt2: DPI Red 6 - alt3: BSCSL MISO - alt4: SPI1 MOSI - alt5: CPCLK0 - '39': - name: Ground - type: GND - '40': - name: SCLK - description: SPI Clock - type: GPIO/SPI - scheme: - wiringpi: 29 - bcm: 21 - functions: - alt0: PCM DOUT - alt1: SMI SD13 - alt2: DPI Red 7 - alt3: BSCSL CE - alt4: SPI1 SCLK - alt5: GPCLK1 diff --git a/src/pt/pin/pin-1.md b/src/pt/pin/pin-1.md deleted file mode 100644 index 6b4c7bc..0000000 --- a/src/pt/pin/pin-1.md +++ /dev/null @@ -1,3 +0,0 @@ -###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. - -Deves geralmente usar a alimentação de 5v, em conjunto com o regulador 3v3 para projetos 3.3v \ No newline at end of file diff --git a/src/pt/pin/pin-10.md b/src/pt/pin/pin-10.md deleted file mode 100644 index d15a969..0000000 --- a/src/pt/pin/pin-10.md +++ /dev/null @@ -1,7 +0,0 @@ -This pin doubles up as the UART recieve pin, RXD. It's also commonly known as "Serial" and, by default, will output a Console from your Pi that, with a suitable Serial cable, you can use to control your Pi via the command-line. - -Thus, The UART pins are useful for setting up a "headless" Pi (a Pi without a screen) and getting it connected to a network. - -UART can also be extremely useful if you want to talk to Arduino or Propeller boards from your Pi, but you must make sure you disable the Serial Console in raspi-config first. - -[Learn more about UART](/pinout/uart) \ No newline at end of file diff --git a/src/pt/pin/pin-12.md b/src/pt/pin/pin-12.md deleted file mode 100644 index 1dee236..0000000 --- a/src/pt/pin/pin-12.md +++ /dev/null @@ -1 +0,0 @@ -The PWM0 output of BCM 18 is particularly useful, in combination with some fast, direct memory access trickery, for driving tricky devices with very specific timings. The WS2812 LEDs on the [Unicorn HAT](/pinout/unicorn_hat) are a good example of this in action. \ No newline at end of file diff --git a/src/pt/pin/pin-14.md b/src/pt/pin/pin-14.md deleted file mode 120000 index d0abe28..0000000 --- a/src/pt/pin/pin-14.md +++ /dev/null @@ -1 +0,0 @@ -pin-6.md \ No newline at end of file diff --git a/src/pt/pin/pin-17.md b/src/pt/pin/pin-17.md deleted file mode 120000 index 5fc74dd..0000000 --- a/src/pt/pin/pin-17.md +++ /dev/null @@ -1 +0,0 @@ -./pin-1.md \ No newline at end of file diff --git a/src/pt/pin/pin-2.md b/src/pt/pin/pin-2.md deleted file mode 100644 index b71f5cd..0000000 --- a/src/pt/pin/pin-2.md +++ /dev/null @@ -1,6 +0,0 @@ -###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. - -Com uma fonte de energia decente, como o adaptador Pi oficial, podes esperar conseguir cerca de 1.5A. - -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± \ No newline at end of file diff --git a/src/pt/pin/pin-20.md b/src/pt/pin/pin-20.md deleted file mode 120000 index d0abe28..0000000 --- a/src/pt/pin/pin-20.md +++ /dev/null @@ -1 +0,0 @@ -pin-6.md \ No newline at end of file diff --git a/src/pt/pin/pin-25.md b/src/pt/pin/pin-25.md deleted file mode 120000 index d0abe28..0000000 --- a/src/pt/pin/pin-25.md +++ /dev/null @@ -1 +0,0 @@ -pin-6.md \ No newline at end of file diff --git a/src/pt/pin/pin-27.md b/src/pt/pin/pin-27.md deleted file mode 100644 index 1aa0b3e..0000000 --- a/src/pt/pin/pin-27.md +++ /dev/null @@ -1 +0,0 @@ -These pins are generally reserved for i2c communication with a HAT EEPROM. \ No newline at end of file diff --git a/src/pt/pin/pin-28.md b/src/pt/pin/pin-28.md deleted file mode 120000 index 70eec8c..0000000 --- a/src/pt/pin/pin-28.md +++ /dev/null @@ -1 +0,0 @@ -pin-27.md \ No newline at end of file diff --git a/src/pt/pin/pin-3.md b/src/pt/pin/pin-3.md deleted file mode 100644 index a53ceba..0000000 --- a/src/pt/pin/pin-3.md +++ /dev/null @@ -1,4 +0,0 @@ -SDA (i2c Data) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c). - -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. - diff --git a/src/pt/pin/pin-30.md b/src/pt/pin/pin-30.md deleted file mode 120000 index d0abe28..0000000 --- a/src/pt/pin/pin-30.md +++ /dev/null @@ -1 +0,0 @@ -pin-6.md \ No newline at end of file diff --git a/src/pt/pin/pin-34.md b/src/pt/pin/pin-34.md deleted file mode 120000 index d0abe28..0000000 --- a/src/pt/pin/pin-34.md +++ /dev/null @@ -1 +0,0 @@ -pin-6.md \ No newline at end of file diff --git a/src/pt/pin/pin-39.md b/src/pt/pin/pin-39.md deleted file mode 120000 index d0abe28..0000000 --- a/src/pt/pin/pin-39.md +++ /dev/null @@ -1 +0,0 @@ -pin-6.md \ No newline at end of file diff --git a/src/pt/pin/pin-4.md b/src/pt/pin/pin-4.md deleted file mode 120000 index 253c8f3..0000000 --- a/src/pt/pin/pin-4.md +++ /dev/null @@ -1 +0,0 @@ -pin-2.md \ No newline at end of file diff --git a/src/pt/pin/pin-5.md b/src/pt/pin/pin-5.md deleted file mode 100644 index 814ea07..0000000 --- a/src/pt/pin/pin-5.md +++ /dev/null @@ -1,3 +0,0 @@ -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. \ No newline at end of file diff --git a/src/pt/pin/pin-6.md b/src/pt/pin/pin-6.md deleted file mode 100644 index 5c029cb..0000000 --- a/src/pt/pin/pin-6.md +++ /dev/null @@ -1 +0,0 @@ -Terra! \ No newline at end of file diff --git a/src/pt/pin/pin-8.md b/src/pt/pin/pin-8.md deleted file mode 100644 index 61500e3..0000000 --- a/src/pt/pin/pin-8.md +++ /dev/null @@ -1,7 +0,0 @@ -This pin doubles up as the UART transmit pin, TXD. It's also commonly known as "Serial" and, by default, will output a Console from your Pi that, with a suitable Serial cable, you can use to control your Pi via the command-line. - -Thus, The UART pins are useful for setting up a "headless" Pi (a Pi without a screen) and getting it connected to a network. - -UART can also be extremely useful if you want to talk to Arduino or Propeller boards from your Pi, but you must make sure you disable the Serial Console in raspi-config first. - -[Learn more about UART](/pinout/uart) \ No newline at end of file diff --git a/src/pt/pin/pin-9.md b/src/pt/pin/pin-9.md deleted file mode 120000 index d0abe28..0000000 --- a/src/pt/pin/pin-9.md +++ /dev/null @@ -1 +0,0 @@ -pin-6.md \ No newline at end of file diff --git a/src/pt/settings.yaml b/src/pt/settings.yaml deleted file mode 100644 index a034be3..0000000 --- a/src/pt/settings.yaml +++ /dev/null @@ -1,39 +0,0 @@ ---- -default_desc: The comprehensive Raspberry Pi GPIO Pinout guide for the original Raspberry - Pi, B+ and Pi 2 -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: pinout.xyz -url_suffix: -urls: - GND: ground -strings: -- made_by: 'Made by {manufacturer}' -- type_hat: 'HAT form-factor' -- type_phat: 'pHAT form-factor' -- type_classic: 'Classic form-factor' -- pin_header: '{} pin header' -- uses_eeprom: 'Uses EEPROM' -- uses_i2c: 'Uses I2C' -- uses_spi: 'Uses SPI' -- wiring_pi_pin: 'Wiring Pi pin {}' -- uses_n_gpio_pins: 'Uses {} GPIO pins' -- bcm_pin_rev1_pi: 'BCM pin {} on Rev 1 ( very early ) Pi' -- physical_pin_n: 'Physical pin {}' -- more_information: 'More Information' -- github_repository: 'GitHub Repository' -- buy_now: 'Buy Now' -- details: 'Details' -featured: -- i2c -- spi -- uart -- wiringpi -overlays: -- ground -- i2c -- spi -- uart -- wiringpi diff --git a/src/pt/template/boards.html b/src/pt/template/boards.html deleted file mode 100644 index 36346ad..0000000 --- a/src/pt/template/boards.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - {{title}} - - - - - - - - {{hreflang}} - - - -
-

Raspberry Pinout

-
- -
-
-
-

Raspberry Pi HATs, pHATs & Add-ons

-

Click on a HAT, pHAT or add-on for more details and to see which pins it uses!

-
-
    {{content}}
-
-
-
    - {{lang_links}} -
-
-
- -
- - - - - - - - - diff --git a/src/pt/template/layout.html b/src/pt/template/layout.html deleted file mode 100755 index c691c70..0000000 --- a/src/pt/template/layout.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - {{title}} - - - - - - - - {{hreflang}} - - - -
-

Raspberry Pinout

-
- -
-
- -
-
    - {{nav_html_interface}} -
-
-
- {{content}} -
-
-
    - {{lang_links}} -
-
-
- -
- - - - - - - - diff --git a/src/pt/translate/ab-adc-differential-pi.md b/src/pt/translate/ab-adc-differential-pi.md deleted file mode 100644 index dca0b1e..0000000 --- a/src/pt/translate/ab-adc-differential-pi.md +++ /dev/null @@ -1,51 +0,0 @@ - -#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/translate/ab-adc-pi-plus.md b/src/pt/translate/ab-adc-pi-plus.md deleted file mode 100644 index 39d61f4..0000000 --- a/src/pt/translate/ab-adc-pi-plus.md +++ /dev/null @@ -1,51 +0,0 @@ - -#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/translate/ab-adc-pi-zero.md b/src/pt/translate/ab-adc-pi-zero.md deleted file mode 100644 index f863fc0..0000000 --- a/src/pt/translate/ab-adc-pi-zero.md +++ /dev/null @@ -1,51 +0,0 @@ - -#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/translate/ab-io-pi-plus.md b/src/pt/translate/ab-io-pi-plus.md deleted file mode 100644 index 399712f..0000000 --- a/src/pt/translate/ab-io-pi-plus.md +++ /dev/null @@ -1,48 +0,0 @@ - -#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/translate/ab-rtc-pi-plus.md b/src/pt/translate/ab-rtc-pi-plus.md deleted file mode 100644 index ed4c3ec..0000000 --- a/src/pt/translate/ab-rtc-pi-plus.md +++ /dev/null @@ -1,34 +0,0 @@ - -#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/translate/adafruit-cap-mpr121.md b/src/pt/translate/adafruit-cap-mpr121.md deleted file mode 100644 index e17890e..0000000 --- a/src/pt/translate/adafruit-cap-mpr121.md +++ /dev/null @@ -1,41 +0,0 @@ - -#Capacitive Touch HAT - -This Raspberry Pi add-on board provides 12 capacitive touch inputs and all the logic to read them over a simple I2C communication bus. - -Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. \ No newline at end of file diff --git a/src/pt/translate/adafruit-servo-hat.md b/src/pt/translate/adafruit-servo-hat.md deleted file mode 100644 index a35d644..0000000 --- a/src/pt/translate/adafruit-servo-hat.md +++ /dev/null @@ -1,42 +0,0 @@ - -#Servo/PWM HAT - -The Adafruit Servo/PWM HAT allows you to drive up to 16 servos or PWM outputs over I2C with only 2 pins. -The on-board PWM controller will drive all 16 channels simultaneously with no additional processing overhead for the Raspberry Pi. Using a binary addressing system set by jumpers you can solder on the PCB, it is possible to stack up to 62 HATs to control up to 992 servos, using nothing more than the I2C bus. - -Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! \ No newline at end of file diff --git a/src/pt/translate/analog-zero.md b/src/pt/translate/analog-zero.md deleted file mode 100644 index c6af4f0..0000000 --- a/src/pt/translate/analog-zero.md +++ /dev/null @@ -1,41 +0,0 @@ - -#Analog Zero - -The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analog channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. - -With RasPiO Analog Zero you can: - -* read up to 8 analog inputs at once -* make a weather station -* make a digital thermometer -* make a voltmeter -* use potentiometer dials for control and display -* read analog sensors or voltages -* make your own embedded device with minimal footprint \ No newline at end of file diff --git a/src/pt/translate/blinkt.md b/src/pt/translate/blinkt.md deleted file mode 100644 index 2f76692..0000000 --- a/src/pt/translate/blinkt.md +++ /dev/null @@ -1,28 +0,0 @@ - -#Blinkt! - -Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. \ No newline at end of file diff --git a/src/pt/translate/carberry.md b/src/pt/translate/carberry.md deleted file mode 100644 index 8f6ca5a..0000000 --- a/src/pt/translate/carberry.md +++ /dev/null @@ -1,46 +0,0 @@ - -#Carberry - -Carberry is an add-on board for Raspberry Pi that can be used to inteface between car electronics and your Pi. It allows the development of end-user applications, such as media centers, vehicle diagnostics, data logging, fleet management, tracking, blackboxes, burglar alarms, carputing, internet, and much more. - -##Features -- Accelerometer -- Magnetometer -- RTCC -- 2x CAN BUS -- 2x GMLAN -- 2x LADDER -- 1x LIN -- 2x GPI -- 2x GPO -- 1x GPIO CMOS -- 1x IGNITION IN -- 1x IGNITION OUT diff --git a/src/pt/translate/cirruslogic-audio-card.md b/src/pt/translate/cirruslogic-audio-card.md deleted file mode 100644 index 434f7b2..0000000 --- a/src/pt/translate/cirruslogic-audio-card.md +++ /dev/null @@ -1,80 +0,0 @@ - -#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/translate/discohat.md b/src/pt/translate/discohat.md deleted file mode 100644 index d61a328..0000000 --- a/src/pt/translate/discohat.md +++ /dev/null @@ -1,87 +0,0 @@ - -#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/translate/display-o-tron-hat.md b/src/pt/translate/display-o-tron-hat.md deleted file mode 100644 index 62c0c5e..0000000 --- a/src/pt/translate/display-o-tron-hat.md +++ /dev/null @@ -1,52 +0,0 @@ - -#Display-o-Tron HAT - -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. - -To get the HAT set up and ready to go you can use the one-line product installer: - -```bash -curl -sS get.pimoroni.com/displayotron | bash -``` - -And follow the instructions! diff --git a/src/pt/translate/display-o-tron.md b/src/pt/translate/display-o-tron.md deleted file mode 100644 index b4b227f..0000000 --- a/src/pt/translate/display-o-tron.md +++ /dev/null @@ -1,75 +0,0 @@ - -#Display-o-Tron 3000 - -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 -sS get.pimoroni.com/displayotron | bash -``` - -And follow the instructions! diff --git a/src/pt/translate/drum-hat.md b/src/pt/translate/drum-hat.md deleted file mode 100644 index e1ef6a0..0000000 --- a/src/pt/translate/drum-hat.md +++ /dev/null @@ -1,43 +0,0 @@ - -#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/translate/enviro-phat.md b/src/pt/translate/enviro-phat.md deleted file mode 100644 index b253a52..0000000 --- a/src/pt/translate/enviro-phat.md +++ /dev/null @@ -1,60 +0,0 @@ - -#Enviro pHAT - -Coupled with a Pi Zero, Enviro pHAT is an affordable mix of sensors, ideal for monitoring server rooms, bedrooms, ballrooms or anything you might want to observe. It also includes a 4-channel ADC, for adding sensors of your own. It works with all of the 40-pin Raspberry Pi variants - 3/2/B+/A+/Zero. - -Features: - -BMP280 temperature/pressure sensor (0x77 on the i2c bus) -TCS3472 light and RGB colour sensor (0x29 on the i2c bus) -(with two LEDs for illumination) -LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus) -ADS1015 4-channel 3.3v 12-bit ADC (0x48 on the i2c bus) - -To get the pHAT set up and ready to go you can use the one-line product installer: - -```bash -curl -sS get.pimoroni.com/envirophat | bash -``` - -Then import it into your Python script and start tinkering: - -```bash -from envirophat import light, motion, weather, analog, leds -``` diff --git a/src/pt/translate/espiot-phat.md b/src/pt/translate/espiot-phat.md deleted file mode 100644 index 0b4c15f..0000000 --- a/src/pt/translate/espiot-phat.md +++ /dev/null @@ -1,42 +0,0 @@ - -#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/translate/explorer-hat-pro.md b/src/pt/translate/explorer-hat-pro.md deleted file mode 100644 index e780ebc..0000000 --- a/src/pt/translate/explorer-hat-pro.md +++ /dev/null @@ -1,119 +0,0 @@ - -#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. - -To get the HAT 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 -explorerhat.light.on() -``` diff --git a/src/pt/translate/explorer-hat.md b/src/pt/translate/explorer-hat.md deleted file mode 100644 index 0517453..0000000 --- a/src/pt/translate/explorer-hat.md +++ /dev/null @@ -1,100 +0,0 @@ - -#Explorer HAT - -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 -curl -sS get.pimoroni.com/explorerhat | bash -``` - -Then import it into your Python script and start tinkering: - -```bash -import explorerhat -explorerhat.light.on() -``` diff --git a/src/pt/translate/explorer-phat.md b/src/pt/translate/explorer-phat.md deleted file mode 100644 index a2c374d..0000000 --- a/src/pt/translate/explorer-phat.md +++ /dev/null @@ -1,99 +0,0 @@ - -#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/translate/iface-1wire.md b/src/pt/translate/iface-1wire.md deleted file mode 100644 index 938f208..0000000 --- a/src/pt/translate/iface-1wire.md +++ /dev/null @@ -1,30 +0,0 @@ - -# W1-GPIO - One-Wire Interface - -To enable the one-wire interface you need to add the following line to /boot/config.txt, beofre rebooting your Pi: - -``` -dtoverlay=w1-gpio -``` - -Alternatively you can enable the one-wire interface on demand using: - -``` -sudo modprobe w1-gpio -``` - -once either of the steps above has been performed, you can list the devices your Raspberry Pi can probe via (by default) GPIO4, like so: - -``` -ls /sys/bus/w1/devices/ -``` diff --git a/src/pt/translate/iface-dpi.md b/src/pt/translate/iface-dpi.md deleted file mode 100644 index e78c5d2..0000000 --- a/src/pt/translate/iface-dpi.md +++ /dev/null @@ -1,58 +0,0 @@ - -#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/translate/iface-gpclk.md b/src/pt/translate/iface-gpclk.md deleted file mode 100644 index 52eb5e6..0000000 --- a/src/pt/translate/iface-gpclk.md +++ /dev/null @@ -1,31 +0,0 @@ - -#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/translate/iface-jtag.md b/src/pt/translate/iface-jtag.md deleted file mode 100644 index 073071d..0000000 --- a/src/pt/translate/iface-jtag.md +++ /dev/null @@ -1,33 +0,0 @@ - -#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/translate/iface-pcm.md b/src/pt/translate/iface-pcm.md deleted file mode 100644 index 9c2636c..0000000 --- a/src/pt/translate/iface-pcm.md +++ /dev/null @@ -1,19 +0,0 @@ - -#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/translate/iface-sd.md b/src/pt/translate/iface-sd.md deleted file mode 100644 index eca159c..0000000 --- a/src/pt/translate/iface-sd.md +++ /dev/null @@ -1,25 +0,0 @@ - -#SDIO - SD Card Interface - -SDIO 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/translate/iqaudio-pi-dac.md b/src/pt/translate/iqaudio-pi-dac.md deleted file mode 100644 index 8b297fb..0000000 --- a/src/pt/translate/iqaudio-pi-dac.md +++ /dev/null @@ -1,56 +0,0 @@ - -#Pi-DAC+ - -The Pi-DAC+ takes the digital audio signals (I2S) from the Raspberry Pi and through the -onboard Texas Instruments PCM5122 DAC delivers variable output (hardware volume -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+. - -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. - -Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. diff --git a/src/pt/translate/iqaudio-pi-digiamp.md b/src/pt/translate/iqaudio-pi-digiamp.md deleted file mode 100644 index 8ffda41..0000000 --- a/src/pt/translate/iqaudio-pi-digiamp.md +++ /dev/null @@ -1,48 +0,0 @@ - - -#Pi-DigiAMP+ - -The Pi-DigiAMP+ is an add-on board that includes a Digital to Analog Converter (DAC) and powerful 35w stereo amplifier. If you want to turn your Raspberry Pi into a working Hi Fi stereo, just add speakers and you're off. - -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. -Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. \ No newline at end of file diff --git a/src/pt/translate/microdot-phat.md b/src/pt/translate/microdot-phat.md deleted file mode 100644 index 53a191e..0000000 --- a/src/pt/translate/microdot-phat.md +++ /dev/null @@ -1,48 +0,0 @@ - -#Micro Dot pHAT - -An unashamedly old school LED matrix display board, with up to 30x7 pixels, using Lite-On LTP-305 matrices (or any similar matrices). Perfect for building a retro scrolling message display, a tiny 30-band spectrum analyser, or a retro clock. - -The board uses three IS31FL3730 matrix driver chips, each driving two of the matrix displays. The board and supporting software was designed to use these driver chips in an efficient manner, in effect round-robin-ing them and updating them extremely quickly one after the other to drive two displays at once. - -To get the pHAT set up and ready to go you can use the one-line product installer: - -```bash -curl -sS get.pimoroni.com/microdotphat | bash -``` - -Then import it into your Python script and start tinkering: - -```bash -import microdotphat -``` diff --git a/src/pt/translate/phat-dac.md b/src/pt/translate/phat-dac.md deleted file mode 100644 index 8fd5d9c..0000000 --- a/src/pt/translate/phat-dac.md +++ /dev/null @@ -1,39 +0,0 @@ - -#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/translate/pi-liter.md b/src/pt/translate/pi-liter.md deleted file mode 100644 index 579f4f9..0000000 --- a/src/pt/translate/pi-liter.md +++ /dev/null @@ -1,59 +0,0 @@ - -#Pi-LITE-r - -The Pi-LITEr is a fully assembled add on board for the Raspberry Pi. It has 8 ultra-bright white LED's on a board which plugs directly onto the GPIO header. It can be used alongside other I/O projects to give status indication. Lighting all 8 LEDs consumes a tiny amount of current, less than a single standard LED (which is 20ma nominal vs 14.4ma for the Pi-LITEr). - -Applications: - -* I/O status indicator -* Bar graph -* Light chaser -* Activity indicator -* Lighting effects \ No newline at end of file diff --git a/src/pt/translate/piano-hat.md b/src/pt/translate/piano-hat.md deleted file mode 100644 index bcde914..0000000 --- a/src/pt/translate/piano-hat.md +++ /dev/null @@ -1,52 +0,0 @@ - -#Pimoroni Piano HAT - -Piano HAT has 16 touch-sensitive buttons. 13 of these are a single Piano octave, the rest give you octave up/down and instrument select functionality. - -It uses two Microchip CAP1188 chips with the i2c addresses 0x28 and 0x2b. - -To get the HAT set up and ready to go you can use the one-line product installer: - -```bash -curl -sS get.pimoroni.com/pianohat | bash -``` - -And follow the instructions! diff --git a/src/pt/translate/piborg-ledborg.md b/src/pt/translate/piborg-ledborg.md deleted file mode 100644 index 593be25..0000000 --- a/src/pt/translate/piborg-ledborg.md +++ /dev/null @@ -1,55 +0,0 @@ - -#LedBorg - -The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. It 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: - -WiringPi pin 0: Red LED -WiringPi pin 2: Green LED -WiringPi pin 3: Blue LED - -This is easy using WiringPi in Python: - -```python -import wiringpi2 as wiringpi -wiringpi.wiringPiSetup() - -wiringpi.softPwmCreate(0,0,100) -wiringpi.softPwmCreate(2,0,100) -wiringpi.softPwmCreate(3,0,100) - -# Purple! -wiringpi.softPwmWrite(3,100) # Full Blue -wiringpi.softPwmWrite(0,100) # Full Red -wiringpi.softPWMWrite(2,0) # No Green -``` diff --git a/src/pt/translate/pibrella.md b/src/pt/translate/pibrella.md deleted file mode 100644 index 470d65f..0000000 --- a/src/pt/translate/pibrella.md +++ /dev/null @@ -1,84 +0,0 @@ - -#Pibrella - -The all-in-one light, sound, input and output add-on board that uses lots of IO on the Pi but leaves both Serial and I2C free leaving plenty of room for expansion if you get creative. - -Pibrella is easy to use, first you should install the module using LXTerminal/Command Line: - -```bash -curl -sS get.pimoroni.com/pibrella | bash -``` - -Then import it into your Python script and start tinkering: - -```bash -import pibrella -pibrella.light.red.on() -``` diff --git a/src/pt/translate/piglow.md b/src/pt/translate/piglow.md deleted file mode 100644 index b440b11..0000000 --- a/src/pt/translate/piglow.md +++ /dev/null @@ -1,39 +0,0 @@ - -#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/translate/propeller-hat.md b/src/pt/translate/propeller-hat.md deleted file mode 100644 index 86d154b..0000000 --- a/src/pt/translate/propeller-hat.md +++ /dev/null @@ -1,39 +0,0 @@ - -#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/translate/raspio-duino.md b/src/pt/translate/raspio-duino.md deleted file mode 100644 index e38362a..0000000 --- a/src/pt/translate/raspio-duino.md +++ /dev/null @@ -1,37 +0,0 @@ - -#Duino - -The RasPiO Duino is a small plug-on board for Raspberry Pi. It has similar functionality to an Arduino Uno, with an ATMega 328P-PU at its heart, but is fully programmable from the Raspberry Pi. Once programmed, it can be removed from the Pi and used on its own. - -Pins on the ATMega are broken out to a cluster of three holes. The ATMega328 features a 6 channel analog to digital converter and 14 digital I/O pins, 6 of which can also be used for PWM. The Pi’s GPIO ports are also broken out on the board as well and there is a 72 point prototyping area, with GND, 3V3 and 5V rails, where you can add your own components. - -Note: the RasPiO Duino runs on 3v3 at 12 MHz (not 5V at 16 MHz like the Uno). \ No newline at end of file diff --git a/src/pt/translate/redbear-iot-hat.md b/src/pt/translate/redbear-iot-hat.md deleted file mode 100644 index 5e42b89..0000000 --- a/src/pt/translate/redbear-iot-hat.md +++ /dev/null @@ -1,59 +0,0 @@ - -#PiZero IoT HAT - -The RedBear IoT HAT brings the BCM43438 used on the Raspberry Pi 3 to HAT format, compatible with the Pi Zero. - -The chip supports Wi-Fi 802.11n and Bluetooth 4.1 (Dual Mode). - -* Bluetooth 4.1 -* WiFi -* Low power -* External antenna support -* Compatible with the same WiFi/Bluetooth software used on the Pi 3 -* Supports Pi Zero, Model A+, Model B+, Pi 2 diff --git a/src/pt/translate/rpf-dots.md b/src/pt/translate/rpf-dots.md deleted file mode 100644 index e68452e..0000000 --- a/src/pt/translate/rpf-dots.md +++ /dev/null @@ -1,124 +0,0 @@ - -#Dots Board - -###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. - -To read a Dot you should set its corresponding pin as an INPUT and make sure it's pulled up like so: - -```python -import RPi.GPIO as GPIO -GPIO.setmode(GPIO.BCM) -GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP) -state = GPIO.input(dot_pin) -``` - -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): - GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP) - state = GPIO.input( dot_pin ) - GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_OFF) - return state == 0 -``` diff --git a/src/pt/translate/rtk-000-001.md b/src/pt/translate/rtk-000-001.md deleted file mode 100644 index 7fbb806..0000000 --- a/src/pt/translate/rtk-000-001.md +++ /dev/null @@ -1,63 +0,0 @@ - -#Motor Controller Board - -###A quick and easy way to start driving motors on your Raspberry Pi - -```python -##Simple motor script for the RTK-000-001 -import RPi.GPIO as GPIO -import time -#Set to broadcom pin numbers -GPIO.setmode(GPIO.BCM) - -#Motor 1 = Pins 17 and 18 -#Motor 2 = Pins 22 and 23 -GPIO.setup(17, GPIO.OUT) -GPIO.setup(18, GPIO.OUT) - -#Now loop forever turning one direction for 5 seconds, then the other -while (True): - #Sleep 1 second then turn 17 on - GPIO.output(18, 0) - time.sleep(1) - GPIO.output(17, 1); - time.sleep(5); - #And now the other way round - GPIO.output(17, 0) - time.sleep(1); - GPIO.output(18, 1); - time.sleep(5); - #And loop back around -#And final cleanup -GPIO.cleanup() -``` diff --git a/src/pt/translate/scroll-phat.md b/src/pt/translate/scroll-phat.md deleted file mode 100644 index 15505da..0000000 --- a/src/pt/translate/scroll-phat.md +++ /dev/null @@ -1,53 +0,0 @@ - -#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/translate/sense-hat.md b/src/pt/translate/sense-hat.md deleted file mode 100644 index e121e83..0000000 --- a/src/pt/translate/sense-hat.md +++ /dev/null @@ -1,32 +0,0 @@ - -#Sense HAT - -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/translate/skywriter-hat.md b/src/pt/translate/skywriter-hat.md deleted file mode 100644 index f7ff652..0000000 --- a/src/pt/translate/skywriter-hat.md +++ /dev/null @@ -1,50 +0,0 @@ - -#Skywriter HAT - -Skywriter HAT senses your finger's position above it in 3 dimensions, outputting an X, Y, Z axis -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/translate/traffic-hat.md b/src/pt/translate/traffic-hat.md deleted file mode 100644 index ee07ff3..0000000 --- a/src/pt/translate/traffic-hat.md +++ /dev/null @@ -1,56 +0,0 @@ - -#Traffic HAT - -###A quick and easy way to learn the basics of GPIO on a budget. All in a nice HAT. - -```python -import RPi.GPIO as IO -from time import sleep - -IO.setmode(IO.BCM) - -#Lights -IO.setup(22,IO.OUT) -IO.setup(23,IO.OUT) -IO.setup(24,IO.OUT) - -#Buzzer -IO.setup(5,IO.OUT) - -#Button -IO.setup(25,IO.IN,pull_up_down=IO.PUD_UP) -``` diff --git a/src/pt/translate/unicorn-hat.md b/src/pt/translate/unicorn-hat.md deleted file mode 100644 index 1504904..0000000 --- a/src/pt/translate/unicorn-hat.md +++ /dev/null @@ -1,53 +0,0 @@ - -#Unicorn HAT - -64 blindingly bright LEDs packed into a HAT and driven with an ultra-fast, C library that you can talk to 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! - -To get the HAT set up and ready to go you can use the one-line product installer: - -```bash -curl -sS get.pimoroni.com/unicornhat | bash -``` - -Then import it into your Python script and start tinkering: - -```bash -import unicornhat -unicornhat.set_pixel(0, 0, 255, 255, 255) -unicornhat.show() -``` diff --git a/src/pt/translate/unicorn-phat.md b/src/pt/translate/unicorn-phat.md deleted file mode 100644 index ae1fd5f..0000000 --- a/src/pt/translate/unicorn-phat.md +++ /dev/null @@ -1,54 +0,0 @@ - -#Unicorn pHAT - -32 blindingly bright LEDs packed into a pHAT and driven with an ultra-fast, C library that you can talk to from Python make Unicorn HAT PiGlow's bigger, brighter brother. - -Note: Unicorn pHAT 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! - -To get the HAT set up and ready to go you can use the one-line product installer: - -```bash -curl -sS get.pimoroni.com/unicornhat | bash -``` - -Then import it into your Python script and start tinkering: - -```bash -import unicornhat -unicorn.set_layout(unicorn.PHAT) -unicornhat.set_pixel(0, 0, 255, 255, 255) -unicornhat.show() -``` diff --git a/src/pt/translate/uugear-7port-usb-hub.md b/src/pt/translate/uugear-7port-usb-hub.md deleted file mode 100644 index 227943a..0000000 --- a/src/pt/translate/uugear-7port-usb-hub.md +++ /dev/null @@ -1,24 +0,0 @@ - -#7-port USB hub for Raspberry Pi - -This is a 7-Port USB hub designed for Raspberry Pi. It extends one USB port on Raspberry Pi to 7 usable USB ports, which allows you to connect much more USB devices to your Raspberry Pi. There is a red LED on board as the power indicator, and seven green LEDs aside the USB ports as transaction indicators. - -This USB hub is compatible with all versions of Raspberry Pi, including the old A/B model, A+/B+ model, compute module (with development kit), Raspberry Pi 2 (B model), Raspberry Pi Zero and Raspberry Pi 3 (B model). The board size of this USB hub is the same with Raspberry Pi B+ or Raspberry Pi 2/3 (B model). The old Raspberry Pi A and B model also have the same size, except that they don’t have those rounded corners. This USB hub has 6 mounting holes at correct positions and could be mounted under any Raspberry Pi model except the compute module. - -For different models of Raspberry Pi, this USB hub uses different approaches to (optionally) back-power the Raspberry Pi, which significantly simplifies your wiring and allows you to power both the USB hub and Raspberry Pi with only one power supply. - -There are also 7 digital output pins on board, which can tell whether a USB port is in used. These output pins are in 3.3V level and can be directly connected to Raspberry Pi’s GPIO pin, or connected to an external microcontroller. diff --git a/src/pt/translate/uugear-witty-pi-2.md b/src/pt/translate/uugear-witty-pi-2.md deleted file mode 100644 index 8f6d498..0000000 --- a/src/pt/translate/uugear-witty-pi-2.md +++ /dev/null @@ -1,55 +0,0 @@ - -# Witty Pi 2 - -Witty Pi 2 is the second generation of Witty Pi, which adds realtime clock and power management to your Raspberry Pi. - -You can turn on/off your Raspberry Pi with a single tap on the button on Witty Pi 2, and the power supply for Raspberry Pi and all its USB peripherals will get fully cut after the shutdown. - -Witty Pi 2 has a CR2032 backed realtime clock (DS3231) on board, and can accurately keep time for Raspberry Pi. The built-in temperature sensor can tell the temperature around your Raspberry Pi too. - -You can schedule next shutdown/startup of your Pi via the software. Complex ON/OFF sequence for Raspberry Pi can be achieved by applying a user-defined schedule script. - -If you are using power bank as power supply, the new dummy load feature can keep power bank alive with low current consumption. The newly added 6-pin female header breaks out some important signals for integration/extension. - -You can use the two commands below to install software for Witty Pi 2: - -```bash -wget http://www.uugear.com/repo/WittyPi2/installWittyPi.sh - -sudo sh installWittyPi.sh -``` -After the installation is done, reboot your Raspberry Pi and your Witty Pi 2 is ready to go. - -Witty Pi 2 supports all Raspberry Pi models that have 40-pin header, including A+, B+, 2B, 3B and Zero. diff --git a/src/pt/translate/uugear-witty-pi.md b/src/pt/translate/uugear-witty-pi.md deleted file mode 100644 index 47ed0ae..0000000 --- a/src/pt/translate/uugear-witty-pi.md +++ /dev/null @@ -1,54 +0,0 @@ - -#Witty Pi - -Witty Pi is an extension board that adds realtime clock and power management to your Raspberry Pi. - -You can turn on/off your Raspberry Pi with a single tap on the button on Witty Pi, and the power supply for Raspberry Pi and all its USB peripherals will get fully cut after the shutdown. - -Witty Pi has a CR2032 backed realtime clock (DS1337) on board, and can keep time for Raspberry Pi when it is off. You can schedule next shutdown/startup of your Pi via the software. A user-defined schedule script could be used for complex use case, which requires scheduling multiple shutdowns and startups at different moments. - -You can use the two commands below to install software for Witty Pi: - -```bash -wget http://www.uugear.com/repo/WittyPi/installWittyPi.sh - -sudo sh installWittyPi.sh -``` -After the installation is done, reboot your Raspberry Pi and your Witty Pi is ready to go. - -Witty Pi supports all Raspberry Pi models that have 40-pin header, including A+, B+, 2B, 3B and Zero. diff --git a/src/pt/translate/uugear-zero4u.md b/src/pt/translate/uugear-zero4u.md deleted file mode 100644 index 58bfa60..0000000 --- a/src/pt/translate/uugear-zero4u.md +++ /dev/null @@ -1,24 +0,0 @@ - -#Zero4U - -Zero4U is a 4-port USB hub for Raspberry Pi Zero, and it can be mounted to Raspberry Pi Zero back-to-back. The 4 pogo pins on the back will connect the PP1, PP6, PP22 and PP23 testing pads on Raspberry Pi Zero, hence no soldering will be needed to make it work. - -The USB hub will take power directly from your Raspberry Pi Zero, so you don’t need to power the USB hub separately. However you can use the JST XH2.54 connector on board as the alternative power input. - -There are one blue LED on board as the power indicator, and four white LED aside the USB ports as transaction indicators. - -This USB hub can also work with other types of computer. You can use a USB cable to connect the mini-USB port on board to a USB port on the computer. diff --git a/src/pt/translate/wifi-pants.md b/src/pt/translate/wifi-pants.md deleted file mode 100644 index e43dff6..0000000 --- a/src/pt/translate/wifi-pants.md +++ /dev/null @@ -1,46 +0,0 @@ - -#WiFi Pants - -WiFi Pants is a WiFi and 5V boost power supply add-on board for your Raspberry Pi based around the ESP-12F. - -The WiFi Pants board fits the outline of the Pi Zero, with only a small protrusion for the antenna, and only six GPIOs are needed on the Pi's expansion connector. - -It communicates over the SDIO interface to provide WiFi capability for a direct alternative to a USB WiFi adapter for low-bandwidth applications, sufficient in most embedded projects. - -Most notably, WiFi Pants can add WiFi to a Pi Zero while leaving the USB port free, and boosts any battery from as low as 3V to 5V at up to 2A to power the Pi and any other add-ons. - -A JST-PH connector compatible with Sparkfun and Adafruit battery packs is included with the board. An undervoltage lock-out prevents batteries from draining below 2.7V. A soft power switch input lets a microcontroller or switch easily turn off or on the power supply. - -Along with the soft power switch input, the 5 pin header exposes the Raspberry Pi's serial console, great for IoT projects where there is no screen but shell access is needed for setup. The header fits the 6 pin FTDI USB-to-UART cable. - -WiFi Pants also works great with the Pi A+, B+, and 2 models. \ No newline at end of file diff --git a/src/pt/translate/zero-lipo.md b/src/pt/translate/zero-lipo.md deleted file mode 100644 index ecbb96b..0000000 --- a/src/pt/translate/zero-lipo.md +++ /dev/null @@ -1,37 +0,0 @@ - -#Zero LiPo - -The Zero LiPo aims to give you the most compact Raspberry Pi power supply possible. - -The board includes power on and battery low indicator LEDs as well as a JST connector, to which you can connect a LiPo, LiIon, or other battery with a JST plug. The TPS61232 step-up boost converter from Texas Instruments converts the 3-4.2V input voltage from the LiPos/LiIons to 5V, providing a stable 5V supply perfect for your Pi. - -Features: - -* 0.8mm thick PCB -* Shaped to sit as low as possible on the Raspberry Pi 3, 2, Zero, A+, B+ -* 2-pole JST connector ideal for most LiPo/LiIon batteries -* Power and low battery LED indicators -* Supplies up to 1.5A continuous current -* Low battery warning at 3.4V (assets GPIO #4 high) -* Automatic shutdown at 3.0V to protect your battery -* VBAT+, GND, and EN pins available to break out -* 15uA quiescent current diff --git a/src/tr/overlay/piborg-ledborg.md b/src/tr/overlay/piborg-ledborg.md index f3efe4e..1ef06b5 100644 --- a/src/tr/overlay/piborg-ledborg.md +++ b/src/tr/overlay/piborg-ledborg.md @@ -28,28 +28,30 @@ pin: active: high description: PiBorg Blue LED --> -###PiBorg LedBorg RGB LED Board +# PiBorg LedBorg -[PiBorg LedBorg](http://www.piborg.org/ledborg/), Raspberry Pi için oldukça hafif bir RGB LED board'udur. Bu board kendisine ait bir sürücü barındırır, bu yüzden ayrıca bir sürücü kurmanıza gerek yok. - -Eğer daha fazla aralıkta renk istiyorsanız bunu WiringPi ile softPwm ile de yapabilirsiniz. Pin atamaları şu şekilde: - -WiringPi pin 0: Kırmızı LED -WiringPi pin 2: Yeşil LED -WiringPi pin 3: Mavi LED - -Python ile bunu yapmak neredeyse çocuk oyuncağı: +PiBorg LedBorg, Raspberry Pi için oldukça hafif bir RGB LED board'udur. Bu board kendisine ait bir sürücü barındırır, bu yüzden ayrıca bir sürücü kurmanıza gerek yok. ```python -import wiringpi2 as wiringpi -wiringpi.wiringPiSetup() +from gpiozero import LedBorg +from time import sleep -wiringpi.softPwmCreate(0,0,100) -wiringpi.softPwmCreate(2,0,100) -wiringpi.softPwmCreate(3,0,100) +lb = LedBorg() -# mor! -wiringpi.softPwmWrite(3,100) # Full Blue -wiringpi.softPwmWrite(0,100) # Full Red -wiringpi.softPWMWrite(2,0) # No Green -``` \ No newline at end of file +while True: + r, g, b = 0, 0, 0 + for i in range(100): + r = i / 100 + lb.value = (r, g, b) + sleep(0.01) + for i in range(100): + g = i / 100 + sleep(0.01) + lb.value = (r, g, b) + for i in range(100): + b = i / 100 + lb.value = (r, g, b) + sleep(0.01) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ledborg) diff --git a/src/tr/overlay/rtk-000-001.md b/src/tr/overlay/rtk-000-001.md index 8933492..380e01e 100644 --- a/src/tr/overlay/rtk-000-001.md +++ b/src/tr/overlay/rtk-000-001.md @@ -1,6 +1,6 @@ -#Ryanteck Motor Kontrol Kartı +#RTK Motor Kontrol ###Bu kart, Raspberry Pi'nizde motor sürmek için hızlı ve de kolay bir yol sağlamakta. ```python -##RTK-000-001 için basit bir motor scripti -import RPi.GPIO as GPIO -import time -#Pinleri Broadcom Pin'lerine göre ayarlayalım -GPIO.setmode(GPIO.BCM) +from gpiozero import RyanteckRobot +from time import sleep -#Motor 1 = Pins 17 ve 18 -#Motor 2 = Pins 22 ve 23 -GPIO.setup(17, GPIO.OUT) -GPIO.setup(18, GPIO.OUT) +robot = RyanteckRobot() -#Şimdi de bir sonsuz döngü içinde motoru önce bir yöne, ve diğer yöne 5er saniye döndürelim: -while (True): - #1 saniye bekle, sonra pin 17'yi aç: - GPIO.output(18, 0) - time.sleep(1) - GPIO.output(17, 1); - #5 saniye bekle - time.sleep(5); - #Şimdi de diğer yöne doğrı - GPIO.output(17, 0) - time.sleep(1); - GPIO.output(18, 1); - time.sleep(5); - #Döngüde burası başa dönecek -#Son olarak GPIO'ları temizleme -GPIO.cleanup() -``` \ No newline at end of file +while True: + robot.forward() + sleep(5) + robot.left() + sleep(1) + robot.backward() + sleep(5) + robot.right() + sleep(1) + robot.stop() + sleep(1) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#ryanteck-mcb-robot) diff --git a/src/tr/overlay/unicorn-hat.md b/src/tr/overlay/unicorn-hat.md index ec1995b..bdefbaa 100644 --- a/src/tr/overlay/unicorn-hat.md +++ b/src/tr/overlay/unicorn-hat.md @@ -11,7 +11,7 @@ github: https://github.com/pimoroni/unicornhat buy: http://shop.pimoroni.com/products/unicorn-hat image: 'unicorn-hat.png' pincount: 40 -eeprom: yes +eeprom: detect power: '2': ground: @@ -42,4 +42,4 @@ Ardından Python scriptinize modülü ekleyip kurcalamaya başlayabilirsiniz: import unicornhat unicornhat.set_pixel(0, 0, 255, 255, 255) unicornhat.show() -``` \ No newline at end of file +``` diff --git a/src/tr/settings.yaml b/src/tr/settings.yaml index 4f70174..e620249 100644 --- a/src/tr/settings.yaml +++ b/src/tr/settings.yaml @@ -1,6 +1,6 @@ --- default_desc: Raspberry Pi, B+ ve Pi 2 için Pin şematiği -default_title: Raspberry Pi GPIO Pinleri - Pi 1, B+, Pi 2 +default_title: Raspberry Pi GPIO Pinleri title_suffix: " - Raspberry Pi Pinleri" base_url: /pinout/ resource_url: /resources/ @@ -9,22 +9,29 @@ url_suffix: '' urls: GND: toprak strings: -- made_by: 'Made by {manufacturer}' -- type_hat: 'HAT form-factor' -- type_hat: 'pHAT form-factor' -- type_classic: 'Classic form-factor' +- details: 'Details' +- group_other: 'hepsi' +- form_undefined: 'diğer' - pin_header: '{} pin header' -- uses_eeprom: 'EEPROM' -- uses_i2c: 'I2C' -- uses_spi: 'SPI' -- wiring_pi_pin: 'Wiring Pi pin {}' -- uses_n_gpio_pins: 'Uses {} GPIO pins' +- type_hat: 'HAT form-factor' +- type_phat: 'pHAT form-factor' +- type_classic: 'Classic form-factor' +- eeprom_detect: 'EEPROM ID' +- eeprom_setup: 'Kullanan EEPROM' +- uses_i2c: 'Kullanan I2C' +- uses_spi: 'Kullanan SPI' +- uses_5v_and_3v3: '5v ve 3.3V Güç' +- uses_5v: '5v Güç' +- uses_3v3: '3.3V Güç' +- uses_n_gpio_pins: 'Kullanan {} GPIO pins' - bcm_pin_rev1_pi: 'BCM pin {} on Rev 1 ( very early ) Pi' - physical_pin_n: 'Physical pin {}' -- more_information: 'More Information' -- github_repository: 'GitHub Repository' -- buy_now: 'Buy Now' -- details: 'Details' +- wiring_pi_pin: 'Wiring Pi pin {}' +- made_by: 'Yapılan {manufacturer}' +- more_information: 'Daha fazla bilgi' +- github_repository: 'GitHub' +- buy_now: 'Şimdi satın al' +- details: 'Ayrıntılar' featured: - display-o-tron - piborg-ledborg @@ -32,16 +39,74 @@ featured: - rtk-000-001 overlays: - ground +- iface-dpi +- iface-gpclk +- iface-jtag +- iface-1wire +- iface-pcm +- iface-sd - i2c - spi - uart - wiringpi +- 4tronix-picon-zero +- 4tronix-pistep2d +- 4tronix-pistep2q +- ab-1-wire-plus +- ab-1-wire-zero +- ab-adc-differential-pi +- ab-adc-pi-plus +- ab-adc-pi-zero +- ab-adcdac-pi-zero +- ab-io-pi-plus +- ab-io-pi-zero +- ab-rs485-pi +- ab-rtc-pi-plus +- ab-rtc-pi-zero +- ab-serial-pi-plus +- ab-serial-pi-zero +- ab-servo-pwm-pi-zero +- adafruit-cap-mpr121 +- adafruit-servo-hat +- analog-zero +- automation-hat +- blinkt +- carberry +- cirruslogic-audio-card +- discohat - display-o-tron -- rpf-dots +- display-o-tron-hat +- drum-hat +- enviro-phat +- espiot-phat - explorer-hat - explorer-hat-pro +- explorer-phat +- iqaudio-pi-dac +- iqaudio-pi-digiamp +- microdot-phat +- phat-dac +- pi-liter +- piano-hat - piborg-ledborg +- piborg-zeroborg - pibrella +- piglow +- pijack +- propeller-hat +- raspio-duino +- redbear-iot-hat +- rpf-dots - rtk-000-001 +- scroll-phat +- sense-hat - skywriter-hat +- traffic-hat - unicorn-hat +- unicorn-phat +- uugear-7port-usb-hub +- uugear-witty-pi +- uugear-witty-pi-2 +- uugear-zero4u +- wifi-pants +- zero-lipo diff --git a/src/tr/translate/4tronix-picon-zero.md b/src/tr/translate/4tronix-picon-zero.md new file mode 100644 index 0000000..2418d2e --- /dev/null +++ b/src/tr/translate/4tronix-picon-zero.md @@ -0,0 +1,42 @@ + +#Picon Zero + +The Picon Zero is an add-on PCB for the Raspberry Pi that is physically the same size as a Raspberry Pi Zero and so is ideal as a pseudo-Hat (pHat) for the Pi Zero. However, it can of course be used on any Raspberry Pi with a 40-pin GPIO connector. + +As well as 2 full H-Bridge motor drivers, the Picon Zero has a number of Input and Output pins that can be configured in a variety of ways, allowing you to easily add analog inputs or neopixel outputs to your Raspberry Pi without any complicated software and kernel specific drivers. It also provides an interface for an HC-SR04 ultrasonic distance sensor and opens up 5 GPIO pins from the Raspberry Pi for you to use as you see fit. diff --git a/src/tr/translate/4tronix-pistep2d.md b/src/tr/translate/4tronix-pistep2d.md new file mode 100644 index 0000000..c8c706e --- /dev/null +++ b/src/tr/translate/4tronix-pistep2d.md @@ -0,0 +1,54 @@ + +# PiStep2 Dual + +Drive 2 uni-polar stepper motors using a single control board with the PiStep2 Dual. + +* Uses a ULN2803 Darlington driver chip to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/tr/translate/4tronix-pistep2q.md b/src/tr/translate/4tronix-pistep2q.md new file mode 100644 index 0000000..4dbc2c2 --- /dev/null +++ b/src/tr/translate/4tronix-pistep2q.md @@ -0,0 +1,78 @@ + +# PiStep2 Quad + +Drive 4 uni-polar stepper motors using a single control board with the PiStep2 Quad. + +* Uses ULN2803 Darlington driver chips to drive the motors +* Ideal for use with 28BYJ48 stepper motors +* Supported in Scratch GPIO as well as in Python diff --git a/src/tr/translate/ab-1-wire-plus.md b/src/tr/translate/ab-1-wire-plus.md index 07768d0..3eb201e 100644 --- a/src/tr/translate/ab-1-wire-plus.md +++ b/src/tr/translate/ab-1-wire-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus image: 'ab-1-wire-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -25,10 +36,10 @@ i2c: --> #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 Pi Plus from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi. 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. +I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Plus allowing the board to be used with other I2C devices on the same bus. [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/tr/translate/ab-1-wire-zero.md b/src/tr/translate/ab-1-wire-zero.md new file mode 100644 index 0000000..a85f890 --- /dev/null +++ b/src/tr/translate/ab-1-wire-zero.md @@ -0,0 +1,45 @@ + +#1 Wire Pi Zero + +The 1 Wire Pi Zero from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi Zero. A 5V buffered I2C port is also provided on the board. + +The 1-Wire® port on the 1 Wire Pi Zero 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 Zero 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. + +I2C address select solder jumpers give you the ability to set the I2C address of the 1 Wire Pi Zero allowing the board to be used with other I2C devices on the same bus. + +[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/tr/translate/ab-adc-differential-pi.md b/src/tr/translate/ab-adc-differential-pi.md index dca0b1e..21caa1f 100644 --- a/src/tr/translate/ab-adc-differential-pi.md +++ b/src/tr/translate/ab-adc-differential-pi.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analo image: 'ab-adc-differential-pi.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -28,7 +39,7 @@ i2c: --> #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. +The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter designed to work with the Raspberry Pi. 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 @@ -48,4 +59,4 @@ The ADC Differential Pi is an 8 channel 18 bit analogue to digital converter des - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries available on GitHub. \ No newline at end of file diff --git a/src/tr/translate/ab-adc-pi-plus.md b/src/tr/translate/ab-adc-pi-plus.md index 39d61f4..871390a 100644 --- a/src/tr/translate/ab-adc-pi-plus.md +++ b/src/tr/translate/ab-adc-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-D image: 'ab-adc-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -28,7 +39,7 @@ i2c: --> #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. +The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to work with the Raspberry Pi. 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 @@ -48,4 +59,4 @@ The ADC Pi Plus is an 8 channel 17 bit analogue to digital converter designed to - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/tr/translate/ab-adc-pi-zero.md b/src/tr/translate/ab-adc-pi-zero.md index f863fc0..d3bcfb2 100644 --- a/src/tr/translate/ab-adc-pi-zero.md +++ b/src/tr/translate/ab-adc-pi-zero.md @@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-D image: 'ab-adc-pi-zero.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '14': + '20': + '30': + '34': + '39': pin: '3': mode: i2c @@ -48,4 +57,4 @@ The ADC Pi Zero is an 8 channel 17 bit analogue to digital converter designed to - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/tr/translate/ab-adcdac-pi-zero.md b/src/tr/translate/ab-adcdac-pi-zero.md new file mode 100644 index 0000000..0f8ab52 --- /dev/null +++ b/src/tr/translate/ab-adcdac-pi-zero.md @@ -0,0 +1,51 @@ + +#ADC-DAC Pi Zero + +The ADC-DAC Pi Zero is a 2 channel 12 bit analogue to digital converter and 2 channel 12 bit digital to analogue converter designed to work with the Raspberry Pi. Designed for the same footprint as the Raspberry Pi Zero the ADC-DAC Pi Zero is also compatible with full size Raspberry Pi models. + +The ADC-DAC Pi Zero is based on the Microchip MCP3202 A/D converter containing 2 analogue inputs with 12 bit resolution with a Microchip MCP4822 dual channel 12-bit DAC with internal voltage reference. + +Max ADC Sample Rate: 100 ksamples/sec + +Max ADC Sample Rate under Python: 12,000 samples per second. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/tr/translate/ab-io-pi-plus.md b/src/tr/translate/ab-io-pi-plus.md index 399712f..ec8504b 100644 --- a/src/tr/translate/ab-io-pi-plus.md +++ b/src/tr/translate/ab-io-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus image: 'ab-io-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -28,7 +39,7 @@ i2c: --> #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. +The IO Pi Plus is a 32 channel digital expansion board designed for use on the Raspberry Pi. 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. @@ -45,4 +56,4 @@ A pair of MCP23017 expanders are included on the board allowing you to connect u - 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/tr/translate/ab-io-pi-zero.md b/src/tr/translate/ab-io-pi-zero.md new file mode 100644 index 0000000..30cd60f --- /dev/null +++ b/src/tr/translate/ab-io-pi-zero.md @@ -0,0 +1,56 @@ + +#IO Pi Zero + +The IO Pi Zero is a 16 channel digital expansion board designed for use on the Raspberry Pi Zero. The board is based around the MCP23017 16-bit I/O expander from Microchip Technology Inc. + +The IO Pi Zero 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 Zero along with other expansion boards. + +##Features + +- 16 Digital Inputs/Outputs +- Control via the Raspberry Pi I2C port +- Stack up to 8 IO Pi boards on a single Raspberry Pi +- Jumper selectable I2C addresses +- External 5V Input with isolation solder bridge +- 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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/tr/translate/ab-rs485-pi.md b/src/tr/translate/ab-rs485-pi.md new file mode 100644 index 0000000..d5c9d93 --- /dev/null +++ b/src/tr/translate/ab-rs485-pi.md @@ -0,0 +1,48 @@ + +#RS485 Pi + +The RS485 Pi is a UART to RS485 serial converter for the Raspberry Pi. + +The RS485 port is connected to the UART port on the Raspberry Pi using a SN65HVD72 interface. The SN65HVD72 IC converts the 3.3V UART port to RS485 differential voltages allowing communication with RS485 compatible devices over a twisted pair cable. The RS485 port can be accessed through the DB9 port or the solder points on the PCB. + +The RS485 Pi contains protection against voltage spikes in the form of a TVS Diode and two 10O, Pulse-Proof Thick-Film Resistors. A 120O terminator resistor is included with the board. + +##Features + +- RS-485 Half Duplex Port. +- Up to 250 kbps transfer rate. +- Use the Raspberry Pi to control external RS-485 devices. +- Stackable with other Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the UART 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/tr/translate/ab-rtc-pi-plus.md b/src/tr/translate/ab-rtc-pi-plus.md index ed4c3ec..625357a 100644 --- a/src/tr/translate/ab-rtc-pi-plus.md +++ b/src/tr/translate/ab-rtc-pi-plus.md @@ -12,7 +12,18 @@ buy: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus image: 'ab-rtc-pi-plus.png' pincount: 40 eeprom: no -power: 3v3,5v +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -25,10 +36,10 @@ i2c: --> #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 a battery backed real-time clock module for the Raspberry Pi. 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 +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/tr/translate/ab-rtc-pi-zero.md b/src/tr/translate/ab-rtc-pi-zero.md new file mode 100644 index 0000000..970846d --- /dev/null +++ b/src/tr/translate/ab-rtc-pi-zero.md @@ -0,0 +1,45 @@ + +#RTC Pi Zero + +The RTC Pi Zero is a battery backed real-time clock module for the Raspberry Pi Zero. 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 Zero when it is switched back on. + +The RTC Pi Zero 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 Zero along with other expansion boards. The RTC Pi Zero 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 Zero also includes an I2C logic level converter allowing you to connect other 5V I2C devices to your Raspberry Pi. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/tr/translate/ab-serial-pi-plus.md b/src/tr/translate/ab-serial-pi-plus.md index 38dc2cd..c1a1aee 100644 --- a/src/tr/translate/ab-serial-pi-plus.md +++ b/src/tr/translate/ab-serial-pi-plus.md @@ -12,7 +12,16 @@ buy: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus image: 'ab-serial-pi-plus.png' pincount: 40 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': mode: UART diff --git a/src/tr/translate/ab-serial-pi-zero.md b/src/tr/translate/ab-serial-pi-zero.md new file mode 100644 index 0000000..c02c224 --- /dev/null +++ b/src/tr/translate/ab-serial-pi-zero.md @@ -0,0 +1,44 @@ + +#Serial Pi Zero + +The Serial Pi Zero is a UART to RS232 serial converter for the Raspberry Pi Zero. + +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 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/tr/translate/ab-servo-pwm-pi-zero.md b/src/tr/translate/ab-servo-pwm-pi-zero.md new file mode 100644 index 0000000..7f384fe --- /dev/null +++ b/src/tr/translate/ab-servo-pwm-pi-zero.md @@ -0,0 +1,44 @@ + +#Servo PWM Pi Zero + +The Servo PWM Pi Zero is a 16-channel, 12-bit PWM controller for the Raspberry Pi, suitable for driving LEDs and radio control servos. The board is based around PCA9685 PWM I2C LED controller IC from NXT and can drive each of the 16 outputs with 12 bit (4096 steps) duty cycle from 0% to 100%. + +The output frequency is programmable from a typical 40Hz to 1000Hz. Each output driver is programmed to be either open-drain with a 22 mA current sink capability at 5 V or totem pole with a 22 mA sink, 10 mA source capability at 5 V. 220R current limiting resistors are used on each channel allowing you to connect servos or LEDs directly to the outputs. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. \ No newline at end of file diff --git a/src/tr/translate/adafruit-cap-mpr121.md b/src/tr/translate/adafruit-cap-mpr121.md index e17890e..c1cf7b3 100644 --- a/src/tr/translate/adafruit-cap-mpr121.md +++ b/src/tr/translate/adafruit-cap-mpr121.md @@ -16,6 +16,13 @@ power: '1': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -34,8 +41,27 @@ install: - 'python-dev' - 'python3-dev' --> -#Capacitive Touch HAT +# Capacitive Touch HAT This Raspberry Pi add-on board provides 12 capacitive touch inputs and all the logic to read them over a simple I2C communication bus. -Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. \ No newline at end of file +Baded on the MPR121 chip, this HAT allows you to create electronics that can react to human touch, with up to 12 individual sensors. + +## Code + +```python +from Adafruit_MPR121 import MPR121 +from time import sleep + +cap = MPR121.MPR121() + +last_touched = cap.touched() +while True: + current_touched = cap.touched() + for i in range(12): + pin_bit = 1 << i + if current_touched & pin_bit and not last_touched & pin_bit: + print("{} touched!".format(i)) + last_touched = current_touched + sleep(0.1) +``` diff --git a/src/tr/translate/adafruit-servo-hat.md b/src/tr/translate/adafruit-servo-hat.md index a35d644..b978229 100644 --- a/src/tr/translate/adafruit-servo-hat.md +++ b/src/tr/translate/adafruit-servo-hat.md @@ -2,7 +2,7 @@ --- name: Servo/PWM HAT class: board -type: touch +type: io,motor formfactor: HAT manufacturer: Adafruit description: A 16-Channel Servo / PWM HAT for Raspberry Pi @@ -11,11 +11,18 @@ github: https://github.com/adafruit/Adafruit_Python_PCA9685 buy: https://www.adafruit.com/product/2327 image: 'adafruit-servo-hat.png' pincount: 40 -eeprom: no +eeprom: yes power: '1': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -39,4 +46,4 @@ install: The Adafruit Servo/PWM HAT allows you to drive up to 16 servos or PWM outputs over I2C with only 2 pins. The on-board PWM controller will drive all 16 channels simultaneously with no additional processing overhead for the Raspberry Pi. Using a binary addressing system set by jumpers you can solder on the PCB, it is possible to stack up to 62 HATs to control up to 992 servos, using nothing more than the I2C bus. -Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! \ No newline at end of file +Important note: servos can use a lot of power and it is not a good idea to use the Raspberry Pi's 5v pin to power them up. Electrical noise and 'brownouts' from excess current draw could cause your Pi to act erratically, reset and/or overheat. Keep the Pi power supply and the servos power supply completely separate! diff --git a/src/tr/translate/analog-zero.md b/src/tr/translate/analog-zero.md index c6af4f0..2d96a04 100644 --- a/src/tr/translate/analog-zero.md +++ b/src/tr/translate/analog-zero.md @@ -12,7 +12,17 @@ buy: http://rasp.io/analogzero/ image: 'analog-zero.png' pincount: 40 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '19': mode: spi @@ -28,7 +38,7 @@ install: --> #Analog Zero -The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analog channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. +The RasPiO Analog Zero offers a compact, inexpensive, easy way to add eight analogue channels to your Raspberry Pi. RasPiO Analog Zero uses an MCP3008 analog to digital converter. It's an SPI driven, 10-bit, 8-channel ADC. With RasPiO Analog Zero you can: @@ -38,4 +48,25 @@ With RasPiO Analog Zero you can: * make a voltmeter * use potentiometer dials for control and display * read analog sensors or voltages -* make your own embedded device with minimal footprint \ No newline at end of file +* make your own embedded device with minimal footprint + +## Code + +```python +from gpiozero import MCP3008 +from time import sleep + +left_pot = MCP3008(0) +light = MCP3008(1) +temperature = MCP3008(2) +right_pot = MCP3008(3) + +while True: + print("Left pot value is {}".format(left_pot.value)) + print("Light sensor value is {}".format(light.value)) + print("Temperature sensor value is {}".format(temperature.value)) + print("Right pot value is {}".format(right_pot.value)) + sleep(1) +``` + +[GPIO Zero docs: MCP3008](http://gpiozero.readthedocs.io/en/v1.3.1/api_spi.html#gpiozero.MCP3008) diff --git a/src/tr/translate/automation-hat.md b/src/tr/translate/automation-hat.md new file mode 100644 index 0000000..469c31d --- /dev/null +++ b/src/tr/translate/automation-hat.md @@ -0,0 +1,101 @@ + +#Automation HAT + +Automation HAT is a home monitoring and automation controller for the Raspberry Pi; with relays, analog channels, powered outputs, and buffered inputs. All 24V tolerant. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS get.pimoroni.com/automationhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import automationhat +automationhat.relay.one.on() +``` diff --git a/src/tr/translate/blinkt.md b/src/tr/translate/blinkt.md index 2f76692..ed826c6 100644 --- a/src/tr/translate/blinkt.md +++ b/src/tr/translate/blinkt.md @@ -12,7 +12,10 @@ buy: https://shop.pimoroni.com/products/blinkt image: 'blinkt.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': pin: '16': name: Data @@ -23,6 +26,23 @@ pin: mode: output active: high --> -#Blinkt! +# Blinkt! -Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. \ No newline at end of file +Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. + +## Code + +```python +from blinkt import set_pixel, show +from random import randint +from time import sleep + +while True: + for pixel in range(8): + r = randint(255) + g = randint(255) + b = randint(255) + set_pixel(pixel, r, g, b) + show() + sleep(0.1) +``` diff --git a/src/tr/translate/carberry.md b/src/tr/translate/carberry.md index 8f6ca5a..eddfd57 100644 --- a/src/tr/translate/carberry.md +++ b/src/tr/translate/carberry.md @@ -15,6 +15,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/tr/translate/cirruslogic-audio-card.md b/src/tr/translate/cirruslogic-audio-card.md index 434f7b2..5a3498e 100644 --- a/src/tr/translate/cirruslogic-audio-card.md +++ b/src/tr/translate/cirruslogic-audio-card.md @@ -10,6 +10,18 @@ url: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-acce buy: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card image: 'cirruslogic-audio-card.png' pincount: 40 +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA1 diff --git a/src/tr/translate/discohat.md b/src/tr/translate/discohat.md index d61a328..374b52b 100644 --- a/src/tr/translate/discohat.md +++ b/src/tr/translate/discohat.md @@ -11,6 +11,18 @@ buy: http://discohat.com/shop image: 'discohat.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD diff --git a/src/tr/translate/display-o-tron-hat.md b/src/tr/translate/display-o-tron-hat.md index 62c0c5e..e0c65a4 100644 --- a/src/tr/translate/display-o-tron-hat.md +++ b/src/tr/translate/display-o-tron-hat.md @@ -17,6 +17,8 @@ power: '2': ground: '6': + '9': + '39': pin: '3': mode: i2c @@ -38,6 +40,13 @@ pin: name: LCD Reset mode: output active: low +i2c: + '0x54': + name: Backlight + device: sn3218 + '0x2c': + name: Cap Touch + device: cap1166 --> #Display-o-Tron HAT diff --git a/src/tr/translate/drum-hat.md b/src/tr/translate/drum-hat.md index e1ef6a0..ce36571 100644 --- a/src/tr/translate/drum-hat.md +++ b/src/tr/translate/drum-hat.md @@ -2,7 +2,7 @@ --- name: Drum HAT class: board -type: instrument +type: instrument,touch formfactor: HAT manufacturer: Pimoroni description: An 8 pad finger Drum HAT for your Raspberry Pi @@ -12,6 +12,13 @@ buy: http://shop.pimoroni.com/products/drum-hat image: 'drum-hat.png' pincount: 40 eeprom: yes +power: + '2': + '17': +ground: + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/tr/translate/enviro-phat.md b/src/tr/translate/enviro-phat.md index b253a52..5287339 100644 --- a/src/tr/translate/enviro-phat.md +++ b/src/tr/translate/enviro-phat.md @@ -2,7 +2,7 @@ --- name: Enviro pHAT class: board -type: iot,sensor +type: adc,sensor formfactor: pHAT manufacturer: Pimoroni description: A package of environmental sensors for IoT projects @@ -12,7 +12,17 @@ buy: https://shop.pimoroni.com/products/enviro-phat image: 'enviro-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -20,20 +30,20 @@ pin: mode: i2c '7': mode: output - name: Lights + name: LEDs i2c: - '0x29': - name: Light/Colour Sensor - device: TCS3472 '0x1d': name: Motion Sensor device: LSM303D + '0x29': + name: Light/Colour Sensor + device: TCS3472 + '0x49': + name: 4-Channel Analog Input + device: ADS1015 '0x77': name: Temp/Pressure Sensor device: BMP280 - '0x48': - name: 4-Channel Analog Input - device: ADS1015 --> #Enviro pHAT @@ -41,11 +51,12 @@ Coupled with a Pi Zero, Enviro pHAT is an affordable mix of sensors, ideal for m Features: -BMP280 temperature/pressure sensor (0x77 on the i2c bus) -TCS3472 light and RGB colour sensor (0x29 on the i2c bus) -(with two LEDs for illumination) -LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus) -ADS1015 4-channel 3.3v 12-bit ADC (0x48 on the i2c bus) +* BMP280 temperature/pressure sensor (0x77 on the i2c bus) +* TCS3472 light and RGB colour sensor (0x29 on the i2c bus) +(with two GPIO controlled LEDs for illumination) +* LSM303D accelerometer/magnetometer sensor (0x1d on the i2c bus) +* ADS1015 4-channel 5v tolerant 12-bit ADC (0x49 on the i2c bus) +(3.3v 12-bit ADC at address 0x48 in first production run of the board) To get the pHAT set up and ready to go you can use the one-line product installer: diff --git a/src/tr/translate/espiot-phat.md b/src/tr/translate/espiot-phat.md index 0b4c15f..534551b 100644 --- a/src/tr/translate/espiot-phat.md +++ b/src/tr/translate/espiot-phat.md @@ -15,6 +15,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/tr/translate/explorer-phat.md b/src/tr/translate/explorer-phat.md index a2c374d..e2b3643 100644 --- a/src/tr/translate/explorer-phat.md +++ b/src/tr/translate/explorer-phat.md @@ -12,6 +12,18 @@ buy: https://shop.pimoroni.com/products/explorer-phat image: 'explorer-phat.png' pincount: 40 eeprom: no +power: + '2': + '17': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/tr/translate/iface-1wire.md b/src/tr/translate/iface-1wire.md index 938f208..c3c7644 100644 --- a/src/tr/translate/iface-1wire.md +++ b/src/tr/translate/iface-1wire.md @@ -11,7 +11,7 @@ pin: --> # W1-GPIO - One-Wire Interface -To enable the one-wire interface you need to add the following line to /boot/config.txt, beofre rebooting your Pi: +To enable the one-wire interface you need to add the following line to /boot/config.txt, before rebooting your Pi: ``` dtoverlay=w1-gpio diff --git a/src/tr/translate/iqaudio-pi-dac.md b/src/tr/translate/iqaudio-pi-dac.md index 8b297fb..cc9973e 100644 --- a/src/tr/translate/iqaudio-pi-dac.md +++ b/src/tr/translate/iqaudio-pi-dac.md @@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk image: 'iqaudio-pi-dac.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/tr/translate/iqaudio-pi-digiamp.md b/src/tr/translate/iqaudio-pi-digiamp.md index 8ffda41..14b75f3 100644 --- a/src/tr/translate/iqaudio-pi-digiamp.md +++ b/src/tr/translate/iqaudio-pi-digiamp.md @@ -11,6 +11,18 @@ buy: http://www.iqaudio.co.uk image: 'iqaudio-pi-digiamp.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -39,10 +51,9 @@ install: 'devices': - 'i2c' --> - #Pi-DigiAMP+ The Pi-DigiAMP+ is an add-on board that includes a Digital to Analog Converter (DAC) and powerful 35w stereo amplifier. If you want to turn your Raspberry Pi into a working Hi Fi stereo, just add speakers and you're off. 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. -Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. \ No newline at end of file +Note: pins reserved for the rotary encoder and IR sensor can be used for other purposes if those add-ons have not been fitted and enabled by software. diff --git a/src/tr/translate/microdot-phat.md b/src/tr/translate/microdot-phat.md index 53a191e..b2f5d83 100644 --- a/src/tr/translate/microdot-phat.md +++ b/src/tr/translate/microdot-phat.md @@ -12,7 +12,11 @@ buy: https://shop.pimoroni.com/products/microdot-phat image: 'microdot-phat.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '39': pin: '3': mode: i2c diff --git a/src/tr/translate/phat-dac.md b/src/tr/translate/phat-dac.md index 8fd5d9c..3063da0 100644 --- a/src/tr/translate/phat-dac.md +++ b/src/tr/translate/phat-dac.md @@ -11,10 +11,16 @@ image: 'phat-dac.png' pincount: 40 eeprom: no power: - '1': '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: I2S diff --git a/src/tr/translate/pi-liter.md b/src/tr/translate/pi-liter.md index 579f4f9..9bfb9f7 100644 --- a/src/tr/translate/pi-liter.md +++ b/src/tr/translate/pi-liter.md @@ -6,12 +6,19 @@ type: led formfactor: Custom manufacturer: Ciseco description: An 8 LED strip for the Raspberry Pi -url: http://www.averagemanvsraspberrypi.com/2014/04/how-to-use-pi-liter-from-ciseco.html +url: http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter buy: http://cpc.farnell.com/wirelessthings/pi-liter/pi-lite-junior-led-io-board-for/dp/SC13293 image: 'pi-liter.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '7': name: LED1 @@ -56,4 +63,23 @@ Applications: * Bar graph * Light chaser * Activity indicator -* Lighting effects \ No newline at end of file +* Lighting effects + +## Code + +```python +from gpiozero import PiLiter +from time import sleep + +lite = PiLiter() + +for led in lite: + led.on() + sleep(0.1) + led.off() + +lite.on() +sleep(5) +``` + +[GPIO Zero docs](http://gpiozero.readthedocs.io/en/v1.3.1/api_boards.html#piliter) diff --git a/src/tr/translate/piano-hat.md b/src/tr/translate/piano-hat.md index bcde914..9679770 100644 --- a/src/tr/translate/piano-hat.md +++ b/src/tr/translate/piano-hat.md @@ -2,7 +2,7 @@ --- name: Piano HAT class: board -type: instrument +type: instrument,touch formfactor: HAT manufacturer: Pimoroni description: A tiny Pi piano with 16 touch-sensitive buttons @@ -12,6 +12,13 @@ buy: https://shop.pimoroni.com/products/piano-hat image: 'piano-hat.png' pincount: 40 eeprom: yes +power: + '2': + '17': +ground: + '9': + '30': + '34': pin: '3': mode: i2c @@ -37,7 +44,7 @@ i2c: name: Cap Touch B device: cap1188 --> -#Pimoroni Piano HAT +#Piano HAT Piano HAT has 16 touch-sensitive buttons. 13 of these are a single Piano octave, the rest give you octave up/down and instrument select functionality. diff --git a/src/tr/translate/piborg-zeroborg.md b/src/tr/translate/piborg-zeroborg.md new file mode 100644 index 0000000..e7386a5 --- /dev/null +++ b/src/tr/translate/piborg-zeroborg.md @@ -0,0 +1,38 @@ + +#ZeroBorg + +The PiBorg ZeroBorg is a 4 channel motor controller for the Raspberry Pi Zero. + +It supports configurable i2c slave addresses from 3 (0x03) to 119 (0x77), meaning that while it uses i2c it can potentially co-exist with *any* other i2c board. See the "Multiple Boards" section of the ZeroBorg install guide for more details. + +* 4 full H-Bridges +* Drives 4 motors or 2 stepper motors +* 2A peak or 1.5A RMS per bridge +* Onboard fast blow fuse at 5A +* Designed to run off a 9V power source +* 2 analogue inputs +* I2C communication \ No newline at end of file diff --git a/src/tr/translate/pijack.md b/src/tr/translate/pijack.md new file mode 100644 index 0000000..0315a3b --- /dev/null +++ b/src/tr/translate/pijack.md @@ -0,0 +1,53 @@ + +#PiJack + +The easiest way to add Ethernet to your Rasberry Pi Zero. Simply plug the PiJack board on to your Pi and boot the latest Raspbian. PiJack will be autodetected by the Linux kernel, the correct driver will be loaded and the Ethernet interface will be ready to use. + +By default, Raspbian will automatically configure the interface for DHCP so as soon as you connect PiJack to your network your Pi will request an address and be ready to go online! + +Each PiJack board is programmed with a unique and persistent MAC address so each time your Pi boots the MAC address will remain the same. This allows you to set up your router to hand out the same IP address each time. + +There are a couple of recent improvements to the Ethernet controller driver, so if you're not running the latest version of Raspbian on your Pi, either download it and reflash your microSD card again, or run +```bash +sudo apt-get update +sudo apt-get dist-upgrade +``` + + diff --git a/src/tr/translate/propeller-hat.md b/src/tr/translate/propeller-hat.md index 86d154b..ebeefd6 100644 --- a/src/tr/translate/propeller-hat.md +++ b/src/tr/translate/propeller-hat.md @@ -15,7 +15,13 @@ eeprom: yes power: '2': ground: - '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit diff --git a/src/tr/translate/raspio-duino.md b/src/tr/translate/raspio-duino.md index e38362a..9b175ee 100644 --- a/src/tr/translate/raspio-duino.md +++ b/src/tr/translate/raspio-duino.md @@ -12,7 +12,14 @@ buy: https://ryanteck.uk/add-ons/58-raspio-duino.html image: 'raspio-duino.png' pincount: 26 eeprom: no -power: 3v3 +power: + '1': +ground: + '6': + '9': + '14': + '20': + '25': pin: '8': mode: uart diff --git a/src/tr/translate/redbear-iot-hat.md b/src/tr/translate/redbear-iot-hat.md index 5e42b89..c642bf6 100644 --- a/src/tr/translate/redbear-iot-hat.md +++ b/src/tr/translate/redbear-iot-hat.md @@ -1,53 +1,58 @@ -#PiZero IoT HAT +#IoT pHAT -The RedBear IoT HAT brings the BCM43438 used on the Raspberry Pi 3 to HAT format, compatible with the Pi Zero. +The RedBear IoT pHAT brings the BCM43438 used on the Raspberry Pi 3 to pHAT format, compatible with the Pi Zero. The chip supports Wi-Fi 802.11n and Bluetooth 4.1 (Dual Mode). diff --git a/src/tr/translate/scroll-phat.md b/src/tr/translate/scroll-phat.md index 15505da..4fc363e 100644 --- a/src/tr/translate/scroll-phat.md +++ b/src/tr/translate/scroll-phat.md @@ -16,6 +16,13 @@ power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/tr/translate/sense-hat.md b/src/tr/translate/sense-hat.md index e121e83..d8d5f8e 100644 --- a/src/tr/translate/sense-hat.md +++ b/src/tr/translate/sense-hat.md @@ -9,7 +9,19 @@ description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystic url: https://www.raspberrypi.org/products/sense-hat/ image: 'sense-hat.png' pincount: 40 -eeprom: yes +eeprom: setup +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c diff --git a/src/tr/translate/traffic-hat.md b/src/tr/translate/traffic-hat.md index ee07ff3..0946732 100644 --- a/src/tr/translate/traffic-hat.md +++ b/src/tr/translate/traffic-hat.md @@ -6,11 +6,23 @@ type: multi formfactor: HAT manufacturer: Ryanteck description: A quick and easy way to learn the basics of GPIO on a budget -url: http://www.ryanteck.uk/store/traffichat -buy: http://www.ryanteck.uk/store/traffichat +url: https://ryanteck.uk/hats/1-traffichat-0635648607122.html +buy: https://ryanteck.uk/hats/1-traffichat-0635648607122.html image: 'traffic-hat.png' pincount: 40 eeprom: yes +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '15': name: LED1 / Green @@ -38,19 +50,26 @@ pin: ###A quick and easy way to learn the basics of GPIO on a budget. All in a nice HAT. ```python -import RPi.GPIO as IO +from gpiozero import TrafficHat from time import sleep +from signal import pause -IO.setmode(IO.BCM) +hat = TrafficHat() -#Lights -IO.setup(22,IO.OUT) -IO.setup(23,IO.OUT) -IO.setup(24,IO.OUT) +# control components individually +hat.lights.green.on() +sleep(1) +hat.lights.amber.on() +sleep(1) +hat.lights.red.on() +sleep(1) +hat.buzzer.on() +sleep(1) +hat.off() # turn everything off -#Buzzer -IO.setup(5,IO.OUT) +# set up events on button press/release +hat.button.when_pressed = hat.lights.blink +hat.button.when_released = hat.lights.off -#Button -IO.setup(25,IO.IN,pull_up_down=IO.PUD_UP) +pause() ``` diff --git a/src/tr/translate/unicorn-phat.md b/src/tr/translate/unicorn-phat.md index ae1fd5f..8b147d5 100644 --- a/src/tr/translate/unicorn-phat.md +++ b/src/tr/translate/unicorn-phat.md @@ -15,7 +15,14 @@ eeprom: yes power: '2': ground: + '6': '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: Data @@ -36,7 +43,7 @@ install: 32 blindingly bright LEDs packed into a pHAT and driven with an ultra-fast, C library that you can talk to from Python make Unicorn HAT PiGlow's bigger, brighter brother. -Note: Unicorn pHAT 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! +Note: Unicorn pHAT uses some special PWM trickery, performed with the same hardware that lets your Pi produce sound through the audio jack ( analog audio ) so you can't use both at the same time! To get the HAT set up and ready to go you can use the one-line product installer: diff --git a/src/tr/translate/uugear-7port-usb-hub.md b/src/tr/translate/uugear-7port-usb-hub.md index 227943a..b52a4a7 100644 --- a/src/tr/translate/uugear-7port-usb-hub.md +++ b/src/tr/translate/uugear-7port-usb-hub.md @@ -9,9 +9,12 @@ description: 7-port USB hub for Raspberry Pi url: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ buy: http://www.uugear.com/product/7-port-usb-hub-for-raspberry-pi/ image: 'uugear-7port-usb-hub.png' -pincount: 40 +pincount: 7 eeprom: no -power: 5v +power: + '2': +ground: + '39': --> #7-port USB hub for Raspberry Pi diff --git a/src/tr/translate/uugear-witty-pi-2.md b/src/tr/translate/uugear-witty-pi-2.md index 8f6d498..d7339b4 100644 --- a/src/tr/translate/uugear-witty-pi-2.md +++ b/src/tr/translate/uugear-witty-pi-2.md @@ -12,7 +12,18 @@ buy: http://www.uugear.com/product/wittypi2/ image: 'uugear-witty-pi-2.png' pincount: 40 eeprom: no -power: 5v,3v3 +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA diff --git a/src/tr/translate/uugear-witty-pi.md b/src/tr/translate/uugear-witty-pi.md index 47ed0ae..7923089 100644 --- a/src/tr/translate/uugear-witty-pi.md +++ b/src/tr/translate/uugear-witty-pi.md @@ -12,7 +12,17 @@ buy: http://www.uugear.com/product/witty-pi-realtime-clock-and-power-management- image: 'uugear-witty-pi.png' pincount: 40 eeprom: no -power: 5v +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': name: SDA diff --git a/src/tr/translate/uugear-zero4u.md b/src/tr/translate/uugear-zero4u.md index 58bfa60..e5c945c 100644 --- a/src/tr/translate/uugear-zero4u.md +++ b/src/tr/translate/uugear-zero4u.md @@ -9,9 +9,8 @@ description: 4-port USB hub for Raspberry Pi Zero url: http://www.uugear.com/product/zero4u/ buy: http://www.uugear.com/product/zero4u/ image: 'uugear-zero4u.png' -pincount: 40 +pincount: 4 eeprom: no -power: 5v --> #Zero4U diff --git a/src/tr/translate/wifi-pants.md b/src/tr/translate/wifi-pants.md index e43dff6..4b242a8 100644 --- a/src/tr/translate/wifi-pants.md +++ b/src/tr/translate/wifi-pants.md @@ -12,7 +12,17 @@ buy: https://www.tindie.com/products/ajlitt/wifi-power-pants/ image: 'wifi-pants.png' pincount: 40 eeprom: no -power: external +power: + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '13': name: ESP GPIO10 diff --git a/src/tr/translate/zero-lipo.md b/src/tr/translate/zero-lipo.md index ecbb96b..9b277c9 100644 --- a/src/tr/translate/zero-lipo.md +++ b/src/tr/translate/zero-lipo.md @@ -11,7 +11,10 @@ buy: https://shop.pimoroni.com/products/zero-lipo image: 'zero-lipo.png' pincount: 8 eeprom: no -power: external +power: + '2': +ground: + '6': pin: '7': name: Battery Low