diff --git a/README.md b/README.md index 894f212..205cc92 100644 --- a/README.md +++ b/README.md @@ -24,14 +24,14 @@ The contents of this GitHub repository are used to build http://pinout.xyz and i Current known contributors are: -* tr-TR - @Ardakilic +* de-DE - @rdmueller and KojoePi +* es-ES - @ResonantWave * fr-FR - @RogueM +* tr-TR - @Ardakilic We're looking for ( based on traffic ): -* German, de-DE * Italian, it-IT -* Spanish ( Spain ), es-ES * Polish pl-PL * And any others! diff --git a/src/en-GB/overlay/explorer-hat-pro.md b/src/en-GB/overlay/explorer-hat-pro.md index ced48fe..50c92fa 100644 --- a/src/en-GB/overlay/explorer-hat-pro.md +++ b/src/en-GB/overlay/explorer-hat-pro.md @@ -7,6 +7,8 @@ github: https://github.com/pimoroni/explorer-hat buy: http://shop.pimoroni.com/products/explorer-hat description: An all-in-one light, input, motor, touch and output add-on board. install: + 'devices': + - 'i2c' 'apt': - 'python-smbus' - 'python3-smbus' @@ -14,6 +16,8 @@ install: - 'python3-dev' 'python': - 'explorerhat' + 'python3': + - 'explorerhat' 'examples': 'examples/' pincount: 40 i2c: @@ -98,7 +102,7 @@ pin: mode: output active: high --> -#Explorer HAT and Explorer HAT Pro +#Explorer HAT Pro 5V inputs and outputs, touch pads, LEDs, analog inputs and an H-Bridge motor driver make up the Explorer HAT Pro- a jack of all trades prototyping side-kick for your Raspberry Pi. diff --git a/src/en-GB/overlay/explorer-hat.md b/src/en-GB/overlay/explorer-hat.md index 9850109..b2b89a7 100644 --- a/src/en-GB/overlay/explorer-hat.md +++ b/src/en-GB/overlay/explorer-hat.md @@ -20,6 +20,10 @@ install: - 'explorerhat' 'examples': 'examples/' pincount: 40 +i2c: + '0x28': + name: Cap Touch + device: cap1208 pin: '7': name: LED 1 @@ -70,9 +74,9 @@ pin: mode: output active: high --> -#Explorer HAT and Explorer HAT Pro +#Explorer HAT -5V inputs and outputs, touch pads, LEDs, analog inputs and an H-Bridge motor driver make up the Explorer HAT Pro- a jack of all trades prototyping side-kick for your Raspberry Pi. +5V inputs and outputs, touch pads and LEDs make up the Explorer HAT, a jack of all trades prototyping side-kick for your Raspberry Pi. To get the HAT set up and ready to go you can use the one-line product installer: diff --git a/src/en-GB/template/layout.html b/src/en-GB/template/layout.html index 703c035..edef2d5 100755 --- a/src/en-GB/template/layout.html +++ b/src/en-GB/template/layout.html @@ -52,7 +52,6 @@ diff --git a/src/es-ES/overlay/explorer-hat-pro.md b/src/es-ES/overlay/explorer-hat-pro.md index 40c2407..0f66ffb 100644 --- a/src/es-ES/overlay/explorer-hat-pro.md +++ b/src/es-ES/overlay/explorer-hat-pro.md @@ -7,6 +7,8 @@ github: https://github.com/pimoroni/explorer-hat buy: http://shop.pimoroni.com/products/explorer-hat description: Una placa completa, con luz, entradas, entradas táctiles y salidas. install: + 'devices': + - 'i2c' 'apt': - 'python-smbus' - 'python3-smbus' @@ -14,6 +16,8 @@ install: - 'python3-dev' 'python': - 'explorerhat' + 'python3': + - 'explorerhat' 'examples': 'examples/' pincount: 40 i2c: @@ -98,7 +102,7 @@ pin: mode: salida active: alto (encendido) --> -#Explorer HAT y Explorer HAT Pro +#Explorer HAT Pro Entradas y salidas de 5V, paneles táctiles, LEDs, entradas analógicas y un Puente-H para controlar motores componen el Explorer HAT Pro. diff --git a/src/es-ES/overlay/explorer-hat.md b/src/es-ES/overlay/explorer-hat.md index 537a0fe..7c5258e 100644 --- a/src/es-ES/overlay/explorer-hat.md +++ b/src/es-ES/overlay/explorer-hat.md @@ -70,9 +70,9 @@ pin: mode: salida active: alto (encendido) --> -#Explorer HAT y Explorer HAT Pro +#Explorer HAT -Entradas y salidas de 5V, paneles táctiles, LEDs, entradas analógicas y un Puente-H para controlar motores componen el Explorer HAT Pro. +Entradas y salidas de 5V, paneles táctiles y LEDs componen el Explorer HAT. Para preparar e instalar el HAT utiliza la siguiente línea: diff --git a/src/fr-FR/overlay/arduino-spi.md b/src/fr-FR/overlay/arduino-spi.md index 1841c25..7143925 100644 --- a/src/fr-FR/overlay/arduino-spi.md +++ b/src/fr-FR/overlay/arduino-spi.md @@ -1,7 +1,7 @@ #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? +###Saviez-vous qu'il était possible de programmer une carte Arduino ou un ATmega328 à partir d'une Raspberry Pi, en utilisant juste quelques cables, un 'breadboard', Quartz de 16 MHz et quelques condensateurs? -Read my [complete Pico PiDuino tutorial](http://pi.gadgetoid.com/article/building-the-pico-piduino) to get started for just over £5 +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? -You'll need to install [Gordon's modified AVRDude](https://projects.drogon.net/raspberry-pi/gertboard/arduino-ide-installation-isp/). +Voici un article qui vous guidera dans cette entreprise: +[Construire un Arduino](https://itechnofrance.wordpress.com/2013/04/13/construire-un-arduino/) -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). +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/). + +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. Power your ATmega with the 3.3v and GND pins from your Pi, and you're good to go. diff --git a/src/fr-FR/overlay/display-o-tron-hat.md b/src/fr-FR/overlay/display-o-tron-hat.md index c875db2..f489f81 100644 --- a/src/fr-FR/overlay/display-o-tron-hat.md +++ b/src/fr-FR/overlay/display-o-tron-hat.md @@ -3,7 +3,7 @@ name: Display-o-Tron HAT manufacturer: Pimoroni url: https://github.com/pimoroni/dot3k -description: A 3-line character LCD with a 6-zone RGB backlight and 6 touch buttons +description: Un LCD 3x16 avec rétro-éclairage sur 6 zones RGB et buttons tactiles pincount: 40 pin: 3: @@ -17,28 +17,25 @@ pin: 19: mode: spi 22: - name: LCD Register Select + name: Selection Registre LCD mode: output 23: mode: spi 24: - name: LCD Chip Select + name: Selection Puce LCD mode: chipselect active: high 32: - name: LCD Reset + name: Reset LCD mode: output active: low --> #Display-o-Tron HAT -Display-o-Tron HAT uses both SPI and I2c to drive the LCD display, backlight and touch. -However both of these busses can be shared with other devices. +Le chapeau Display-o-Tron est un LCD 3x16 caractères avec rétro-éclairage sur 6 zones RGB et buttons tactiles. Il communique avec la Raspberry Pi par l'intermédiaire des bus SPI et I2C. -You can use the one-line product installer to get Display-o-Tron HAT set up and ready to go, just: +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 get.pimoroni.com/dot3k | bash +curl -sS get.pimoroni.com/dot3k | bash ``` - -And follow the instructions! diff --git a/src/fr-FR/overlay/display-o-tron.md b/src/fr-FR/overlay/display-o-tron.md index b0fbac9..a941f59 100644 --- a/src/fr-FR/overlay/display-o-tron.md +++ b/src/fr-FR/overlay/display-o-tron.md @@ -4,7 +4,7 @@ name: Display-o-Tron 3000 manufacturer: Pimoroni github: https://github.com/pimoroni/dot3k url: https://github.com/pimoroni/dot3k -description: A 3-line character LCD with an RGB backlight and joystick +description: Un écran LCD 3 lignes avec rétro-éclairage et joystick install: 'devices': - 'i2c' @@ -24,29 +24,29 @@ pin: 5: mode: i2c 7: - name: Joystick Button + name: bouton Joystick mode: input active: low 11: - name: Joystick Left + name: Joystick gauche mode: input active: low 13: - name: Joystick Up + name: Joystick haut mode: input active: low 15: - name: Joystick Right + name: Joystick droit mode: input active: low 19: mode: spi 21: - name: Joystick Down + name: Joystick bas mode: input active: low 22: - name: LCD CMD/DATA + name: Données/Commandes LCD mode: output active: high 23: @@ -54,10 +54,10 @@ pin: --> #Display-o-Tron 3000 -You can use the one-line product installer to get Display-o-Tron 3000 set up and ready to go, just: +Le Display-o-Tron 3000 est un écran LCD avec 3 lignes, rétro-éclairage et joystick + +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 get.pimoroni.com/dot3k | bash -``` - -And follow the instructions! +curl -sS get.pimoroni.com/dot3k | bash +``` \ No newline at end of file diff --git a/src/fr-FR/overlay/dots.md b/src/fr-FR/overlay/dots.md index e577c39..fcdf2ae 100644 --- a/src/fr-FR/overlay/dots.md +++ b/src/fr-FR/overlay/dots.md @@ -94,6 +94,9 @@ pin: ###Dots is a Dot to Dot HAT board for the Raspberry Pi that lets you join-the-dots with BARE Conductive Paint! +##AWAITING TRANSLATION +##EN COURS DE TRADUCTION + 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: diff --git a/src/fr-FR/overlay/explorer-hat-pro.md b/src/fr-FR/overlay/explorer-hat-pro.md index b233bce..013ea23 100644 --- a/src/fr-FR/overlay/explorer-hat-pro.md +++ b/src/fr-FR/overlay/explorer-hat-pro.md @@ -5,8 +5,10 @@ manufacturer: Pimoroni url: https://github.com/pimoroni/explorer-hat github: https://github.com/pimoroni/explorer-hat buy: http://shop.pimoroni.com/products/explorer-hat -description: An all-in-one light, input, motor, touch and output add-on board. +description: Un chapeau multi-usage avec entrées analogiques et contrôle moteurs install: + 'devices': + - 'i2c' 'apt': - 'python-smbus' - 'python3-smbus' @@ -14,14 +16,16 @@ install: - 'python3-dev' 'python': - 'explorerhat' + 'python3': + - 'explorerhat' 'examples': 'examples/' pincount: 40 i2c: '0x28': - name: Cap Touch + name: Capteur tactile device: cap1208 '0x48': - name: Analog Input + name: Entrées analogiques device: ads1015 pin: '3': {} @@ -42,21 +46,21 @@ pin: mode: output active: high '15': - name: Input 2 + name: Entrée 2 mode: input active: high '16': - name: Input 1 + name: Entrée 1 mode: input active: high '18': - name: Input 3 + name: Entrée 3 mode: input active: high '19': {} '21': {} '22': - name: Input 4 + name: Entrée 4 mode: input active: high '23': {} @@ -66,48 +70,49 @@ pin: mode: output active: high '31': - name: Output 1 + name: Sortie 1 mode: output active: high '32': - name: Output 2 + name: Sortie 2 mode: output active: high '33': - name: Output 3 + name: Sortie 3 mode: output active: high '35': - name: Motor 1 + + name: Moteur 1 + mode: output active: high '36': - name: Output 4 + name: Sortie 4 mode: output active: high '37': - name: Motor 2 - + name: Moteur 2 - mode: output active: high '38': - name: Motor 1 - + name: Moteur 1 - mode: output active: high '40': - name: Motor 2 + + name: Moteur 2 + mode: output active: high --> -#Explorer HAT and Explorer HAT Pro +#Explorer HAT Pro -5V inputs and outputs, touch pads, LEDs, analog inputs and an H-Bridge motor driver make up the Explorer HAT Pro- a jack of all trades prototyping side-kick for your Raspberry Pi. +L'Explorer HAT pro est un chapeau multi-usage avec entrées et sorties en 5V, entrées analogiques et contrôle moteurs. Tout cela agrémenté de LED et touches tactiles. C'est donc d'un véritable couteau Suisse dont il s'agit! + +Pour l'installation et mise en route exécutez simplement les commandes ci-dessous et suivez les instructions présentées à l'écran: ```bash -sudo apt-get install python-pip -sudo pip install explorer-hat +curl -sS get.pimoroni.com/explorerhat ``` -Then import it into your Python script and start tinkering: +Puis, sous Python, en guise de test que tout fonctionne bien: ```bash import explorerhat diff --git a/src/fr-FR/overlay/explorer-hat.md b/src/fr-FR/overlay/explorer-hat.md index 5669293..872de25 100644 --- a/src/fr-FR/overlay/explorer-hat.md +++ b/src/fr-FR/overlay/explorer-hat.md @@ -5,7 +5,7 @@ manufacturer: Pimoroni url: https://github.com/pimoroni/explorer-hat github: https://github.com/pimoroni/explorer-hat buy: http://shop.pimoroni.com/products/explorer-hat -description: An all-in-one light, input, touch and output add-on board. +description: Un chapeau multi-usage avec entrées et sorties 5V install: 'devices': - 'i2c' @@ -20,6 +20,10 @@ install: - 'explorerhat' 'examples': 'examples/' pincount: 40 +i2c: + '0x28': + name: Capteur tactile + device: cap1208 pin: '7': name: LED 1 @@ -34,19 +38,19 @@ pin: mode: output active: high '15': - name: Input 2 + name: Entrée 2 mode: input active: high '16': - name: Input 1 + name: Entrée 1 mode: input active: high '18': - name: Input 3 + name: Entrée 3 mode: input active: high '22': - name: Input 4 + name: Entrée 4 mode: input active: high '29': @@ -54,32 +58,33 @@ pin: mode: output active: high '31': - name: Output 1 + name: Sortie 1 mode: output active: high '32': - name: Output 2 + name: Sortie 2 mode: output active: high '33': - name: Output 3 + name: Sortie 3 mode: output active: high '36': - name: Output 4 + name: Sortie 4 mode: output active: high --> -#Explorer HAT and Explorer HAT Pro +#Explorer HAT -5V inputs and outputs, touch pads, LEDs, analog inputs and an H-Bridge motor driver make up the Explorer HAT Pro- a jack of all trades prototyping side-kick for your Raspberry Pi. +L'Explorer HAT est un chapeau multi-usage avec entrées et sorties en 5V, LED et touches tactiles. Une extension utile pour tout prototype! + +Pour l'installation et mise en route exécutez simplement les commandes ci-dessous et suivez les instructions présentées à l'écran: ```bash -sudo apt-get install python-pip -sudo pip install explorer-hat +curl -sS get.pimoroni.com/explorerhat ``` -Then import it into your Python script and start tinkering: +Puis, sous Python, en guise de test que tout fonctionne bien: ```bash import explorerhat diff --git a/src/fr-FR/overlay/iqaudio-pi-dac.md b/src/fr-FR/overlay/iqaudio-pi-dac.md index cbb83a0..e84ece7 100644 --- a/src/fr-FR/overlay/iqaudio-pi-dac.md +++ b/src/fr-FR/overlay/iqaudio-pi-dac.md @@ -36,6 +36,9 @@ pin: --> #IQaudIO Pi-DAC+ +##AWAITING TRANSLATION +##EN COURS DE TRADUCTION + The Pi-DAC+ takes the digital audio signals (I2S) from the Raspberry Pi and through the onboard Texas Instruments PCM5122 DAC delivers variable output (hardware volume control) analog audio to the Pi-DAC+ Phono connectors. The PI-DAC+ also, via the diff --git a/src/fr-FR/overlay/piano-hat.md b/src/fr-FR/overlay/piano-hat.md index 2e274a8..fa00956 100644 --- a/src/fr-FR/overlay/piano-hat.md +++ b/src/fr-FR/overlay/piano-hat.md @@ -3,15 +3,15 @@ name: Piano HAT manufacturer: Pimoroni url: https://github.com/pimoroni/piano-hat -description: A tiny Pi piano with 16 touch-sensitive buttons +description: Un mini-piano avec 16 touches tactiles pincount: 40 i2c: '0x28': - name: Cap Touch A + name: Capteur tactile A device: cap1188 datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/CAP1188%20.pdf '0x2b': - name: Cap Touch B + name: Capteur tactile B device: cap1188 datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/CAP1188%20.pdf pin: @@ -20,13 +20,13 @@ pin: 5: mode: i2c 7: - name: Alert A + name: Alerte A mode: input 11: name: Reset A mode: output 13: - name: Alert B + name: Alerte B mode: input 15: name: Reset B @@ -34,14 +34,12 @@ pin: --> #Piano HAT -Piano HAT has 16 touch-sensitive buttons. 13 of these are a single Piano octave, the rest give you octave up/down and instrument select functionality. +Le Piano HAT est un mini-piano pour la RasPi muni de 16 touches tactiles. 13 d'entre elles forment le clavier en lui-même, s'étendant sur une octave. Les autres quant à elles servent à déplacer l'octave vers le haut ou le bas, ainsi que la sélection d'instrument. -It uses two Microchip CAP1188 chips with the i2c addresses 0x28 and 0x2b. +Les microchips responsables de la gestion des touches tactiles sont deux CAP1188, communiquant par l'interface i2c, aux adresses 0x28 et 0x2b. -You can use the one-line product installer to get Piano HAT set up and ready to go, just: +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 get.pimoroni.com/pianohat | bash +curl -sS get.pimoroni.com/pianohat | bash ``` - -And follow the instructions! diff --git a/src/fr-FR/overlay/piborg-ledborg.md b/src/fr-FR/overlay/piborg-ledborg.md index 1020280..a16cd7e 100644 --- a/src/fr-FR/overlay/piborg-ledborg.md +++ b/src/fr-FR/overlay/piborg-ledborg.md @@ -22,6 +22,9 @@ pin: --> ###The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. +##AWAITING TRANSLATION +##EN COURS DE TRADUCTION + 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: diff --git a/src/fr-FR/overlay/pibrella.md b/src/fr-FR/overlay/pibrella.md index 3e2abfd..1f3fa7e 100644 --- a/src/fr-FR/overlay/pibrella.md +++ b/src/fr-FR/overlay/pibrella.md @@ -61,13 +61,15 @@ pin: --> #Pibrella +##AWAITING TRANSLATION +##EN COURS DE TRADUCTION + 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 -sudo apt-get install python-pip -sudo pip install pibrella +curl -sS get.pimoroni.com/pibrella ``` Then import it into your Python script and start tinkering: diff --git a/src/fr-FR/overlay/rtk-000-0001.md b/src/fr-FR/overlay/rtk-000-001.md similarity index 82% rename from src/fr-FR/overlay/rtk-000-0001.md rename to src/fr-FR/overlay/rtk-000-001.md index 4320cb0..9279334 100644 --- a/src/fr-FR/overlay/rtk-000-0001.md +++ b/src/fr-FR/overlay/rtk-000-001.md @@ -2,9 +2,8 @@ --- name: Ryanteck Motor Controller Board manufacturer: Ryanteck -url: http://www.ryanteck.uk/store/ryanteck-rpi-motor-controller-board -buy: http://www.ryanteck.uk/store/ryanteck-rpi-motor-controller-board -description: A budget motor controller with quick start guides. +url: https://ryanteck.uk/add-ons/6-ryanteck-rpi-motor-controller-board-0635648607160.html +buy: https://ryanteck.uk/add-ons/6-ryanteck-rpi-motor-controller-board-0635648607160.html pincount: 26 pin: '11': @@ -28,6 +27,9 @@ pin: ###A quick and easy way to start driving motors on your Raspberry Pi +##AWAITING TRANSLATION +##EN COURS DE TRADUCTION + ```python ##Simple motor script for the RTK-000-001 import RPi.GPIO as GPIO diff --git a/src/fr-FR/overlay/sense-hat.md b/src/fr-FR/overlay/sense-hat.md index 5e04134..18c2215 100644 --- a/src/fr-FR/overlay/sense-hat.md +++ b/src/fr-FR/overlay/sense-hat.md @@ -34,8 +34,17 @@ pin: --> #Sense HAT -LED Matrix: LED2472G -> ATTINY88 -> SPI -Joystick: SKRHABE010 -> ATTINY88 -> GPIO23/24/25 -Axis/IMU: LSM9DS1 -> i2c 0x1c(1e),0x6a(6b) (INT on MCU) -Pressure/Temp: LPS25H -> i2c 0x5c -Humidity/Temp: HTS221 -> i2c 0x5f \ No newline at end of file +##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-FR/overlay/skywriter-hat.md b/src/fr-FR/overlay/skywriter-hat.md index f6f3e7d..b61d6c9 100644 --- a/src/fr-FR/overlay/skywriter-hat.md +++ b/src/fr-FR/overlay/skywriter-hat.md @@ -28,7 +28,18 @@ pin: --> #Skywriter HAT +##AWAITING TRANSLATION +##EN COURS DE TRADUCTION + 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/fr-FR/overlay/spi.md b/src/fr-FR/overlay/spi.md index 34e04f8..5d1eaac 100644 --- a/src/fr-FR/overlay/spi.md +++ b/src/fr-FR/overlay/spi.md @@ -44,23 +44,22 @@ pin: --> #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 addresses. +###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 simple 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. Using it in WiringPi2 is a doddle: +##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 wiringpi2 as wiringpi -HIGH = 1 -OUTPUT = 1 -PIN_BASE = 65 -SPI_ADDR = 0x20 -wiringpi.wiringPiSetup() -wiringpi.mcp23S17Setup(PIN_BASE,SPI_ADDR) -# 16 pins including the starting pin -mcp23S17pins = range(PIN_BASE,PIN_BASE+15) -for pin in mcp23S17pins: - wiringpi.pinMode(pin,OUTPUT) - wiringpi.digitalWrite(pin,HIGH) +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. diff --git a/src/fr-FR/overlay/traffic-hat.md b/src/fr-FR/overlay/traffic-hat.md index 4fa0a03..8967af4 100644 --- a/src/fr-FR/overlay/traffic-hat.md +++ b/src/fr-FR/overlay/traffic-hat.md @@ -33,6 +33,9 @@ pin: ###A quick and easy way to learn the basics of GPIO on a budget. All in a nice HAT. +##AWAITING TRANSLATION +##EN COURS DE TRADUCTION + ```python import RPi.GPIO as IO from time import sleep diff --git a/src/fr-FR/overlay/uart.md b/src/fr-FR/overlay/uart.md index dde34a7..c7fe5e5 100644 --- a/src/fr-FR/overlay/uart.md +++ b/src/fr-FR/overlay/uart.md @@ -16,6 +16,9 @@ pin: ###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. diff --git a/src/fr-FR/overlay/unicorn-hat.md b/src/fr-FR/overlay/unicorn-hat.md index c3c4013..62d71b4 100644 --- a/src/fr-FR/overlay/unicorn-hat.md +++ b/src/fr-FR/overlay/unicorn-hat.md @@ -26,16 +26,19 @@ pin: --> #Unicorn HAT +##AWAITING TRANSLATION +##EN COURS DE TRADUCTION + 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! -Setup is easy, just: +To get the HAT set up and ready to go you can use the one-line product installer: ```bash -curl get.pimoroni.com/unicornhat | bash +curl -sS get.pimoroni.com/unicornhat | bash ``` Then import it into your Python script and start tinkering: diff --git a/src/fr-FR/overlay/wiringpi.md b/src/fr-FR/overlay/wiringpi.md index 1a2e5db..82bc85c 100644 --- a/src/fr-FR/overlay/wiringpi.md +++ b/src/fr-FR/overlay/wiringpi.md @@ -60,6 +60,9 @@ pin: ###WiringPi is an attempt to bring Arduino-wiring-like simplicity to the Raspberry Pi. +##AWAITING TRANSLATION +##EN COURS DE TRADUCTION + The goal is to have a single common platform and set of functions for accessing the Raspberry Pi GPIO across muliple languages. WiringPi is a C library at heart, but it's available to both Ruby and Python users who can "gem install wiringpi" or "pip install wiringpi2" respectively. 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. diff --git a/src/fr-FR/template/layout.html b/src/fr-FR/template/layout.html index dcce14c..c699589 100644 --- a/src/fr-FR/template/layout.html +++ b/src/fr-FR/template/layout.html @@ -25,9 +25,9 @@
diff --git a/src/tr-TR/overlay/display-o-tron.md b/src/tr-TR/overlay/display-o-tron.md index a81374b..d12c16e 100644 --- a/src/tr-TR/overlay/display-o-tron.md +++ b/src/tr-TR/overlay/display-o-tron.md @@ -45,7 +45,7 @@ pin: Aşağıdaki tek satır kodla Display-o-Tron 3000'u kurup kullanmaya başlayabilirsiniz. Yapmanız gereken tek şey terminalde şu komutu çalıştırmak, ```bash -curl get.pimoroni.com/dot3k | bash +curl -sS get.pimoroni.com/dot3k | bash ``` ve de karşınıza gelen yönergeleri takip etmek. \ No newline at end of file diff --git a/src/tr-TR/overlay/explorer-hat-pro.md b/src/tr-TR/overlay/explorer-hat-pro.md index edddb69..8674517 100644 --- a/src/tr-TR/overlay/explorer-hat-pro.md +++ b/src/tr-TR/overlay/explorer-hat-pro.md @@ -7,6 +7,19 @@ github: https://github.com/pimoroni/explorer-hat buy: http://shop.pimoroni.com/products/explorer-hat description: Hepsi-bir-arada, hafif, hızlı, dokunma, giriş ve çıkış destekleyen eklenti kartı. +install: + 'devices': + - 'i2c' + 'apt': + - 'python-smbus' + - 'python3-smbus' + - 'python-dev' + - 'python3-dev' + 'python': + - 'explorerhat' + 'python3': + - 'explorerhat' + 'examples': 'examples/' pincount: 40 i2c: '0x28': @@ -90,13 +103,12 @@ pin: mode: output active: high --> -#Explorer HAT ve Explorer HAT Pro +#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 -sudo apt-get install python-pip -sudo pip install explorer-hat +curl -sS get.pimoroni.com/explorerhat ``` Ardından Python scriptinize aşağıdaki kodları ekleyip prototipinizi kurcalamaya başlayabilirsiniz: diff --git a/src/tr-TR/overlay/explorer-hat.md b/src/tr-TR/overlay/explorer-hat.md index 5b5a13b..d6eec69 100644 --- a/src/tr-TR/overlay/explorer-hat.md +++ b/src/tr-TR/overlay/explorer-hat.md @@ -7,6 +7,19 @@ github: https://github.com/pimoroni/explorer-hat buy: http://shop.pimoroni.com/products/explorer-hat description: Hepsi-bir-arada, hafif, hızlı, dokunma, giriş ve çıkış destekleyen eklenti kartı. +install: + 'devices': + - 'i2c' + 'apt': + - 'python-smbus' + - 'python3-smbus' + - 'python-dev' + - 'python3-dev' + 'python': + - 'explorerhat' + 'python3': + - 'explorerhat' + 'examples': 'examples/' pincount: 40 pin: '7': @@ -58,13 +71,12 @@ pin: mode: output active: high --> -#Explorer HAT ve Explorer HAT Pro +#Explorer HAT -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. +5V giriş ve çıkışları, dokunmatik paneli ve LEDler ile Explorer HAT, Raspberry Pi'de prototipleme için tam teşekkürlü bir araç olarak teşkil etmekte. ```bash -sudo apt-get install python-pip -sudo pip install explorer-hat +curl -sS get.pimoroni.com/explorerhat ``` Ardından Python scriptinize aşağıdaki kodları ekleyip prototipinizi kurcalamaya başlayabilirsiniz: diff --git a/src/tr-TR/overlay/pibrella.md b/src/tr-TR/overlay/pibrella.md index da895c5..f4a5f88 100644 --- a/src/tr-TR/overlay/pibrella.md +++ b/src/tr-TR/overlay/pibrella.md @@ -66,8 +66,7 @@ Pibrella Pimoroni tarafından hazırlanmış hepsi-bir-arada, hafif, ses, giriş Pibrella'yı kullanmak çok kolay. Öncelikle terminalden aşağıdaki komutları çalıştırıp kurulumu gerçekleştirin: ```bash -sudo apt-get install python-pip -sudo pip install pibrella +curl -sS get.pimoroni.com/pibrella | bash ``` Ardından Python kodunuzda aşağıdaki gibi modülü ekleyip kurcalamaya başlayabilirsiniz: diff --git a/src/tr-TR/overlay/skywriter-hat.md b/src/tr-TR/overlay/skywriter-hat.md index c4bd63d..fba154c 100644 --- a/src/tr-TR/overlay/skywriter-hat.md +++ b/src/tr-TR/overlay/skywriter-hat.md @@ -21,4 +21,8 @@ pin: Skywriter HAT X, Y ve Z ekseninde parmağınızın pozisyonunu algılamanızı, ve de bu değerleri Python Scriptinizde kullanmanızı sağlar. -Ayrıca kaydırma (tıpkı telefonlardaki "swipe" hareketi gibi) gibi hareketleri de algılama yeteneğine sahiptir. \ No newline at end of file +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 +``` diff --git a/src/tr-TR/overlay/unicorn-hat.md b/src/tr-TR/overlay/unicorn-hat.md index ee1ce4d..916294b 100644 --- a/src/tr-TR/overlay/unicorn-hat.md +++ b/src/tr-TR/overlay/unicorn-hat.md @@ -24,7 +24,7 @@ Not: Unicorn HAT bazı PWM kurnazlıkları kullanmakta. Bunun içnde analog ses Kurulumu çok basit, sadece aşağıdaki komutu çalıştırın: ```bash -curl get.pimoroni.com/unicornhat | bash +curl -sS get.pimoroni.com/unicornhat | bash ``` Ardından Python scriptinize modülü ekleyip kurcalamaya başlayabilirsiniz: diff --git a/src/tr-TR/template/layout.html b/src/tr-TR/template/layout.html index 19339ee..e2a9446 100644 --- a/src/tr-TR/template/layout.html +++ b/src/tr-TR/template/layout.html @@ -25,9 +25,8 @@