diff --git a/.gitignore b/.gitignore index e22ea2e..98f0636 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ output/ *.py[cod] +env/ +.DS_store +.sass-cache/ + diff --git a/Makefile b/Makefile index 0f9d1b9..0d51f53 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,22 @@ LANG := $(subst -, ,$(LANG)) LANG := $(subst _, ,$(LANG)) LANG := $(firstword $(LANG)) -all: +.PHONY: resources + +all: html resources + +css: + scss resources/pinout.scss > resources/pinout.scss.css + +html: ./generate-html.py $(LANG) + +resources: cp -r resources output/$(LANG)/ +devel: css all resources + ./serve.py ${LANG} + clean: rm -rf output/$(LANG)/* diff --git a/README.md b/README.md index 3466103..73d110e 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,44 @@ -#Pinout 2 +#Pinout.xyz -Pinout 2 is the successor to the popular Pi pinout website http://pi.gadgetoid.com/pinout +Creative Commons License -To support translation efforts, and allow people to build tools with the data in this repository, Pinout 2 is -provided under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. +[Pinout.xyz](http://pinout.xyz/) is the successor to the popular Pi pinout website originally hosted on [http://pi.gadgetoid.com/pinout](http://pi.gadgetoid.com/pinout). -This project aims to build a consistent workflow behind the Pinout front-end, and invite board manufacturers -to produce their own "overlay" files which describe which pins their Pi add-ons use. +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](http://creativecommons.org/licenses/by-nc-sa/4.0/). -I hope that by making this project open and extensible I will invite not only contributions of board pinouts, -but translations too. +This license excludes the 'pinout-graphic-horizontal' files located in the `graphics` directory, which are provided under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/) to permit commercial use; specifically publication in books and magazines with appropriate attribution. -I'm also looking for feedback about the structure of the JSON files, what information needs to be contained in -them, how they can better support translation and any other suggestions you might have. - -#Contributing - -If you have a board you'd like to contribute, raise an issue and we'll consider it! - -#Translating +#About this project The contents of this GitHub repository are used to build http://pinout.xyz and its translated subdomains. -Current known contributors are: +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. -* de - @rdmueller and @KojoePi -* es - @ResonantWave -* fr - @RogueM -* it - @LizardM4 -* pt - @Maslor -* tr - @Ardakilic +We hope that by making this project open and extensible we will invite not only contributions of board pinouts, but translations too. -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`. +#Reporting -There are no plans to support cultures, so you can't have `src/fr-CA` ( sorry! ). +If you've spotted an error, ommission or have a suggestion, raise an [issue](https://github.com/Gadgetoid/Pinout.xyz/issues). Feedback on every aspect of the site or this repository is welcome! -Once you've made your translation, build and preview it with, for example: +#Contributing + +If you have a board you'd like to contribute, the preferred method for submission is to create a modified version of the overlay [template](https://github.com/Gadgetoid/Pinout.xyz/blob/master/draft/overlay/template.md) and create a pull request. Please ensure the files you submit are being pushed to the `/draft` folder, where it will be reviewed before publication. + +Note that as part of the submission, a top-down view of the board in the form of a [png](https://github.com/Gadgetoid/Pinout.xyz/blob/master/draft/boards/template.png) is expected, although optional. If you can't produce the png file yourself, just duplicate and rename `template.png` but make sure to include a url somewhere in the overlay where we can fetch a suitable graphic. + +If you feel that the requirements for submissions is beyond your current possibilities, you may raise an [issue](https://github.com/Gadgetoid/Pinout.xyz/issues) requesting the addition of a specific board instead and we'll consider it! + +#Translating + +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](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes). For example, if you want to create a Czech translation you would create the folder `src/cs`. Note that there are no plans to support cultures (it would just get out of hand), so you can't have `src/fr-CA` (sorry!). + +The first resources we recommend you translate are the language-specific strings found in the `settings.yaml` file, `pi-pinout.md`, `index.md`, `404.md` and the `footer.html` template, as well as the content of the `/pin` folder, preferably. + +Once that's done, rename the `/overlay` folder to `/translate` and start translating the boards markdown files (pick any you fancy translating, it does not have to be the first board in alphabetical order). Leave those translations in the `/translate` folder when finished. + +Please do not attempt to translate the `/resources` folder, or anything not specifically mentioned in this section of the README - all files outside your *<languagecode>* directory are shared between the subdomains and are meant to be generic. Feel free to modify the template with links relevant to your country, and / or your Twitter handle however, but don't fiddle with the structure! + +Once you've made your translation, you can build and preview it with, for example: ```bash make serve LANG=de @@ -44,17 +46,36 @@ make serve LANG=de And then open: http://127.0.0.1:5000 in your browser. -Please do not attempt to translate the `/resources` folder, this is shared between sites on the server and should be generic. +*note 1: you will need several python modules installed on your system to render and serve a local version of the site, run* +*`pip install -r requirements.txt` from the top of the repository tree to install the required modules.* -Feel free to modify the template with links relevent to your country, and your Twitter handle but don't fiddle with the structure! +*note 2: if you are facing issues with your preview (board not showing, text update not appearing, etc.), you can fix it by erasing your browser's cache (image and cache file only).* -Submit your finished translation as a pull request and I'll get it live on pinout.xyz. +The last step will be to submit your finished translation as a [pull request](https://github.com/Gadgetoid/Pinout.xyz/pulls) (this can include any number of boards, it does not have to be the entire line-up) and we'll get it live on its own *<languagecode>*.pinout.xyz subdomain. -#Roadmap +If you wish to provide a translation for an existing subdomain, or correct a typo in an existing markdown file, just edit the file in place (leaving the files in the `translate` folder for review, if you are pushing a translation). -* Redesign UI to support browsing a wider variety of boards and viewing their pinouts ( partially done with drop down ) -* Replace top tabs with some sort of search functionality or easy categorised UI for finding boards -* Allow for slightly longer descriptions of Pin functions ( baloons? ), current width is very restrictive -* Does X board work with Y board -* What extra functions does this pin have ( mostly done with ALT functions tables, but needs descriptions ) +If you have a question about translations, raise an [issue](https://github.com/Gadgetoid/Pinout.xyz/issues) and we'll be happy to help you get past whatever hurdle you may face! + + +#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](http://pinout.xyz/boards) as possible! + +#Acknowledgement + +Maintainers: [@Gadgetoid](https://github.com/Gadgetoid) and [@RogueM](https://github.com/RogueM) + +GPIO Zero code examples by: [@bennuttall](https://github.com/bennuttall) + +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) diff --git a/src/changelog.md b/changelog.md similarity index 78% rename from src/changelog.md rename to changelog.md index 2bb18f9..a00f01d 100644 --- a/src/changelog.md +++ b/changelog.md @@ -2,8 +2,28 @@ This document only logs the changes to the overlay files that are relevant for purposes of translations. See files history for further details! +July 27, 2016 +- added iface-1wire.md + +July 24, 2016 +- added microdot-phat.md +- added wifi-pants.md +- added uugear-witty-pi-2.md + +July 12, 2016 +- added adafruit-servo-hat.md + +July 10, 2016 +- added raspio-duino.md +- added pi-liter.md +- added zero-lipo.md + +July 9, 2016 +- added analog-zero.md +- added carberry.md + June 25, 2016 -adafruit-cap-mpr121.md +- adafruit-cap-mpr121.md June 24, 2016 - added unicorn-phat.md diff --git a/common/boards.html b/common/boards.html new file mode 100644 index 0000000..83c8560 --- /dev/null +++ b/common/boards.html @@ -0,0 +1,27 @@ +
+ +
+
+
+ +
+
+

+ « {{strings:return_home}} +

+
+
+
+

{{strings:boards_title}}

+

{{strings:boards_subtitle}}

+
+
+
+
+ {{lang_links}} +
+
\ No newline at end of file diff --git a/common/layout.html b/common/layout.html new file mode 100644 index 0000000..2e77d92 --- /dev/null +++ b/common/layout.html @@ -0,0 +1,39 @@ + + + + + {{title}} + + + + + {{hreflang}} + + + +
+

Raspberry Pi Pinout

+ + {{main_content}} + + +
+ + + + + + + + diff --git a/common/page.html b/common/page.html new file mode 100644 index 0000000..1e3206a --- /dev/null +++ b/common/page.html @@ -0,0 +1,23 @@ +
+ +
+
+
+ +
+ {{crumbtrail}} + + {{content}} +
+ {{lang_links}} +
+
\ No newline at end of file diff --git a/convert.py b/convert.py index d40d30e..d3a5907 100644 --- a/convert.py +++ b/convert.py @@ -1,4 +1,6 @@ -import json, sys +import json +import sys + db = json.load(open('pi-pinout.db')) @@ -27,4 +29,3 @@ if len(sys.argv) > 2: mode = sys.argv[2] print("Pin {} is {}: {}".format(pin, mode.upper(), from_phys(pin, mode))) - diff --git a/draft/boards/pi-cap.png b/draft/boards/pi-cap.png new file mode 100644 index 0000000..ee39a16 Binary files /dev/null and b/draft/boards/pi-cap.png differ diff --git a/draft/boards/slice-of-radio.png b/draft/boards/slice-of-radio.png new file mode 100644 index 0000000..f7e4ca5 Binary files /dev/null and b/draft/boards/slice-of-radio.png differ 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/pi-cap.md b/draft/overlay/pi-cap.md new file mode 100644 index 0000000..321ea24 --- /dev/null +++ b/draft/overlay/pi-cap.md @@ -0,0 +1,79 @@ + +# Pi-Cap + +The Pi Cap adds precise capacitive touch, distance sensing and high quality audio to any Raspberry Pi with a 40 pin GPIO connector. The 12 electrodes can be connected to anything conductive to create a touch or proximity interface. Additionally the Pi Cap includes a user-programmable RGB LED and a multi-function button. + +The Pi Cap software is in the official Raspbian repository, so to install the software simply enter: +```bash +sudo apt-get update +sudo apt-get dist-upgrade +``` + +Reboot the Raspberry Pi and enter: +```bash +sudo apt-get install picap +picap-setup +``` + +The Pi Cap provides 7 digital I/O pins, brought out from the 40-way Raspberry Pi GPIO connector – pins 12, 13, 15, 16, 18, 22, 36. The Pi Cap package contains plenty of code examples written in C++, Python and Node.js that are supported by the Pi Cap library. \ No newline at end of file diff --git a/draft/overlay/picade-hat.md b/draft/overlay/picade-hat.md new file mode 100644 index 0000000..4851e1c --- /dev/null +++ b/draft/overlay/picade-hat.md @@ -0,0 +1,94 @@ + +#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/slice-of-radio.md b/draft/overlay/slice-of-radio.md new file mode 100644 index 0000000..d8ac6d7 --- /dev/null +++ b/draft/overlay/slice-of-radio.md @@ -0,0 +1,44 @@ + +#Slice of Radio + +The Slice of Radio is a two way secure wireless RF transceiver for the Raspberry Pi. Sending and recieving via the standard on board Raspberry Pi serial port, it is very easy to use and means you do not need any drivers or special software. + +It supports 128bit AES encryption and Over The Air Micro Programming from the Arduino IDE (OTAMP). + +The on board "chip" antenna gives good performance for such a small package and can be extended in range by soldering on an 8.2cm wire whip. For even greater range it is possible to fit an antenna using an SMA to u.fl pigtail lead. + +Expected range would be around 200m in line of sight with chip antenna, and up to 1000m with an external antenna. It is able to communicate with a wide range of radio nodes such as XRF, SRF, URF, ERF. diff --git a/draft/overlay/template.md b/draft/overlay/template.md index 83212d8..3479bd9 100644 --- a/draft/overlay/template.md +++ b/draft/overlay/template.md @@ -1,23 +1,39 @@ -#ATmega 328p / Arduino over SPI - -###Did you know that your Pi could power and program an ATmega 328p/Arduino directly, with nothing but a few wires, a breadboard, a 16Mhz crystal oscillator and some 22pF capacitors? - -Read my [complete Pico PiDuino tutorial](http://pi.gadgetoid.com/article/building-the-pico-piduino) to get started for just over £5 - -You'll need to install [Gordon's modified AVRDude](https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/). - -Connect 8/CEO to your ATmega's Reset/RST pin, 9/MISO to its MISO pin (D12), 10 to its MOSI pin (D11) and 11/SCLK to its SCLK pin (D13). - -Power your ATmega with the 3.3v and GND pins from your Pi, and you're good to go. - -Make sure you have no rogue SPI device drivers running and check it's connected correctly using: - -```bash -avrdude -p m328p -c gpio -``` - -To get started compiling Arduino sketches from the command line, first: - -```bash -sudo apt-get install arduino arduino-mk -``` - -Then refer to this [article](http://pi.gadgetoid.com/article/programming-your-pico-piduino) for a complete run-through of the process! \ No newline at end of file diff --git a/src/de/overlay/display-o-tron-hat.md b/src/de/overlay/display-o-tron-hat.md index 110cce0..302afb1 100644 --- a/src/de/overlay/display-o-tron-hat.md +++ b/src/de/overlay/display-o-tron-hat.md @@ -1,10 +1,22 @@ #Explorer HAT und Explorer HAT Pro diff --git a/src/de/overlay/explorer-hat.md b/src/de/overlay/explorer-hat.md index e0b6e4a..a326bbc 100644 --- a/src/de/overlay/explorer-hat.md +++ b/src/de/overlay/explorer-hat.md @@ -1,25 +1,17 @@ -#Masse (Ground) +#Masse Die Masseanschlüsse des Raspberry Pi sind alle miteinander verbunden. Es ist also egal, welchen Du verwendets. diff --git a/src/de/overlay/i2c.md b/src/de/overlay/i2c.md index d5f5ff6..20475ad 100644 --- a/src/de/overlay/i2c.md +++ b/src/de/overlay/i2c.md @@ -1,7 +1,10 @@ #Piano HAT @@ -41,7 +46,7 @@ Der HAT benutzt zwei Microchip CAP1188 ICs mit den I2C Adressen 0x28 und 0x2b. Mit folgendem Einzeiler installierst Du die nötige Software: ```bash -curl get.pimoroni.com/pianohat | bash +curl -sS https://get.pimoroni.com/pianohat | bash ``` Den Rest findest Du in der Anleitung! diff --git a/src/de/overlay/piborg-ledborg.md b/src/de/overlay/piborg-ledborg.md deleted file mode 100644 index 826b3f3..0000000 --- a/src/de/overlay/piborg-ledborg.md +++ /dev/null @@ -1,49 +0,0 @@ - -###The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. - -PiBorg has its own driver, so you don't need to drive it manually. - -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 -``` \ No newline at end of file diff --git a/src/de/overlay/pibrella.md b/src/de/overlay/pibrella.md index ee27a1e..13f4f83 100644 --- a/src/de/overlay/pibrella.md +++ b/src/de/overlay/pibrella.md @@ -1,10 +1,17 @@ -#PiGlow diff --git a/src/de/overlay/dots.md b/src/de/overlay/rpf-dots.md similarity index 93% rename from src/de/overlay/dots.md rename to src/de/overlay/rpf-dots.md index b5f836b..9b2fbac 100644 --- a/src/de/overlay/dots.md +++ b/src/de/overlay/rpf-dots.md @@ -1,11 +1,17 @@ -#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/sense-hat.md b/src/de/overlay/sense-hat.md deleted file mode 100644 index b4667e9..0000000 --- a/src/de/overlay/sense-hat.md +++ /dev/null @@ -1,41 +0,0 @@ - -#Sense HAT - -LED Matrix: LED2472G -> ATTINY88 -> SPI(8/9/10/11) -Joystick: SKRHABE010 -> ATTINY88 -> GPIO23/24/25 -Axis/IMU: LSM9DS1 -> i2c 0x1c(1e),0x6a(6b) (INT on MCU) -Luftdruck/Temp: LPS25H -> i2c 0x5c -Luftfeuchtigkeit/Temp: HTS221 -> i2c 0x5f \ No newline at end of file diff --git a/src/de/overlay/skywriter-hat.md b/src/de/overlay/skywriter-hat.md index 666371a..b24e90b 100644 --- a/src/de/overlay/skywriter-hat.md +++ b/src/de/overlay/skywriter-hat.md @@ -1,21 +1,17 @@ #Skywriter HAT diff --git a/src/de/overlay/spi.md b/src/de/overlay/spi.md index 33d1de3..2aa3e06 100644 --- a/src/de/overlay/spi.md +++ b/src/de/overlay/spi.md @@ -1,7 +1,10 @@ +#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/4tronix-pistop.md b/src/de/translate/4tronix-pistop.md new file mode 100644 index 0000000..0cd15d2 --- /dev/null +++ b/src/de/translate/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/src/de/translate/4tronix-robohat.md b/src/de/translate/4tronix-robohat.md new file mode 100644 index 0000000..6665d3f --- /dev/null +++ b/src/de/translate/4tronix-robohat.md @@ -0,0 +1,79 @@ + +# 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/src/pt/overlay/ab-1-wire-plus.md b/src/de/translate/ab-1-wire-plus.md similarity index 67% rename from src/pt/overlay/ab-1-wire-plus.md rename to src/de/translate/ab-1-wire-plus.md index c9ac75e..cea3a39 100644 --- a/src/pt/overlay/ab-1-wire-plus.md +++ b/src/de/translate/ab-1-wire-plus.md @@ -2,16 +2,29 @@ --- name: 1 Wire Pi Plus class: board -type: other -manufacturer: AB Electronics UK +type: com +formfactor: HAT +manufacturer: AB Electronics description: 1-Wire to I2C host interface url: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/1wirepiplus/1-wire-pi-plus-schematic.pdf buy: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus -formfactor: Custom +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 @@ -24,10 +37,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 +[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/de/translate/ab-1-wire-zero.md b/src/de/translate/ab-1-wire-zero.md new file mode 100644 index 0000000..4d9f405 --- /dev/null +++ b/src/de/translate/ab-1-wire-zero.md @@ -0,0 +1,46 @@ + +#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") diff --git a/src/pt/overlay/ab-adc-differential-pi.md b/src/de/translate/ab-adc-differential-pi.md similarity index 66% rename from src/pt/overlay/ab-adc-differential-pi.md rename to src/de/translate/ab-adc-differential-pi.md index 1b5655b..f3c35a5 100644 --- a/src/pt/overlay/ab-adc-differential-pi.md +++ b/src/de/translate/ab-adc-differential-pi.md @@ -2,16 +2,29 @@ --- name: ADC Differential Pi class: board -type: other -manufacturer: AB Electronics UK +type: adc +formfactor: HAT +manufacturer: AB Electronics description: 8 channel Analogue to Digital Converter url: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analogue-to-Digital-converter github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/adcdifferentialpi/adc-differential-pi-schematic.pdf buy: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analogue-to-Digital-converter -formfactor: Custom +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 @@ -27,7 +40,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 @@ -47,4 +60,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. diff --git a/src/pt/overlay/ab-adc-pi-plus.md b/src/de/translate/ab-adc-pi-plus.md similarity index 66% rename from src/pt/overlay/ab-adc-pi-plus.md rename to src/de/translate/ab-adc-pi-plus.md index 8e31430..8c29680 100644 --- a/src/pt/overlay/ab-adc-pi-plus.md +++ b/src/de/translate/ab-adc-pi-plus.md @@ -2,16 +2,29 @@ --- name: ADC Pi Plus class: board -type: other -manufacturer: AB Electronics UK +type: adc +formfactor: HAT +manufacturer: AB Electronics description: 8 channel Analogue to Digital Converter url: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-Digital-converter github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/adcpiplus/adc-pi-plus-schematic.pdf buy: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-Digital-converter -formfactor: Custom +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 @@ -27,7 +40,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 @@ -47,4 +60,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. diff --git a/src/pt/overlay/ab-adc-pi-zero.md b/src/de/translate/ab-adc-pi-zero.md similarity index 81% rename from src/pt/overlay/ab-adc-pi-zero.md rename to src/de/translate/ab-adc-pi-zero.md index 85aa937..8e52e5f 100644 --- a/src/pt/overlay/ab-adc-pi-zero.md +++ b/src/de/translate/ab-adc-pi-zero.md @@ -2,17 +2,27 @@ --- name: ADC Pi Zero class: board -type: other -image: 'ab-adc-pi-zero.png' -manufacturer: AB Electronics UK +type: adc +formfactor: pHAT +manufacturer: AB Electronics description: 8 channel Analogue to Digital Converter url: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-Digital-converter github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/adcpizero/adcpizero_schematic.pdf buy: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-Digital-converter -formfactor: Custom +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 +58,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. 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..9713201 --- /dev/null +++ b/src/de/translate/ab-adcdac-pi-zero.md @@ -0,0 +1,52 @@ + +#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. diff --git a/src/pt/overlay/ab-io-pi-plus.md b/src/de/translate/ab-io-pi-plus.md similarity index 74% rename from src/pt/overlay/ab-io-pi-plus.md rename to src/de/translate/ab-io-pi-plus.md index d83be08..8b5a685 100644 --- a/src/pt/overlay/ab-io-pi-plus.md +++ b/src/de/translate/ab-io-pi-plus.md @@ -2,16 +2,29 @@ --- name: IO Pi Plus class: board -type: other -manufacturer: AB Electronics UK +type: io +formfactor: HAT +manufacturer: AB Electronics description: 32 Channel Digital Expansion Board url: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/iopiplus/IOPiplus-schematic.pdf buy: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus -formfactor: Custom +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 @@ -27,7 +40,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. @@ -44,4 +57,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. 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..d5720ed --- /dev/null +++ b/src/de/translate/ab-io-pi-zero.md @@ -0,0 +1,57 @@ + +#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. diff --git a/src/de/translate/ab-rs485-pi.md b/src/de/translate/ab-rs485-pi.md new file mode 100644 index 0000000..b0f45c2 --- /dev/null +++ b/src/de/translate/ab-rs485-pi.md @@ -0,0 +1,49 @@ + +#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) diff --git a/src/pt/overlay/ab-rtc-pi-plus.md b/src/de/translate/ab-rtc-pi-plus.md similarity index 63% rename from src/pt/overlay/ab-rtc-pi-plus.md rename to src/de/translate/ab-rtc-pi-plus.md index cd6ed1f..a34cf01 100644 --- a/src/pt/overlay/ab-rtc-pi-plus.md +++ b/src/de/translate/ab-rtc-pi-plus.md @@ -2,16 +2,29 @@ --- name: RTC Pi Plus class: board -type: other -manufacturer: AB Electronics UK +type: rtc +formfactor: HAT +manufacturer: AB Electronics description: Real-Time Clock Module for the Raspberry Pi url: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/rtcpi/rtcpi-schematic.pdf buy: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus -formfactor: Custom +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 @@ -24,10 +37,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. 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..b224364 --- /dev/null +++ b/src/de/translate/ab-rtc-pi-zero.md @@ -0,0 +1,46 @@ + +#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. diff --git a/src/pt/overlay/ab-serial-pi-plus.md b/src/de/translate/ab-serial-pi-plus.md similarity index 83% rename from src/pt/overlay/ab-serial-pi-plus.md rename to src/de/translate/ab-serial-pi-plus.md index fec0a91..327e626 100644 --- a/src/pt/overlay/ab-serial-pi-plus.md +++ b/src/de/translate/ab-serial-pi-plus.md @@ -2,16 +2,27 @@ --- name: Serial Pi Plus class: board -type: other -manufacturer: AB Electronics UK +type: com +formfactor: HAT +manufacturer: AB Electronics description: UART to RS232 Converter url: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/serialpiplus/schematic.pdf buy: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus -formfactor: Custom +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 @@ -31,4 +42,4 @@ The RS232 port is connected to the UART port on the Raspberry Pi using a MAX3232 - Stackable with other Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 and Raspberry Pi accessory boards. - Mounting holes for use with the AB Electronics UK mounting kits (sold separately) -[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) \ No newline at end of file +[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) diff --git a/src/de/translate/ab-serial-pi-zero.md b/src/de/translate/ab-serial-pi-zero.md new file mode 100644 index 0000000..b16af78 --- /dev/null +++ b/src/de/translate/ab-serial-pi-zero.md @@ -0,0 +1,45 @@ + +#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) 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..6e60410 --- /dev/null +++ b/src/de/translate/ab-servo-pwm-pi-zero.md @@ -0,0 +1,45 @@ + +#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. diff --git a/src/de/translate/adafruit-cap-mpr121.md b/src/de/translate/adafruit-cap-mpr121.md new file mode 100644 index 0000000..c1cf7b3 --- /dev/null +++ b/src/de/translate/adafruit-cap-mpr121.md @@ -0,0 +1,67 @@ + +# 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. + +## 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-pitft-35-plus.md b/src/de/translate/adafruit-pitft-35-plus.md new file mode 100644 index 0000000..79fad38 --- /dev/null +++ b/src/de/translate/adafruit-pitft-35-plus.md @@ -0,0 +1,57 @@ + +#PiTFT Plus 3.5" + +The PiTFT+ features a 3.5" display with 480x320 16-bit color pixels and a resistive touch overlay and is engineered specifically to work with the Raspberry Pi 3, 2 and the Model A+/B+. + +The display uses the hardware SPI pins as well as GPIO #25 and #24. GPIO #18 can be used to PWM dim the backlight. A 2x13 'classic' GPIO header on the bottom, with additional GPIO pins broken out into solder pads, allows you to use more of the GPIO. + +The PiTFT+ can be used as a display for running the X interface, or the console. You can also have an HDMI display separately connected to complement the setup, keeping in mind that there can only be one X session running (so you'll need to choose where X should be output, on the HDMI or the PiTFT+). diff --git a/src/de/translate/adafruit-servo-hat.md b/src/de/translate/adafruit-servo-hat.md new file mode 100644 index 0000000..b978229 --- /dev/null +++ b/src/de/translate/adafruit-servo-hat.md @@ -0,0 +1,49 @@ + +#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! diff --git a/src/de/translate/analog-zero.md b/src/de/translate/analog-zero.md new file mode 100644 index 0000000..2d96a04 --- /dev/null +++ b/src/de/translate/analog-zero.md @@ -0,0 +1,72 @@ + +#Analog Zero + +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: + +* 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 + +## 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..8b588f0 --- /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 https://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 new file mode 100644 index 0000000..fcafbbc --- /dev/null +++ b/src/de/translate/blinkt.md @@ -0,0 +1,54 @@ + +# Blinkt! + +Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. + +To get started you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/blinkt | bash +``` + +## 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/draft/overlay/carberry.md b/src/de/translate/carberry.md similarity index 72% rename from draft/overlay/carberry.md rename to src/de/translate/carberry.md index c7f678b..eddfd57 100644 --- a/draft/overlay/carberry.md +++ b/src/de/translate/carberry.md @@ -4,17 +4,24 @@ name: Carberry class: board type: other formfactor: Custom -image: 'carberry.png' manufacturer: Paser description: add-on board designed to inteface with car electronics url: http://www.carberry.it/en/p/347/Carberry/ buy: http://www.carberry.it +image: 'carberry.png' pincount: 26 eeprom: no power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit @@ -29,4 +36,18 @@ pin: --> #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. \ No newline at end of file +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/overlay/cirruslogicaudiocard.md b/src/de/translate/cirruslogic-audio-card.md similarity index 91% rename from src/pt/overlay/cirruslogicaudiocard.md rename to src/de/translate/cirruslogic-audio-card.md index 2844442..5a3498e 100644 --- a/src/pt/overlay/cirruslogicaudiocard.md +++ b/src/de/translate/cirruslogic-audio-card.md @@ -1,13 +1,27 @@ #Drum HAT @@ -38,7 +44,7 @@ Features: 8 touch sensitive buttons and 8 LEDs. Works with Piano HAT (it uses a 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 +curl -sS https://get.pimoroni.com/drumhat | bash ``` And follow the instructions! diff --git a/src/de/translate/enviro-phat.md b/src/de/translate/enviro-phat.md new file mode 100644 index 0000000..af843db --- /dev/null +++ b/src/de/translate/enviro-phat.md @@ -0,0 +1,71 @@ + +#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 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: + +```bash +curl -sS https://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/overlay/espiot-phat.md b/src/de/translate/espiot-phat.md similarity index 78% rename from src/pt/overlay/espiot-phat.md rename to src/de/translate/espiot-phat.md index d5e0eee..225dabd 100644 --- a/src/pt/overlay/espiot-phat.md +++ b/src/de/translate/espiot-phat.md @@ -1,19 +1,27 @@ #Explorer pHAT @@ -89,7 +101,7 @@ install: 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 +curl -sS https://get.pimoroni.com/explorerhat | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/de/translate/icubex-pishield.md b/src/de/translate/icubex-pishield.md new file mode 100644 index 0000000..fe74bdb --- /dev/null +++ b/src/de/translate/icubex-pishield.md @@ -0,0 +1,46 @@ + +# PiShield + +The I-CubeX PiShield is a 5V sensor interface board that supports 8 channels of 10-bit ADC input via SPI as well as providing landings for 5V I2C devices. Level conversion to/from 5V is provided for both analog as well as digital sensors. + +Features: + +- Designed for [I-CubeX Sensors](http://infusionsystems.com/catalog/index.php/cPath/24), but works with any 5V analog sensor via a standard 3-pin header (VCC, SIG, GND) +- ADC performed using MCP3008 chip, and works with existing libraries and applications (including wiringPi) +- Supports up to 8 analog sensors via 3-pin headers, and 4 digital sensors via 2x3-pin headers +- Enough header protrusion to allow another 26 pin header to be stacked on top diff --git a/src/de/translate/iface-1wire.md b/src/de/translate/iface-1wire.md new file mode 100644 index 0000000..c3c7644 --- /dev/null +++ b/src/de/translate/iface-1wire.md @@ -0,0 +1,30 @@ + +# W1-GPIO - One-Wire Interface + +To enable the one-wire interface you need to add the following line to /boot/config.txt, before 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/overlay/iface-dpi.md b/src/de/translate/iface-dpi.md similarity index 76% rename from src/pt/overlay/iface-dpi.md rename to src/de/translate/iface-dpi.md index 19488f5..e78c5d2 100644 --- a/src/pt/overlay/iface-dpi.md +++ b/src/de/translate/iface-dpi.md @@ -1,9 +1,10 @@ #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 (Display Parallel Interface) is a 24-bit parallel interface with 28 clock and synchronisation signals. The Pi uses a cut-down, 6-bit, 22 pin version omitting the least significant R, G and B colour bits. DPI, combined with a simple adaptor consisting of 20 resistors, allows you to add a VGA connector to the Pi which supports resolutions from 640 x 480 up to 1920 x 1024 at 60fps and 6bits per channel. \ No newline at end of file diff --git a/src/pt/overlay/iface-gpclk.md b/src/de/translate/iface-gpclk.md similarity index 82% rename from src/pt/overlay/iface-gpclk.md rename to src/de/translate/iface-gpclk.md index f5f8cb6..52eb5e6 100644 --- a/src/pt/overlay/iface-gpclk.md +++ b/src/de/translate/iface-gpclk.md @@ -1,8 +1,8 @@ #GPCLK - General Purpose CLock -###General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. +General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. The following clock sources are available: diff --git a/src/pt/overlay/iface-jtag.md b/src/de/translate/iface-jtag.md similarity index 80% rename from src/pt/overlay/iface-jtag.md rename to src/de/translate/iface-jtag.md index 565e5bc..073071d 100644 --- a/src/pt/overlay/iface-jtag.md +++ b/src/de/translate/iface-jtag.md @@ -1,8 +1,8 @@ #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 +JTAG is a standardised interface for debugging integrated circuits which you can use to debug your Raspberry Pi. \ No newline at end of file diff --git a/src/pt/overlay/iface-pcm.md b/src/de/translate/iface-pcm.md similarity index 53% rename from src/pt/overlay/iface-pcm.md rename to src/de/translate/iface-pcm.md index 204a7a8..9c2636c 100644 --- a/src/pt/overlay/iface-pcm.md +++ b/src/de/translate/iface-pcm.md @@ -1,8 +1,8 @@ #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 +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file diff --git a/src/pt/overlay/iface-sd.md b/src/de/translate/iface-sd.md similarity index 54% rename from src/pt/overlay/iface-sd.md rename to src/de/translate/iface-sd.md index 3c5dd8c..eca159c 100644 --- a/src/pt/overlay/iface-sd.md +++ b/src/de/translate/iface-sd.md @@ -1,8 +1,8 @@ -#SD - SD Card Interface +#SDIO - SD Card Interface -###SD is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot. +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/overlay/iqaudio-pi-dac.md b/src/de/translate/iqaudio-pi-dac.md similarity index 85% rename from src/pt/overlay/iqaudio-pi-dac.md rename to src/de/translate/iqaudio-pi-dac.md index f9ef841..cc9973e 100644 --- a/src/pt/overlay/iqaudio-pi-dac.md +++ b/src/de/translate/iqaudio-pi-dac.md @@ -1,14 +1,28 @@ -#IQaudIO Pi-DAC+ +#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 diff --git a/src/de/translate/iqaudio-pi-digiamp.md b/src/de/translate/iqaudio-pi-digiamp.md new file mode 100644 index 0000000..14b75f3 --- /dev/null +++ b/src/de/translate/iqaudio-pi-digiamp.md @@ -0,0 +1,59 @@ + +#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. diff --git a/src/de/translate/microdot-phat.md b/src/de/translate/microdot-phat.md new file mode 100644 index 0000000..3928940 --- /dev/null +++ b/src/de/translate/microdot-phat.md @@ -0,0 +1,52 @@ + +#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 https://get.pimoroni.com/microdotphat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import microdotphat +``` diff --git a/src/de/translate/mote-phat.md b/src/de/translate/mote-phat.md new file mode 100644 index 0000000..ae55b1a --- /dev/null +++ b/src/de/translate/mote-phat.md @@ -0,0 +1,61 @@ + + +# Mote pHAT + +Sports four Mote channels with microUSB connectors that can drive up to 64 RGB LEDs using four 16 pixel Mote strips. + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/motephat | bash +``` diff --git a/src/de/translate/pantilt-hat.md b/src/de/translate/pantilt-hat.md new file mode 100644 index 0000000..b609b0c --- /dev/null +++ b/src/de/translate/pantilt-hat.md @@ -0,0 +1,53 @@ + +#Pan Tilt HAT + +Pan Tilt HAT is a two-channel servo driver designed to control a tiny servo-powered Pan/Tilt assembly. It also controls either PWM-dimmed lights or WS2812 pixels; up to 24 RGB or 18 RGBW. + +Pan Tilt HAT uses a PIC16F1503 with custom firmware, and talks over i2c. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/pantilthat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import pantilthat +``` diff --git a/src/pt/overlay/phat-dac.md b/src/de/translate/phat-dac.md similarity index 83% rename from src/pt/overlay/phat-dac.md rename to src/de/translate/phat-dac.md index 6bab95c..cddbf9e 100644 --- a/src/pt/overlay/phat-dac.md +++ b/src/de/translate/phat-dac.md @@ -1,19 +1,26 @@ +#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 + +## 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 new file mode 100644 index 0000000..95b2cc5 --- /dev/null +++ b/src/de/translate/piborg-ledborg.md @@ -0,0 +1,66 @@ + +# LedBorg + +The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. + +```python +from gpiozero import LedBorg +from time import sleep + +lb = LedBorg() + +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/pt/overlay/piglow.md b/src/de/translate/piglow.md similarity index 85% rename from src/pt/overlay/piglow.md rename to src/de/translate/piglow.md index 79e51c1..5df30e6 100644 --- a/src/pt/overlay/piglow.md +++ b/src/de/translate/piglow.md @@ -1,14 +1,15 @@ +#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/pt/overlay/propeller-hat.md b/src/de/translate/propeller-hat.md similarity index 88% rename from src/pt/overlay/propeller-hat.md rename to src/de/translate/propeller-hat.md index 14aa4d6..b719c7e 100644 --- a/src/pt/overlay/propeller-hat.md +++ b/src/de/translate/propeller-hat.md @@ -1,21 +1,27 @@ #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 +It's like a little software programming logic device. Great for realtime IO, servo control and even convincingly synthesizing a SID chip. diff --git a/src/de/translate/raspio-duino.md b/src/de/translate/raspio-duino.md new file mode 100644 index 0000000..9b175ee --- /dev/null +++ b/src/de/translate/raspio-duino.md @@ -0,0 +1,44 @@ + +#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/de/translate/redbear-iot-hat.md b/src/de/translate/redbear-iot-hat.md new file mode 100644 index 0000000..c642bf6 --- /dev/null +++ b/src/de/translate/redbear-iot-hat.md @@ -0,0 +1,64 @@ + +#IoT pHAT + +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). + +* 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/overlay/scroll-phat.md b/src/de/translate/scroll-phat.md similarity index 81% rename from src/pt/overlay/scroll-phat.md rename to src/de/translate/scroll-phat.md index c174e01..414b7bb 100644 --- a/src/pt/overlay/scroll-phat.md +++ b/src/de/translate/scroll-phat.md @@ -1,20 +1,28 @@ #Scroll pHAT @@ -43,7 +50,7 @@ The Scroll pHAT provides a matrix of 55 white LED pixels that is ideal for writi 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 +curl -sS https://get.pimoroni.com/scrollphat | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/de/translate/sense-hat.md b/src/de/translate/sense-hat.md new file mode 100644 index 0000000..63de291 --- /dev/null +++ b/src/de/translate/sense-hat.md @@ -0,0 +1,63 @@ + +#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 (Accelerometer and Magnetometer) through a LSM9DS1 found at i2c address 0x1c(0x1e) and 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/Temperature sensor at 0x5f on the i2c bus. diff --git a/src/de/translate/unicorn-phat.md b/src/de/translate/unicorn-phat.md new file mode 100644 index 0000000..92eb260 --- /dev/null +++ b/src/de/translate/unicorn-phat.md @@ -0,0 +1,61 @@ + +#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 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: + +```bash +curl -sS https://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/de/translate/uugear-7port-usb-hub.md b/src/de/translate/uugear-7port-usb-hub.md new file mode 100644 index 0000000..b52a4a7 --- /dev/null +++ b/src/de/translate/uugear-7port-usb-hub.md @@ -0,0 +1,27 @@ + +#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/de/translate/uugear-witty-pi-2.md b/src/de/translate/uugear-witty-pi-2.md new file mode 100644 index 0000000..d7339b4 --- /dev/null +++ b/src/de/translate/uugear-witty-pi-2.md @@ -0,0 +1,66 @@ + +# 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/en/overlay/witty-pi.md b/src/de/translate/uugear-witty-pi.md similarity index 59% rename from src/en/overlay/witty-pi.md rename to src/de/translate/uugear-witty-pi.md index 8431af8..7923089 100644 --- a/src/en/overlay/witty-pi.md +++ b/src/de/translate/uugear-witty-pi.md @@ -2,17 +2,27 @@ --- name: Witty Pi class: board -type: rtc,switch,power +type: power,rtc formfactor: HAT -image: 'witty-pi.png' -manufacturer: UUGear s.r.o. +manufacturer: UUGear description: Realtime clock and power management for Raspberry Pi url: http://www.uugear.com/product/witty-pi-realtime-clock-and-power-management-for-raspberry-pi/ github: https://github.com/uugear/Witty-Pi buy: http://www.uugear.com/product/witty-pi-realtime-clock-and-power-management-for-raspberry-pi/ +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 @@ -34,9 +44,13 @@ i2c: name: DS1307 device: DS1307 --> -# Witty-Pi +#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. +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: diff --git a/src/en/overlay/zero4u.md b/src/de/translate/uugear-zero4u.md similarity index 89% rename from src/en/overlay/zero4u.md rename to src/de/translate/uugear-zero4u.md index 28aeed9..e5c945c 100644 --- a/src/en/overlay/zero4u.md +++ b/src/de/translate/uugear-zero4u.md @@ -2,18 +2,17 @@ --- name: Zero4U class: board -type: usb hub -formfactor: pHAT -image: 'zero4u.png' -manufacturer: UUGear s.r.o. +type: usb +formfactor: USB +manufacturer: UUGear description: 4-port USB hub for Raspberry Pi Zero url: http://www.uugear.com/product/zero4u/ buy: http://www.uugear.com/product/zero4u/ -pincount: 40 +image: 'uugear-zero4u.png' +pincount: 4 eeprom: no -power: 5v --> -# Zero4U +#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. diff --git a/src/de/translate/wifi-pants.md b/src/de/translate/wifi-pants.md new file mode 100644 index 0000000..4b242a8 --- /dev/null +++ b/src/de/translate/wifi-pants.md @@ -0,0 +1,56 @@ + +#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/de/translate/zero-lipo.md b/src/de/translate/zero-lipo.md new file mode 100644 index 0000000..9b277c9 --- /dev/null +++ b/src/de/translate/zero-lipo.md @@ -0,0 +1,40 @@ + +#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/en/404.md b/src/en/404.md deleted file mode 100644 index c69c026..0000000 --- a/src/en/404.md +++ /dev/null @@ -1,7 +0,0 @@ -#404 - Oh dear! - -###Sorry, we couldn't find what you are looking for! - -Use the menu on the left to explore the pins and functions of the Raspberry Pi GPIO. - -Use the menu above to discover new boards, learn about interfaces and find GPIO connection guides. \ No newline at end of file diff --git a/src/en/index.md b/src/en/index.md deleted file mode 100644 index 156bcc0..0000000 --- a/src/en/index.md +++ /dev/null @@ -1,19 +0,0 @@ -#Pinout! - -###The comprehensive GPIO Pinout guide for the Raspberry Pi. - -This GPIO Pinout is designed to be both a quick-reference and a comprehensive guide to your Raspberry Pi's GPIO pins. - -##Latest Pinout news - -To celebrate the launch of the Pi Zero, and more recently Raspberry Pi 3, Pinout has been updated to be cleaner, more comprehensive and more accurate and will continue to be improved. New boards visual and selection filters are also available to help you find what you need more easily. - -##Note for original Raspberry Pi Model "A" and "B" users - -Pinout was originally designed for the old 26-pin Raspberry Pi models, you'll see the outline of this original header displayed on the left in a slightly darker shade. If you click a pin you'll see details of its BCM pin assignment on the original Rev 1 Pi. - -##What do these numbers mean? - -* BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero -* WiringPi - Wiring Pi pin number (shown as a tooltip), for Gordon's Wiring Pi library -* Physical - Number corresponding to the pin's physical location on the header diff --git a/src/en/overlay/4tronix-picon-zero.md b/src/en/overlay/4tronix-picon-zero.md new file mode 100644 index 0000000..cb74d02 --- /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/4tronix-pistop.md b/src/en/overlay/4tronix-pistop.md new file mode 100644 index 0000000..0cd15d2 --- /dev/null +++ b/src/en/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/src/en/overlay/4tronix-robohat.md b/src/en/overlay/4tronix-robohat.md new file mode 100644 index 0000000..6665d3f --- /dev/null +++ b/src/en/overlay/4tronix-robohat.md @@ -0,0 +1,79 @@ + +# 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/src/en/overlay/ab-1-wire-plus.md b/src/en/overlay/ab-1-wire-plus.md index 527c846..cea3a39 100644 --- a/src/en/overlay/ab-1-wire-plus.md +++ b/src/en/overlay/ab-1-wire-plus.md @@ -4,15 +4,27 @@ name: 1 Wire Pi Plus class: board type: com formfactor: HAT -image: 'ab-1-wire-pi-plus.png' manufacturer: AB Electronics description: 1-Wire to I2C host interface url: https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/1wirepiplus/1-wire-pi-plus-schematic.pdf 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 +37,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 +[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/en/overlay/ab-1-wire-zero.md b/src/en/overlay/ab-1-wire-zero.md new file mode 100644 index 0000000..4d9f405 --- /dev/null +++ b/src/en/overlay/ab-1-wire-zero.md @@ -0,0 +1,46 @@ + +#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") diff --git a/src/en/overlay/ab-adc-differential-pi.md b/src/en/overlay/ab-adc-differential-pi.md index 6b4ce01..f3c35a5 100644 --- a/src/en/overlay/ab-adc-differential-pi.md +++ b/src/en/overlay/ab-adc-differential-pi.md @@ -4,15 +4,27 @@ name: ADC Differential Pi class: board type: adc formfactor: HAT -image: 'ab-adc-differential-pi.png' manufacturer: AB Electronics description: 8 channel Analogue to Digital Converter url: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analogue-to-Digital-converter github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/adcdifferentialpi/adc-differential-pi-schematic.pdf buy: https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analogue-to-Digital-converter +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 +40,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 +60,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. diff --git a/src/en/overlay/ab-adc-pi-plus.md b/src/en/overlay/ab-adc-pi-plus.md index fb478ef..8c29680 100644 --- a/src/en/overlay/ab-adc-pi-plus.md +++ b/src/en/overlay/ab-adc-pi-plus.md @@ -4,15 +4,27 @@ name: ADC Pi Plus class: board type: adc formfactor: HAT -image: 'ab-adc-pi-plus.png' manufacturer: AB Electronics description: 8 channel Analogue to Digital Converter url: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-Digital-converter github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/adcpiplus/adc-pi-plus-schematic.pdf buy: https://www.abelectronics.co.uk/p/56/ADC-Pi-Plus-Raspberry-Pi-Analogue-to-Digital-converter +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 +40,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 +60,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. diff --git a/src/en/overlay/ab-adc-pi-zero.md b/src/en/overlay/ab-adc-pi-zero.md index 1a35da5..8e52e5f 100644 --- a/src/en/overlay/ab-adc-pi-zero.md +++ b/src/en/overlay/ab-adc-pi-zero.md @@ -4,15 +4,25 @@ name: ADC Pi Zero class: board type: adc formfactor: pHAT -image: 'ab-adc-pi-zero.png' manufacturer: AB Electronics description: 8 channel Analogue to Digital Converter url: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-Digital-converter github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/adcpizero/adcpizero_schematic.pdf buy: https://www.abelectronics.co.uk/p/69/ADC-Pi-Zero-Raspberry-Pi-Analogue-to-Digital-converter +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 +58,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. diff --git a/src/en/overlay/ab-adcdac-pi-zero.md b/src/en/overlay/ab-adcdac-pi-zero.md new file mode 100644 index 0000000..9713201 --- /dev/null +++ b/src/en/overlay/ab-adcdac-pi-zero.md @@ -0,0 +1,52 @@ + +#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. diff --git a/src/en/overlay/ab-io-pi-plus.md b/src/en/overlay/ab-io-pi-plus.md index 12222ef..8b5a685 100644 --- a/src/en/overlay/ab-io-pi-plus.md +++ b/src/en/overlay/ab-io-pi-plus.md @@ -4,15 +4,27 @@ name: IO Pi Plus class: board type: io formfactor: HAT -image: 'ab-io-pi-plus.png' manufacturer: AB Electronics description: 32 Channel Digital Expansion Board url: https://www.abelectronics.co.uk/p/54/IO-Pi-Plus github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/iopiplus/IOPiplus-schematic.pdf 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 +40,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 +57,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. diff --git a/src/en/overlay/ab-io-pi-zero.md b/src/en/overlay/ab-io-pi-zero.md new file mode 100644 index 0000000..d5720ed --- /dev/null +++ b/src/en/overlay/ab-io-pi-zero.md @@ -0,0 +1,57 @@ + +#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. diff --git a/src/en/overlay/ab-rs485-pi.md b/src/en/overlay/ab-rs485-pi.md new file mode 100644 index 0000000..b0f45c2 --- /dev/null +++ b/src/en/overlay/ab-rs485-pi.md @@ -0,0 +1,49 @@ + +#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) diff --git a/src/en/overlay/ab-rtc-pi-plus.md b/src/en/overlay/ab-rtc-pi-plus.md index 0b1982d..a34cf01 100644 --- a/src/en/overlay/ab-rtc-pi-plus.md +++ b/src/en/overlay/ab-rtc-pi-plus.md @@ -2,17 +2,29 @@ --- name: RTC Pi Plus class: board -type: other +type: rtc formfactor: HAT -image: 'ab-rtc-pi-plus.png' manufacturer: AB Electronics description: Real-Time Clock Module for the Raspberry Pi url: https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/rtcpi/rtcpi-schematic.pdf 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 +37,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. diff --git a/src/en/overlay/ab-rtc-pi-zero.md b/src/en/overlay/ab-rtc-pi-zero.md new file mode 100644 index 0000000..b224364 --- /dev/null +++ b/src/en/overlay/ab-rtc-pi-zero.md @@ -0,0 +1,46 @@ + +#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. diff --git a/src/en/overlay/ab-serial-pi-plus.md b/src/en/overlay/ab-serial-pi-plus.md index 73e2d24..327e626 100644 --- a/src/en/overlay/ab-serial-pi-plus.md +++ b/src/en/overlay/ab-serial-pi-plus.md @@ -4,15 +4,25 @@ name: Serial Pi Plus class: board type: com formfactor: HAT -image: 'ab-serial-pi-plus.png' manufacturer: AB Electronics description: UART to RS232 Converter url: https://www.abelectronics.co.uk/p/51/Serial-Pi-Plus github: https://github.com/abelectronicsuk +schematic: https://www.abelectronics.co.uk/docs/stock/raspberrypi/serialpiplus/schematic.pdf 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 @@ -32,4 +42,4 @@ The RS232 port is connected to the UART port on the Raspberry Pi using a MAX3232 - Stackable with other Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 and Raspberry Pi accessory boards. - Mounting holes for use with the AB Electronics UK mounting kits (sold separately) -[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) \ No newline at end of file +[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) diff --git a/src/en/overlay/ab-serial-pi-zero.md b/src/en/overlay/ab-serial-pi-zero.md new file mode 100644 index 0000000..b16af78 --- /dev/null +++ b/src/en/overlay/ab-serial-pi-zero.md @@ -0,0 +1,45 @@ + +#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) diff --git a/src/en/overlay/ab-servo-pwm-pi-zero.md b/src/en/overlay/ab-servo-pwm-pi-zero.md new file mode 100644 index 0000000..6e60410 --- /dev/null +++ b/src/en/overlay/ab-servo-pwm-pi-zero.md @@ -0,0 +1,45 @@ + +#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. diff --git a/src/en/overlay/adafruit-cap-mpr121.md b/src/en/overlay/adafruit-cap-mpr121.md index dae1cd4..c1cf7b3 100644 --- a/src/en/overlay/adafruit-cap-mpr121.md +++ b/src/en/overlay/adafruit-cap-mpr121.md @@ -1,21 +1,28 @@ -#Adafruit MPR121 Cap 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-pitft-35-plus.md b/src/en/overlay/adafruit-pitft-35-plus.md new file mode 100644 index 0000000..79fad38 --- /dev/null +++ b/src/en/overlay/adafruit-pitft-35-plus.md @@ -0,0 +1,57 @@ + +#PiTFT Plus 3.5" + +The PiTFT+ features a 3.5" display with 480x320 16-bit color pixels and a resistive touch overlay and is engineered specifically to work with the Raspberry Pi 3, 2 and the Model A+/B+. + +The display uses the hardware SPI pins as well as GPIO #25 and #24. GPIO #18 can be used to PWM dim the backlight. A 2x13 'classic' GPIO header on the bottom, with additional GPIO pins broken out into solder pads, allows you to use more of the GPIO. + +The PiTFT+ can be used as a display for running the X interface, or the console. You can also have an HDMI display separately connected to complement the setup, keeping in mind that there can only be one X session running (so you'll need to choose where X should be output, on the HDMI or the PiTFT+). diff --git a/src/en/overlay/adafruit-servo-hat.md b/src/en/overlay/adafruit-servo-hat.md new file mode 100644 index 0000000..b978229 --- /dev/null +++ b/src/en/overlay/adafruit-servo-hat.md @@ -0,0 +1,49 @@ + +#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! diff --git a/src/en/overlay/analog-zero.md b/src/en/overlay/analog-zero.md new file mode 100644 index 0000000..2d96a04 --- /dev/null +++ b/src/en/overlay/analog-zero.md @@ -0,0 +1,72 @@ + +#Analog Zero + +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: + +* 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 + +## 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/arduino-spi.md b/src/en/overlay/arduino-spi.md deleted file mode 100644 index e849625..0000000 --- a/src/en/overlay/arduino-spi.md +++ /dev/null @@ -1,60 +0,0 @@ - -#ATmega 328p / Arduino over SPI - -###Did you know that your Pi could power and program an ATmega 328p/Arduino directly, with nothing but a few wires, a breadboard, a 16Mhz crystal oscillator and some 22pF capacitors? - -Read my [complete Pico PiDuino tutorial](http://pi.gadgetoid.com/article/building-the-pico-piduino) to get started for just over £5 - -You'll need to install [Gordon's modified AVRDude](https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/). - -Connect 8/CEO to your ATmega's Reset/RST pin, 9/MISO to its MISO pin (D12), 10 to its MOSI pin (D11) and 11/SCLK to its SCLK pin (D13). - -Power your ATmega with the 3.3v and GND pins from your Pi, and you're good to go. - -Make sure you have no rogue SPI device drivers running and check it's connected correctly using: - -```bash -avrdude -p m328p -c gpio -``` - -To get started compiling Arduino sketches from the command line: - -```bash -sudo apt-get install arduino arduino-mk -``` - -This basic Makefile should get you started. Create a basic sketch, name it mysketch.ino and run: - -```bash -export BOARD=atmega328 -make -avrdude -p m328p -c gpio -e -U flash:w:build-cli/Arduino.hex -``` diff --git a/src/en/overlay/automation-hat.md b/src/en/overlay/automation-hat.md new file mode 100644 index 0000000..8b588f0 --- /dev/null +++ b/src/en/overlay/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 https://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/en/overlay/blinkt.md b/src/en/overlay/blinkt.md index da8d008..fcafbbc 100644 --- a/src/en/overlay/blinkt.md +++ b/src/en/overlay/blinkt.md @@ -4,15 +4,18 @@ name: 'Blinkt!' class: board type: led formfactor: Custom -image: 'blinkt.png' manufacturer: Pimoroni description: Slimline board with 8 super-bright RGB LED indicators -url: https://shop.pimoroni.com/products/blinkt +url: http://blog.pimoroni.com/blinkt/ github: https://github.com/pimoroni/blinkt 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,29 @@ 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. + +To get started you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/blinkt | bash +``` + +## 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/carberry.md b/src/en/overlay/carberry.md new file mode 100644 index 0000000..eddfd57 --- /dev/null +++ b/src/en/overlay/carberry.md @@ -0,0 +1,53 @@ + +#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/en/overlay/cirruslogic-audio-card.md b/src/en/overlay/cirruslogic-audio-card.md index b46da71..5a3498e 100644 --- a/src/en/overlay/cirruslogic-audio-card.md +++ b/src/en/overlay/cirruslogic-audio-card.md @@ -4,12 +4,24 @@ name: Cirrus Logic Audio Card class: board type: audio formfactor: HAT -image: 'cirruslogic-audio-card.png' manufacturer: Element14 description: Audio Card with unprecedented level of features and performance for Raspberry Pi url: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card buy: http://www.element14.com/community/community/raspberry-pi/raspberry-pi-accessories/cirrus_logic_audio_card +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/en/overlay/discohat.md b/src/en/overlay/discohat.md index cd8b9ab..374b52b 100644 --- a/src/en/overlay/discohat.md +++ b/src/en/overlay/discohat.md @@ -4,13 +4,25 @@ name: DiscoHAT class: board type: audio formfactor: HAT -image: 'discohat.png' manufacturer: Kertatuote description: Computer controlled DMX lights, sounds and special effects url: http://discohat.com 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/en/overlay/display-o-tron-hat.md b/src/en/overlay/display-o-tron-hat.md index a0fcab0..02279e3 100644 --- a/src/en/overlay/display-o-tron-hat.md +++ b/src/en/overlay/display-o-tron-hat.md @@ -2,14 +2,14 @@ --- name: Display-o-Tron HAT class: board -type: lcd +type: display formfactor: HAT -image: 'display-o-tron-hat.png' manufacturer: Pimoroni description: A 3-line character LCD with a 6-zone RGB backlight and 6 touch buttons -url: https://github.com/pimoroni/dot3k +url: https://shop.pimoroni.com/products/display-o-tron-hat github: https://github.com/pimoroni/dot3k buy: https://shop.pimoroni.com/products/display-o-tron-hat +image: 'display-o-tron-hat.png' pincount: 40 eeprom: yes power: @@ -17,6 +17,8 @@ power: '2': ground: '6': + '9': + '39': pin: '3': mode: i2c @@ -38,16 +40,22 @@ pin: name: LCD Reset mode: output active: low +i2c: + '0x54': + name: Backlight + device: sn3218 + '0x2c': + name: Cap Touch + device: cap1166 --> #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. +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 +curl -sS https://get.pimoroni.com/displayotron | bash ``` And follow the instructions! diff --git a/src/en/overlay/display-o-tron.md b/src/en/overlay/display-o-tron.md index 7bd2484..9133ddf 100644 --- a/src/en/overlay/display-o-tron.md +++ b/src/en/overlay/display-o-tron.md @@ -2,14 +2,14 @@ --- name: Display-o-Tron 3000 class: board -type: lcd +type: display formfactor: Custom -image: 'display-o-tron.png' manufacturer: Pimoroni description: A 3-line character LCD with an RGB backlight and joystick -url: https://github.com/pimoroni/dot3k +url: https://shop.pimoroni.com/products/displayotron-3000 github: https://github.com/pimoroni/dot3k buy: https://shop.pimoroni.com/products/displayotron-3000 +image: 'display-o-tron.png' pincount: 26 eeprom: no power: @@ -17,6 +17,9 @@ power: '17': ground: '6': + '9': + '14': + '25': pin: '3': mode: i2c @@ -50,18 +53,10 @@ pin: active: high '23': mode: spi -install: - 'devices': - - 'i2c' - - 'spi' - 'apt': - - 'python-smbus' - - 'python3-smbus' - - 'python-dev' - - 'python3-dev' - 'python': - - 'dot3k' - 'examples': 'python/examples/' +i2c: + '0x54': + name: Backlight + device: sn3218 --> #Display-o-Tron 3000 @@ -70,7 +65,7 @@ The Display-o-Tron 3000 is a 3-line character LCD with an RGB backlight and joys 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 +curl -sS https://get.pimoroni.com/displayotron | bash ``` And follow the instructions! diff --git a/src/en/overlay/drum-hat.md b/src/en/overlay/drum-hat.md index 85a70ce..f26cf2e 100644 --- a/src/en/overlay/drum-hat.md +++ b/src/en/overlay/drum-hat.md @@ -2,16 +2,23 @@ --- name: Drum HAT class: board -type: instrument +type: instrument,touch formfactor: HAT -image: 'drum-hat.png' manufacturer: Pimoroni description: An 8 pad finger Drum HAT for your Raspberry Pi url: http://shop.pimoroni.com/products/drum-hat github: https://github.com/pimoroni/drum-hat buy: http://shop.pimoroni.com/products/drum-hat +image: 'drum-hat.png' pincount: 40 eeprom: yes +power: + '2': + '17': +ground: + '30': + '34': + '39': pin: '3': mode: i2c @@ -27,7 +34,6 @@ i2c: '0x2c': name: Cap Touch device: cap1188 - datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/CAP1188%20.pdf --> #Drum HAT @@ -38,7 +44,7 @@ Features: 8 touch sensitive buttons and 8 LEDs. Works with Piano HAT (it uses a 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 +curl -sS https://get.pimoroni.com/drumhat | bash ``` And follow the instructions! diff --git a/src/en/overlay/enviro-phat.md b/src/en/overlay/enviro-phat.md index d537226..af843db 100644 --- a/src/en/overlay/enviro-phat.md +++ b/src/en/overlay/enviro-phat.md @@ -2,17 +2,27 @@ --- name: Enviro pHAT class: board -type: iot,sensor +type: adc,sensor formfactor: pHAT -image: 'enviro-phat.png' manufacturer: Pimoroni description: A package of environmental sensors for IoT projects url: https://shop.pimoroni.com/products/enviro-phat github: https://github.com/pimoroni/enviro-phat 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,16 +51,17 @@ 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: ```bash -curl -sS get.pimoroni.com/envirophat | bash +curl -sS https://get.pimoroni.com/envirophat | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/en/overlay/espiot-phat.md b/src/en/overlay/espiot-phat.md index bdca3f4..225dabd 100644 --- a/src/en/overlay/espiot-phat.md +++ b/src/en/overlay/espiot-phat.md @@ -4,17 +4,24 @@ name: ESP IoT pHAT class: board type: mcu,io,iot formfactor: pHAT -image: 'esp8266-phat.png' manufacturer: Pimoroni description: an ESP8266 module programmable from your Pi url: https://shop.pimoroni.com/products/esp8266-phat buy: https://shop.pimoroni.com/products/esp8266-phat +image: 'esp8266-phat.png' pincount: 40 eeprom: no power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit @@ -38,5 +45,5 @@ The ESP IoT pHAT is an ESP8266 based add-on for the Raspberry Pi. It provides so 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 +curl -sS https://get.pimoroni.com/iotphat | bash ``` diff --git a/src/en/overlay/explorer-hat-pro.md b/src/en/overlay/explorer-hat-pro.md index d816ac9..64d622e 100644 --- a/src/en/overlay/explorer-hat-pro.md +++ b/src/en/overlay/explorer-hat-pro.md @@ -2,16 +2,26 @@ --- name: Explorer HAT Pro class: board -type: adc,io,motor +type: adc,io,motor,touch formfactor: HAT -image: 'explorer-hat-pro.png' manufacturer: Pimoroni description: An all-in-one light, input, motor, touch and output add-on board -url: https://github.com/pimoroni/explorer-hat +url: http://shop.pimoroni.com/products/explorer-hat github: https://github.com/pimoroni/explorer-hat buy: http://shop.pimoroni.com/products/explorer-hat +image: 'explorer-hat-pro.png' pincount: 40 eeprom: yes +power: + '2': + '17': +ground: + '6': + '9': + '14': + '25': + '30': + '39': pin: '3': mode: i2c @@ -100,7 +110,6 @@ install: - 'explorerhat' 'python3': - 'explorerhat' - 'examples': 'examples/' --> #Explorer HAT Pro @@ -109,7 +118,7 @@ install: 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 +curl -sS https://get.pimoroni.com/explorerhat | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/en/overlay/explorer-hat.md b/src/en/overlay/explorer-hat.md index a1a3235..d5b165d 100644 --- a/src/en/overlay/explorer-hat.md +++ b/src/en/overlay/explorer-hat.md @@ -2,16 +2,26 @@ --- name: Explorer HAT class: board -type: io +type: multi,io,touch formfactor: HAT -image: 'explorer-hat.png' manufacturer: Pimoroni description: An all-in-one light, input, touch and output add-on board -url: https://github.com/pimoroni/explorer-hat +url: http://shop.pimoroni.com/products/explorer-hat github: https://github.com/pimoroni/explorer-hat buy: http://shop.pimoroni.com/products/explorer-hat +image: 'explorer-hat.png' pincount: 40 eeprom: yes +power: + '2': + '17': +ground: + '6': + '9': + '14': + '25': + '30': + '39': pin: '3': mode: i2c @@ -81,7 +91,6 @@ install: - 'explorerhat' 'python3': - 'explorerhat' - 'examples': 'examples/' --> #Explorer HAT @@ -90,7 +99,7 @@ install: 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 +curl -sS https://get.pimoroni.com/explorerhat | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/en/overlay/explorer-phat.md b/src/en/overlay/explorer-phat.md index bc0c8f4..7f4d945 100644 --- a/src/en/overlay/explorer-phat.md +++ b/src/en/overlay/explorer-phat.md @@ -4,14 +4,26 @@ name: Explorer pHAT class: board type: adc,io,motor formfactor: pHAT -image: 'explorer-phat.png' manufacturer: Pimoroni description: An all-in-one input, output and motor add-on board -url: https://github.com/pimoroni/explorer-hat +buy: https://shop.pimoroni.com/products/explorer-phat github: https://github.com/pimoroni/explorer-hat 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 @@ -81,7 +93,6 @@ install: - 'explorerhat' 'python3': - 'explorerhat' - 'examples': 'examples/' --> #Explorer pHAT @@ -90,7 +101,7 @@ install: 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 +curl -sS https://get.pimoroni.com/explorerhat | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/en/overlay/ground.md b/src/en/overlay/ground.md index b75b047..1ffd52b 100644 --- a/src/en/overlay/ground.md +++ b/src/en/overlay/ground.md @@ -23,5 +23,5 @@ 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. -It's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using -the [SPI](/pinout/spi) connections, for example, as these are right next to the important pins for SPI0. +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/en/overlay/i2c.md b/src/en/overlay/i2c.md index 3bd438e..4070dda 100644 --- a/src/en/overlay/i2c.md +++ b/src/en/overlay/i2c.md @@ -3,7 +3,8 @@ name: I2C class: interface type: pinout -description: Raspberry Pi i2c pins +description: Raspberry Pi I2C pins +url: http://www.raspberry-projects.com/pi/programming-in-python/i2c-programming-in-python/using-the-i2c-interface-2 pin: '3': name: Data @@ -23,10 +24,13 @@ pin: active: high --> #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. +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: @@ -35,13 +39,7 @@ sudo apt-get install i2c-tools sudo i2cdetect -y 1 ``` -You can access i2c from Python using the smbus library: - -```bash -sudo apt-get install python-smbus -``` - -And then in Python: +You can then access I2C from Python using the smbus library: ```python import smbus diff --git a/src/en/overlay/icubex-pishield.md b/src/en/overlay/icubex-pishield.md new file mode 100644 index 0000000..fe74bdb --- /dev/null +++ b/src/en/overlay/icubex-pishield.md @@ -0,0 +1,46 @@ + +# PiShield + +The I-CubeX PiShield is a 5V sensor interface board that supports 8 channels of 10-bit ADC input via SPI as well as providing landings for 5V I2C devices. Level conversion to/from 5V is provided for both analog as well as digital sensors. + +Features: + +- Designed for [I-CubeX Sensors](http://infusionsystems.com/catalog/index.php/cPath/24), but works with any 5V analog sensor via a standard 3-pin header (VCC, SIG, GND) +- ADC performed using MCP3008 chip, and works with existing libraries and applications (including wiringPi) +- Supports up to 8 analog sensors via 3-pin headers, and 4 digital sensors via 2x3-pin headers +- Enough header protrusion to allow another 26 pin header to be stacked on top diff --git a/src/en/overlay/iface-1wire.md b/src/en/overlay/iface-1wire.md new file mode 100644 index 0000000..c3c7644 --- /dev/null +++ b/src/en/overlay/iface-1wire.md @@ -0,0 +1,30 @@ + +# W1-GPIO - One-Wire Interface + +To enable the one-wire interface you need to add the following line to /boot/config.txt, before 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/en/overlay/iface-dpi.md b/src/en/overlay/iface-dpi.md index ef17994..e78c5d2 100644 --- a/src/en/overlay/iface-dpi.md +++ b/src/en/overlay/iface-dpi.md @@ -4,6 +4,7 @@ name: DPI class: interface type: pinout description: Raspberry Pi DPI pins +url: https://www.raspberrypi.org/documentation/hardware/raspberrypi/dpi/ pin: 'bcm0': name: CLK @@ -52,6 +53,6 @@ pin: --> #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 (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/en/overlay/iface-gpclk.md b/src/en/overlay/iface-gpclk.md index 6300a83..52eb5e6 100644 --- a/src/en/overlay/iface-gpclk.md +++ b/src/en/overlay/iface-gpclk.md @@ -14,7 +14,7 @@ pin: --> #GPCLK - General Purpose CLock -###General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. +General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. The following clock sources are available: diff --git a/src/en/overlay/iface-jtag.md b/src/en/overlay/iface-jtag.md index 3ee8998..073071d 100644 --- a/src/en/overlay/iface-jtag.md +++ b/src/en/overlay/iface-jtag.md @@ -30,4 +30,4 @@ pin: --> #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 +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/en/overlay/iface-pcm.md b/src/en/overlay/iface-pcm.md index 06ddb20..9c2636c 100644 --- a/src/en/overlay/iface-pcm.md +++ b/src/en/overlay/iface-pcm.md @@ -16,4 +16,4 @@ pin: --> #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 +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/en/overlay/iface-sd.md b/src/en/overlay/iface-sd.md index e3405a1..eca159c 100644 --- a/src/en/overlay/iface-sd.md +++ b/src/en/overlay/iface-sd.md @@ -1,6 +1,6 @@ -#SD - SD Card Interface +#SDIO - SD Card Interface -###SD is the SD host/eMMC interface on the Raspberry Pi. SD host signals are normally used for the microSD slot. +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/en/overlay/iqaudio-pi-dac.md b/src/en/overlay/iqaudio-pi-dac.md index a6f8c1f..cc9973e 100644 --- a/src/en/overlay/iqaudio-pi-dac.md +++ b/src/en/overlay/iqaudio-pi-dac.md @@ -4,12 +4,25 @@ name: Pi-DAC+ class: board type: audio formfactor: HAT -image: 'iqaudio-pi-dac.png' manufacturer: IQaudIO description: An I2S digital to analog audio converter HAT for the Pi +url: http://www.iqaudio.co.uk/audio/8-pi-dac-0712411999650.html 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 @@ -39,7 +52,7 @@ install: 'devices': - 'i2c' --> -#IQaudIO Pi-DAC+ +#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 diff --git a/src/en/overlay/iqaudio-pi-digiamp.md b/src/en/overlay/iqaudio-pi-digiamp.md new file mode 100644 index 0000000..14b75f3 --- /dev/null +++ b/src/en/overlay/iqaudio-pi-digiamp.md @@ -0,0 +1,59 @@ + +#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. diff --git a/src/en/overlay/microdot-phat.md b/src/en/overlay/microdot-phat.md new file mode 100644 index 0000000..3928940 --- /dev/null +++ b/src/en/overlay/microdot-phat.md @@ -0,0 +1,52 @@ + +#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 https://get.pimoroni.com/microdotphat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import microdotphat +``` diff --git a/src/en/overlay/mote-phat.md b/src/en/overlay/mote-phat.md new file mode 100644 index 0000000..ae55b1a --- /dev/null +++ b/src/en/overlay/mote-phat.md @@ -0,0 +1,61 @@ + + +# Mote pHAT + +Sports four Mote channels with microUSB connectors that can drive up to 64 RGB LEDs using four 16 pixel Mote strips. + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/motephat | bash +``` diff --git a/src/en/overlay/pantilt-hat.md b/src/en/overlay/pantilt-hat.md new file mode 100644 index 0000000..b609b0c --- /dev/null +++ b/src/en/overlay/pantilt-hat.md @@ -0,0 +1,53 @@ + +#Pan Tilt HAT + +Pan Tilt HAT is a two-channel servo driver designed to control a tiny servo-powered Pan/Tilt assembly. It also controls either PWM-dimmed lights or WS2812 pixels; up to 24 RGB or 18 RGBW. + +Pan Tilt HAT uses a PIC16F1503 with custom firmware, and talks over i2c. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/pantilthat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import pantilthat +``` diff --git a/src/en/overlay/phat-dac.md b/src/en/overlay/phat-dac.md index 2a52c8b..cddbf9e 100644 --- a/src/en/overlay/phat-dac.md +++ b/src/en/overlay/phat-dac.md @@ -4,17 +4,23 @@ name: pHAT DAC class: board type: audio formfactor: pHAT -image: 'phat-dac.png' manufacturer: Pimoroni description: An I2S digital to analog audio converter buy: https://shop.pimoroni.com/products/phat-dac +image: 'phat-dac.png' pincount: 40 eeprom: no power: - '1': '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: I2S @@ -35,5 +41,5 @@ Though designed to match the format of the Raspberry Pi Zero it is compatible wi 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 +curl -sS https://get.pimoroni.com/phatdac | bash ``` diff --git a/src/en/overlay/pi-liter.md b/src/en/overlay/pi-liter.md new file mode 100644 index 0000000..9bfb9f7 --- /dev/null +++ b/src/en/overlay/pi-liter.md @@ -0,0 +1,85 @@ + +#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 + +## 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 522eb1b..0e0d01d 100644 --- a/src/en/overlay/piano-hat.md +++ b/src/en/overlay/piano-hat.md @@ -2,16 +2,23 @@ --- name: Piano HAT class: board -type: instrument +type: instrument,touch formfactor: HAT -image: 'piano-hat.png' manufacturer: Pimoroni description: A tiny Pi piano with 16 touch-sensitive buttons -url: http://shop.pimoroni.com/products/drum-hat +url: https://shop.pimoroni.com/products/piano-hat github: https://github.com/pimoroni/piano-hat 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 @@ -33,11 +40,9 @@ i2c: '0x28': name: Cap Touch A device: cap1188 - datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/CAP1188%20.pdf '0x2b': name: Cap Touch B device: cap1188 - datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/CAP1188%20.pdf --> #Piano HAT @@ -48,7 +53,7 @@ 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 +curl -sS https://get.pimoroni.com/pianohat | bash ``` And follow the instructions! diff --git a/src/en/overlay/piborg-ledborg.md b/src/en/overlay/piborg-ledborg.md index bcd3b6d..95b2cc5 100644 --- a/src/en/overlay/piborg-ledborg.md +++ b/src/en/overlay/piborg-ledborg.md @@ -4,13 +4,22 @@ name: LEDBorg class: board type: led formfactor: Custom -image: 'piborg-led-borg.png' manufacturer: PiBorg description: A single RGB LED for your Raspberry Pi url: https://www.piborg.org/ledborg-new/install buy: https://www.piborg.org/ledborg +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 --> -###The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. +# LedBorg -the PiBorg Ledborg has its own driver, so you don't need to drive it manually. - -If you want a much, much wider range of colours, though, you can drive it manually using softPwm in WiringPi. The pin assignments for this are as follows: - -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/piborg-zeroborg.md b/src/en/overlay/piborg-zeroborg.md new file mode 100644 index 0000000..e7386a5 --- /dev/null +++ b/src/en/overlay/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/en/overlay/pibrella.md b/src/en/overlay/pibrella.md index d3ecac8..dae8a45 100644 --- a/src/en/overlay/pibrella.md +++ b/src/en/overlay/pibrella.md @@ -4,12 +4,23 @@ name: Pibrella class: board type: multi,io formfactor: Custom -image: 'pibrella.png' manufacturer: Cyntech description: An all-in-one light, sound, input and output add-on board -url: https://github.com/pimoroni/pibrella +url: http://pibrella.com +github: https://github.com/pimoroni/pibrella +buy: https://shop.cyntech.co.uk/products/pibrella?variant=581387897 +image: 'pibrella.png' pincount: 26 eeprom: no +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': pin: '7': name: Green LED @@ -71,7 +82,7 @@ The all-in-one light, sound, input and output add-on board that uses lots of IO Pibrella is easy to use, first you should install the module using LXTerminal/Command Line: ```bash -curl -sS get.pimoroni.com/pibrella | bash +curl -sS https://get.pimoroni.com/pibrella | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/en/overlay/piglow.md b/src/en/overlay/piglow.md index 84b8fd4..5df30e6 100644 --- a/src/en/overlay/piglow.md +++ b/src/en/overlay/piglow.md @@ -4,12 +4,12 @@ name: PiGlow class: board type: led formfactor: Custom -image: 'piglow.png' manufacturer: Pimoroni description: Simply 18 LEDs in a spiral pattern controllable in Python -url: https://github.com/pimoroni/piglow +url: http://shop.pimoroni.com/products/piglow github: https://github.com/pimoroni/piglow buy: http://shop.pimoroni.com/products/piglow +image: 'piglow.png' pincount: 26 eeprom: no power: @@ -33,7 +33,7 @@ The board uses the SN3218 8-bit 18-channel PWM chip to drive surface mount LEDs. 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 +curl -sS https://get.pimoroni.com/piglow | bash ``` And follow the instructions! diff --git a/src/en/overlay/pijack.md b/src/en/overlay/pijack.md new file mode 100644 index 0000000..0315a3b --- /dev/null +++ b/src/en/overlay/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/en/overlay/propeller-hat.md b/src/en/overlay/propeller-hat.md index a5a2cf9..b719c7e 100644 --- a/src/en/overlay/propeller-hat.md +++ b/src/en/overlay/propeller-hat.md @@ -4,18 +4,24 @@ name: Propeller HAT class: board type: mcu,io,motor formfactor: HAT -image: 'propeller-hat.png' manufacturer: Pimoroni description: The 8-core Propeller Microcontroller in HAT form-factor url: http://shop.pimoroni.com/products/propeller-hat github: https://github.com/pimoroni/piano-hat buy: https://shop.pimoroni.com/products/propeller-hat +image: 'propeller-hat.png' pincount: 40 eeprom: yes power: '2': ground: - '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '8': name: TXD / Transmit @@ -28,12 +34,13 @@ pin: '11': name: Reset active: low +flash: '29': - name: EEPROM WP + mode: flash active: low --> #Propeller HAT Propeller HAT brings the 8-core Parallax Propeller microcontroller to HAT form-factor. Program and talk to it over Serial using Propeller IDE and you'll have a powerful, realtime co-processor for your Pi. -It's like a little software programming logic device. Great for realtime IO, servo control and even convincingly synthesizing a SID chip. \ No newline at end of file +It's like a little software programming logic device. Great for realtime IO, servo control and even convincingly synthesizing a SID chip. diff --git a/src/en/overlay/raspio-duino.md b/src/en/overlay/raspio-duino.md new file mode 100644 index 0000000..9b175ee --- /dev/null +++ b/src/en/overlay/raspio-duino.md @@ -0,0 +1,44 @@ + +#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/en/overlay/redbear-iot-hat.md b/src/en/overlay/redbear-iot-hat.md index 9bbc869..c642bf6 100644 --- a/src/en/overlay/redbear-iot-hat.md +++ b/src/en/overlay/redbear-iot-hat.md @@ -1,53 +1,58 @@ -#RedBear 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/en/overlay/rpf-dots.md b/src/en/overlay/rpf-dots.md index 3196456..2c24373 100644 --- a/src/en/overlay/rpf-dots.md +++ b/src/en/overlay/rpf-dots.md @@ -4,14 +4,26 @@ name: DOTs class: board type: other formfactor: Custom -image: 'pihut-dots.png' manufacturer: Raspberry Pi description: Join the dots to make a circuit url: http://www.raspberrypi.org/dots/ github: https://github.com/raspberrypilearning/dots buy: https://thepihut.com/products/raspberry-pi-dots-board +image: 'rpf-dots.png' pincount: 40 eeprom: no +power: + '1': + '2': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: bcm0: name: 'Color: Blue' @@ -98,7 +110,7 @@ pin: name: 'Color: Red' direction: input --> -#Raspberry Pi Dots +#Dots Board ###Dots is a Dot to Dot board for the Raspberry Pi that lets you join-the-dots with BARE Conductive Paint! diff --git a/src/en/overlay/rtk-000-001.md b/src/en/overlay/rtk-000-001.md index eb189de..fb517d1 100644 --- a/src/en/overlay/rtk-000-001.md +++ b/src/en/overlay/rtk-000-001.md @@ -1,16 +1,25 @@ -#Ryanteck 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/scroll-phat.md b/src/en/overlay/scroll-phat.md index 9689bf1..414b7bb 100644 --- a/src/en/overlay/scroll-phat.md +++ b/src/en/overlay/scroll-phat.md @@ -2,20 +2,27 @@ --- name: Scroll pHAT class: board -type: led +type: display, led formfactor: pHAT -image: 'scroll-phat.png' manufacturer: Pimoroni description: A 11 x 5 LED matrix url: https://github.com/pimoroni/scroll-phat github: https://github.com/pimoroni/scroll-phat buy: https://shop.pimoroni.com/products/scroll-phat +image: 'scroll-phat.png' pincount: 40 eeprom: no power: '2': ground: '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -35,7 +42,6 @@ install: - 'scrollphat' 'python3': - 'scrollphat' - 'examples': 'examples/' --> #Scroll pHAT @@ -44,7 +50,7 @@ The Scroll pHAT provides a matrix of 55 white LED pixels that is ideal for writi 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 +curl -sS https://get.pimoroni.com/scrollphat | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/en/overlay/sense-hat.md b/src/en/overlay/sense-hat.md index 3787087..63de291 100644 --- a/src/en/overlay/sense-hat.md +++ b/src/en/overlay/sense-hat.md @@ -4,17 +4,48 @@ name: Sense HAT class: board type: led,sensor formfactor: HAT -image: 'sense-hat.png' manufacturer: Raspberry Pi description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystick as well as IMU and environmental sensors url: https://www.raspberrypi.org/products/sense-hat/ +github: https://github.com/RPi-Distro/python-sense-hat +schematic: https://www.raspberrypi.org/documentation/hardware/sense-hat/images/Sense-HAT-V1_0.pdf +buy: https://thepihut.com/products/raspberry-pi-sense-hat-astro-pi +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 '5': mode: i2c +i2c: + '0x5c': + name: Pressure/Temp + device: lps25h + '0x5f': + name: Humidity/Temp + device: hts221 + '0x6a': + name: Accelerometer + device: lsm9ds1 + '0x1c': + name: Magnetometer + device: lsm9ds1 + '0x46': + name: LED Matrix + device: led2472g install: 'devices': - 'i2c' @@ -27,6 +58,6 @@ The shift register driving the LED Matrix is a LED2472G connected via an ATTINY8 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. +The IMU (Accelerometer and Magnetometer) through a LSM9DS1 found at i2c address 0x1c(0x1e) and 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. +Environmental sensors are represented by a LPS25H Pressure/Temperature sensor at address 0x5c and by a HTS221 Humidity/Temperature sensor at 0x5f on the i2c bus. diff --git a/src/en/overlay/skywriter-hat.md b/src/en/overlay/skywriter-hat.md index eac24b7..a1ebc10 100644 --- a/src/en/overlay/skywriter-hat.md +++ b/src/en/overlay/skywriter-hat.md @@ -4,18 +4,25 @@ name: Skywriter HAT class: board type: 'gesture,touch' formfactor: HAT -image: 'skywriter-hat.png' manufacturer: Pimoroni description: A 3D positional and gesture sensor -url: https://github.com/pimoroni/skywriter-hat +url: http://shop.pimoroni.com/products/skywriter-hat github: https://github.com/pimoroni/skywriter-hat buy: http://shop.pimoroni.com/products/skywriter-hat +image: 'skywriter-hat.png' pincount: 40 eeprom: yes -i2c: - '0x42': - name: Gesture sensor - device: MGC3130 +power: + '17': +ground: + '6': + '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '3': mode: i2c @@ -33,7 +40,10 @@ install: - 'python3-dev' 'python': - 'skywriter' - 'examples': 'python/examples/' +i2c: + '0x42': + name: Gesture sensor + device: mgc3130 --> #Skywriter HAT @@ -45,7 +55,7 @@ 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 +curl -sS https://get.pimoroni.com/skywriter | bash ``` And follow the instructions! diff --git a/src/en/overlay/spi.md b/src/en/overlay/spi.md index 24a2979..96a6ac2 100644 --- a/src/en/overlay/spi.md +++ b/src/en/overlay/spi.md @@ -4,6 +4,7 @@ name: SPI class: interface type: pinout description: Raspberry Pi SPI pins +url: https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/ pincount: 5 pin: '11': @@ -45,24 +46,20 @@ pin: name: SPI1 SCLK --> #SPI - Serial Peripheral Interface +--- +###SPI0 pins in BCM mode are: 9, 10, 11 + 7/8 +###SPI0 pins in WiringPi are: 12, 13, 14 + 10/11 +--- +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. -###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. - -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. +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 ). You can also use the SPI port to "Bit-Bang" an ATmega 328, loading Arduino sketches onto it with Gordon Hendersons' modified version of AVRDude. 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'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. diff --git a/src/en/overlay/traffic-hat.md b/src/en/overlay/traffic-hat.md index 346cb6e..0946732 100644 --- a/src/en/overlay/traffic-hat.md +++ b/src/en/overlay/traffic-hat.md @@ -4,13 +4,25 @@ name: Traffic HAT class: board type: multi formfactor: HAT -image: 'traffic-hat.png' 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/en/overlay/uart.md b/src/en/overlay/uart.md index 8ed012a..acb2a19 100644 --- a/src/en/overlay/uart.md +++ b/src/en/overlay/uart.md @@ -4,6 +4,7 @@ name: UART class: interface type: pinout description: Raspberry Pi UART pins +url: http://elinux.org/RPi_Serial_Connection pincount: 2 pin: '8': @@ -16,12 +17,17 @@ pin: active: high --> #UART - Universal Asynchronous Receiver/Transmitter +--- +###UART pins in BCM mode are: 14, 15 +###UART pins in WiringPi are: 15, 16 +--- +UART is an asynchronous serial communication protocol, meaning that it takes bytes of data and transmits the individual bits in a sequential fashion. -###The 2 UART pins in WiringPi are: 15, 16 +Asynchronous transmission allows data to be transmitted without the sender having to send a clock signal to the receiver. Instead, the sender and receiver agree on timing parameters in advance and special bits called 'start bits' are added to each word and used to synchronize the sending and receiving units. -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. +UART is commonly used on the Pi as a convenient way to control it over the GPIO, or access the kernel boot messages from the serial console (enabled by default). -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. +It can also be used as a way to interface an Arduino, bootloaded ATmega, ESP8266, etc with your Pi. Be careful with logic-levels between the devices though, for example the Pi is 3.3v and the Arduino is 5v. Connect the two and you might conjure up some magic blue smoke. Assuming you have WiringPi2-Python installed, the following python example opens the Pi's UART at 9600baud and puts 'hello world' diff --git a/src/en/overlay/unicorn-hat.md b/src/en/overlay/unicorn-hat.md index 83e7903..5f887ef 100644 --- a/src/en/overlay/unicorn-hat.md +++ b/src/en/overlay/unicorn-hat.md @@ -4,14 +4,14 @@ name: Unicorn HAT class: board type: led formfactor: HAT -image: 'unicorn-hat.png' manufacturer: Pimoroni description: 64 blindingly bright RGB LEDs on a single HAT url: http://shop.pimoroni.com/products/unicorn-hat github: https://github.com/pimoroni/unicornhat buy: http://shop.pimoroni.com/products/unicorn-hat +image: 'unicorn-hat.png' pincount: 40 -eeprom: yes +eeprom: detect power: '2': ground: @@ -31,18 +31,17 @@ install: - 'unicornhat' 'python3': - 'unicornhat' - 'examples': 'python/examples/' --> #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! +Note: Unicorn HAT 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: ```bash -curl -sS get.pimoroni.com/unicornhat | bash +curl -sS https://get.pimoroni.com/unicornhat | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/en/overlay/unicorn-phat.md b/src/en/overlay/unicorn-phat.md index 61ceabb..92eb260 100644 --- a/src/en/overlay/unicorn-phat.md +++ b/src/en/overlay/unicorn-phat.md @@ -4,18 +4,25 @@ name: Unicorn pHAT class: board type: led formfactor: pHAT -image: 'unicorn-phat.png' manufacturer: Pimoroni description: 32 blindingly bright RGB LEDs on a single pHAT url: http://shop.pimoroni.com/products/unicorn-phat github: https://github.com/pimoroni/unicornhat buy: http://shop.pimoroni.com/products/unicorn-phat +image: 'unicorn-phat.png' pincount: 40 eeprom: yes power: '2': ground: + '6': '9': + '14': + '20': + '25': + '30': + '34': + '39': pin: '12': name: Data @@ -31,18 +38,17 @@ install: - 'unicornhat' 'python3': - 'unicornhat' - 'examples': 'python/examples/' --> #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! +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: ```bash -curl -sS get.pimoroni.com/unicornhat | bash +curl -sS https://get.pimoroni.com/unicornhat | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/en/overlay/uugear-7port-usb-hub.md b/src/en/overlay/uugear-7port-usb-hub.md index 3108bd2..b52a4a7 100644 --- a/src/en/overlay/uugear-7port-usb-hub.md +++ b/src/en/overlay/uugear-7port-usb-hub.md @@ -1,19 +1,22 @@ -# UUGear 7-port USB hub for Raspberry Pi +#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. diff --git a/src/en/overlay/uugear-witty-pi-2.md b/src/en/overlay/uugear-witty-pi-2.md new file mode 100644 index 0000000..d7339b4 --- /dev/null +++ b/src/en/overlay/uugear-witty-pi-2.md @@ -0,0 +1,66 @@ + +# 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/en/overlay/uugear-witty-pi.md b/src/en/overlay/uugear-witty-pi.md new file mode 100644 index 0000000..7923089 --- /dev/null +++ b/src/en/overlay/uugear-witty-pi.md @@ -0,0 +1,64 @@ + +#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/en/overlay/uugear-zero4u.md b/src/en/overlay/uugear-zero4u.md new file mode 100644 index 0000000..e5c945c --- /dev/null +++ b/src/en/overlay/uugear-zero4u.md @@ -0,0 +1,23 @@ + +#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/en/overlay/wifi-pants.md b/src/en/overlay/wifi-pants.md new file mode 100644 index 0000000..4b242a8 --- /dev/null +++ b/src/en/overlay/wifi-pants.md @@ -0,0 +1,56 @@ + +#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/en/overlay/wiringpi.md b/src/en/overlay/wiringpi.md index 484d843..a6bb73a 100644 --- a/src/en/overlay/wiringpi.md +++ b/src/en/overlay/wiringpi.md @@ -60,16 +60,14 @@ pin: '40': name: WiringPi 29 --> -#Raspberry Pi WiringPi +#WiringPi -###WiringPi is an attempt to bring Arduino-wiring-like simplicity to the Raspberry Pi. +WiringPi is an attempt to bring Arduino-wiring-like simplicity to the Raspberry Pi. The goal is to have a single common platform and set of functions for accessing the Raspberry Pi GPIO across 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. -##Getting started with WiringPi - WiringPi uses its own pin numbering scheme, here you'll learn how WiringPi numbers your GPIO pins, what those pins do and how to do shiny things with them from within Python or Ruby. Installing to Python couldn't be easier, just: diff --git a/src/en/overlay/witty-pi-2.md b/src/en/overlay/witty-pi-2.md deleted file mode 100644 index f78ada1..0000000 --- a/src/en/overlay/witty-pi-2.md +++ /dev/null @@ -1,47 +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/en/overlay/zero-lipo.md b/src/en/overlay/zero-lipo.md new file mode 100644 index 0000000..9b277c9 --- /dev/null +++ b/src/en/overlay/zero-lipo.md @@ -0,0 +1,40 @@ + +#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/en/pin/pin-1.md b/src/en/pin/pin-1.md index f83da60..6058f01 100644 --- a/src/en/pin/pin-1.md +++ b/src/en/pin/pin-1.md @@ -1,3 +1,5 @@ -###The 3v3, 3.3 volt, supply pin on the Pi has a max available current of about 50 mA. Enough to power a couple of LEDs or a microprocessor, but not much more. +The 3v3 supply pin on the early Raspberry Pi had a maximum available current of about 50 mA. Enough to power a couple of LEDs or a microprocessor, but not much more. -You should generally use the 5v supply, coupled with a 3v3 regulator for 3.3v projects. +All Raspberry Pi since the Model B+ can provide quite a bit more, up to 500mA to remain on the safe side, thanks to a switching regulator. + +Still, you should generally use the 5v supply, coupled with a 3v3 regulator for 3.3v projects. diff --git a/src/en/pin/pin-2.md b/src/en/pin/pin-2.md index a5ea7cb..448178d 100644 --- a/src/en/pin/pin-2.md +++ b/src/en/pin/pin-2.md @@ -1,5 +1,5 @@ -###The 5v power pins are connected directly to the Pi's power input and will capably provide the full current of your mains adaptor, less that used by the Pi itself. +The 5v power pins are connected directly to the Pi's power input and will capably provide the full current of your mains adaptor, less that used by the Pi itself. With a decent power supply, such as the official Pi adaptor, you can expect to pull about 1.5A. -Don't be disuaded by what sounds like a measly low voltage. You can do a lot with 5v. Power Arduinos, and even run a small Electroluminescent wire inverter right off the 5v pin! +Don't be disuaded by what sounds like a measly low voltage. You can do a lot with 5v. Power Arduinos, and even run a small electroluminescent wire inverter right off the 5v pin! 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 72a165d..fe6ebbb 100644 --- a/src/en/settings.yaml +++ b/src/en/settings.yaml @@ -1,73 +1,75 @@ ---- -default_desc: The comprehensive Add-on boards & GPIO Pinout guide for the Raspberry Pi -default_title: Raspberry Pi GPIO Pinout -title_suffix: " at Raspberry Pi GPIO Pinout" +domain: pinout.xyz +analytics_id: UA-69846516-1 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_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' featured: -- explorer-phat -- enviro-phat -- ab-adc-pi-zero -- redbear-iot-hat +- pijack +- pantilt-hat +- 4tronix-picon-zero +- wifi-pants overlays: - ground -- uart +- iface-dpi +- iface-gpclk +- iface-jtag +- iface-1wire +- iface-pcm +- iface-sd - i2c - spi -- arduino-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 -- discohat - drum-hat +- enviro-phat - espiot-phat - explorer-hat - explorer-hat-pro - explorer-phat -- blinkt -- enviro-phat -- iface-gpclk -- iface-dpi -- iface-pcm -- iface-sd -- iface-jtag -- phat-dac -- propeller-hat - iqaudio-pi-dac +- iqaudio-pi-digiamp +- microdot-phat +- phat-dac +- pi-liter - piano-hat - piborg-ledborg +- piborg-zeroborg - pibrella - piglow -- rpf-dots +- pijack +- propeller-hat +- raspio-duino - redbear-iot-hat +- rpf-dots - rtk-000-001 - scroll-phat - sense-hat @@ -75,3 +77,15 @@ overlays: - traffic-hat - unicorn-hat - unicorn-phat +- uugear-7port-usb-hub +- uugear-witty-pi +- uugear-witty-pi-2 +- uugear-zero4u +- wifi-pants +- zero-lipo +- mote-phat +- 4tronix-robohat +- 4tronix-pistop +- icubex-pishield +- adafruit-pitft-35-plus +- pantilt-hat diff --git a/src/en/template/404.md b/src/en/template/404.md new file mode 100644 index 0000000..06e2f75 --- /dev/null +++ b/src/en/template/404.md @@ -0,0 +1,7 @@ +#404 - Oh dear! + +###Sorry, we couldn't find what you are looking for! + +Use the pinout on the left to explore the pins and functions of the Raspberry Pi GPIO. + +Or, use the menu above to discover new boards and learn about interfaces. diff --git a/src/en/template/boards.html b/src/en/template/boards.html deleted file mode 100644 index 36346ad..0000000 --- a/src/en/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/en/template/footer.html b/src/en/template/footer.html new file mode 100644 index 0000000..6e57f99 --- /dev/null +++ b/src/en/template/footer.html @@ -0,0 +1,2 @@ +

Spotted an error, want to add your board's pinout? Head on over to our GitHub repository and submit an Issue or a Pull Request!

+

Originally part of pi.gadgetoid.com. Tweet us at @PiPinout. Maintained by @Gadgetoid and @RogueHAL13.

diff --git a/src/en/template/index.md b/src/en/template/index.md new file mode 100644 index 0000000..1400375 --- /dev/null +++ b/src/en/template/index.md @@ -0,0 +1,22 @@ +#Pinout! + +###The comprehensive GPIO Pinout guide for the Raspberry Pi. + +This GPIO Pinout is designed to be both a quick, interactive reference to the Raspberry Pi GPIO pins, plus a comprehensive guide to your Raspberry Pi's GPIO interfaces. It also includes dozens of pinouts for Raspberry Pi add-on boards, HATs and pHATs. + +##Latest Pinout news + +We've [added a board explorer](/boards)! Use it to find the pinout for a Raspberry Pi add-on board, or discover new ones. If you manufacture boards, we'd love to add yours too. [You can contribute over on GitHub](https://github.com/gadgetoid/Pinout.xyz). + +##What do these numbers mean? + +* BCM - Broadcom pin number, commonly called "GPIO", these are the ones you probably want to use with RPi.GPIO and GPIO Zero +* WiringPi - Wiring Pi pin number (shown as a tooltip), for Gordon Henderson's Wiring Pi library +* Physical - Number corresponding to the pin's physical location on the header +* Rev 1 Pi - Alternate BCM numbers for the original, 26-pin model "A" and "B" Pi + +##Graphical Pinout + +We've whipped up a simple graphical Raspberry Pi GPIO Pinout. Feel free to print, embed, share or hotlink this image and don't forget to credit us! + +[![Graphical Raspberry Pi GPIO Pinout](/resources/raspberry-pi-pinout.png)](/resources/raspberry-pi-pinout.png) diff --git a/src/en/template/layout.html b/src/en/template/layout.html deleted file mode 100755 index a158642..0000000 --- a/src/en/template/layout.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - {{title}} - - - - - - - - {{hreflang}} - - - -
-

Raspberry Pinout

-
- -
-
- -
-
    - {{nav_html_interface}} -
-
-
- {{content}} -
-
-
    - {{lang_links}} -
-
-
- -
- - - - - - - - diff --git a/src/en/template/localised.yaml b/src/en/template/localised.yaml new file mode 100644 index 0000000..00fa5d8 --- /dev/null +++ b/src/en/template/localised.yaml @@ -0,0 +1,33 @@ +strings: +- default_desc: 'The comprehensive Add-on boards & GPIO Pinout guide for the Raspberry Pi' +- default_title: 'Raspberry Pi GPIO Pinout' +- title_suffix: ' at Raspberry Pi GPIO Pinout' +- home: 'Home' +- boards: 'Boards' +- details: 'Details' +- 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' +- 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' +- 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' +- board_schematic : 'Schematic' +- buy_now: 'Buy Now' +- browse_addons: 'Browse more HATs, pHATs and add-ons' +- return_home: 'Return to the Raspberry Pi GPIO Pinout' +- boards_title: 'Raspberry Pi HATs, pHATs & Add-ons' +- boards_subtitle: 'Click on a HAT, pHAT or add-on for more details and to see which pins it uses!' diff --git a/src/en/pi-pinout.yaml b/src/en/template/pinout.yaml similarity index 100% rename from src/en/pi-pinout.yaml rename to src/en/template/pinout.yaml diff --git a/src/es/index.md b/src/es/index.md deleted file mode 100644 index 6d6c42b..0000000 --- a/src/es/index.md +++ /dev/null @@ -1,21 +0,0 @@ -#Asignación de pines! - -###La guía detallada sobre la asignación de pines del GPIO de Raspberry Pi, ahora con Raspberry pi Modelo B+ y Raspberry Pi 2 - -Esta asignación de pines del GPIO no está pensada para ser impresa, pero es tanto una gran referencia rápida como una guía detallada para los pines de tu Raspberry Pi. - -##De todos modos, ¿qué significan estos números? - -* BCM - Número de pin Broadcom, comúnmente llamado "GPIO", es probablemente el que querrás utilizar con RPi.GPIO -* WiringPi - Número de pin de WiringPi, para la librería WiringPi de Gordon -* Físico - Número correspondiente a la posición física del pin - -##Pi 2 - -Para celebrar el lanzamiento de la Pi 2 y los nuevos Pi-entusiastas que traerá, la guía ha sido actualizada para ser más limpia, más detallada y más precisa, y continuará siendo mejorada. - -##Modelo B+ - -Ahora que la Raspberry Pi Modelo B+ está aquí, he actualizado la asignación de pines con los 14 pines extra que encontrarás en tu reluciente placa nueva. - -Nota: Mientras que he insertado un vacío para visualizar mejor los 14 pines adicionales de la B+, no encontrarás este hueco en la placa real! diff --git a/src/es/overlay/4tronix-picon-zero.md b/src/es/overlay/4tronix-picon-zero.md new file mode 100644 index 0000000..b323d78 --- /dev/null +++ b/src/es/overlay/4tronix-picon-zero.md @@ -0,0 +1,42 @@ + +#Picon Zero + +Picon Zero es una placa adicional para Raspberry Pi, con el mismo tamaño que Raspberry Pi Zero por lo que es ideal como pseudo-Hat (pHat) para Pi Zero. Sin embargo, se puede usar en cualquier Raspberry Pi con 40 pines GPIO. + +Además de 2 controladores de motores H-Bridge, Picon Zero cuenta con pines de entrada y salida que pueden configurarse de distinta manera, permitiendo añadir entradas analógicas o salidas neopixel a Raspberry Pi, sin necesidad de software complicado o controladores específicos en el kernel. Cuenta además con una interfaz para un sensor HC-SR04 ultrasónico de distancia, permitiendo acceder a 5 pines GPIO de Raspberry Pi para el uso que quieras. diff --git a/src/es/overlay/4tronix-pistep2d.md b/src/es/overlay/4tronix-pistep2d.md new file mode 100644 index 0000000..3c3059e --- /dev/null +++ b/src/es/overlay/4tronix-pistep2d.md @@ -0,0 +1,54 @@ + +# PiStep2 Dual + +Controla 2 motores paso a paso unipolares con sólo una placa, gracias a PiStep2 Dual. + +* Utiliza el chip controlador ULN2803 Darlington para controlar los motores +* Ideal para motores paso a paso 28BYJ48 +* Soporte para Scratch GPIO y Python diff --git a/src/es/overlay/4tronix-pistep2q.md b/src/es/overlay/4tronix-pistep2q.md new file mode 100644 index 0000000..e232ec1 --- /dev/null +++ b/src/es/overlay/4tronix-pistep2q.md @@ -0,0 +1,78 @@ + +# PiStep2 Quad + +Controla 4 motores paso a paso unipolares con sólo una placa, gracias a PiStep2 Quad. + +* Utiliza el chip controlador ULN2803 Darlington para controlar los motores +* Ideal para motores paso a paso 28BYJ48 +* Soporte para Scratch GPIO y Python diff --git a/src/es/overlay/README.md b/src/es/overlay/README.md deleted file mode 100644 index ab5f112..0000000 --- a/src/es/overlay/README.md +++ /dev/null @@ -1,41 +0,0 @@ -#Pinout Overlays - -A Pinout overlay describes the functions of the Raspberry Pi pins for a specific board. - -An overlay is constructed from a JSON file and, optionally, a markdown file containing an extended long-description. - -##JSON Format - -The JSON overlay file must include a name, manufacturer name, URL, description and a "pin" array defining all the -pins that the board uses. - -If a counterpart .md file is present in description/overlay it will be used for the long description. - -The pin array must list each pin by its *physical* location, and include at least a "name" describing the function -of that pin. - -Optionally each pin definition can include a "mode" flag, which defines the pin as an "input" or an "output". - -A pin can also have an "active" value, which defines it as "high" or active "low". - -I2C and SPI pins should be included if your board uses them, however they will generally be intepreted as being -shared and usable with muliple boards unless you explicitly define them as being an "input" or "output". - -Example: - -```json -{ - "name": "Explorer HAT", - "manufacturer": "Pimoroni", - "url": "https://github.com/pimoroni/pibrella", - "description": "An all-in-one light, input and output add-on board.", - "pin": { - "7": { - "name": "Green LED" - }, - "11": { - "name": "Yellow LED" - } - } -} -``` diff --git a/src/es/overlay/ab-1-wire-plus.md b/src/es/overlay/ab-1-wire-plus.md new file mode 100644 index 0000000..0964b30 --- /dev/null +++ b/src/es/overlay/ab-1-wire-plus.md @@ -0,0 +1,46 @@ + +#1 Wire Pi Plus + +1 Wire Pi Plus de AB Electronics UK es una placa de comunicación diseñada para Raspberry Pi A+, B+ y 2 modelo B, compatible con el protocolo 1-Wire®. La placa incluye un puerto I2C de 5V regulable. + +El puerto 1-Wire® en 1 Wire Pi Plus está basado en el componente puente de DS2482-100 I2C a 1-Wire®. El DS2482-100 proporciona una protocolo de conversión bidireccional entre el puerto I2C en Raspberry Pi y cualquier dispositvo esclavo conectado a 1-Wire®. Se utiliza un diodo de protección ESD para proteger 1 Wire Pi Plus y Raspberry Pi de descargas electrostáticas en el puerto 1-Wire®. Las conexiones al puerto 1-Wire® se pueden realizar a través del conector RJ-12 o soldando en el PCB. + +La librería Quick2wire [https://github.com/quick2wire/quick2wire-python-api](https://github.com/quick2wire/quick2wire-python-api) permite un acceso sencillo al puerto I2C mediante Python. + +[https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi](https://www.abelectronics.co.uk/kb/article/3/owfs-with-i2c-support-on-raspberry-pi "Configuring and using the 1-Wire® port on your Raspberry Pi") diff --git a/src/es/overlay/ab-1-wire-zero.md b/src/es/overlay/ab-1-wire-zero.md new file mode 100644 index 0000000..7a2c2ab --- /dev/null +++ b/src/es/overlay/ab-1-wire-zero.md @@ -0,0 +1,46 @@ + +#1 Wire Pi Zero + +1 Wire Pi Zero fabricada por AB Electronics UK es una placa de comunicación que funciona con el protocolo 1-Wire® y ha sido diseñada para Raspberry Pi Zero. Además cuenta con un puerto I2C de 5V regulable. + +El puerto 1-Wire® en 1 Wire Pi Zero está basado en el dispositivo puente DS2482-100 I2C a 1-Wire®. El DS2482-100 proporciona una conversión bidireccional entre el puerto I2C en Raspberry Pi y cualquier dispositivo 1-Wire® conectado como esclavo. Un diodo de protección ESD se utiliza para proteger 1 Wire Pi Zero y Raspberry Pi de descargas electrostáticas en el puerto 1-Wire®. Las conexiones al puerto 1-Wire® se pueden hacer a través del enchufe RJ-12 o soldando puntos en el PCB. + +Mediante cables jumper se puede seleccionar la dirección I2C de 1 Wire Pi Zero permitiendo su uso con otros dispositivos I2C en el mismo puerto. + +[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/es/overlay/ab-adc-differential-pi.md b/src/es/overlay/ab-adc-differential-pi.md new file mode 100644 index 0000000..98f59c6 --- /dev/null +++ b/src/es/overlay/ab-adc-differential-pi.md @@ -0,0 +1,63 @@ + +#ADC Differential Pi + +ADC Differential Pi es un conversor de 18 bit analógico a digital de 8 canales, diseñado para funcionar con Raspberry Pi A+, B+ y 2 modelo B. ADC Differential Pi está basado en dos microchip conversores MCP3424 A/D, cada uno de ellos con 4 entradas analógicas. MCP3424 es un conversor A/D delta-sigma con entradas con bajo ruido diferencial. + +##Especificaciones + +- Entradas diferenciales 8 x 18-bit +- Control mediante el puerto I2C de Raspberry Pi +- Acopla hasta cuatro placas en una sola Raspberry Pi +- Selección de dirección I2C (8 opciones) +- Puerto I2C de 5V regulable +- Basado en MCP3424 de Microchip Technologies Inc +- Rango de entrada ±2.048V +- Voltaje de refrencia 2.048V (Precisión ± 0.05%, Desvío: 15 ppm/°C) +- Amplificador de ganancia programable (PGA): ganancia de 1, 2, 4 or 8 +- Velocidad de datos programable: + - 3.75 SPS (18 bits) + - 15 SPS (16 bits) + - 60 SPS (14 bits) + - 240 SPS (12 bits) +- Conversión única o continua + +Librerías Arduino, C, Windows 10 IOT, Python 2 and Python 3 disponibles en GitHub. diff --git a/src/es/overlay/ab-adc-pi-plus.md b/src/es/overlay/ab-adc-pi-plus.md new file mode 100644 index 0000000..178e160 --- /dev/null +++ b/src/es/overlay/ab-adc-pi-plus.md @@ -0,0 +1,63 @@ + +#ADC Pi Plus + +ADC Differential Pi es un conversor de 17 bit analógico a digital de 8 canales, diseñado para funcionar con Raspberry Pi A+, B+ y 2 modelo B. ADC Differential Pi está basado en dos microchip conversores MCP3424 A/D, cada uno de ellos con 4 entradas analógicas. MCP3424 es un conversor A/D delta-sigma con entradas con bajo ruido diferencial. + +##Especifiaciones + +- 8 x 17-bit entradas únicas de 0 a 5 V +- Control mediante el puerto I2C de Raspberry Pi +- Acopla hasta cuatro placas en una sola Raspberry Pi +- Selección de dirección I2C +- Puerto I2C de 5V regulable +- Basado en MCP3424 de Microchip Technologies Inc +- Rango único de 5 V +- Voltaje de refrencia 2.048V (Precisión ± 0.05%, Desvío: 15 ppm/°C) +- Amplificador de ganancia programable (PGA): ganancia de 1, 2, 4 or 8 +- Velocidad de datos programable: + - 3.75 SPS (17 bits) + - 15 SPS (15 bits) + - 60 SPS (13 bits) + - 240 SPS (11 bits) +- Conversión única o continua + +Librerías Arduino, C, Windows 10 IOT, Python 2 and Python 3 disponibles en GitHub. diff --git a/src/es/overlay/ab-adc-pi-zero.md b/src/es/overlay/ab-adc-pi-zero.md new file mode 100644 index 0000000..ec23bd2 --- /dev/null +++ b/src/es/overlay/ab-adc-pi-zero.md @@ -0,0 +1,61 @@ + +#ADC Pi Zero + +ADC Pi Zero es un conversor de 17 bit analógico a digital de 8 canales, diseñado para funcionar con Raspberry Pi Zero. ADC Differential Pi está basado en dos microchip conversores MCP3424 A/D, cada uno de ellos con 4 entradas analógicas. MCP3424 es un conversor A/D delta-sigma con entradas con bajo ruido diferencial. + +##Especifiaciones + +- 8 x 17-bit entradas únicas de 0 a 5 V +- Control mediante el puerto I2C de Raspberry Pi +- Acopla hasta cuatro placas en una sola Raspberry Pi +- Selección de dirección I2C +- Puerto I2C de 5V regulable +- Basado en MCP3424 de Microchip Technologies Inc +- Rango único de 5 V +- Voltaje de refrencia 2.048V (Precisión ± 0.05%, Desvío: 15 ppm/°C) +- Amplificador de ganancia programable (PGA): ganancia de 1, 2, 4 or 8 +- Velocidad de datos programable: + - 3.75 SPS (17 bits) + - 15 SPS (15 bits) + - 60 SPS (13 bits) + - 240 SPS (11 bits) +- Conversión única o continua + +Librerías Arduino, C, Windows 10 IOT, Python 2 and Python 3 disponibles en GitHub. diff --git a/src/es/overlay/ab-adcdac-pi-zero.md b/src/es/overlay/ab-adcdac-pi-zero.md new file mode 100644 index 0000000..8372c88 --- /dev/null +++ b/src/es/overlay/ab-adcdac-pi-zero.md @@ -0,0 +1,52 @@ + +#ADC-DAC Pi Zero + +ADC-DAC Pi Zero es un conversor analógico digital de 2 canales y 12 bit, además de un conversor digital a analógico de las mismas especificaciones, diseñado para funcionar con Raspberry Pi. Pese a ser del mismo tamaño que Pi Zero, funciona con cualquier Raspberry Pi. + +ADC-DAC Pi Zero está basada ene l Microchip MCP3202 A/D, con dos entradas analógicas de 12 bit de resolución y un Microchip MCP4822 de doble canal 12-bit DAC con referencia de voltaje interna. + +Máx frecuencia de muestreo de ADC: 100 kmuestras/seg + +Más frecuencia de muestreo ADC en Python: 12000 muestras/s + +Librerias Arduino, C, Node.js, Windows 10 IOT, Python 2 y Python 3 disponibles en GitHub. diff --git a/src/es/overlay/ab-io-pi-plus.md b/src/es/overlay/ab-io-pi-plus.md new file mode 100644 index 0000000..1b54d82 --- /dev/null +++ b/src/es/overlay/ab-io-pi-plus.md @@ -0,0 +1,60 @@ + +#IO Pi Plus + +IO Pi Plus es una placa de expansión digital de 32 canales diseñada para funcionar con Raspberry Pi A+, B+ y 2 modelo B. La placa está basada en el I/O expander de 16-bit MCP23017 de Microchip Technology Inc. + +La placa incluye dos MCP23017 que permiten conectar hasta 32 entradas o salidas digitales a Raspberry Pi. IO Pi Plus se alimenta a partir de los puertos GPIO de Raspberry Pi y permite además conectar otras placas. + +##Especificaciones + +- 32 entradas/salidas digitables +- Control mediante el puerto I2C de Raspberry Pi +- Acopla hasta cuatro placas en una sola Raspberry Pi +- Selección de dirección I2C +- Entrada de 5V externa con cable aislante +- Basado en MCP23017 de Microchip Technologies Inc +- Salidas configurables como active-high, active-low o open-drain +- INTA e INTB configurables para trabajar independientemente o en conjunto +- Fuente configurable para registrar cambios de pines o de valores predeterminados +- Registro de inversión de polaridad para configurar la polaridad del puerto de entrada + +Librerías Arduino, C, Windows 10 IOT, Python 2 and Python 3 disponibles en GitHub. diff --git a/src/es/overlay/ab-io-pi-zero.md b/src/es/overlay/ab-io-pi-zero.md new file mode 100644 index 0000000..2340c0b --- /dev/null +++ b/src/es/overlay/ab-io-pi-zero.md @@ -0,0 +1,57 @@ + +#IO Pi Zero + +IO Pi Zero es una placa de expansión digital de 16 canales diseñada para Raspberry Pi Zero. Está basada en el expansor I/o de 16-bit MCP23017 de Microchip Technology Inc. + +IO Pi Zero Expander se alimenta a través del puerto GPIO de Raspberry Pi y además permite usar los puertos GPIO, pudiendo acoplarse con otras placas. + +##Especificaciones + +- 16 entradas/salidas digitales +- Control a través del puerto I2C de Raspberry Pi +- Permite acoplar hasta 8 placas IO en una sola Raspberry Pi +- Dirección I2C seleccionable +- Entrada de 5V externa con aislamiento +- Basada en MCP23017 de Microchip Technologies Inc +- Puertos de salida configurables como active-high, active-low o open-drain +- INTA e INTB configurables para trabajar independientemente o juntos +- Interrupciones configurables +- Registro de inversión de polaridad + +Librerias Arduino, C, Node.js, Windows 10 IOT, Python 2 y Python 3 disponibles GitHub. diff --git a/src/es/overlay/ab-rs485-pi.md b/src/es/overlay/ab-rs485-pi.md new file mode 100644 index 0000000..be5d347 --- /dev/null +++ b/src/es/overlay/ab-rs485-pi.md @@ -0,0 +1,49 @@ + +#RS485 Pi + +RS485 Pi es un conversor UART a RS485 para Raspberry Pi. + +El puerto RS485 se conecta al puerto UART de Raspberry Pi usando la interfaz SN65HVD72. La interfaz SN65HVD72 IC convierte los 3.3V del puerto UART a voltages diferenciales RS485 permitiendo la comunicación con dispositivos compatibles con RS485 mediante un cable. El puerto RS485 es accesible mediante el puerto DB9 o soldando en el PCB. + +RS485 Pi tiene protección contra picos de voltage gracias a un diodo TVS y dos resistencias de 100. La placa también cuenta con una resistencia de 1200. + +##Especificaciones + +- Puerto RS-485. +- Tasa de transferencia de hasta 250 kbps. +- Utiliza la Raspberry Pi para controlar dispositivos RS-485. +- Acoplable con otras placas adicionales para Raspberry >Pi. +- Agujeros de montaje para el kit de montaje de AB Electronics UK (vendido por separado) + +[Configuring the UART communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) diff --git a/src/es/overlay/ab-rtc-pi-plus.md b/src/es/overlay/ab-rtc-pi-plus.md new file mode 100644 index 0000000..3339525 --- /dev/null +++ b/src/es/overlay/ab-rtc-pi-plus.md @@ -0,0 +1,46 @@ + +#RTC Pi Plus + +RTC Pi Plus es un módulo de reloj de tiempo real, con batería incluída, diseñado para funcionar con Raspberry Pi A+, B+ y 2 modelo B. Registra el tiempo mientras Raspberry Pi está apagada y permite a Raspberry Pi recuperar la fecha una vez encendida de nuevo. + +RTC Pi Plus se alimenta a partir de los pines GPIO de Raspberry Pi y permite añadir otras placas. RTC Pi Plus usa el reloj de tiempo real DS1307 RTC y una batería CR2032 para mantener la fecha cuando la fuente de alimentación principal no está disponible. + +A diferencia de otros módulos RTC basados en DS1307, RTC Pi Plus addemás incluye un conversor de nivel lógico I2C que permite conectar otros dispositivos I2C de 5V a Raspberry Pi. + +Liberías Python 2 and 3 libraries disponibles en GitHub. diff --git a/src/es/overlay/ab-rtc-pi-zero.md b/src/es/overlay/ab-rtc-pi-zero.md new file mode 100644 index 0000000..8101bf5 --- /dev/null +++ b/src/es/overlay/ab-rtc-pi-zero.md @@ -0,0 +1,46 @@ + +#RTC Pi Zero + +RTC Pi Zero es una reloj de tiempo real con batería para Raspberry Pi Zero. mantiene el tiempo de Raspberry Pi mientras está apagada y permite recuperar la fecha actual una vez encendida de nuevo + +RTC Pi Zero se alimenta a través de los pines GPIO de Raspberry Pi, además permite conectar otros dispositivos. RTC PI Zero utiliza el reloj de tiempo real DS1307 y la batería CR2032 par amanetner la fecha cuando la alimentación no está disponible. + +A diferencia de otros modulos RTC basados en DS1307, RTC Pi Zero además incluye un conversor I2C lógico que permite conectar otros dispositivos I2C de 5V a Raspberry Pi. + +Librerias Arduino, C, Node.js, Windows 10 IOT, Python 2 y Python 3 librerías disponibles en GitHub. diff --git a/src/es/overlay/ab-serial-pi-plus.md b/src/es/overlay/ab-serial-pi-plus.md new file mode 100644 index 0000000..f621c42 --- /dev/null +++ b/src/es/overlay/ab-serial-pi-plus.md @@ -0,0 +1,45 @@ + +#Serial Pi Plus + +Serial Pi Plus es un coversor UART a RS232 serie para Raspberry Pi. + +El puerto RS232 se conecta al puerto UART de Raspberry Pi utilizando una interfaz MAX2323. MAX3232 IC convierte los 3.3V del puerto UART a voltajes RS232 permitiendo la comunicación con dispositivos compatibles con RS232 mediante un cable serie DB) o con el uso de un cable null-modem que permita elacceso mediante terminal a Raspberry Pi. El puerto RS232 puede accederse a partir del puerto DB9 o soldando en el PCB. + +##Especificaciones + +- Puerto maestro RS232. +- Control de Raspberry Pi con RS232 o permitir la conexión de accesorios externos. +- Acoplable con otras placas para Raspberry Pi A+, B+ o 2 modelo B. +- Diseñada para montarse con los kits de montaje de AB Electronics UK (vendidos por separado) + +[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) diff --git a/src/es/overlay/ab-serial-pi-zero.md b/src/es/overlay/ab-serial-pi-zero.md new file mode 100644 index 0000000..f8fe186 --- /dev/null +++ b/src/es/overlay/ab-serial-pi-zero.md @@ -0,0 +1,45 @@ + +#Serial Pi Zero + +Serial Pi Zero es un conversor UART a RS232 para Raspberry Pi Zero. + +El puerto RS232 se conecta al puerto UART de Raspberry Pi mediante la interfaz MAX3232. La interfaz IC MAX3232 convierte los 3.3V del puerto UART a voltajes compatibles con RS232 permitiendo la comunicación con este tipo de dispositivos mediante un cable serie DB9 o un cable de modem, permitiendo acceder mediante terminal. El puerto RS232 puede accederse mediante el puerto DB9 o soldando en el PCB. + +##Especificaciones + +- Puerto maestro RS232. +- Controla Raspberry Pi mediante RS232 o conecta dispositivos serie externos. +- Acoplable con otras placas para Raspberry Pi. +- Agujeros para montaje con el kit de montaje de AB Electronics UK (vendido por separado) + +[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) diff --git a/src/es/overlay/ab-servo-pwm-pi-zero.md b/src/es/overlay/ab-servo-pwm-pi-zero.md new file mode 100644 index 0000000..ac0bf40 --- /dev/null +++ b/src/es/overlay/ab-servo-pwm-pi-zero.md @@ -0,0 +1,45 @@ + +#Servo PWM Pi Zero + +Servo PWM Pi Zero es un controlador PWM de 16-canales, 12-bit par Raspberry Pi, útil para controlar LEDs o servos a distancia. Basado en el controlador PCA9685 PWM I2C LED de NXT, puede controlar hasta 16 salidas con 12 bit (4096 pasos) en diclos de 0 % a 100 %. + +La frecuencia de salida se puede programar desde 40Hz a 1000Hz. Cada controlador de salida se puede programar para ser open-drain con una corriente de 22mA y 5V o como polo con 22 mA, capacidad de fuente de 10 mA y 5 V. Se utilizan resistencias de 220R en cada canal para permitir conectar servos o LEDs, directamente a las salidas. + +Librerias Arduino, C, Node.js, Windows 10 IOT, Python 2 y Python 3 disponibles en GitHub. diff --git a/src/es/overlay/adafruit-cap-mpr121.md b/src/es/overlay/adafruit-cap-mpr121.md new file mode 100644 index 0000000..13ddec7 --- /dev/null +++ b/src/es/overlay/adafruit-cap-mpr121.md @@ -0,0 +1,48 @@ + +#Capacitive Touch HAT + +Esta placa para Raspberry Pi proporciona 12 entradas táctiles capacitivas y todo el sistema para poder leerlas mediante el puerto I2C. + +Basado en el chip MPR121, este HAT permite crear dispositivos electrónicos que reaccionan al tacto humano, pudiendo utilizar hasta 12 sensores. diff --git a/src/es/overlay/adafruit-servo-hat.md b/src/es/overlay/adafruit-servo-hat.md new file mode 100644 index 0000000..1292f0b --- /dev/null +++ b/src/es/overlay/adafruit-servo-hat.md @@ -0,0 +1,49 @@ + +#Servo/PWM HAT + +El Servo/PWM HAT de Adafruit permite controlar 16 salidas servo o PWM a través de I2C con sólo 2 pines. +El controlador PWM incluido en la placa controlará los 16 canales simultáneamente sin ningún procesamiento adicional por parte de Raspberry Pi. Utilizando un sistema de direcciones binaria, mediante cables soldados al PCB, es posible acoplar hasta 62 HATs para controlar hasta 992 servos, utilizando solo el puerto I2C. + +Nota importante: los servos pueden utilizar mucha energía y no es buena idea utilizar el puerto de 5V de Raspberry Pi para alimentarlos. Interferencias eléctricas y apagones debido al excesivo consumo eléctrico pueden dar lugar a un comportamiento extraño de Raspberry Pi, reinicios y/o sobrecalentamiento. ¡Mantén la alimentación de Raspberry Pi y la de los servos separadas! diff --git a/src/es/overlay/analog-zero.md b/src/es/overlay/analog-zero.md new file mode 100644 index 0000000..2825c69 --- /dev/null +++ b/src/es/overlay/analog-zero.md @@ -0,0 +1,68 @@ + +#Analog Zero + +Analog Zero de RasPiO ofrece una manera fácil, compacta y barata de añadir ocho canales analógicos a Raspberry Pi. Analog Zero de RasPiO utiliza el conversor analógico a digital MCP3008. Es un ADC de 8 canales, 10-bit controlado por SPI. + +Con Analog Zero de RasPiO puedes: + +* Leer 8 entradas analógicas simultáneamente +* Hacer una estación meteorológica +* Hacer un termómetro digital +* Hacer un potenciómetro +* 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/overlay/arduino-spi.md b/src/es/overlay/arduino-spi.md deleted file mode 100644 index 5d4361f..0000000 --- a/src/es/overlay/arduino-spi.md +++ /dev/null @@ -1,57 +0,0 @@ - -#ATmega 328p / Arduino sobre SPI - -###¿Sabías que tu Pi puede alimentar y programar un ATmega 328p/Arduino directamente, con solo unos pocos cables, una placa de pruebas, un cristal de 16Mhz y algunos condensadores de 22pF? - -Lee mi [tutorial completo de Pico PiDuino (en inglés)](http://pi.gadgetoid.com/article/building-the-pico-piduino), para empezar por solamente un poco más de £5 - -Necesitarás instalar el [AVRDude modificado de Gordon](https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/). - -Conecta 8/CE0 al pin de Reset/RST de tu ATmega, 9/MISO al pin D12, 10/MOSI al pin D11 y 11/SCLK al pin D13. - -Alimenta el ATmega con los pines de 3.3v y GND de tu Pi, y estás listo para empezar. - -Asegúrate de no tener funcionando ningún controlador travieso de algún dispositivo SPI, y comprueba que está bien conectado usando: - -```bash -avrdude -p m328p -c gpio -``` - -Para empezar a compilar programas de Arduino desde la terminal: - -```bash -sudo apt-get install arduino arduino-mk -``` - -Este Makefile básico debería ayudarte a empezar. Crea un programa básico, llámalo mysketch.ino y ejecuta: - -```bash -export BOARD=atmega328 -make -avrdude -p m328p -c gpio -e -U flash:w:build-cli/Arduino.hex -``` diff --git a/src/es/overlay/automation-hat.md b/src/es/overlay/automation-hat.md new file mode 100644 index 0000000..b7ab848 --- /dev/null +++ b/src/es/overlay/automation-hat.md @@ -0,0 +1,101 @@ + +#Automation HAT + +Automatian HAT es una placa adicional de domótica para Raspberry Pi; con relés, canales analógicos, salidas alimentadas y entradas regulables. Todos con tolerancia hasta 24V. + +Para configurar el HAT puedes utilizar el instalador online de una línea. + +```bash +curl -sS https://get.pimoroni.com/automationhat | bash +``` + +Después importalo en tu programa de Python y empieza a experimentar: + +```bash +import automationhat +automationhat.relay.one.on() +``` diff --git a/src/es/overlay/blinkt.md b/src/es/overlay/blinkt.md new file mode 100644 index 0000000..d95e16d --- /dev/null +++ b/src/es/overlay/blinkt.md @@ -0,0 +1,52 @@ + +#Blinkt! + +Blinkt! es una placa adicional ultradelgada para Raspberry Pi con 8 LEDs APA-102. + +Para configurar puedes utilizar el instalador online de una línea: + +```bash +curl -sS https://get.pimoroni.com/blinkt | bash +``` + +```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/es/overlay/carberry.md b/src/es/overlay/carberry.md new file mode 100644 index 0000000..fd94681 --- /dev/null +++ b/src/es/overlay/carberry.md @@ -0,0 +1,53 @@ + +#Carberry + +Carberry es una placa adicional para Raspberry Pi que puede ser utilizada para hacer interaccionar la electrónica del coche con Raspberry Pi. Permite el desarrollo de aplicaciones como centro multimedia, diagnóstico del vehículo, registro de datos, control de flota, rastreo, cajas negras, alarmas, ordenador de abordo, internet y mucho más. + +##Especificaciones +- Acelerómetro +- Magnetómetro +- RTCC +- 2x CAN BUS +- 2x GMLAN +- 2x LADDER +- 1x LIN +- 2x GPI +- 2x GPO +- 1x GPIO CMOS +- 1x IGNITION IN +- 1x I GNITION OUT diff --git a/src/es/overlay/cirruslogic-audio-card.md b/src/es/overlay/cirruslogic-audio-card.md new file mode 100644 index 0000000..4411f5e --- /dev/null +++ b/src/es/overlay/cirruslogic-audio-card.md @@ -0,0 +1,92 @@ + +#Cirrus Logic Audio Card + +###Ofrece una gran variedad de especificaciones, perfecta para los audiófilos más entusiastas que quieren utilizar su Raspberry Pi para aplicaciones de audio. + +* Capaz de reproducir audio de alta definición (HD), a 24-bit, 192khz +* Puerto jack de 4 polos y 3.5 mm para conectar un conjunto de auriculares/micrófono para jugar o VoIP +* Incluye dos micrófonos DMIC para grabar audio estéreo +* Jack de 3.5 mm para conectar una entrada estéreo que permita grabar audio de gran calidad +* Jack de 3.5 mm para conectar una salida estéreo como altavoces o amplificadores +* Entrada y salida estéreo digital (SPDIF) diff --git a/src/es/overlay/discohat.md b/src/es/overlay/discohat.md new file mode 100644 index 0000000..2b9d435 --- /dev/null +++ b/src/es/overlay/discohat.md @@ -0,0 +1,93 @@ + +#DiscoHAT + +###DiscoHAT es una pequeña placa que permtie controlar por ordenador luces, sonidos y efectos especiales. + +Es una pieza esencial para hacer sistemas de luz y sonido personalizados. Puedes crear fácilmente tu propia discoteca. Es también útil para pequeños grupos de teatro, grupos de música o proyectos escolares. + +Con DiscoHAT puedes controlar equipos DMX y tiras LED. También tiene interfaz para hasta 8 botones que pueden configurarse para iniciar secuencias de luz y sonido. + +DiscoHAT fue creado para utilizarse con QLC+ un sotware libre de control de luz y sonido que es increíble. Los botones pueden alternar entre luces fijas, luces siguiendo un patrón o luces sincronizadas con la música, sin necesidad de pantallas, teclados o ratón. Con una antena WiFi se pueden controlar las luces desde una tablet o smartphone. + +Debido a su potencia, se recomiendan Raspberry Pi 2 modelo B o superior. También se puede utilizar con Raspberry Pi de 26 pines pero se pierde el formato HAT y 4 botoenes. Los conectores no están soldados, utiliza SMD a través de los pines. + +DiscoHAT está siendo utilizado por su creador en sus funciones de teatro. La salida DMX y los botoenes están aislados ópticamente y protegidos por ESD para evitar descargas electrostáticas debidas a cables largos, aire caliente, superficies de plástico o ropa de nylon. diff --git a/src/es/overlay/display-o-tron-hat.md b/src/es/overlay/display-o-tron-hat.md index 69d3a56..10b9560 100644 --- a/src/es/overlay/display-o-tron-hat.md +++ b/src/es/overlay/display-o-tron-hat.md @@ -1,10 +1,22 @@ +#Drum HAT + +Drum HAT es la compañía perfecta para Piano HAT. Utiliza el mismo sensor táctical para crear 8 pads del tamaño de un dedo. Utilízalo para hacer música con Python, controlar software musical en tu Pi, controlar instrumentos o que forme parte de un proyecto mayor. + +Especificaciones: 8 botones sensibles al tacto y 8 LEDs. Funciona con Piano HAT (usa el chip CAP1188 en una dirección i2c no conflictiva en 0x2c) + +Para configurar el HAT puedes utilizar el instalador online de una línea. + +```bash +curl -sS https://get.pimoroni.com/drumhat | bash +``` +¡Y sigue las instrucciones! diff --git a/src/es/overlay/enviro-phat.md b/src/es/overlay/enviro-phat.md new file mode 100644 index 0000000..e2f7ec0 --- /dev/null +++ b/src/es/overlay/enviro-phat.md @@ -0,0 +1,69 @@ + +#Enviro pHAT + +Junto con una Pi Zero, Enviro pHAT es un conjunto de sensores asequible, ideal para monitorizar habitáculos de servidores, habitaciones o cualquier cosa que quieras observar. Además incluye una entrada ADC de 4-canales para añadir sensores. Funciona con cualquiera de las versiones de Raspberry Pi de 40 pines - 3/2/B+/A+/Zero. + +Especificaciones: + +Sensor de temperatura/presión BMP280 (0x77 en el bus i2c) +Sensor de luz y color RGB TCS3472 (0x29 en el bus i2c) +(con dos LEDs para iluminación) +Sensor acelerómetro/magnetómetro LSM303D (0x1d en el bus i2c) +ADC de 12-bit, 4-canales y 3.3v ADS1015 (0x48 en el bus i2c) + +Para configurar el pHAT puedes utilizar el instalador online de una línea. + +```bash +curl -sS https://get.pimoroni.com/envirophat | bash +``` +Luego impórtalo en tu script Python y empieza a realizar proyectos: + +```bash +from envirophat import light, motion, weather, analog, leds +``` diff --git a/src/es/overlay/espiot-phat.md b/src/es/overlay/espiot-phat.md new file mode 100644 index 0000000..22caf65 --- /dev/null +++ b/src/es/overlay/espiot-phat.md @@ -0,0 +1,49 @@ + +#ESP IoT pHAT + +ESP IoT pHAT es una placa adicional para Raspberry Pi basada en ESP8266. Cuenta con varios GPIO y un canal ADC, junto a un pequeño área de prototipado. Perfecto para RPi Zero pero también funciona con A+/B+/2. + +Para configurar el pHAT puedes utilizar el instalador online de una línea. + +```bash +curl -sS https://get.pimoroni.com/iotphat | bash +``` diff --git a/src/es/overlay/explorer-hat-pro.md b/src/es/overlay/explorer-hat-pro.md index 67bbf1c..c8bdfbd 100644 --- a/src/es/overlay/explorer-hat-pro.md +++ b/src/es/overlay/explorer-hat-pro.md @@ -1,32 +1,17 @@ #Explorer HAT Pro @@ -104,7 +96,7 @@ Entradas y salidas de 5V, paneles táctiles, LEDs, entradas analógicas y un Pue Para preparar e instalar el HAT utiliza la siguiente línea: ```bash -curl -sS get.pimoroni.com/explorerhat | bash +curl -sS https://get.pimoroni.com/explorerhat | bash ``` Después importalo en tu programa de Python y empieza a experimentar: diff --git a/src/es/overlay/explorer-hat.md b/src/es/overlay/explorer-hat.md index 943d4dc..ac5889e 100644 --- a/src/es/overlay/explorer-hat.md +++ b/src/es/overlay/explorer-hat.md @@ -1,25 +1,17 @@ +#Explorer pHAT + +Entradas y salidas de 5V, entradas analógicas y un controlador de motores H-Bridge forman el Explorer pHAT; un complemento de prototipado multifuncional para Raspberry Pi. Perfecto para RPi Zero pero también funciona con A+/B+/2. + +Para configurar el pHAT puedes utilizar el instalador online de una línea. + +```bash +curl -sS https://get.pimoroni.com/explorerhat | bash +``` + +Luego impórtalo en tu script Python y empieza a realizar proyectos: + +```bash +import explorerhat +``` diff --git a/src/es/overlay/ground.md b/src/es/overlay/ground.md index d4a5bed..caa0c1e 100644 --- a/src/es/overlay/ground.md +++ b/src/es/overlay/ground.md @@ -1,6 +1,8 @@ +# W1-GPIO - One-Wire Interface + +Para habilitar la interaz one-wire necesitas añadir la siguiente línea a /boot/config.txt y después reiniciar tu Pi: + +``` +dtoverlay=w1-gpio +``` + +También puedes habilitar la interfaz sobre la marcha, cuando sea necesario: + +``` +sudo modprobe w1-gpio +``` + +Tras realizar una de las dos acciones anteriores, puedes enumerar los dispositivos conectados al GPIO4 de tu Raspberry Pi (por defecto) con: + +``` +ls /sys/bus/w1/devices/ +``` diff --git a/src/es/overlay/iface-dpi.md b/src/es/overlay/iface-dpi.md new file mode 100644 index 0000000..2aa6a63 --- /dev/null +++ b/src/es/overlay/iface-dpi.md @@ -0,0 +1,58 @@ + +#DPI - Display Parallel Interface + +DPI (interfaz de muestra paralela) es una interfaz paralela de 24-bit con 28 relojes y señales de sincronización. La Pi utiliza una versión reducidad de 6-bit, 22 pines, omitiendo los bits de color R, G y B menos significantes. + +DPI, combinada con un simple adaptador formado por 20 resitencias, permite añadir un conector VGA a la Raspberry Pi que soporta resoluciones desde 640 x 480 hasta 1920 x 1024 a 60fps y 6bits por canal. diff --git a/src/es/overlay/iface-gpclk.md b/src/es/overlay/iface-gpclk.md new file mode 100644 index 0000000..3314088 --- /dev/null +++ b/src/es/overlay/iface-gpclk.md @@ -0,0 +1,31 @@ + +#GPCLK - General Purpose CLock + +Los pines de General Purpose Clock pueden programarse a una frequencia fija, sin sofware adicional. + +Están disponibles los siguientes: + +``` +0 0 Hz Tierra +1 19.2 MHz Oscilador +2 0 Hz testdebug0 +3 0 Hz testdebug1 +4 0 Hz PLLA +5 1000 MHz PLLC (cambia con overclock) +6 500 MHz PLLD +7 216 MHz HDMI auxiliar +8-15 0 Hz Tierra +``` diff --git a/src/es/overlay/iface-jtag.md b/src/es/overlay/iface-jtag.md new file mode 100644 index 0000000..19adbce --- /dev/null +++ b/src/es/overlay/iface-jtag.md @@ -0,0 +1,33 @@ + +#JTAG - Joint Test Action Group + +JTAG es una interfaz estándar para depurar circuitos integrados que puedes utilizar para depurar tu Raspberry Pi. diff --git a/src/es/overlay/iface-pcm.md b/src/es/overlay/iface-pcm.md new file mode 100644 index 0000000..f6d59a2 --- /dev/null +++ b/src/es/overlay/iface-pcm.md @@ -0,0 +1,19 @@ + +#PCM - Pulse-code Modulation + +PCM (modulación Pulse-code) es la representación digital de una muestra analógica. En la Raspberry Pi es una forma de salida de sonido digital que puede ser leída por DAC para sonido de alta definición. diff --git a/src/es/overlay/iface-sd.md b/src/es/overlay/iface-sd.md new file mode 100644 index 0000000..35e5e1f --- /dev/null +++ b/src/es/overlay/iface-sd.md @@ -0,0 +1,25 @@ + +#SDIO - SD Card Interface + +SDIO es la interfaz host de SD/eMMC para Raspberry Pi. Las señales SD host normalmente son utilizadas para la tarjeta microSD. + +Estos pines son "SD host" en Alt0 y "eMMC" en Alt3. diff --git a/src/es/overlay/iqaudio-pi-dac.md b/src/es/overlay/iqaudio-pi-dac.md index 067066c..3239757 100644 --- a/src/es/overlay/iqaudio-pi-dac.md +++ b/src/es/overlay/iqaudio-pi-dac.md @@ -1,13 +1,16 @@ +#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. + +Puedes utilizar GPIO25 para añadir un sensor infrarrojo y GPIO23/24 para un dial. Estas dos partes son opcionales pero están disponibles en Pi-DAC9 para un acceso fácil. +Nota: los pines reservados para el dia y el sensor infrarrojo se pueden utilizar para otros propósitos si estos dos componentes no se han añadido y activado mediante software. diff --git a/src/es/overlay/microdot-phat.md b/src/es/overlay/microdot-phat.md new file mode 100644 index 0000000..891ee5d --- /dev/null +++ b/src/es/overlay/microdot-phat.md @@ -0,0 +1,52 @@ + +#Micro Dot pHAT + +Una placa con una matriz LED descarada, de vieja escuela, con hasta 30x7 pixels utilizando las matrices Lite-On LTP-305 (o cualquiera similar). Perfecta para construir un mensaje en movimiento retro, un pequeño analizador de espectro de 30 bandas o un reloj retro. + +La placa utiliza tres chip IS31FL3730 para controlar la matriz, cada uno controla dos matrices. La placa y el software fuero diseñados para trabajar de manera eficiente, actualizando realmente rápido. + +Para configurar el pHAT puedes utilizar el instalador online de una línea. + +```bash +curl -sS https://get.pimoroni.com/microdotphat | bash +``` + +Luego impórtalo en tu script Python y empieza a realizar proyectos: + +```bash +import microdotphat +``` diff --git a/src/es/overlay/phat-dac.md b/src/es/overlay/phat-dac.md new file mode 100644 index 0000000..65b7ea5 --- /dev/null +++ b/src/es/overlay/phat-dac.md @@ -0,0 +1,45 @@ + +#pHAT DAC + +pHAT DAC es un conversor de sonido digital a analógico de alta calidad para Raspberry Pi: 24-bits a 192KHz a través de la interfaz I2S en el conector GPIO de 2x20 pines. Tiene un jack estéreo de 3.5 mm y se puede conectar, opcional, un RCA. + +Pese a ser diseñado para Raspberry Pi Zero es compatible con todas las Raspberry Pi de 40 pines (2/B+/A+/Zero) + +Para configurar pHAT DAC puedes utilizar el instalador online de una línea. + +```bash +curl -sS https://get.pimoroni.com/phatdac | bash +``` diff --git a/src/es/overlay/pi-liter.md b/src/es/overlay/pi-liter.md new file mode 100644 index 0000000..8ee8548 --- /dev/null +++ b/src/es/overlay/pi-liter.md @@ -0,0 +1,81 @@ + +#Pi-LITE-r + +Pi-LITE-r es una placa adicional completa para Raspberry Pi. Cuenta con 8 LEDs blanco ultra-brillantes y se conecta directamente a los GPIO. Puede utilizarse en proyectos I/O para dar información del estado. Iluminar los 8 LEDs consume poca corriente, menos que un sólo LED (20 mA nominales, 14.4 mA para Pi-LITE-r) + +Aplicaciones: + +* Monitor de estado I/O +* Gráficos de barras +* 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 d51a352..6c3d642 100644 --- a/src/es/overlay/piano-hat.md +++ b/src/es/overlay/piano-hat.md @@ -1,19 +1,17 @@ #Piano HAT @@ -41,7 +46,7 @@ Usa dos CAP1188 chips de Microchip, con las direcciones i2c 0x28 y 0x2b Puedes usar la siguiente línea para instalar y preparar el Piano HAT: ```bash -curl -sS get.pimoroni.com/pianohat | bash +curl -sS https://get.pimoroni.com/pianohat | bash ``` ¡Y sigue las instrucciones! diff --git a/src/es/overlay/piborg-ledborg.md b/src/es/overlay/piborg-ledborg.md index efe0dda..8c35adb 100644 --- a/src/es/overlay/piborg-ledborg.md +++ b/src/es/overlay/piborg-ledborg.md @@ -1,9 +1,16 @@ -###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/piborg-zeroborg.md b/src/es/overlay/piborg-zeroborg.md new file mode 100644 index 0000000..4a02c4b --- /dev/null +++ b/src/es/overlay/piborg-zeroborg.md @@ -0,0 +1,38 @@ + +#ZeroBorg + +ZeroBorg fabricado por PiBorg es un controlador de motores de 4 canales para Raspberry Pi Zero. + +Compatible con direcciones i2c esclavas configurables desde 3 (0x03) a 119 (0x77), por lo que aunque use i2c puede utilizarse con otras placas i2c. Echa un vistazo a la sección "Multiple Boards" de la guía de instalación de ZeroBorg para más detalles. + +* 4 H-Brige completos +* Controla 4 motores o 2 motores paso a paso +* Picos de 2A o 1.5A RMS por brige +* Fusible de 5A +* Diseñada para funcionar con 9V +* 2 entradas analógicas +* Comunicación i2c diff --git a/src/es/overlay/pibrella.md b/src/es/overlay/pibrella.md index b9180c4..e4171ba 100644 --- a/src/es/overlay/pibrella.md +++ b/src/es/overlay/pibrella.md @@ -1,10 +1,17 @@ #PiGlow + +PiGlow es una pequeña placa adicional para Raspberry Pi con 18 LEDs controlables individualmente. + +La placa usa el chip de 8-bit y 18-canales PWM SN3218 para controlar los LEDs. La comunicación se realiza mediante I2C a través de los GPIO en el bus con dirección 0x54. Cada LED puede configurarse para un valor de PWM entre 0 y 255. + +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. + +Para configurar el módulo puedes utilizar el instalador online de una línea: + +```bash +curl -sS https://get.pimoroni.com/piglow | bash +``` + +¡Y sigue las instrucciones! diff --git a/src/es/overlay/pijack.md b/src/es/overlay/pijack.md new file mode 100644 index 0000000..66e9e46 --- /dev/null +++ b/src/es/overlay/pijack.md @@ -0,0 +1,52 @@ + +#PiJack + +La forma más sencilla de añadir Ethernet a Raspberry Pi Zero. Simplemente conecta PiJack a tu Pi y arranca la última versión de Raspbian. PiJack será detectada a nivel del kernel Linux, cargando el controlador correcto y la interfaz Ethernet estará lista para uso. + +Por defecto, Raspbian configura la interfaz para DHCP así que en cuento conectes PiJack tendrás acceso a la red. + +Cada placa PiJack se programa con una dirección MAC única, que se mantiene a cada arranque. Esto permite configurar tu router para que asigne la misma IP siempre. + +Debido a que el controlador está siendo mejorado, lo mejor es usar la última versión de Raspbian bien grabando una microSD nueva o ejecutando: + +```bash +sudo apt-get update +sudo apt-get dist-upgrade +``` diff --git a/src/es/overlay/propeller-hat.md b/src/es/overlay/propeller-hat.md new file mode 100644 index 0000000..2af48be --- /dev/null +++ b/src/es/overlay/propeller-hat.md @@ -0,0 +1,46 @@ + +#Propeller HAT + +Propeller HAT lleva el microcontrolador de 8-núcleos Parallax Propeler al factort de forma HAT. Comunícate a través del puerto serie utilizando Propeller IDE y siempre tendrás un coprocesador poderoso y de tiempo real para tu Pi. + +Es como un pequeño programador lógico. Muy útil para IO en tiempo real, control de servos o sintetizar un chip SID. diff --git a/src/es/overlay/raspio-duino.md b/src/es/overlay/raspio-duino.md new file mode 100644 index 0000000..21215af --- /dev/null +++ b/src/es/overlay/raspio-duino.md @@ -0,0 +1,44 @@ + +#Duino + +RasPiO Duino es una pequeña placa adicional para Raspberry Pi. Tiene funciones similares a Arduino Uno, con un ATMega 328P-PU como corazón, pero es completamente programable desde Raspberry Pi. Una vez programado, puede desconectarse de Raspberry Pi y usarse de manera independiente. + +Los pines del ATMega están dividido es grupos de tres. El ATMega328 tiene un conversor analógico a digital de 6 canales, y 14 pines digitales I/O, 6 de los cuales pueden utilizarse para PWM. Los puertos GPIO de Raspberry Pi también están disponibles además de un área de prototipado de 72 puntos raíles con tierra, 3V3 ty 5V, en los que puedes añadir tus componentes. + +Nota: RasPiO Duino funciona a 3v3 y 12 MHz (no 5V y 16 MHz como Uno). diff --git a/src/es/overlay/redbear-iot-hat.md b/src/es/overlay/redbear-iot-hat.md new file mode 100644 index 0000000..8b35daf --- /dev/null +++ b/src/es/overlay/redbear-iot-hat.md @@ -0,0 +1,64 @@ + +#IoT pHAT + +IoT HAT fabricado por RedBear lleva el BCM43438 usado en Raspberry Pi 3 a formato HAT, compatible con Pi Zero. + +El chip proporciona Wi-Fi 802.11n y Bluetooth 4.1 (Modo Dual). + +* Bluetooth 4.1 +* WiFi +* Bajo consumo +* Se puede añadir antena externa +* Compatible con el mismo software WiFi/Bluetooth usado en Raspberry Pi 3 +* Funciona con Pi Zero, A+, B+, Pi 2 diff --git a/src/es/overlay/dots.md b/src/es/overlay/rpf-dots.md similarity index 93% rename from src/es/overlay/dots.md rename to src/es/overlay/rpf-dots.md index 2abff85..5d2aa13 100644 --- a/src/es/overlay/dots.md +++ b/src/es/overlay/rpf-dots.md @@ -1,11 +1,17 @@ -#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/overlay/scroll-phat.md b/src/es/overlay/scroll-phat.md new file mode 100644 index 0000000..ffe34f0 --- /dev/null +++ b/src/es/overlay/scroll-phat.md @@ -0,0 +1,61 @@ + +#Scroll pHAT + +Scroll pHAT proporciona una matriz de 55 LED blancos en formato píxel que es ideal para escribir mensajes, mostrar gráficas y dibujar. Perfecto para RPi Zero pero también funciona con A+/B+/2. + + +Para configurar el pHAT puedes utilizar el instalador online de una línea. + +```bash +curl -sS https://get.pimoroni.com/scrollphat | bash +``` + +Luego impórtalo en tu script Python y empieza a realizar proyectos: + +```bash +import scrollphat +``` diff --git a/src/es/overlay/sense-hat.md b/src/es/overlay/sense-hat.md index bde20be..4fd97b9 100644 --- a/src/es/overlay/sense-hat.md +++ b/src/es/overlay/sense-hat.md @@ -1,47 +1,63 @@ #Sense HAT -El Sense HAT es una placa para la Raspberry Pi que incluye una matrix RGB LED de 8x8, un joystick de 5 botones y los siguientes sensores: +Sense HAT es una placa adicional para Raspberry Pi con una matriz led 8x8 RGB, un joystick de 5 botones y los siguientes sensores: giroscopio, acelerómetro, magnetómetro, temperatura, presión barométrica y humedad. -Giroscopio, Acelerómetro, Magnetómetro, Termómetro, Barómetro, Presión e Higrómetro. +El controlador de la matriz LED es un LED2472G conectado mediante ATTINY88 y comunicándose mediante i2c en la dirección 0x46 con la Pi. El joystick multidireccional SKRHABE010 switch/joystick se controla de manera similar. -El controlador de la matriz LED es un LED2472G conectado vía un ATtiny88 al bus SPI de la Pi. El multidireccional botón/joystick SKRHABE010 está similarmente conectado al bus SPI. +Los sensores también funcionan mediante el bus i2c: -Los sensores en si operan (mayoritariamente) a través del bus i2c: +Los IUM (giroscopio, acelerómetro y magnetómetro) a trabés de LSM9DS1 en las direcciones i2c 0x1c(0x1e),0x6a(0x6b), con interrupciones en el ATTINY88. -El IMU (Giroscopio, Acelerómetro, Magnetómetro) a través de un LSM9DS1, en la dirección i2c 0x1c(0x1e), 0x6a(0x6b), con Interrups en el ATtiny88. - -Los sensores ambientales están representados por un LPS25H, que incluye sensor de presión y temperatura, en la dirección 0x5c, y un HTS221, que incluye humedad y temperatura en la dirección 0x5f. +Los sensores medioambientales son un LPS25H presión+temperatura en la dirección 0x5c y un HTS221 humedad+temperatura en la dirección 0x5f del bus i2c. diff --git a/src/es/overlay/skywriter-hat.md b/src/es/overlay/skywriter-hat.md index cf88184..d570b87 100644 --- a/src/es/overlay/skywriter-hat.md +++ b/src/es/overlay/skywriter-hat.md @@ -1,21 +1,17 @@ #Skywriter HAT @@ -36,7 +36,7 @@ También reconoce gestos, incluyendo swipes y más. Para instalar este HAT y dejarlo preparado para el uso, ejecuta: ```bash -curl -sS get.pimoroni.com/skywriter | bash +curl -sS https://get.pimoroni.com/skywriter | bash ``` ¡Y sigue las instrucciones! diff --git a/src/es/overlay/spi.md b/src/es/overlay/spi.md index 2419911..451ad47 100644 --- a/src/es/overlay/spi.md +++ b/src/es/overlay/spi.md @@ -1,7 +1,10 @@ +#Unicorn pHAT + +32 LEDs brillantes, cegadores, dentro de un pHAT controlado por una librería C ultrarápida con la que puedes comunicarte mediante Python hacen del Unicorn HAT el hermano mayor, más brillate de PiGlow. + +Nota: Unicorn pHAT usa un truco PWM, la misma técnica que hace que tu Pi pueda reproducir sonido a través del jack de audio (sonido analógico) así que no se pueden usar a la vez. + +Para configurar el pHAT puedes utilizar el instalador online de una línea. + +```bash +curl -sS https://get.pimoroni.com/unicornhat | bash +``` + +Luego impórtalo en tu script Python y empieza a realizar proyectos: + +```bash +import unicornhat +unicorn.set_layout(unicorn.PHAT) +unicornhat.set_pixel(0, 0, 255, 255, 255) +unicornhat.show() +``` diff --git a/src/es/overlay/uugear-7port-usb-hub.md b/src/es/overlay/uugear-7port-usb-hub.md new file mode 100644 index 0000000..dc7623e --- /dev/null +++ b/src/es/overlay/uugear-7port-usb-hub.md @@ -0,0 +1,27 @@ + +#7-port USB hub for Raspberry Pi + +Es un hub con 7 puertos USB para Raspberry Pi. Aumenta un puerto USB de Raspberry Pi en 7, lo que permite usar más dispositivos. Cuenta con un LED rojo para indicar la alimentación y 7 LEDs verdes para el tráfico en los puertos USB. + +Este hub es compatible con todas las versiones de Raspberry Pi, tiene el tamaño de B+/2B/3B y 6 agujeros para montaje en cualquier Raspberry Pi (excepto compute module). + +Para diferentes modelos de Raspberry Pi usa diferentes métodos para retroalimentar (opcional) la Raspberry Pi, lo que facilita el cableado al alimentar el hub USB y Raspberry Pi con una sola fuente de alimentación. + +La placa cuenta con 7 pines digitales de salida, que pueden decir si un puerto está en uso. Son de 3.3V por lo que se pueden conectar directamente a los GPIO de Raspberry Pi o a un microcontrolador externo. diff --git a/src/es/overlay/uugear-witty-pi-2.md b/src/es/overlay/uugear-witty-pi-2.md new file mode 100644 index 0000000..ffb2114 --- /dev/null +++ b/src/es/overlay/uugear-witty-pi-2.md @@ -0,0 +1,66 @@ + +# Witty Pi 2 + +Witty Pi 2 es la segunda generación de Witty Pi, añade reloj de tiempo real y gestión de alimentación a Raspberry Pi. + +Puedes encender/apagar tu Raspberry Pi con un botón de Witty Pi 2, y se desconectarán la fuente de alimentación y los periféricos USB. + +Witty Pi 2 tiene un reloj de tiempo real CR2032 (DS3231), que mantiene de manera precisa el tiempo de Raspberry Pi. Además, un sensor de temperatura mide la temperatura alrededor de Raspberry Pi. + +Se puede programar el próximo encendido/apagado mediante software, incluso secuencias complejas mediante script. + +Si utilizas un power bank como alimentación, puede mantener el power bank con carga debido a un bajo consumo de corriente. Los nuevos 6 pines hembra añaden opciones de integración/extensión. + +Puedes usar estos dos comandos para instalar sofware para Witty Pi 2: + +```bash +wget http://www.uugear.com/repo/WittyPi2/installWittyPi.sh + +sudo sh installWittyPi.sh +``` +Una vez realizada la instalación, reinicia tu Raspberry Pi y Witty Pi 2 estará listo. + +Witty Pi 2 funciona con todos los modelos de Raspberry Pi de 40 pines A+/B+/2B/3B/Zero. diff --git a/src/es/overlay/uugear-witty-pi.md b/src/es/overlay/uugear-witty-pi.md new file mode 100644 index 0000000..270b5e6 --- /dev/null +++ b/src/es/overlay/uugear-witty-pi.md @@ -0,0 +1,64 @@ + +#Witty Pi + +Witty Pi es una placa adicional que añade reloj de tiempo real y gestión de alimentación a Raspberry Pi.. + +Puedes encender/apagar tu Raspberry Pi con un botón de Witty Pi, y se desconectarán la fuente de alimentación y los periféricos USB. + +Witty Pi tiene un reloj de tiempo real CR2032 (DS1337), que mantiene el tiempo de Raspberry Pi. Se puede programar el próximo encendido/apagado mediante software, incluso secuencias complejas mediante script. + +Puedes usar estos dos comandos para instalar sofware para Witty Pi: + +```bash +wget http://www.uugear.com/repo/WittyPi/installWittyPi.sh + +sudo sh installWittyPi.sh +``` +Una vez realizada la instalación, reinicia tu Raspberry Pi y Witty Pi 2 estará listo. + +Witty Pi funciona con todos los modelos de Raspberry Pi de 40 pines A+/B+/2B/3B/Zero. diff --git a/src/es/overlay/uugear-zero4u.md b/src/es/overlay/uugear-zero4u.md new file mode 100644 index 0000000..ee85e4c --- /dev/null +++ b/src/es/overlay/uugear-zero4u.md @@ -0,0 +1,23 @@ + +#Zero4U + +Zero4U es un hub USB de 4 puertos par Raspberry Pi Zero y puede montarse directamente en Raspberry Pi Zero. Los 4 pines pogo en la parte trasera se conectarán a los pads PP1, PP6, PP22 y PP23 de Raspberry Pi Zero, por lo que no se necesita soldar para que funcione. + +El hub USB se alimentará directamente de Raspberry Pi Zero, por lo que no necesita otra fuente de alimentación. Sin embargo, cuenta con un conector JST XH2.54 para una fuente de alimentación alternativa. + +Cuenta con un LED azul como indicador de la alimentación y cuatro LED blancos para indicar el tráfico en los puertos USB. + +Este hub USB puede funcionar con otros ordenadores. Puedes usar un cable USB para conectar el puerto mini-USB de la placa con el puerto USB de un ordenador. diff --git a/src/es/overlay/wifi-pants.md b/src/es/overlay/wifi-pants.md new file mode 100644 index 0000000..147dff9 --- /dev/null +++ b/src/es/overlay/wifi-pants.md @@ -0,0 +1,56 @@ + +#WiFi Pants + +WiFi Pants es una placa adicional para Raspberry Pi con WiFi y alimentación de 5V, basada en ESP-12F. + +Encaja perfectamente con Pi Zero, pese a un pequeño saliente para la antena, y sólo necesita 6 puertos GPIO. + +Se comunica a través de la interfaz SDIO para dar capacidades WiFi como alternativa a los adaptadores WiFi USB. Es útil para proyectos de poco ancho de banda, como la mayoría de los proyectos incrustados. + +Lo más destacable, WiFI Pants añade WiFi a Pi Zero dejando libre el puerto USB y permite usar cualquier batería de hasta 3V ya que la aumenta a 5V y 2A para alimentar la Pi y otros periféricos. + +Incluye un conector JST-PH compatible con las baterías de Sparkfun y Adafruit. Su mecanismo de seguridad evita la descarga más allá de 2.7V. Un interruptor permite a un microcontrolador encender o apagar la fuente de alimentación. + +Además del interruptor, los 5 pines dan acceso al puerto serie de Raspberry Pi, ideal para proyectos IoT donde no hay pantalla pero es necesario acceso a terminal para la puesta a punto. Estos pines pueden conectarse a un cable FTDI USB-to-UART de 6 pines. + +WiFi Pants también funciona perfectamente con Pi A+/B+/2. diff --git a/src/es/overlay/wiringpi.md b/src/es/overlay/wiringpi.md index 5c3f5bb..4095dbe 100644 --- a/src/es/overlay/wiringpi.md +++ b/src/es/overlay/wiringpi.md @@ -1,9 +1,11 @@ +#Zero LiPo + +El objetivo de Zero LiPo es ser la fuente de alimentación para Raspberry Pi más compacta. + +Esta placa inclute LEDs indicadores de alimentación y bajo nivel de batería, además de un conector JST para conectar una batería LiPo, LiIon o cualquier otra batería compatible con JST. El convertidor TPS61232 step-up de Texas Instruments convierte el voltaje de 3-4.2V de entrada de las LiPo/LiIon en 5V, dando una alimentación de 5V estable perfecta para tu Pi. + +Especificaciones: + +* PCB de 0.8 mm de grosor +* Perfil lo más bajo posible +* Conector JST de 2 polos, ideal para la mayoría de baterías LiPo/LiIon +* LEDs indicadores de alimentación y bajo nivel de batería +* Proporciona corriente continua de 1.5A +* Alerta de nivel bajo de batería a 3.4V (configura el GPIO #4 high) +* Apagado automático a 3.0V para proteger la batería +* Pines VBAT+, GND y EN accesibles +* Consumo de corriente en reposo de 15uA diff --git a/src/es/settings.yaml b/src/es/settings.yaml index b2ae021..5e09182 100644 --- a/src/es/settings.yaml +++ b/src/es/settings.yaml @@ -1,48 +1,91 @@ ---- -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" +domain: es.pinout.xyz +analytics_id: UA-69846516-5 base_url: /pinout/ resource_url: /resources/ -domain: es.pinout.xyz url_suffix: urls: GND: tierra -strings: -- made_by: 'Hecho por {manufacturer}' -- type_hat: 'formato HAT' -- type_phat: 'formato pHAT' -- type_classic: 'formato clásico' -- pin_header: '{} pin header' -- uses_i2c: 'Usa I2C' -- uses_spi: 'Usa SPI' -- wiring_pi_pin: 'Wiring Pi pin {}' -- uses_n_gpio_pins: 'Usa {} 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' -overlays: -- ground -- uart -- i2c -- spi -- arduino-spi -- wiringpi -- iqaudio-pi-dac -- display-o-tron -- display-o-tron-hat -- dots -- explorer-hat -- explorer-hat-pro -- piano-hat +featured: +- ab-adc-pi-zero +- analog-zero - piborg-ledborg - pibrella +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 +- 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 +- mote-phat +- 4tronix-robohat +- 4tronix-pistop +- icubex-pishield +- adafruit-pitft-35-plus +- pantilt-hat diff --git a/src/es/template/404.md b/src/es/template/404.md new file mode 100644 index 0000000..a6dabc3 --- /dev/null +++ b/src/es/template/404.md @@ -0,0 +1,7 @@ +#404 - ¡Oh no! + +###¡Lo sentimos, no hemos podido encontrar lo que estás buscando! + +Utiliza el menú de la izquierda para explorar los pines GPIO de Raspberry Pi y sus funciones. + +Utiliza el menú de la parte superior para descubrir nuevas placas, aprender sobre interfaces y encontrar guías de conexión GPIO. diff --git a/src/es/template/footer.html b/src/es/template/footer.html new file mode 100644 index 0000000..b2384b8 --- /dev/null +++ b/src/es/template/footer.html @@ -0,0 +1,3 @@ +

Found an error, want to add your board's pinout? Visit our GitHub repository and submit an Issue or a Pull Request!

+

Originally part of pi.gadgetoid.com. Tweet us at @PiPinout. Maintained by @Gadgetoid and @RogueHAL13.

+

Traducion @ResonantWave y @IkerGarcia.

diff --git a/src/es/template/index.md b/src/es/template/index.md new file mode 100644 index 0000000..ec50b73 --- /dev/null +++ b/src/es/template/index.md @@ -0,0 +1,19 @@ +##¡Asignación de pines! La guía detallada sobre la asignación de pines GPIO para Raspberry Pi. + +Esta guía de asignación de pines GPIO está pensada para ser una referencia rápida e interactiva de los pines GPIO de Raspberry Pi, además de una guía detallada de la interfaz GPIO de tu Raspberry Pi. Además, incluye docenas de diagramas de asignación de pines de distintas placas complemento de Raspberry Pi, HATs y pHATs. + +##Últimas noticias de asignación de pines + +Hemos añadido un [explorador de placas!](https://github.com/Gadgetoid/Pinout.xyz/blob/master/boards) utilízalo para encontrar el diagrama de asignación de pines para una placa o descubrir placas nuevas. Si fabricas placas, nos encantaría añadir las tuyas también. [Puedes contribuir en GitHub](https://github.com/gadgetoid/Pinout.xyz) + +##De todos modos, ¿qué significan estos números? + +* BCM - Número de pin Broadcom, comúnmente llamado "GPIO", es probablemente el que querrás utilizar con RPi.GPIO y GPIO Zero +* WiringPi - Número de pin de WiringPi, para la librería WiringPi de Gordon Henderson +* Físico - Número correspondiente a la posición física del pin +* Rev 1 Pi - Numeración BCM alternativa para los modelos originales de 26 pines, Raspberry Pi modelos "A" y "B" + +##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! + +[![Graphical Raspberry Pi GPIO Pinout](/resources/raspberry-pi-pinout.png)](/resources/raspberry-pi-pinout.png) diff --git a/src/es/template/layout.html b/src/es/template/layout.html deleted file mode 100644 index bec1c1d..0000000 --- a/src/es/template/layout.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - {{title}} - - - - - - - - {{hreflang}} - - - -
- -

Raspberry Pinout

-
- Aprende los pines de la Pi y sus add-ons - -
- -
-
- {{content}} -
-
- -
- - - - - - - - - diff --git a/src/es/template/localised.yaml b/src/es/template/localised.yaml new file mode 100644 index 0000000..a2af97b --- /dev/null +++ b/src/es/template/localised.yaml @@ -0,0 +1,33 @@ +strings: +- default_desc: 'La guía detallada sobre el pinout del GPIO de Raspberry Pi para Raspberry' +- default_title: 'Pinout de Raspberry Pi - Pi 1, B+, Pi 2' +- title_suffix: ' at Raspberry Pi GPIO Pinout' +- home: 'Home' +- boards: 'Boards' +- 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' +- eeprom_detect: 'EEPROM ID' +- eeprom_setup: 'Usa EEPROM' +- uses_i2c: 'Usa I2C' +- uses_spi: 'Usa SPI' +- 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' +- board_schematic : 'Schematic' +- buy_now: 'Buy Now' +- browse_addons: 'Browse more HATs, pHATs and add-ons' +- return_home: 'Return to the Raspberry Pi GPIO Pinout' +- boards_title: 'Raspberry Pi HATs, pHATs & Add-ons' +- boards_subtitle: 'Click on a HAT, pHAT or add-on for more details and to see which pins it uses!' diff --git a/src/es/pi-pinout.yaml b/src/es/template/pinout.yaml similarity index 100% rename from src/es/pi-pinout.yaml rename to src/es/template/pinout.yaml diff --git a/src/es/translate/4tronix-pistop.md b/src/es/translate/4tronix-pistop.md new file mode 100644 index 0000000..0cd15d2 --- /dev/null +++ b/src/es/translate/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/src/es/translate/4tronix-robohat.md b/src/es/translate/4tronix-robohat.md new file mode 100644 index 0000000..6665d3f --- /dev/null +++ b/src/es/translate/4tronix-robohat.md @@ -0,0 +1,79 @@ + +# 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/src/es/translate/adafruit-pitft-35-plus.md b/src/es/translate/adafruit-pitft-35-plus.md new file mode 100644 index 0000000..79fad38 --- /dev/null +++ b/src/es/translate/adafruit-pitft-35-plus.md @@ -0,0 +1,57 @@ + +#PiTFT Plus 3.5" + +The PiTFT+ features a 3.5" display with 480x320 16-bit color pixels and a resistive touch overlay and is engineered specifically to work with the Raspberry Pi 3, 2 and the Model A+/B+. + +The display uses the hardware SPI pins as well as GPIO #25 and #24. GPIO #18 can be used to PWM dim the backlight. A 2x13 'classic' GPIO header on the bottom, with additional GPIO pins broken out into solder pads, allows you to use more of the GPIO. + +The PiTFT+ can be used as a display for running the X interface, or the console. You can also have an HDMI display separately connected to complement the setup, keeping in mind that there can only be one X session running (so you'll need to choose where X should be output, on the HDMI or the PiTFT+). diff --git a/src/es/translate/icubex-pishield.md b/src/es/translate/icubex-pishield.md new file mode 100644 index 0000000..fe74bdb --- /dev/null +++ b/src/es/translate/icubex-pishield.md @@ -0,0 +1,46 @@ + +# PiShield + +The I-CubeX PiShield is a 5V sensor interface board that supports 8 channels of 10-bit ADC input via SPI as well as providing landings for 5V I2C devices. Level conversion to/from 5V is provided for both analog as well as digital sensors. + +Features: + +- Designed for [I-CubeX Sensors](http://infusionsystems.com/catalog/index.php/cPath/24), but works with any 5V analog sensor via a standard 3-pin header (VCC, SIG, GND) +- ADC performed using MCP3008 chip, and works with existing libraries and applications (including wiringPi) +- Supports up to 8 analog sensors via 3-pin headers, and 4 digital sensors via 2x3-pin headers +- Enough header protrusion to allow another 26 pin header to be stacked on top diff --git a/src/es/translate/mote-phat.md b/src/es/translate/mote-phat.md new file mode 100644 index 0000000..ae55b1a --- /dev/null +++ b/src/es/translate/mote-phat.md @@ -0,0 +1,61 @@ + + +# Mote pHAT + +Sports four Mote channels with microUSB connectors that can drive up to 64 RGB LEDs using four 16 pixel Mote strips. + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/motephat | bash +``` diff --git a/src/es/translate/pantilt-hat.md b/src/es/translate/pantilt-hat.md new file mode 100644 index 0000000..b609b0c --- /dev/null +++ b/src/es/translate/pantilt-hat.md @@ -0,0 +1,53 @@ + +#Pan Tilt HAT + +Pan Tilt HAT is a two-channel servo driver designed to control a tiny servo-powered Pan/Tilt assembly. It also controls either PWM-dimmed lights or WS2812 pixels; up to 24 RGB or 18 RGBW. + +Pan Tilt HAT uses a PIC16F1503 with custom firmware, and talks over i2c. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/pantilthat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import pantilthat +``` diff --git a/src/fr/index.md b/src/fr/index.md deleted file mode 100644 index 3c81f71..0000000 --- a/src/fr/index.md +++ /dev/null @@ -1,27 +0,0 @@ -#Pinout! - -###Le guide complet des broches GPIO de la Raspberry Pi, modèles B+ et Raspberry Pi 2 inclus! - -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. - -##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) - -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. - -Veuillez notez que la séparation des 14 broches du B+ dans leur présentation Pinout n'est que visuelle, elle n'existe pas physiquement sur la Raspberry Pi. - -##Auteurs et contributeurs - -L'auteur principal de ce guide est Phil Howard (@Gadgetoid). Les contributeurs sont renseignés dans les notes des commits du projet Github parent (https://github.com/Gadgetoid/Pinout2)! - -Traduction: @RogueHAL13 diff --git a/src/fr/overlay/4tronix-picon-zero.md b/src/fr/overlay/4tronix-picon-zero.md new file mode 100644 index 0000000..0ee6488 --- /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..f804be3 --- /dev/null +++ b/src/fr/overlay/ab-1-wire-plus.md @@ -0,0 +1,46 @@ + +#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..0b27b39 --- /dev/null +++ b/src/fr/overlay/ab-1-wire-zero.md @@ -0,0 +1,46 @@ + +#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..fcb13e9 --- /dev/null +++ b/src/fr/overlay/ab-adc-differential-pi.md @@ -0,0 +1,63 @@ + +#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..bc43655 --- /dev/null +++ b/src/fr/overlay/ab-adc-pi-plus.md @@ -0,0 +1,62 @@ + +#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..6d10909 --- /dev/null +++ b/src/fr/overlay/ab-adc-pi-zero.md @@ -0,0 +1,60 @@ + +#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..189732f --- /dev/null +++ b/src/fr/overlay/ab-adcdac-pi-zero.md @@ -0,0 +1,52 @@ + +#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..b90c663 --- /dev/null +++ b/src/fr/overlay/ab-rtc-pi-zero.md @@ -0,0 +1,46 @@ + +#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/arduino-spi.md b/src/fr/overlay/arduino-spi.md deleted file mode 100644 index e077cae..0000000 --- a/src/fr/overlay/arduino-spi.md +++ /dev/null @@ -1,54 +0,0 @@ - -#ATmega 328p / Arduino over SPI - -###Saviez-vous qu'il était possible de programmer une carte Arduino ou un ATmega328 à partir d'une Raspberry Pi, en utilisant juste quelques câbles, un 'breadboard', un quartz de 16 MHz et quelques condensateurs? - -Voici un article qui vous guidera dans cette entreprise: -[complete Pico PiDuino tutorial](http://pi.gadgetoid.com/article/building-the-pico-piduino) - -Une fois votre 'Arduino' assemblé, il vous faudra installer une version modifiée de [AVRDude](https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/). - -Ensuite: - -Connectez la broche 8 de la Raspi à l'ATmega Reset/RST, la broche 9 à son MISO/D12, la broche 10 à son MOSI/D11, et finalement la broche 11 au SCLK/D13. - -Alimentez votre ATmega en 3.3 volts et raccordez le à la masse. Pour ce faire, vous pouvez utiliser les broches de la Raspi. - -Vous voilà fin prêt. Assurez vous que vous n'avez pas de drivers SPI parasites sur le bus et que l'ATmega est bien détecté: - -```bash -avrdude -p m328p -c gpio -``` - -Et finalement installez les derniers logiciels requis: - -```bash -sudo apt-get install arduino arduino-mk -``` - -Puis voyez les détails associés à la compilation en elle-même dans [l'article suivant](http://pi.gadgetoid.com/article/programming-your-pico-piduino)! \ No newline at end of file diff --git a/src/fr/overlay/display-o-tron-hat.md b/src/fr/overlay/display-o-tron-hat.md index eae5e61..b03e955 100644 --- a/src/fr/overlay/display-o-tron-hat.md +++ b/src/fr/overlay/display-o-tron-hat.md @@ -1,10 +1,22 @@ #Explorer HAT Pro @@ -104,7 +96,7 @@ L'Explorer HAT pro est un chapeau à usage multiple avec entrées et sorties en Pour l'installation et mise en route exécutez simplement les commandes ci-dessous et suivez les instructions présentées à l'écran: ```bash -curl -sS get.pimoroni.com/explorerhat | bash +curl -sS https://get.pimoroni.com/explorerhat | bash ``` Puis, sous Python, en guise de test que tout fonctionne bien: diff --git a/src/fr/overlay/explorer-hat.md b/src/fr/overlay/explorer-hat.md index 6f4ca4b..fff59e2 100644 --- a/src/fr/overlay/explorer-hat.md +++ b/src/fr/overlay/explorer-hat.md @@ -1,29 +1,17 @@ #Explorer HAT @@ -81,7 +73,7 @@ L'Explorer HAT est un chapeau multi-usage avec entrées et sorties en 5V, LED et Pour l'installation et mise en route exécutez simplement les commandes ci-dessous et suivez les instructions présentées à l'écran: ```bash -curl -sS get.pimoroni.com/explorerhat | bash +curl -sS https://get.pimoroni.com/explorerhat | bash ``` Puis, sous Python, en guise de test que tout fonctionne bien: diff --git a/src/fr/overlay/ground.md b/src/fr/overlay/ground.md index c5fbfbe..c72f7ff 100644 --- a/src/fr/overlay/ground.md +++ b/src/fr/overlay/ground.md @@ -1,6 +1,8 @@ #Piano HAT @@ -41,5 +46,5 @@ Les microchips responsables de la gestion des touches tactiles sont deux CAP1188 Pour l'installation et mise en route exécutez simplement les commandes ci-dessous et suivez les instructions présentées à l'écran: ```bash -curl -sS get.pimoroni.com/pianohat | bash +curl -sS https://get.pimoroni.com/pianohat | bash ``` diff --git a/src/fr/overlay/piborg-ledborg.md b/src/fr/overlay/piborg-ledborg.md index 6f7b3f4..5a48d4f 100644 --- a/src/fr/overlay/piborg-ledborg.md +++ b/src/fr/overlay/piborg-ledborg.md @@ -1,11 +1,16 @@ -###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 8b680d4..f4ed05d 100644 --- a/src/fr/overlay/pibrella.md +++ b/src/fr/overlay/pibrella.md @@ -1,10 +1,17 @@ -#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/sense-hat.md b/src/fr/overlay/sense-hat.md deleted file mode 100644 index cf18eac..0000000 --- a/src/fr/overlay/sense-hat.md +++ /dev/null @@ -1,50 +0,0 @@ - -#Sense HAT - -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION - -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 to the SPI bus of the Pi. The Multi-Directional SKRHABE010 Switch/Joystick is similarly connected to the SPI bus. - -The sensors themselves operate (mostly) 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. - -Environemental 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. \ No newline at end of file diff --git a/src/fr/overlay/skywriter-hat.md b/src/fr/overlay/skywriter-hat.md index aafb962..e4078a2 100644 --- a/src/fr/overlay/skywriter-hat.md +++ b/src/fr/overlay/skywriter-hat.md @@ -1,21 +1,17 @@ #Skywriter HAT @@ -35,5 +35,5 @@ En analysant ces données dans le temps il est aussi possible de reconnaître to Pour l'installation et mise en route exécutez simplement les commandes ci-dessous et suivez les instructions présentées à l'écran: ```bash -curl -sS get.pimoroni.com/skywriter | bash +curl -sS https://get.pimoroni.com/skywriter | bash ``` diff --git a/src/fr/overlay/spi.md b/src/fr/overlay/spi.md deleted file mode 100644 index 5d1eaac..0000000 --- a/src/fr/overlay/spi.md +++ /dev/null @@ -1,69 +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'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 4a6060f..45690fe 100644 --- a/src/fr/overlay/traffic-hat.md +++ b/src/fr/overlay/traffic-hat.md @@ -1,11 +1,16 @@ #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 @@ -48,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 c7fe5e5..0000000 --- a/src/fr/overlay/uart.md +++ /dev/null @@ -1,33 +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 c11335b..296ed30 100644 --- a/src/fr/overlay/unicorn-hat.md +++ b/src/fr/overlay/unicorn-hat.md @@ -1,21 +1,21 @@ +# 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/4tronix-pistop.md b/src/fr/translate/4tronix-pistop.md new file mode 100644 index 0000000..0cd15d2 --- /dev/null +++ b/src/fr/translate/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/src/fr/translate/4tronix-robohat.md b/src/fr/translate/4tronix-robohat.md new file mode 100644 index 0000000..6665d3f --- /dev/null +++ b/src/fr/translate/4tronix-robohat.md @@ -0,0 +1,79 @@ + +# 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/src/fr/translate/ab-io-pi-plus.md b/src/fr/translate/ab-io-pi-plus.md new file mode 100644 index 0000000..8b5a685 --- /dev/null +++ b/src/fr/translate/ab-io-pi-plus.md @@ -0,0 +1,60 @@ + +#IO Pi Plus + +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. + +##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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. 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..d5720ed --- /dev/null +++ b/src/fr/translate/ab-io-pi-zero.md @@ -0,0 +1,57 @@ + +#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. diff --git a/src/fr/translate/ab-rs485-pi.md b/src/fr/translate/ab-rs485-pi.md new file mode 100644 index 0000000..b0f45c2 --- /dev/null +++ b/src/fr/translate/ab-rs485-pi.md @@ -0,0 +1,49 @@ + +#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) diff --git a/src/fr/translate/ab-rtc-pi-plus.md b/src/fr/translate/ab-rtc-pi-plus.md new file mode 100644 index 0000000..a34cf01 --- /dev/null +++ b/src/fr/translate/ab-rtc-pi-plus.md @@ -0,0 +1,46 @@ + +#RTC Pi Plus + +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. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. diff --git a/src/fr/translate/ab-serial-pi-plus.md b/src/fr/translate/ab-serial-pi-plus.md new file mode 100644 index 0000000..327e626 --- /dev/null +++ b/src/fr/translate/ab-serial-pi-plus.md @@ -0,0 +1,45 @@ + +#Serial Pi Plus + +The Serial Pi Plus is a UART to RS232 serial converter for the Raspberry Pi. + +The RS232 port is connected to the UART port on the Raspberry Pi using a MAX3232 interface. The MAX3232 IC converts the 3.3V UART port to RS232 voltages allowing communication with RS232 compatible devices over a DB9 serial cable or with the use of a null-modem cable the board allows terminal access with linux on the Raspberry Pi using a terminal application. The RS232 port can be accessed through the DB9 port or the solder points on the PCB. + +##Features + +- RS232 Master Port. +- Control the Raspberry Pi over RS232 or connect to external serial accessories. +- Stackable with other Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 and Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) 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..b16af78 --- /dev/null +++ b/src/fr/translate/ab-serial-pi-zero.md @@ -0,0 +1,45 @@ + +#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) 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..6e60410 --- /dev/null +++ b/src/fr/translate/ab-servo-pwm-pi-zero.md @@ -0,0 +1,45 @@ + +#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. diff --git a/src/fr/translate/adafruit-cap-mpr121.md b/src/fr/translate/adafruit-cap-mpr121.md new file mode 100644 index 0000000..c1cf7b3 --- /dev/null +++ b/src/fr/translate/adafruit-cap-mpr121.md @@ -0,0 +1,67 @@ + +# 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. + +## 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-pitft-35-plus.md b/src/fr/translate/adafruit-pitft-35-plus.md new file mode 100644 index 0000000..79fad38 --- /dev/null +++ b/src/fr/translate/adafruit-pitft-35-plus.md @@ -0,0 +1,57 @@ + +#PiTFT Plus 3.5" + +The PiTFT+ features a 3.5" display with 480x320 16-bit color pixels and a resistive touch overlay and is engineered specifically to work with the Raspberry Pi 3, 2 and the Model A+/B+. + +The display uses the hardware SPI pins as well as GPIO #25 and #24. GPIO #18 can be used to PWM dim the backlight. A 2x13 'classic' GPIO header on the bottom, with additional GPIO pins broken out into solder pads, allows you to use more of the GPIO. + +The PiTFT+ can be used as a display for running the X interface, or the console. You can also have an HDMI display separately connected to complement the setup, keeping in mind that there can only be one X session running (so you'll need to choose where X should be output, on the HDMI or the PiTFT+). diff --git a/src/fr/translate/adafruit-servo-hat.md b/src/fr/translate/adafruit-servo-hat.md new file mode 100644 index 0000000..b978229 --- /dev/null +++ b/src/fr/translate/adafruit-servo-hat.md @@ -0,0 +1,49 @@ + +#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! diff --git a/src/fr/translate/analog-zero.md b/src/fr/translate/analog-zero.md new file mode 100644 index 0000000..2d96a04 --- /dev/null +++ b/src/fr/translate/analog-zero.md @@ -0,0 +1,72 @@ + +#Analog Zero + +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: + +* 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 + +## 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..8b588f0 --- /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 https://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 new file mode 100644 index 0000000..fcafbbc --- /dev/null +++ b/src/fr/translate/blinkt.md @@ -0,0 +1,54 @@ + +# Blinkt! + +Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. + +To get started you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/blinkt | bash +``` + +## 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 new file mode 100644 index 0000000..eddfd57 --- /dev/null +++ b/src/fr/translate/carberry.md @@ -0,0 +1,53 @@ + +#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/fr/translate/cirruslogic-audio-card.md b/src/fr/translate/cirruslogic-audio-card.md new file mode 100644 index 0000000..5a3498e --- /dev/null +++ b/src/fr/translate/cirruslogic-audio-card.md @@ -0,0 +1,92 @@ + +#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/fr/translate/discohat.md b/src/fr/translate/discohat.md new file mode 100644 index 0000000..374b52b --- /dev/null +++ b/src/fr/translate/discohat.md @@ -0,0 +1,99 @@ + +#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/fr/translate/drum-hat.md b/src/fr/translate/drum-hat.md new file mode 100644 index 0000000..f26cf2e --- /dev/null +++ b/src/fr/translate/drum-hat.md @@ -0,0 +1,50 @@ + +#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 https://get.pimoroni.com/drumhat | bash +``` + +And follow the instructions! diff --git a/src/fr/translate/enviro-phat.md b/src/fr/translate/enviro-phat.md new file mode 100644 index 0000000..af843db --- /dev/null +++ b/src/fr/translate/enviro-phat.md @@ -0,0 +1,71 @@ + +#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 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: + +```bash +curl -sS https://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/fr/translate/espiot-phat.md b/src/fr/translate/espiot-phat.md new file mode 100644 index 0000000..225dabd --- /dev/null +++ b/src/fr/translate/espiot-phat.md @@ -0,0 +1,49 @@ + +#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 https://get.pimoroni.com/iotphat | bash +``` diff --git a/src/pt/overlay/explorer-hat-pro.md b/src/fr/translate/explorer-phat.md similarity index 58% rename from src/pt/overlay/explorer-hat-pro.md rename to src/fr/translate/explorer-phat.md index 40b07f2..7f4d945 100644 --- a/src/pt/overlay/explorer-hat-pro.md +++ b/src/fr/translate/explorer-phat.md @@ -1,33 +1,34 @@ -#Explorer HAT Pro +#Explorer pHAT -5V inputs and outputs, touch pads, LEDs, analog inputs and an H-Bridge motor driver make up the Explorer HAT Pro; a jack of all trades prototyping side-kick for your Raspberry Pi. +5V inputs and outputs, 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 HAT set up and ready to go you can use the one-line product installer: +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 +curl -sS https://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/fr/translate/icubex-pishield.md b/src/fr/translate/icubex-pishield.md new file mode 100644 index 0000000..fe74bdb --- /dev/null +++ b/src/fr/translate/icubex-pishield.md @@ -0,0 +1,46 @@ + +# PiShield + +The I-CubeX PiShield is a 5V sensor interface board that supports 8 channels of 10-bit ADC input via SPI as well as providing landings for 5V I2C devices. Level conversion to/from 5V is provided for both analog as well as digital sensors. + +Features: + +- Designed for [I-CubeX Sensors](http://infusionsystems.com/catalog/index.php/cPath/24), but works with any 5V analog sensor via a standard 3-pin header (VCC, SIG, GND) +- ADC performed using MCP3008 chip, and works with existing libraries and applications (including wiringPi) +- Supports up to 8 analog sensors via 3-pin headers, and 4 digital sensors via 2x3-pin headers +- Enough header protrusion to allow another 26 pin header to be stacked on top diff --git a/src/fr/translate/iface-1wire.md b/src/fr/translate/iface-1wire.md new file mode 100644 index 0000000..c3c7644 --- /dev/null +++ b/src/fr/translate/iface-1wire.md @@ -0,0 +1,30 @@ + +# W1-GPIO - One-Wire Interface + +To enable the one-wire interface you need to add the following line to /boot/config.txt, before 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/fr/translate/iface-dpi.md b/src/fr/translate/iface-dpi.md new file mode 100644 index 0000000..e78c5d2 --- /dev/null +++ b/src/fr/translate/iface-dpi.md @@ -0,0 +1,58 @@ + +#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/fr/translate/iface-gpclk.md b/src/fr/translate/iface-gpclk.md new file mode 100644 index 0000000..52eb5e6 --- /dev/null +++ b/src/fr/translate/iface-gpclk.md @@ -0,0 +1,31 @@ + +#GPCLK - General Purpose CLock + +General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. + +The following clock sources are available: + +``` +0 0 Hz Ground +1 19.2 MHz oscillator +2 0 Hz testdebug0 +3 0 Hz testdebug1 +4 0 Hz PLLA +5 1000 MHz PLLC (changes with overclock settings) +6 500 MHz PLLD +7 216 MHz HDMI auxiliary +8-15 0 Hz Ground +``` \ No newline at end of file diff --git a/src/fr/translate/iface-jtag.md b/src/fr/translate/iface-jtag.md new file mode 100644 index 0000000..073071d --- /dev/null +++ b/src/fr/translate/iface-jtag.md @@ -0,0 +1,33 @@ + +#JTAG - Joint Test Action Group + +JTAG is a standardised interface for debugging integrated circuits which you can use to debug your Raspberry Pi. \ No newline at end of file diff --git a/src/fr/translate/iface-pcm.md b/src/fr/translate/iface-pcm.md new file mode 100644 index 0000000..9c2636c --- /dev/null +++ b/src/fr/translate/iface-pcm.md @@ -0,0 +1,19 @@ + +#PCM - Pulse-code Modulation + +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file diff --git a/src/fr/translate/iface-sd.md b/src/fr/translate/iface-sd.md new file mode 100644 index 0000000..eca159c --- /dev/null +++ b/src/fr/translate/iface-sd.md @@ -0,0 +1,25 @@ + +#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/fr/translate/iqaudio-pi-digiamp.md b/src/fr/translate/iqaudio-pi-digiamp.md new file mode 100644 index 0000000..14b75f3 --- /dev/null +++ b/src/fr/translate/iqaudio-pi-digiamp.md @@ -0,0 +1,59 @@ + +#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. diff --git a/src/fr/translate/microdot-phat.md b/src/fr/translate/microdot-phat.md new file mode 100644 index 0000000..3928940 --- /dev/null +++ b/src/fr/translate/microdot-phat.md @@ -0,0 +1,52 @@ + +#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 https://get.pimoroni.com/microdotphat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import microdotphat +``` diff --git a/src/fr/translate/mote-phat.md b/src/fr/translate/mote-phat.md new file mode 100644 index 0000000..ae55b1a --- /dev/null +++ b/src/fr/translate/mote-phat.md @@ -0,0 +1,61 @@ + + +# Mote pHAT + +Sports four Mote channels with microUSB connectors that can drive up to 64 RGB LEDs using four 16 pixel Mote strips. + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/motephat | bash +``` diff --git a/src/fr/translate/pantilt-hat.md b/src/fr/translate/pantilt-hat.md new file mode 100644 index 0000000..b609b0c --- /dev/null +++ b/src/fr/translate/pantilt-hat.md @@ -0,0 +1,53 @@ + +#Pan Tilt HAT + +Pan Tilt HAT is a two-channel servo driver designed to control a tiny servo-powered Pan/Tilt assembly. It also controls either PWM-dimmed lights or WS2812 pixels; up to 24 RGB or 18 RGBW. + +Pan Tilt HAT uses a PIC16F1503 with custom firmware, and talks over i2c. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/pantilthat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import pantilthat +``` diff --git a/src/fr/translate/phat-dac.md b/src/fr/translate/phat-dac.md new file mode 100644 index 0000000..cddbf9e --- /dev/null +++ b/src/fr/translate/phat-dac.md @@ -0,0 +1,45 @@ + +#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 https://get.pimoroni.com/phatdac | bash +``` diff --git a/src/fr/translate/pi-liter.md b/src/fr/translate/pi-liter.md new file mode 100644 index 0000000..9bfb9f7 --- /dev/null +++ b/src/fr/translate/pi-liter.md @@ -0,0 +1,85 @@ + +#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 + +## 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 new file mode 100644 index 0000000..b719c7e --- /dev/null +++ b/src/fr/translate/propeller-hat.md @@ -0,0 +1,46 @@ + +#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. diff --git a/src/fr/translate/raspio-duino.md b/src/fr/translate/raspio-duino.md new file mode 100644 index 0000000..9b175ee --- /dev/null +++ b/src/fr/translate/raspio-duino.md @@ -0,0 +1,44 @@ + +#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/fr/translate/redbear-iot-hat.md b/src/fr/translate/redbear-iot-hat.md new file mode 100644 index 0000000..c642bf6 --- /dev/null +++ b/src/fr/translate/redbear-iot-hat.md @@ -0,0 +1,64 @@ + +#IoT pHAT + +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). + +* 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/fr/translate/scroll-phat.md b/src/fr/translate/scroll-phat.md new file mode 100644 index 0000000..414b7bb --- /dev/null +++ b/src/fr/translate/scroll-phat.md @@ -0,0 +1,60 @@ + +#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 https://get.pimoroni.com/scrollphat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import scrollphat +``` diff --git a/src/fr/translate/sense-hat.md b/src/fr/translate/sense-hat.md new file mode 100644 index 0000000..63de291 --- /dev/null +++ b/src/fr/translate/sense-hat.md @@ -0,0 +1,63 @@ + +#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 (Accelerometer and Magnetometer) through a LSM9DS1 found at i2c address 0x1c(0x1e) and 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/Temperature sensor at 0x5f on the i2c bus. diff --git a/src/pt/overlay/spi.md b/src/fr/translate/spi.md similarity index 62% rename from src/pt/overlay/spi.md rename to src/fr/translate/spi.md index 46062da..96a6ac2 100644 --- a/src/pt/overlay/spi.md +++ b/src/fr/translate/spi.md @@ -1,9 +1,10 @@ #SPI - Serial Peripheral Interface +--- +###SPI0 pins in BCM mode are: 9, 10, 11 + 7/8 +###SPI0 pins in WiringPi are: 12, 13, 14 + 10/11 +--- +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. -###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. - -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. +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 ). You can also use the SPI port to "Bit-Bang" an ATmega 328, loading Arduino sketches onto it with Gordon Hendersons' modified version of AVRDude. 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'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. diff --git a/src/fr/translate/uart.md b/src/fr/translate/uart.md new file mode 100644 index 0000000..acb2a19 --- /dev/null +++ b/src/fr/translate/uart.md @@ -0,0 +1,39 @@ + +#UART - Universal Asynchronous Receiver/Transmitter +--- +###UART pins in BCM mode are: 14, 15 +###UART pins in WiringPi are: 15, 16 +--- +UART is an asynchronous serial communication protocol, meaning that it takes bytes of data and transmits the individual bits in a sequential fashion. + +Asynchronous transmission allows data to be transmitted without the sender having to send a clock signal to the receiver. Instead, the sender and receiver agree on timing parameters in advance and special bits called 'start bits' are added to each word and used to synchronize the sending and receiving units. + +UART is commonly used on the Pi as a convenient way to control it over the GPIO, or access the kernel boot messages from the serial console (enabled by default). + +It can also be used as a way to interface an Arduino, bootloaded ATmega, ESP8266, etc with your Pi. Be careful with logic-levels between the devices though, for example the Pi is 3.3v and the Arduino is 5v. Connect the two and you might conjure up some magic blue smoke. + +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!') +``` diff --git a/src/fr/translate/unicorn-phat.md b/src/fr/translate/unicorn-phat.md new file mode 100644 index 0000000..92eb260 --- /dev/null +++ b/src/fr/translate/unicorn-phat.md @@ -0,0 +1,61 @@ + +#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 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: + +```bash +curl -sS https://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/fr/translate/uugear-7port-usb-hub.md b/src/fr/translate/uugear-7port-usb-hub.md new file mode 100644 index 0000000..b52a4a7 --- /dev/null +++ b/src/fr/translate/uugear-7port-usb-hub.md @@ -0,0 +1,27 @@ + +#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/fr/translate/uugear-witty-pi-2.md b/src/fr/translate/uugear-witty-pi-2.md new file mode 100644 index 0000000..d7339b4 --- /dev/null +++ b/src/fr/translate/uugear-witty-pi-2.md @@ -0,0 +1,66 @@ + +# 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/fr/translate/uugear-witty-pi.md b/src/fr/translate/uugear-witty-pi.md new file mode 100644 index 0000000..7923089 --- /dev/null +++ b/src/fr/translate/uugear-witty-pi.md @@ -0,0 +1,64 @@ + +#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/fr/translate/uugear-zero4u.md b/src/fr/translate/uugear-zero4u.md new file mode 100644 index 0000000..e5c945c --- /dev/null +++ b/src/fr/translate/uugear-zero4u.md @@ -0,0 +1,23 @@ + +#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/fr/translate/wifi-pants.md b/src/fr/translate/wifi-pants.md new file mode 100644 index 0000000..4b242a8 --- /dev/null +++ b/src/fr/translate/wifi-pants.md @@ -0,0 +1,56 @@ + +#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/fr/translate/zero-lipo.md b/src/fr/translate/zero-lipo.md new file mode 100644 index 0000000..9b277c9 --- /dev/null +++ b/src/fr/translate/zero-lipo.md @@ -0,0 +1,40 @@ + +#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/it/overlay/arduino-spi.md b/src/it/overlay/arduino-spi.md deleted file mode 100644 index 0e1cb73..0000000 --- a/src/it/overlay/arduino-spi.md +++ /dev/null @@ -1,57 +0,0 @@ - -#ATmega 328p / Arduino via SPI - -###Sapevi che il tuo Raspberry può alimentare e programmare un ATmega 328p/Arduino direttamente, soltanto con pochi cavi, una breadboard, un oscillatore a 16Mhz ed alcuni condensatori da 22pF? - -Leggi il mio [tutorial completo a Pico PiDuino](http://pi.gadgetoid.com/article/building-the-pico-piduino) per imparare le basi con poco più di 5£. - -Dovrai installare l'[AVRDude modificato di Gordon](https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/). - -Collega 8/CEO al pin Reset/RST dell'ATmega, il 9/MISO al pin MISO (D12), il 10 al pin MOSI (D11) e 11/SCLK al pin SCLK (D13). - -Alimenta l'ATmega con i 3.3v e la massa (pin GND) del tuo Raspberry, e sei pronto a procedere. - -Assicurati di non avere alcun malefico driver SPI in esecuzione e controlla che sia collegato correttamente con: - -```bash -avrdude -p m328p -c gpio -``` - -Per fare i primi tentativi con la compilazione per Arduino, lancia da un terminale: - -```bash -sudo apt-get install arduino arduino-mk -``` - -Questo Makefile essenziale dovrebbe darti le basi. Per creare un semplice progetto, dagli nome mysketch.ino e lancia: - -```bash -export BOARD=atmega328 -make -avrdude -p m328p -c gpio -e -U flash:w:build-cli/Arduino.hex -``` diff --git a/src/it/overlay/display-o-tron-hat.md b/src/it/overlay/display-o-tron-hat.md index b5911cc..57141ba 100644 --- a/src/it/overlay/display-o-tron-hat.md +++ b/src/it/overlay/display-o-tron-hat.md @@ -1,10 +1,22 @@ #Explorer HAT Pro @@ -104,7 +96,7 @@ Input ed output a 5V, touch pad, LED, input analogici e un motore H-Bridge sono Per preparare e impostare il modulo puoi utilizzare l'installer fornito: ```bash -curl -sS get.pimoroni.com/explorerhat | bash +curl -sS https://get.pimoroni.com/explorerhat | bash ``` Importalo poi nel tuo script Python e inizia a smanettare: diff --git a/src/it/overlay/explorer-hat.md b/src/it/overlay/explorer-hat.md index 14a9106..9727b18 100644 --- a/src/it/overlay/explorer-hat.md +++ b/src/it/overlay/explorer-hat.md @@ -1,29 +1,17 @@ #Explorer HAT @@ -81,7 +73,7 @@ Input ed output a 5V, touch pad, LED sono le caratteristiche dell'Explorer HAT P Per preparare e impostare il modulo puoi utilizzare l'installer fornito: ```bash -curl -sS get.pimoroni.com/explorerhat | bash +curl -sS https://get.pimoroni.com/explorerhat | bash ``` Importalo poi nel tuo script Python e inizia a smanettare: diff --git a/src/it/overlay/ground.md b/src/it/overlay/ground.md index 21900e3..7c59604 100644 --- a/src/it/overlay/ground.md +++ b/src/it/overlay/ground.md @@ -1,6 +1,8 @@ #Piano HAT @@ -42,7 +47,7 @@ Utilizza due Microchip CAP1188 con indirizzi i2c 0x28 e 0x2b. Per preparare e impostare l'HAT puoi utilizzare l'installer fornito: ```bash -curl -sS get.pimoroni.com/pianohat | bash +curl -sS https://get.pimoroni.com/pianohat | bash ``` …e seguire le istruzioni! diff --git a/src/it/overlay/piborg-ledborg.md b/src/it/overlay/piborg-ledborg.md index 8c9042b..5526a4a 100644 --- a/src/it/overlay/piborg-ledborg.md +++ b/src/it/overlay/piborg-ledborg.md @@ -1,11 +1,16 @@ -###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/pibrella.md b/src/it/overlay/pibrella.md index 2f0437c..a3e2594 100644 --- a/src/it/overlay/pibrella.md +++ b/src/it/overlay/pibrella.md @@ -1,10 +1,17 @@ -#PiGlow - -Semplicemente 18 LED disposti a spirale, controllati in Python. \ No newline at end of file diff --git a/src/it/overlay/dots.md b/src/it/overlay/rpf-dots.md similarity index 93% rename from src/it/overlay/dots.md rename to src/it/overlay/rpf-dots.md index e41df41..e2b57e2 100644 --- a/src/it/overlay/dots.md +++ b/src/it/overlay/rpf-dots.md @@ -1,11 +1,17 @@ -#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/sense-hat.md b/src/it/overlay/sense-hat.md deleted file mode 100644 index 8033272..0000000 --- a/src/it/overlay/sense-hat.md +++ /dev/null @@ -1,47 +0,0 @@ - -#Sense HAT - -Il Sense HAT è una scheda add-on per il Raspberry Pi che comprende una matrice 8×8 LED RGB, un joystick a 5 bottoni e i -seguenti sensori: - -Giroscopio, Accelerometro, Magnetometro, Temperatura, Pressione barometrica e Umidità. - -Lo shift register che controlla la matrice LED è un LED2472G, collegato tramite un ATTINY88 al bus SPI del Raspberry. -Il Joystick/Switch multidirezionale SKRHABE010 è anch'esso connesso al bus SPI. - -Di per sé, i sensori operano (prevalentemente) sul bus I2C; gli IMU (Giroscopio, Accelerometro, Magnetometro) operano tramite un LSM9DS1 collocato all'indirizzo i2c 0x1c(0x1e), 0x6a(0x6b), con interrupts sul ATTINY88. - -I sensori ambientali sono implementati da un sensore LPS25H (pressione e temperatura) all'indirizzo 0x5c e da un sensore HTS221 (umidità e temperatura) all'indirizzo 0x5f sul bus I2C. \ No newline at end of file diff --git a/src/it/overlay/skywriter-hat.md b/src/it/overlay/skywriter-hat.md index b718ab3..3353ed1 100644 --- a/src/it/overlay/skywriter-hat.md +++ b/src/it/overlay/skywriter-hat.md @@ -1,21 +1,17 @@ #Skywriter HAT @@ -36,7 +36,7 @@ che puoi usare nei tuoi script Python. Per preparare e impostare l'HAT puoi utilizzare l'installer fornito: ```bash -curl -sS get.pimoroni.com/skywriter | bash +curl -sS https://get.pimoroni.com/skywriter | bash ``` …e seguire le istruzioni! diff --git a/src/it/overlay/spi.md b/src/it/overlay/spi.md index ac7a155..c4debc5 100644 --- a/src/it/overlay/spi.md +++ b/src/it/overlay/spi.md @@ -1,7 +1,10 @@ #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: ```bash -curl -sS get.pimoroni.com/unicornhat | bash +curl -sS https://get.pimoroni.com/unicornhat | bash ``` Importalo poi nel tuo script Python e inizia a smanettare: diff --git a/src/it/overlay/wiringpi.md b/src/it/overlay/wiringpi.md index 9e24889..b26dd73 100644 --- a/src/it/overlay/wiringpi.md +++ b/src/it/overlay/wiringpi.md @@ -1,9 +1,11 @@ +#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/4tronix-pistop.md b/src/it/translate/4tronix-pistop.md new file mode 100644 index 0000000..0cd15d2 --- /dev/null +++ b/src/it/translate/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/src/it/translate/4tronix-robohat.md b/src/it/translate/4tronix-robohat.md new file mode 100644 index 0000000..6665d3f --- /dev/null +++ b/src/it/translate/4tronix-robohat.md @@ -0,0 +1,79 @@ + +# 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/src/it/translate/ab-1-wire-plus.md b/src/it/translate/ab-1-wire-plus.md new file mode 100644 index 0000000..cea3a39 --- /dev/null +++ b/src/it/translate/ab-1-wire-plus.md @@ -0,0 +1,46 @@ + +#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 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. + +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") 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..4d9f405 --- /dev/null +++ b/src/it/translate/ab-1-wire-zero.md @@ -0,0 +1,46 @@ + +#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") diff --git a/src/it/translate/ab-adc-differential-pi.md b/src/it/translate/ab-adc-differential-pi.md new file mode 100644 index 0000000..f3c35a5 --- /dev/null +++ b/src/it/translate/ab-adc-differential-pi.md @@ -0,0 +1,63 @@ + +#ADC Differential Pi + +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 + +- 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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries available on GitHub. diff --git a/src/it/translate/ab-adc-pi-plus.md b/src/it/translate/ab-adc-pi-plus.md new file mode 100644 index 0000000..8c29680 --- /dev/null +++ b/src/it/translate/ab-adc-pi-plus.md @@ -0,0 +1,63 @@ + +#ADC Pi Plus + +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 + +- 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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. diff --git a/src/it/translate/ab-adc-pi-zero.md b/src/it/translate/ab-adc-pi-zero.md new file mode 100644 index 0000000..8e52e5f --- /dev/null +++ b/src/it/translate/ab-adc-pi-zero.md @@ -0,0 +1,61 @@ + +#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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. 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..9713201 --- /dev/null +++ b/src/it/translate/ab-adcdac-pi-zero.md @@ -0,0 +1,52 @@ + +#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. diff --git a/src/it/translate/ab-io-pi-plus.md b/src/it/translate/ab-io-pi-plus.md new file mode 100644 index 0000000..8b5a685 --- /dev/null +++ b/src/it/translate/ab-io-pi-plus.md @@ -0,0 +1,60 @@ + +#IO Pi Plus + +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. + +##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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. 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..d5720ed --- /dev/null +++ b/src/it/translate/ab-io-pi-zero.md @@ -0,0 +1,57 @@ + +#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. diff --git a/src/it/translate/ab-rs485-pi.md b/src/it/translate/ab-rs485-pi.md new file mode 100644 index 0000000..b0f45c2 --- /dev/null +++ b/src/it/translate/ab-rs485-pi.md @@ -0,0 +1,49 @@ + +#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) diff --git a/src/it/translate/ab-rtc-pi-plus.md b/src/it/translate/ab-rtc-pi-plus.md new file mode 100644 index 0000000..a34cf01 --- /dev/null +++ b/src/it/translate/ab-rtc-pi-plus.md @@ -0,0 +1,46 @@ + +#RTC Pi Plus + +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. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. 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..b224364 --- /dev/null +++ b/src/it/translate/ab-rtc-pi-zero.md @@ -0,0 +1,46 @@ + +#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. diff --git a/src/it/translate/ab-serial-pi-plus.md b/src/it/translate/ab-serial-pi-plus.md new file mode 100644 index 0000000..327e626 --- /dev/null +++ b/src/it/translate/ab-serial-pi-plus.md @@ -0,0 +1,45 @@ + +#Serial Pi Plus + +The Serial Pi Plus is a UART to RS232 serial converter for the Raspberry Pi. + +The RS232 port is connected to the UART port on the Raspberry Pi using a MAX3232 interface. The MAX3232 IC converts the 3.3V UART port to RS232 voltages allowing communication with RS232 compatible devices over a DB9 serial cable or with the use of a null-modem cable the board allows terminal access with linux on the Raspberry Pi using a terminal application. The RS232 port can be accessed through the DB9 port or the solder points on the PCB. + +##Features + +- RS232 Master Port. +- Control the Raspberry Pi over RS232 or connect to external serial accessories. +- Stackable with other Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 and Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) 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..b16af78 --- /dev/null +++ b/src/it/translate/ab-serial-pi-zero.md @@ -0,0 +1,45 @@ + +#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) 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..6e60410 --- /dev/null +++ b/src/it/translate/ab-servo-pwm-pi-zero.md @@ -0,0 +1,45 @@ + +#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. diff --git a/src/it/translate/adafruit-cap-mpr121.md b/src/it/translate/adafruit-cap-mpr121.md new file mode 100644 index 0000000..c1cf7b3 --- /dev/null +++ b/src/it/translate/adafruit-cap-mpr121.md @@ -0,0 +1,67 @@ + +# 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. + +## 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-pitft-35-plus.md b/src/it/translate/adafruit-pitft-35-plus.md new file mode 100644 index 0000000..79fad38 --- /dev/null +++ b/src/it/translate/adafruit-pitft-35-plus.md @@ -0,0 +1,57 @@ + +#PiTFT Plus 3.5" + +The PiTFT+ features a 3.5" display with 480x320 16-bit color pixels and a resistive touch overlay and is engineered specifically to work with the Raspberry Pi 3, 2 and the Model A+/B+. + +The display uses the hardware SPI pins as well as GPIO #25 and #24. GPIO #18 can be used to PWM dim the backlight. A 2x13 'classic' GPIO header on the bottom, with additional GPIO pins broken out into solder pads, allows you to use more of the GPIO. + +The PiTFT+ can be used as a display for running the X interface, or the console. You can also have an HDMI display separately connected to complement the setup, keeping in mind that there can only be one X session running (so you'll need to choose where X should be output, on the HDMI or the PiTFT+). diff --git a/src/it/translate/adafruit-servo-hat.md b/src/it/translate/adafruit-servo-hat.md new file mode 100644 index 0000000..b978229 --- /dev/null +++ b/src/it/translate/adafruit-servo-hat.md @@ -0,0 +1,49 @@ + +#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! diff --git a/src/it/translate/analog-zero.md b/src/it/translate/analog-zero.md new file mode 100644 index 0000000..2d96a04 --- /dev/null +++ b/src/it/translate/analog-zero.md @@ -0,0 +1,72 @@ + +#Analog Zero + +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: + +* 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 + +## 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..8b588f0 --- /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 https://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 new file mode 100644 index 0000000..fcafbbc --- /dev/null +++ b/src/it/translate/blinkt.md @@ -0,0 +1,54 @@ + +# Blinkt! + +Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. + +To get started you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/blinkt | bash +``` + +## 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 new file mode 100644 index 0000000..eddfd57 --- /dev/null +++ b/src/it/translate/carberry.md @@ -0,0 +1,53 @@ + +#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/it/translate/cirruslogic-audio-card.md b/src/it/translate/cirruslogic-audio-card.md new file mode 100644 index 0000000..5a3498e --- /dev/null +++ b/src/it/translate/cirruslogic-audio-card.md @@ -0,0 +1,92 @@ + +#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/it/translate/discohat.md b/src/it/translate/discohat.md new file mode 100644 index 0000000..374b52b --- /dev/null +++ b/src/it/translate/discohat.md @@ -0,0 +1,99 @@ + +#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/it/translate/drum-hat.md b/src/it/translate/drum-hat.md new file mode 100644 index 0000000..f26cf2e --- /dev/null +++ b/src/it/translate/drum-hat.md @@ -0,0 +1,50 @@ + +#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 https://get.pimoroni.com/drumhat | bash +``` + +And follow the instructions! diff --git a/src/it/translate/enviro-phat.md b/src/it/translate/enviro-phat.md new file mode 100644 index 0000000..af843db --- /dev/null +++ b/src/it/translate/enviro-phat.md @@ -0,0 +1,71 @@ + +#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 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: + +```bash +curl -sS https://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/it/translate/espiot-phat.md b/src/it/translate/espiot-phat.md new file mode 100644 index 0000000..225dabd --- /dev/null +++ b/src/it/translate/espiot-phat.md @@ -0,0 +1,49 @@ + +#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 https://get.pimoroni.com/iotphat | bash +``` diff --git a/src/pt/overlay/explorer-hat.md b/src/it/translate/explorer-phat.md similarity index 52% rename from src/pt/overlay/explorer-hat.md rename to src/it/translate/explorer-phat.md index 14a67e0..7f4d945 100644 --- a/src/pt/overlay/explorer-hat.md +++ b/src/it/translate/explorer-phat.md @@ -1,29 +1,34 @@ -#Explorer HAT +#Explorer pHAT -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. +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 HAT set up and ready to go you can use the one-line product installer: +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 +curl -sS https://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/it/translate/icubex-pishield.md b/src/it/translate/icubex-pishield.md new file mode 100644 index 0000000..fe74bdb --- /dev/null +++ b/src/it/translate/icubex-pishield.md @@ -0,0 +1,46 @@ + +# PiShield + +The I-CubeX PiShield is a 5V sensor interface board that supports 8 channels of 10-bit ADC input via SPI as well as providing landings for 5V I2C devices. Level conversion to/from 5V is provided for both analog as well as digital sensors. + +Features: + +- Designed for [I-CubeX Sensors](http://infusionsystems.com/catalog/index.php/cPath/24), but works with any 5V analog sensor via a standard 3-pin header (VCC, SIG, GND) +- ADC performed using MCP3008 chip, and works with existing libraries and applications (including wiringPi) +- Supports up to 8 analog sensors via 3-pin headers, and 4 digital sensors via 2x3-pin headers +- Enough header protrusion to allow another 26 pin header to be stacked on top diff --git a/src/it/translate/iface-1wire.md b/src/it/translate/iface-1wire.md new file mode 100644 index 0000000..c3c7644 --- /dev/null +++ b/src/it/translate/iface-1wire.md @@ -0,0 +1,30 @@ + +# W1-GPIO - One-Wire Interface + +To enable the one-wire interface you need to add the following line to /boot/config.txt, before 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/it/translate/iface-dpi.md b/src/it/translate/iface-dpi.md new file mode 100644 index 0000000..e78c5d2 --- /dev/null +++ b/src/it/translate/iface-dpi.md @@ -0,0 +1,58 @@ + +#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/it/translate/iface-gpclk.md b/src/it/translate/iface-gpclk.md new file mode 100644 index 0000000..52eb5e6 --- /dev/null +++ b/src/it/translate/iface-gpclk.md @@ -0,0 +1,31 @@ + +#GPCLK - General Purpose CLock + +General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. + +The following clock sources are available: + +``` +0 0 Hz Ground +1 19.2 MHz oscillator +2 0 Hz testdebug0 +3 0 Hz testdebug1 +4 0 Hz PLLA +5 1000 MHz PLLC (changes with overclock settings) +6 500 MHz PLLD +7 216 MHz HDMI auxiliary +8-15 0 Hz Ground +``` \ No newline at end of file diff --git a/src/it/translate/iface-jtag.md b/src/it/translate/iface-jtag.md new file mode 100644 index 0000000..073071d --- /dev/null +++ b/src/it/translate/iface-jtag.md @@ -0,0 +1,33 @@ + +#JTAG - Joint Test Action Group + +JTAG is a standardised interface for debugging integrated circuits which you can use to debug your Raspberry Pi. \ No newline at end of file diff --git a/src/it/translate/iface-pcm.md b/src/it/translate/iface-pcm.md new file mode 100644 index 0000000..9c2636c --- /dev/null +++ b/src/it/translate/iface-pcm.md @@ -0,0 +1,19 @@ + +#PCM - Pulse-code Modulation + +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file diff --git a/src/it/translate/iface-sd.md b/src/it/translate/iface-sd.md new file mode 100644 index 0000000..eca159c --- /dev/null +++ b/src/it/translate/iface-sd.md @@ -0,0 +1,25 @@ + +#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/it/translate/iqaudio-pi-digiamp.md b/src/it/translate/iqaudio-pi-digiamp.md new file mode 100644 index 0000000..14b75f3 --- /dev/null +++ b/src/it/translate/iqaudio-pi-digiamp.md @@ -0,0 +1,59 @@ + +#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. diff --git a/src/it/translate/microdot-phat.md b/src/it/translate/microdot-phat.md new file mode 100644 index 0000000..3928940 --- /dev/null +++ b/src/it/translate/microdot-phat.md @@ -0,0 +1,52 @@ + +#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 https://get.pimoroni.com/microdotphat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import microdotphat +``` diff --git a/src/it/translate/mote-phat.md b/src/it/translate/mote-phat.md new file mode 100644 index 0000000..ae55b1a --- /dev/null +++ b/src/it/translate/mote-phat.md @@ -0,0 +1,61 @@ + + +# Mote pHAT + +Sports four Mote channels with microUSB connectors that can drive up to 64 RGB LEDs using four 16 pixel Mote strips. + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/motephat | bash +``` diff --git a/src/it/translate/pantilt-hat.md b/src/it/translate/pantilt-hat.md new file mode 100644 index 0000000..b609b0c --- /dev/null +++ b/src/it/translate/pantilt-hat.md @@ -0,0 +1,53 @@ + +#Pan Tilt HAT + +Pan Tilt HAT is a two-channel servo driver designed to control a tiny servo-powered Pan/Tilt assembly. It also controls either PWM-dimmed lights or WS2812 pixels; up to 24 RGB or 18 RGBW. + +Pan Tilt HAT uses a PIC16F1503 with custom firmware, and talks over i2c. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/pantilthat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import pantilthat +``` diff --git a/src/it/translate/phat-dac.md b/src/it/translate/phat-dac.md new file mode 100644 index 0000000..cddbf9e --- /dev/null +++ b/src/it/translate/phat-dac.md @@ -0,0 +1,45 @@ + +#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 https://get.pimoroni.com/phatdac | bash +``` diff --git a/src/it/translate/pi-liter.md b/src/it/translate/pi-liter.md new file mode 100644 index 0000000..9bfb9f7 --- /dev/null +++ b/src/it/translate/pi-liter.md @@ -0,0 +1,85 @@ + +#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 + +## 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/piglow.md b/src/it/translate/piglow.md new file mode 100644 index 0000000..5df30e6 --- /dev/null +++ b/src/it/translate/piglow.md @@ -0,0 +1,39 @@ + +#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 https://get.pimoroni.com/piglow | bash +``` + +And follow the instructions! 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 new file mode 100644 index 0000000..b719c7e --- /dev/null +++ b/src/it/translate/propeller-hat.md @@ -0,0 +1,46 @@ + +#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. diff --git a/src/it/translate/raspio-duino.md b/src/it/translate/raspio-duino.md new file mode 100644 index 0000000..9b175ee --- /dev/null +++ b/src/it/translate/raspio-duino.md @@ -0,0 +1,44 @@ + +#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/it/translate/redbear-iot-hat.md b/src/it/translate/redbear-iot-hat.md new file mode 100644 index 0000000..c642bf6 --- /dev/null +++ b/src/it/translate/redbear-iot-hat.md @@ -0,0 +1,64 @@ + +#IoT pHAT + +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). + +* 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/it/translate/scroll-phat.md b/src/it/translate/scroll-phat.md new file mode 100644 index 0000000..414b7bb --- /dev/null +++ b/src/it/translate/scroll-phat.md @@ -0,0 +1,60 @@ + +#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 https://get.pimoroni.com/scrollphat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import scrollphat +``` diff --git a/src/it/translate/sense-hat.md b/src/it/translate/sense-hat.md new file mode 100644 index 0000000..63de291 --- /dev/null +++ b/src/it/translate/sense-hat.md @@ -0,0 +1,63 @@ + +#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 (Accelerometer and Magnetometer) through a LSM9DS1 found at i2c address 0x1c(0x1e) and 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/Temperature sensor at 0x5f on the i2c bus. diff --git a/src/it/translate/unicorn-phat.md b/src/it/translate/unicorn-phat.md new file mode 100644 index 0000000..92eb260 --- /dev/null +++ b/src/it/translate/unicorn-phat.md @@ -0,0 +1,61 @@ + +#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 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: + +```bash +curl -sS https://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/it/translate/uugear-7port-usb-hub.md b/src/it/translate/uugear-7port-usb-hub.md new file mode 100644 index 0000000..b52a4a7 --- /dev/null +++ b/src/it/translate/uugear-7port-usb-hub.md @@ -0,0 +1,27 @@ + +#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/it/translate/uugear-witty-pi-2.md b/src/it/translate/uugear-witty-pi-2.md new file mode 100644 index 0000000..d7339b4 --- /dev/null +++ b/src/it/translate/uugear-witty-pi-2.md @@ -0,0 +1,66 @@ + +# 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/it/translate/uugear-witty-pi.md b/src/it/translate/uugear-witty-pi.md new file mode 100644 index 0000000..7923089 --- /dev/null +++ b/src/it/translate/uugear-witty-pi.md @@ -0,0 +1,64 @@ + +#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/it/translate/uugear-zero4u.md b/src/it/translate/uugear-zero4u.md new file mode 100644 index 0000000..e5c945c --- /dev/null +++ b/src/it/translate/uugear-zero4u.md @@ -0,0 +1,23 @@ + +#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/it/translate/wifi-pants.md b/src/it/translate/wifi-pants.md new file mode 100644 index 0000000..4b242a8 --- /dev/null +++ b/src/it/translate/wifi-pants.md @@ -0,0 +1,56 @@ + +#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/it/translate/zero-lipo.md b/src/it/translate/zero-lipo.md new file mode 100644 index 0000000..9b277c9 --- /dev/null +++ b/src/it/translate/zero-lipo.md @@ -0,0 +1,40 @@ + +#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/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 a682228..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. -* 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/arduino-spi.md b/src/pt/overlay/arduino-spi.md deleted file mode 100644 index 2131735..0000000 --- a/src/pt/overlay/arduino-spi.md +++ /dev/null @@ -1,60 +0,0 @@ - -#ATmega 328p / Arduino over SPI - -###Did you know that your Pi could power and program an ATmega 328p/Arduino directly, with nothing but a few wires, a breadboard, a 16Mhz crystal oscillator and some 22pF capacitors? - -Read my [complete Pico PiDuino tutorial](http://pi.gadgetoid.com/article/building-the-pico-piduino) to get started for just over £5 - -You'll need to install [Gordon's modified AVRDude](https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/). - -Connect 8/CEO to your ATmega's Reset/RST pin, 9/MISO to its MISO pin (D12), 10 to its MOSI pin (D11) and 11/SCLK to its SCLK pin (D13). - -Power your ATmega with the 3.3v and GND pins from your Pi, and you're good to go. - -Make sure you have no rogue SPI device drivers running and check it's connected correctly using: - -```bash -avrdude -p m328p -c gpio -``` - -To get started compiling Arduino sketches from the command line: - -```bash -sudo apt-get install arduino arduino-mk -``` - -This basic Makefile should get you started. Create a basic sketch, name it mysketch.ino and run: - -```bash -export BOARD=atmega328 -make -avrdude -p m328p -c gpio -e -U flash:w:build-cli/Arduino.hex -``` diff --git a/src/pt/overlay/display-o-tron.md b/src/pt/overlay/display-o-tron.md deleted file mode 100644 index ae91b0f..0000000 --- a/src/pt/overlay/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/overlay/dots.md b/src/pt/overlay/dots.md deleted file mode 100644 index b82636d..0000000 --- a/src/pt/overlay/dots.md +++ /dev/null @@ -1,122 +0,0 @@ - -#Raspberry Pi Dots - -###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/overlay/ground.md b/src/pt/overlay/ground.md deleted file mode 100644 index ca48261..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. - -It's a good idea to use Physical Pin 17 for 3v3 and Physical Pin 25 for ground when using -the [SPI](/pinout/spi) connections, for example, 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 5c9108f..0000000 --- a/src/pt/overlay/i2c.md +++ /dev/null @@ -1,52 +0,0 @@ - -#I2C - Inter Integrated Circuit - -The Raspberry Pi's I2C pins are an extremely useful way to talk to many different types of external peripheral; from the MCP23017 digital IO expander, to a connected ATmega. - -The i2c pins include a fixed 1.8 kohms pull-up resistor to 3.3v. This means they are not suitable for use as general purpose IO where a pull-up is not required. - -You can verify the address of connected I2C peripherals with a simple one-liner: - -```bash -sudo apt-get install i2c-tools -sudo i2cdetect -y 1 -``` - -You can access i2c from Python using the smbus library: - -```bash -sudo apt-get install python-smbus -``` - -And then in Python: - -```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/piborg-ledborg.md b/src/pt/overlay/piborg-ledborg.md deleted file mode 100644 index 39df011..0000000 --- a/src/pt/overlay/piborg-ledborg.md +++ /dev/null @@ -1,54 +0,0 @@ - -###The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. - -the PiBorg Ledborg has its own driver, so you don't need to drive it manually. - -If you want a much, much wider range of colours, though, you can drive it manually using softPwm in WiringPi. The pin assignments for this are as follows: - -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/overlay/pibrella.md b/src/pt/overlay/pibrella.md deleted file mode 100644 index 0376a01..0000000 --- a/src/pt/overlay/pibrella.md +++ /dev/null @@ -1,81 +0,0 @@ - -#Pibrella - -The all-in-one light, sound, input and output add-on board from Pimoroni vs Cyntech 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/overlay/rtk-000-001.md b/src/pt/overlay/rtk-000-001.md deleted file mode 100644 index a284630..0000000 --- a/src/pt/overlay/rtk-000-001.md +++ /dev/null @@ -1,63 +0,0 @@ - -#Ryanteck 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/overlay/sense-hat.md b/src/pt/overlay/sense-hat.md deleted file mode 100644 index 80eaf21..0000000 --- a/src/pt/overlay/sense-hat.md +++ /dev/null @@ -1,31 +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/overlay/skywriter-hat.md b/src/pt/overlay/skywriter-hat.md deleted file mode 100644 index d386cc9..0000000 --- a/src/pt/overlay/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/overlay/traffic-hat.md b/src/pt/overlay/traffic-hat.md deleted file mode 100644 index 6b49dc3..0000000 --- a/src/pt/overlay/traffic-hat.md +++ /dev/null @@ -1,55 +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/overlay/uart.md b/src/pt/overlay/uart.md deleted file mode 100644 index 1b24242..0000000 --- a/src/pt/overlay/uart.md +++ /dev/null @@ -1,33 +0,0 @@ - -#UART - Universal Asynchronous Receiver/Transmitter - -###The 2 UART pins in WiringPi are: 15, 16 - -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!') -``` diff --git a/src/pt/overlay/unicorn-hat.md b/src/pt/overlay/unicorn-hat.md deleted file mode 100644 index 4b7928f..0000000 --- a/src/pt/overlay/unicorn-hat.md +++ /dev/null @@ -1,55 +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/overlay/wiringpi.md b/src/pt/overlay/wiringpi.md deleted file mode 100644 index dacb6d4..0000000 --- a/src/pt/overlay/wiringpi.md +++ /dev/null @@ -1,81 +0,0 @@ - -#Raspberry Pi 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. - -##Getting started with WiringPi - -WiringPi uses its own pin numbering scheme, here you'll learn how WiringPi numbers your GPIO pins, what those pins do and how to do shiny things with them from within Python or Ruby. - -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 40df19c..0000000 --- a/src/pt/settings.yaml +++ /dev/null @@ -1,72 +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_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' -featured: -- piano-hat -- propeller-hat -- ab-adc-pi-zero -overlays: -- ground -- uart -- i2c -- spi -- arduino-spi -- wiringpi -- cirruslogicaudiocard -- display-o-tron -- display-o-tron-hat -- discohat -- drum-hat -- espiot-phat -- explorer-hat -- explorer-hat-pro -- explorer-phat -- phat-dac -- propeller-hat -- iqaudio-pi-dac -- piano-hat -- piborg-ledborg -- pibrella -- piglow -- dots -- rtk-000-001 -- scroll-phat -- sense-hat -- skywriter-hat -- traffic-hat -- unicorn-hat -- ab-1-wire-plus -- ab-adc-differential-pi -- ab-adc-pi-plus -- ab-adc-pi-zero -- ab-io-pi-plus -- ab-rtc-pi-plus -- ab-serial-pi-plus -- iface-gpclk -- iface-dpi -- iface-pcm -- iface-sd -- iface-jtag \ No newline at end of file diff --git a/src/pt/template/layout.html b/src/pt/template/layout.html deleted file mode 100755 index ef4eb03..0000000 --- a/src/pt/template/layout.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - {{title}} - - - - - - - - {{hreflang}} - - - -
-

Raspberry Pinout

- -
-
- -
-
-
    - {{lang_links}} -
-
-
- {{content}} -
-
- -
- - - - - - - - diff --git a/src/tr/overlay/display-o-tron.md b/src/tr/overlay/display-o-tron.md index b2989e8..9217b2c 100644 --- a/src/tr/overlay/display-o-tron.md +++ b/src/tr/overlay/display-o-tron.md @@ -1,11 +1,23 @@ #Explorer HAT Pro 5V giriş ve çıkışları, dokunmatik paneli, LEDler, analog girişler ve bir H-Bridge motor ile Explorer HAT Pro, Raspberry Pi'de prototipleme için tam teşekkürlü bir araç olarak teşkil etmekte. ```bash -curl -sS get.pimoroni.com/explorerhat | bash +curl -sS https://get.pimoroni.com/explorerhat | bash ``` Ardından Python scriptinize aşağıdaki kodları ekleyip prototipinizi kurcalamaya başlayabilirsiniz: diff --git a/src/tr/overlay/explorer-hat.md b/src/tr/overlay/explorer-hat.md index fd7d5c5..6595c52 100644 --- a/src/tr/overlay/explorer-hat.md +++ b/src/tr/overlay/explorer-hat.md @@ -1,26 +1,18 @@ -#Ground (Toprak) +#Toprak Raspberry Pi'deki GND pinlerinin hepsi birbiri ile bağlantılıdır, bu yüzden hangi pine toprağı verdiğinizin bir önemi yok. diff --git a/src/tr/overlay/i2c.md b/src/tr/overlay/i2c.md index caf422e..9d08b9d 100644 --- a/src/tr/overlay/i2c.md +++ b/src/tr/overlay/i2c.md @@ -1,7 +1,10 @@ -###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/pibrella.md b/src/tr/overlay/pibrella.md index f4a5f88..c61ef44 100644 --- a/src/tr/overlay/pibrella.md +++ b/src/tr/overlay/pibrella.md @@ -1,10 +1,17 @@ -#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/skywriter-hat.md b/src/tr/overlay/skywriter-hat.md index fba154c..f203c61 100644 --- a/src/tr/overlay/skywriter-hat.md +++ b/src/tr/overlay/skywriter-hat.md @@ -1,12 +1,17 @@ #Skywriter HAT @@ -24,5 +33,5 @@ Skywriter HAT X, Y ve Z ekseninde parmağınızın pozisyonunu algılamanızı, Ayrıca kaydırma (tıpkı telefonlardaki "swipe" hareketi gibi) gibi hareketleri de algılama yeteneğine sahiptir. ```bash -curl -sS get.pimoroni.com/skywriter | bash +curl -sS https://get.pimoroni.com/skywriter | bash ``` diff --git a/src/tr/overlay/spi.md b/src/tr/overlay/spi.md index e10df57..49fa67b 100644 --- a/src/tr/overlay/spi.md +++ b/src/tr/overlay/spi.md @@ -1,7 +1,10 @@ +#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/4tronix-pistop.md b/src/tr/translate/4tronix-pistop.md new file mode 100644 index 0000000..0cd15d2 --- /dev/null +++ b/src/tr/translate/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/src/tr/translate/4tronix-robohat.md b/src/tr/translate/4tronix-robohat.md new file mode 100644 index 0000000..6665d3f --- /dev/null +++ b/src/tr/translate/4tronix-robohat.md @@ -0,0 +1,79 @@ + +# 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/src/tr/translate/ab-1-wire-plus.md b/src/tr/translate/ab-1-wire-plus.md new file mode 100644 index 0000000..cea3a39 --- /dev/null +++ b/src/tr/translate/ab-1-wire-plus.md @@ -0,0 +1,46 @@ + +#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 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. + +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") 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..4d9f405 --- /dev/null +++ b/src/tr/translate/ab-1-wire-zero.md @@ -0,0 +1,46 @@ + +#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") diff --git a/src/tr/translate/ab-adc-differential-pi.md b/src/tr/translate/ab-adc-differential-pi.md new file mode 100644 index 0000000..f3c35a5 --- /dev/null +++ b/src/tr/translate/ab-adc-differential-pi.md @@ -0,0 +1,63 @@ + +#ADC Differential Pi + +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 + +- 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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries available on GitHub. diff --git a/src/tr/translate/ab-adc-pi-plus.md b/src/tr/translate/ab-adc-pi-plus.md new file mode 100644 index 0000000..8c29680 --- /dev/null +++ b/src/tr/translate/ab-adc-pi-plus.md @@ -0,0 +1,63 @@ + +#ADC Pi Plus + +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 + +- 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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. diff --git a/src/tr/translate/ab-adc-pi-zero.md b/src/tr/translate/ab-adc-pi-zero.md new file mode 100644 index 0000000..8e52e5f --- /dev/null +++ b/src/tr/translate/ab-adc-pi-zero.md @@ -0,0 +1,61 @@ + +#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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. 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..9713201 --- /dev/null +++ b/src/tr/translate/ab-adcdac-pi-zero.md @@ -0,0 +1,52 @@ + +#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. diff --git a/src/tr/translate/ab-io-pi-plus.md b/src/tr/translate/ab-io-pi-plus.md new file mode 100644 index 0000000..8b5a685 --- /dev/null +++ b/src/tr/translate/ab-io-pi-plus.md @@ -0,0 +1,60 @@ + +#IO Pi Plus + +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. + +##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, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. 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..d5720ed --- /dev/null +++ b/src/tr/translate/ab-io-pi-zero.md @@ -0,0 +1,57 @@ + +#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. diff --git a/src/tr/translate/ab-rs485-pi.md b/src/tr/translate/ab-rs485-pi.md new file mode 100644 index 0000000..b0f45c2 --- /dev/null +++ b/src/tr/translate/ab-rs485-pi.md @@ -0,0 +1,49 @@ + +#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) diff --git a/src/tr/translate/ab-rtc-pi-plus.md b/src/tr/translate/ab-rtc-pi-plus.md new file mode 100644 index 0000000..a34cf01 --- /dev/null +++ b/src/tr/translate/ab-rtc-pi-plus.md @@ -0,0 +1,46 @@ + +#RTC Pi Plus + +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. + +Arduino, C, Node.js, Windows 10 IOT, Python 2 and Python 3 libraries are available on GitHub. 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..b224364 --- /dev/null +++ b/src/tr/translate/ab-rtc-pi-zero.md @@ -0,0 +1,46 @@ + +#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. diff --git a/src/tr/translate/ab-serial-pi-plus.md b/src/tr/translate/ab-serial-pi-plus.md new file mode 100644 index 0000000..327e626 --- /dev/null +++ b/src/tr/translate/ab-serial-pi-plus.md @@ -0,0 +1,45 @@ + +#Serial Pi Plus + +The Serial Pi Plus is a UART to RS232 serial converter for the Raspberry Pi. + +The RS232 port is connected to the UART port on the Raspberry Pi using a MAX3232 interface. The MAX3232 IC converts the 3.3V UART port to RS232 voltages allowing communication with RS232 compatible devices over a DB9 serial cable or with the use of a null-modem cable the board allows terminal access with linux on the Raspberry Pi using a terminal application. The RS232 port can be accessed through the DB9 port or the solder points on the PCB. + +##Features + +- RS232 Master Port. +- Control the Raspberry Pi over RS232 or connect to external serial accessories. +- Stackable with other Raspberry Pi A+, Raspberry Pi B+ and Raspberry Pi 2 and Raspberry Pi accessory boards. +- Mounting holes for use with the AB Electronics UK mounting kits (sold separately) + +[Configuring the RS232 communication on the Raspberry Pi](https://www.abelectronics.co.uk/kb/article/20/raspberry-pi-serial-port-usage) 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..b16af78 --- /dev/null +++ b/src/tr/translate/ab-serial-pi-zero.md @@ -0,0 +1,45 @@ + +#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) 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..6e60410 --- /dev/null +++ b/src/tr/translate/ab-servo-pwm-pi-zero.md @@ -0,0 +1,45 @@ + +#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. diff --git a/src/tr/translate/adafruit-cap-mpr121.md b/src/tr/translate/adafruit-cap-mpr121.md new file mode 100644 index 0000000..c1cf7b3 --- /dev/null +++ b/src/tr/translate/adafruit-cap-mpr121.md @@ -0,0 +1,67 @@ + +# 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. + +## 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-pitft-35-plus.md b/src/tr/translate/adafruit-pitft-35-plus.md new file mode 100644 index 0000000..79fad38 --- /dev/null +++ b/src/tr/translate/adafruit-pitft-35-plus.md @@ -0,0 +1,57 @@ + +#PiTFT Plus 3.5" + +The PiTFT+ features a 3.5" display with 480x320 16-bit color pixels and a resistive touch overlay and is engineered specifically to work with the Raspberry Pi 3, 2 and the Model A+/B+. + +The display uses the hardware SPI pins as well as GPIO #25 and #24. GPIO #18 can be used to PWM dim the backlight. A 2x13 'classic' GPIO header on the bottom, with additional GPIO pins broken out into solder pads, allows you to use more of the GPIO. + +The PiTFT+ can be used as a display for running the X interface, or the console. You can also have an HDMI display separately connected to complement the setup, keeping in mind that there can only be one X session running (so you'll need to choose where X should be output, on the HDMI or the PiTFT+). diff --git a/src/tr/translate/adafruit-servo-hat.md b/src/tr/translate/adafruit-servo-hat.md new file mode 100644 index 0000000..b978229 --- /dev/null +++ b/src/tr/translate/adafruit-servo-hat.md @@ -0,0 +1,49 @@ + +#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! diff --git a/src/tr/translate/analog-zero.md b/src/tr/translate/analog-zero.md new file mode 100644 index 0000000..2d96a04 --- /dev/null +++ b/src/tr/translate/analog-zero.md @@ -0,0 +1,72 @@ + +#Analog Zero + +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: + +* 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 + +## 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..8b588f0 --- /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 https://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 new file mode 100644 index 0000000..fcafbbc --- /dev/null +++ b/src/tr/translate/blinkt.md @@ -0,0 +1,54 @@ + +# Blinkt! + +Blinkt! is a super slimline Raspberry Pi Add-on board with 8 APA-102 LEDs. + +To get started you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/blinkt | bash +``` + +## 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 new file mode 100644 index 0000000..eddfd57 --- /dev/null +++ b/src/tr/translate/carberry.md @@ -0,0 +1,53 @@ + +#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/tr/translate/cirruslogic-audio-card.md b/src/tr/translate/cirruslogic-audio-card.md new file mode 100644 index 0000000..5a3498e --- /dev/null +++ b/src/tr/translate/cirruslogic-audio-card.md @@ -0,0 +1,92 @@ + +#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/tr/translate/discohat.md b/src/tr/translate/discohat.md new file mode 100644 index 0000000..374b52b --- /dev/null +++ b/src/tr/translate/discohat.md @@ -0,0 +1,99 @@ + +#DiscoHAT + +###DiscoHAT is a small board allowing you to do computer controlled lights, sounds and special effects. + +It is an essential building block for making custom light and sound systems. You can easily create your own home disco based on it. It is also usable for small theatre groups, bands or school projects. + +With DiscoHAT you can control DMX equipment and LED strips. It also has interfaces for up to 8 pushbuttons that can be configured to start light and sound sequences. + +DiscoHAT was created to be used with QLC+ an Open Source light and sound control software that is absolutely AMAZING. The push buttons can trigger scenes (steady lights), chases (lights changing in a pattern) and shows (lights synced to music) from stage without need for displays, keyboards or mice. With a WiFi dongle you can also control the lights from your tablet or mobile phone. + +The Raspberry Pi 2 has a bit more power and is recommended for DiscoHAT. You can also exchange the 40 pin connector with the 26 pin connector for using it on older Raspberries but then you lose HAT functionality and 4 buttons. The connectors are not soldered to DiscoHAT. It uses SMD through pin sockets. + +DiscoHAT is being used by myself in our theater productions. The DMX output and the pushbuttons are optically isolated and ESD protected to cope with static electricity that easily builds up on stage due to long wires, hot air, plastic surfaces and nylon clothing. + +The system has been in use for two plays so far and it is time to share the good things with other entertainers. + +Break a leg, + +Karri diff --git a/src/pt/overlay/display-o-tron-hat.md b/src/tr/translate/display-o-tron-hat.md similarity index 68% rename from src/pt/overlay/display-o-tron-hat.md rename to src/tr/translate/display-o-tron-hat.md index 0a5720a..02279e3 100644 --- a/src/pt/overlay/display-o-tron-hat.md +++ b/src/tr/translate/display-o-tron-hat.md @@ -1,14 +1,15 @@ #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. +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 +curl -sS https://get.pimoroni.com/displayotron | bash ``` And follow the instructions! diff --git a/src/tr/translate/drum-hat.md b/src/tr/translate/drum-hat.md new file mode 100644 index 0000000..f26cf2e --- /dev/null +++ b/src/tr/translate/drum-hat.md @@ -0,0 +1,50 @@ + +#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 https://get.pimoroni.com/drumhat | bash +``` + +And follow the instructions! diff --git a/src/tr/translate/enviro-phat.md b/src/tr/translate/enviro-phat.md new file mode 100644 index 0000000..af843db --- /dev/null +++ b/src/tr/translate/enviro-phat.md @@ -0,0 +1,71 @@ + +#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 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: + +```bash +curl -sS https://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/tr/translate/espiot-phat.md b/src/tr/translate/espiot-phat.md new file mode 100644 index 0000000..225dabd --- /dev/null +++ b/src/tr/translate/espiot-phat.md @@ -0,0 +1,49 @@ + +#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 https://get.pimoroni.com/iotphat | bash +``` diff --git a/src/tr/translate/explorer-phat.md b/src/tr/translate/explorer-phat.md new file mode 100644 index 0000000..7f4d945 --- /dev/null +++ b/src/tr/translate/explorer-phat.md @@ -0,0 +1,111 @@ + +#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 https://get.pimoroni.com/explorerhat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import explorerhat +``` diff --git a/src/tr/translate/icubex-pishield.md b/src/tr/translate/icubex-pishield.md new file mode 100644 index 0000000..fe74bdb --- /dev/null +++ b/src/tr/translate/icubex-pishield.md @@ -0,0 +1,46 @@ + +# PiShield + +The I-CubeX PiShield is a 5V sensor interface board that supports 8 channels of 10-bit ADC input via SPI as well as providing landings for 5V I2C devices. Level conversion to/from 5V is provided for both analog as well as digital sensors. + +Features: + +- Designed for [I-CubeX Sensors](http://infusionsystems.com/catalog/index.php/cPath/24), but works with any 5V analog sensor via a standard 3-pin header (VCC, SIG, GND) +- ADC performed using MCP3008 chip, and works with existing libraries and applications (including wiringPi) +- Supports up to 8 analog sensors via 3-pin headers, and 4 digital sensors via 2x3-pin headers +- Enough header protrusion to allow another 26 pin header to be stacked on top diff --git a/src/tr/translate/iface-1wire.md b/src/tr/translate/iface-1wire.md new file mode 100644 index 0000000..c3c7644 --- /dev/null +++ b/src/tr/translate/iface-1wire.md @@ -0,0 +1,30 @@ + +# W1-GPIO - One-Wire Interface + +To enable the one-wire interface you need to add the following line to /boot/config.txt, before 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/tr/translate/iface-dpi.md b/src/tr/translate/iface-dpi.md new file mode 100644 index 0000000..e78c5d2 --- /dev/null +++ b/src/tr/translate/iface-dpi.md @@ -0,0 +1,58 @@ + +#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/tr/translate/iface-gpclk.md b/src/tr/translate/iface-gpclk.md new file mode 100644 index 0000000..52eb5e6 --- /dev/null +++ b/src/tr/translate/iface-gpclk.md @@ -0,0 +1,31 @@ + +#GPCLK - General Purpose CLock + +General Purpose Clock pins can be set up to output a fixed frequency without any ongoing software control. + +The following clock sources are available: + +``` +0 0 Hz Ground +1 19.2 MHz oscillator +2 0 Hz testdebug0 +3 0 Hz testdebug1 +4 0 Hz PLLA +5 1000 MHz PLLC (changes with overclock settings) +6 500 MHz PLLD +7 216 MHz HDMI auxiliary +8-15 0 Hz Ground +``` \ No newline at end of file diff --git a/src/tr/translate/iface-jtag.md b/src/tr/translate/iface-jtag.md new file mode 100644 index 0000000..073071d --- /dev/null +++ b/src/tr/translate/iface-jtag.md @@ -0,0 +1,33 @@ + +#JTAG - Joint Test Action Group + +JTAG is a standardised interface for debugging integrated circuits which you can use to debug your Raspberry Pi. \ No newline at end of file diff --git a/src/tr/translate/iface-pcm.md b/src/tr/translate/iface-pcm.md new file mode 100644 index 0000000..9c2636c --- /dev/null +++ b/src/tr/translate/iface-pcm.md @@ -0,0 +1,19 @@ + +#PCM - Pulse-code Modulation + +PCM (Pulse-code Modulation) is a digital representation of sampled analog. On the Raspberry Pi it's a form of digital audio output which can be understood by a DAC for high quality sound. \ No newline at end of file diff --git a/src/tr/translate/iface-sd.md b/src/tr/translate/iface-sd.md new file mode 100644 index 0000000..eca159c --- /dev/null +++ b/src/tr/translate/iface-sd.md @@ -0,0 +1,25 @@ + +#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/de/overlay/iqaudio-pi-dac.md b/src/tr/translate/iqaudio-pi-dac.md similarity index 57% rename from src/de/overlay/iqaudio-pi-dac.md rename to src/tr/translate/iqaudio-pi-dac.md index d2e0ffa..cc9973e 100644 --- a/src/de/overlay/iqaudio-pi-dac.md +++ b/src/tr/translate/iqaudio-pi-dac.md @@ -1,40 +1,58 @@ -#IQaudIO Pi-DAC+ +#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 @@ -42,9 +60,9 @@ control) analog audio to the Pi-DAC+ Phono connectors. The PI-DAC+ also, via the Texas Instruments TPA6133A headphone amp, supports the direct use of headphones via the Pi-DAC+ 3.5mm audio jack. -The Pi Dac uses GPIO22 to mute/unmute the Pi-AMP+. +The Pi-DAC+ uses GPIO22 to mute/unmute the Pi-AMP+. You can use GPIO25 to connect an IR sensor and GPIO23/24 for a rotary encoder. Both of these parts are optional, but are broken out on the Pi-DAC+ for convenient access. -Note: pins marked as optional can be used for general purpose if those add-ons are not enabled by software. +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/iqaudio-pi-digiamp.md b/src/tr/translate/iqaudio-pi-digiamp.md new file mode 100644 index 0000000..14b75f3 --- /dev/null +++ b/src/tr/translate/iqaudio-pi-digiamp.md @@ -0,0 +1,59 @@ + +#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. diff --git a/src/tr/translate/microdot-phat.md b/src/tr/translate/microdot-phat.md new file mode 100644 index 0000000..3928940 --- /dev/null +++ b/src/tr/translate/microdot-phat.md @@ -0,0 +1,52 @@ + +#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 https://get.pimoroni.com/microdotphat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import microdotphat +``` diff --git a/src/tr/translate/mote-phat.md b/src/tr/translate/mote-phat.md new file mode 100644 index 0000000..ae55b1a --- /dev/null +++ b/src/tr/translate/mote-phat.md @@ -0,0 +1,61 @@ + + +# Mote pHAT + +Sports four Mote channels with microUSB connectors that can drive up to 64 RGB LEDs using four 16 pixel Mote strips. + +To get the pHAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/motephat | bash +``` diff --git a/src/tr/translate/pantilt-hat.md b/src/tr/translate/pantilt-hat.md new file mode 100644 index 0000000..b609b0c --- /dev/null +++ b/src/tr/translate/pantilt-hat.md @@ -0,0 +1,53 @@ + +#Pan Tilt HAT + +Pan Tilt HAT is a two-channel servo driver designed to control a tiny servo-powered Pan/Tilt assembly. It also controls either PWM-dimmed lights or WS2812 pixels; up to 24 RGB or 18 RGBW. + +Pan Tilt HAT uses a PIC16F1503 with custom firmware, and talks over i2c. + +To get the HAT set up and ready to go you can use the one-line product installer: + +```bash +curl -sS https://get.pimoroni.com/pantilthat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import pantilthat +``` diff --git a/src/tr/translate/phat-dac.md b/src/tr/translate/phat-dac.md new file mode 100644 index 0000000..cddbf9e --- /dev/null +++ b/src/tr/translate/phat-dac.md @@ -0,0 +1,45 @@ + +#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 https://get.pimoroni.com/phatdac | bash +``` diff --git a/src/tr/translate/pi-liter.md b/src/tr/translate/pi-liter.md new file mode 100644 index 0000000..9bfb9f7 --- /dev/null +++ b/src/tr/translate/pi-liter.md @@ -0,0 +1,85 @@ + +#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 + +## 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/pt/overlay/piano-hat.md b/src/tr/translate/piano-hat.md similarity index 77% rename from src/pt/overlay/piano-hat.md rename to src/tr/translate/piano-hat.md index 0bf8da4..0e0d01d 100644 --- a/src/pt/overlay/piano-hat.md +++ b/src/tr/translate/piano-hat.md @@ -1,17 +1,24 @@ #Piano HAT @@ -48,7 +53,7 @@ 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 +curl -sS https://get.pimoroni.com/pianohat | bash ``` And follow the instructions! 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/piglow.md b/src/tr/translate/piglow.md new file mode 100644 index 0000000..5df30e6 --- /dev/null +++ b/src/tr/translate/piglow.md @@ -0,0 +1,39 @@ + +#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 https://get.pimoroni.com/piglow | bash +``` + +And follow the instructions! 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 new file mode 100644 index 0000000..b719c7e --- /dev/null +++ b/src/tr/translate/propeller-hat.md @@ -0,0 +1,46 @@ + +#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. diff --git a/src/tr/translate/raspio-duino.md b/src/tr/translate/raspio-duino.md new file mode 100644 index 0000000..9b175ee --- /dev/null +++ b/src/tr/translate/raspio-duino.md @@ -0,0 +1,44 @@ + +#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/tr/translate/redbear-iot-hat.md b/src/tr/translate/redbear-iot-hat.md new file mode 100644 index 0000000..c642bf6 --- /dev/null +++ b/src/tr/translate/redbear-iot-hat.md @@ -0,0 +1,64 @@ + +#IoT pHAT + +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). + +* 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/tr/translate/scroll-phat.md b/src/tr/translate/scroll-phat.md new file mode 100644 index 0000000..414b7bb --- /dev/null +++ b/src/tr/translate/scroll-phat.md @@ -0,0 +1,60 @@ + +#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 https://get.pimoroni.com/scrollphat | bash +``` + +Then import it into your Python script and start tinkering: + +```bash +import scrollphat +``` diff --git a/src/tr/translate/sense-hat.md b/src/tr/translate/sense-hat.md new file mode 100644 index 0000000..63de291 --- /dev/null +++ b/src/tr/translate/sense-hat.md @@ -0,0 +1,63 @@ + +#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 (Accelerometer and Magnetometer) through a LSM9DS1 found at i2c address 0x1c(0x1e) and 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/Temperature sensor at 0x5f on the i2c bus. diff --git a/src/tr/translate/traffic-hat.md b/src/tr/translate/traffic-hat.md new file mode 100644 index 0000000..0946732 --- /dev/null +++ b/src/tr/translate/traffic-hat.md @@ -0,0 +1,75 @@ + +#Traffic HAT + +###A quick and easy way to learn the basics of GPIO on a budget. All in a nice HAT. + +```python +from gpiozero import TrafficHat +from time import sleep +from signal import pause + +hat = TrafficHat() + +# 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 + +# set up events on button press/release +hat.button.when_pressed = hat.lights.blink +hat.button.when_released = hat.lights.off + +pause() +``` diff --git a/src/tr/translate/unicorn-phat.md b/src/tr/translate/unicorn-phat.md new file mode 100644 index 0000000..92eb260 --- /dev/null +++ b/src/tr/translate/unicorn-phat.md @@ -0,0 +1,61 @@ + +#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 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: + +```bash +curl -sS https://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/tr/translate/uugear-7port-usb-hub.md b/src/tr/translate/uugear-7port-usb-hub.md new file mode 100644 index 0000000..b52a4a7 --- /dev/null +++ b/src/tr/translate/uugear-7port-usb-hub.md @@ -0,0 +1,27 @@ + +#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/tr/translate/uugear-witty-pi-2.md b/src/tr/translate/uugear-witty-pi-2.md new file mode 100644 index 0000000..d7339b4 --- /dev/null +++ b/src/tr/translate/uugear-witty-pi-2.md @@ -0,0 +1,66 @@ + +# 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/tr/translate/uugear-witty-pi.md b/src/tr/translate/uugear-witty-pi.md new file mode 100644 index 0000000..7923089 --- /dev/null +++ b/src/tr/translate/uugear-witty-pi.md @@ -0,0 +1,64 @@ + +#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/tr/translate/uugear-zero4u.md b/src/tr/translate/uugear-zero4u.md new file mode 100644 index 0000000..e5c945c --- /dev/null +++ b/src/tr/translate/uugear-zero4u.md @@ -0,0 +1,23 @@ + +#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/tr/translate/wifi-pants.md b/src/tr/translate/wifi-pants.md new file mode 100644 index 0000000..4b242a8 --- /dev/null +++ b/src/tr/translate/wifi-pants.md @@ -0,0 +1,56 @@ + +#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/tr/translate/zero-lipo.md b/src/tr/translate/zero-lipo.md new file mode 100644 index 0000000..9b277c9 --- /dev/null +++ b/src/tr/translate/zero-lipo.md @@ -0,0 +1,40 @@ + +#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/arduino-spi.md b/src/tr/tutorial/arduino-spi.md similarity index 92% rename from src/tr/overlay/arduino-spi.md rename to src/tr/tutorial/arduino-spi.md index 6ec339c..5055032 100644 --- a/src/tr/overlay/arduino-spi.md +++ b/src/tr/tutorial/arduino-spi.md @@ -30,7 +30,7 @@ pin: Öncelikle [Pico PiDuino makalesi](http://pi.gadgetoid.com/article/building-the-pico-piduino)'ni takip edin / etmenizi öneririz, bunu sıfırdan uygulamak sadece £5 gibi bir masraf çıkaracak. -Bunun ardından [Gordon'un modifiye AVRDude](https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/)'unu kurmalısınız. +Bunun ardından [Gordon Henderson'un modifiye AVRDude](https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/)'unu kurmalısınız. 8/CEO'yu ATmega'nuzun Reset/RST pin'ine bağlayın, 9/MISO'yu da ATmega'nın MISO pin'ine (D12) bağlayın, 10'u da onun MOSI pin'ine (D11) bağlayın. Son olarak 11/SCLK'yı da onun SCLK pin'ine (D13) bağlayın. diff --git a/tools/generate-defines.py b/tools/generate-defines.py index 76d38ba..50b4ef9 100755 --- a/tools/generate-defines.py +++ b/tools/generate-defines.py @@ -1,11 +1,17 @@ #!/usr/bin/env python + import json -import markdown -import unicodedata -import re import os -import time +import re import sys +import time +import unicodedata + +try: + import markdown +except ImportError: + exit("This script requires the psutil module\nInstall with: sudo pip install Markdown") + lang = 'en' diff --git a/urlmapper.py b/urlmapper.py index b889c31..829adeb 100755 --- a/urlmapper.py +++ b/urlmapper.py @@ -1,11 +1,14 @@ #!/usr/bin/env python -import unicodedata -import re -import sys -import pinout -import markjaml + import glob import os +import re +import sys +import unicodedata + +import markjaml +import pinout + reload(sys) sys.setdefaultencoding('utf8') @@ -28,7 +31,12 @@ def load_overlay_url(overlay, lang): loaded = data['data'] except IOError: - return None + try: + data = markjaml.load('src/{}/translate/{}.md'.format(lang, overlay)) + + loaded = data['data'] + except IOError: + return None if not 'page_url' in loaded: loaded['page_url'] = url_slugify(loaded['name']) @@ -82,6 +90,8 @@ def generate_for_lang(lang="en"): url_lookup['index'] = '//{}'.format(domain) + url_lookup['boards'] = '//{}/boards'.format(domain) + return url_lookup @@ -91,4 +101,3 @@ def generate_urls(lang="en"): for lang in languages: urls[lang] = generate_for_lang(lang) return urls -