Merge pull request #17 from RogueM/master

FR pins description (and a few minor fixes)
This commit is contained in:
Philip Howard 2015-11-09 10:14:52 +00:00
commit 543e74bf57
29 changed files with 159 additions and 143 deletions

28
src/changelog.md Normal file
View File

@ -0,0 +1,28 @@
#Overlays History
This document only logs the changes to the overlay files that are relevant for purposes of translations. See files history for further details!
Nov 8, 2015
- major tweaks to spi.md
Nov 7, 2015
- added sense-hat.md
- major tweaks to iqaudio-pi-dac.md
Oct 17, 2015
- added display-o-tron-hat.md
- added piano-hat.md
Jun 25, 2015
- major tweaks to iqaudio-pi-dac.md
May 10, 2015
- added iqaudio-pi-dac.md
Apr 18, 2015
- major tweaks to traffic-hat.md
Apr 6, 2015
- added traffic-hat.md
Apr 1, 2015
- total architectural change to embedded Yaml

View File

@ -23,8 +23,7 @@ pin:
description: (optional)
18:
name: Rotary Encoder
description: (optional)
20:
description: (optional)
22:
name: IR Sensor
description: (optional)
@ -48,4 +47,4 @@ 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.

View File

@ -34,7 +34,7 @@ pin:
-->
#Sense HAT
LED Matrix: LED2472G -> ATTINY88 -> SPI(8/9/10/11)
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

View File

@ -1,5 +1,7 @@
This pin doubles up as the UART recieve pin, RXD. It's also commonly known as "Serial". By default your Pi will receive serial commands over this Pi and pass them into a Console, which gives you command-line control over your Pi using a Serial cable.
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.
The UART pins, with an appropriate cable, are extremely useful for setting up a "headless" ( a Pi without a screen ) Pi and getting it connected to a network.
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)

View File

@ -1,3 +1 @@
# HAT EEPROM Pins ID_SC and ID_SD
These pins are generally reserved for i2c communication with a HAT EEPROM.

View File

@ -4,22 +4,3 @@ It's easy to get started writing a digital HIGH or LOW to a GPIO pin, but you've
* Run your script as root
* Set your pin's mode to OUTPUT (1)
Assuming you've installed WiringPi2-Python ( pip install wiringpi2 ) then try pasting the following into a .py file:
```python
import wiringpi2 as wiringpi
HIGH = 1
LOW = 0
OUTPUT = 1
INPUT = 0
wiringpi.wiringPiSetup()
wiringpi.pinMode(8,OUTPUT)
wiringpi.digitalWrite(8,HIGH)
```
Then run it with:
```bash
sudo python myscript.py
```

View File

@ -1,12 +1 @@
SCL is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
```python
require 'wiringpi2'
HIGH = 1
LOW = 0
OUTPUT = 1
INPUT = 0
io = WiringPi::GPIO.new
io.pin_mode(9,OUTPUT)
io.digital_write(9,HIGH)
```
SCL is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).

View File

@ -1,5 +1,7 @@
This pin doubles up as the UART transmit pin, thus the name 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.
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.
UART is also 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.
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)

0
src/en-GB/template/layout.html Normal file → Executable file
View File

View File

@ -8,7 +8,7 @@ Ce document n'est pas destiné à l'impression, c'est à la fois un outil de ré
* 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
* Physical - numérotation correspondante à la position physique des broches sur le connecteur GPIO
* Physique - numérotation correspondante à la position physique des broches sur le connecteur GPIO
##Pi 2 (note 1)
@ -22,4 +22,6 @@ Veuillez notez que la séparation des 14 broches du B+ dans leur présentation P
##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)!
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: <a href="https://twitter.com/roguehal13">@RogueHAL13</a>

View File

@ -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"
}
}
}
```

View File

@ -1,7 +1,7 @@
<!--
---
name: Ground
description: Raspberry Pi Ground Pins
description: broches raccordées à la masse
pin:
'6':
'9':
@ -12,13 +12,10 @@ pin:
'34':
'39':
-->
#Ground
#Masse
The Ground pins ona the Raspberry Pi are all electrically connected, so it doesn't matter
which one you use if you're wiring up a voltage supply.
Les broches raccordées à la masse de la Raspberry Pi sont interconnectées et celle que vous utilisez n'a aucune importance.
Generally the one that's most convinient or closest to the rest of your connections is tidier
and easier, or alternatively the one closes to the supply pin that you use.
De manière générale, optez pour la broche qui vous rend la vie pratique, par exemple la plus proche de la broche d'alimentation que votre projet requière.
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.
Conseil: si vous devez connectez le bus [SPI](/pinout/spi), privilégiez les broches physiques 17 et 25 pour l'alimentation et la masse, respectivement, celles-ci se situent à proximité de celles de ce bus.

View File

@ -1,44 +1,44 @@
<!--
---
name: I2C
description: Raspberry Pi i2c pins
description: broches i2c de la Raspberry Pi
pin:
'3':
name: Data
name: Données
direction: both
active: high
'5':
name: Clock
name: Horloge
direction: both
active: high
'27':
name: EEPROM Data
name: EEPROM Données
direction: both
active: high
'28':
name: EEPROM Clock
name: EEPROM Horloge
direction: both
active: high
-->
#I2C - Inter Integrated Circuit
#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.
I2C est un moyen très pratique pour communiquer avec de multiples périphériques, un MCP23017 IO expander digital, un microprocesseur ATmega connecté à la Raspberry Pi, etc.
You can verify the address of connected I2C peripherals with a simple one-liner:
Pour vérifier la présence d'un périphérique sur le bus i2c, exécutez simplement les commandes suivantes:
```bash
sudo apt-get install i2c-tools
sudo i2cdetect -y 1
```
You can access i2c from Python using the smbus library:
Et pour un accès depuis Python (en passant par la bibliothèque logicielle externe 'smbus'):
```bash
sudo apt-get install python-smbus
```
And then in Python:
Puis:
```python
import smbus

View File

@ -16,14 +16,17 @@ pin:
12:
name: I2S
15:
name: (optional) Mute/Unmute Pi-AMP+
name: Mute/Unmute
description: Pi-AMP+ only (optional)
16:
name: (optional) Rotary Encoder
name: Rotary Encoder
description: (optional)
18:
name: (optional) Rotary Encoder
20:
name: Rotary Encoder
description: (optional)
22:
name: (optional) IR Sensor
name: IR Sensor
description: (optional)
35:
name: I2S
38:
@ -44,4 +47,4 @@ 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.

View File

@ -0,0 +1,41 @@
<!--
---
name: "Sense HAT"
manufacturer: Raspberry Pi Foundation
url: https://www.raspberrypi.org/products/sense-hat/
description: Add-on board that includes an 8×8 RGB LED matrix, 5-button joystick as well as IMU and environmental sensors
install:
'devices':
- 'i2c'
- 'spi'
pincount: 40
pin:
3:
mode: i2c
5:
mode: i2c
16:
name: Joystick
mode: input
18:
name: Joystick
mode: input
19:
mode: spi
21:
mode: spi
22:
name: Joystick
mode: input
23:
mode: spi
24:
mode: spi
-->
#Sense HAT
LED Matrix: LED2472G -> ATTINY88 -> SPI
Joystick: SKRHABE010 -> ATTINY88 -> GPIO23/24/25
Axis/IMU: LSM9DS1 -> i2c 0x1c(1e),0x6a(6b) (INT on MCU)
Pressure/Temp: LPS25H -> i2c 0x5c
Humidity/Temp: HTS221 -> i2c 0x5f

View File

@ -2,7 +2,7 @@
name: Raspberry Pi GPIO Pinout
pins:
'1':
name: Alimentation 3v3
name: Alimentation 3.3v
type: "+3v3"
'2':
name: Alimentation 5v
@ -141,7 +141,7 @@ pins:
alt3: SD1_CMD
alt4: ARM_RTCK
'17':
name: Alimentation 3v3
name: Alimentation 3.3v
type: "+3v3"
'18':
name: ''

View File

@ -1,3 +1,4 @@
###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.
###L'alimentation en 3.3V de la Raspi à une capabilité de courant d'à peu près 50 mA. Ceci est assez pour faire fonctionner quelques LEDs ou un microprocesseur, mais pas beaucoup plus.
You should generally use the 5v supply, coupled with a 3v3 regulator for 3.3v projects.
Conseil: Il est généralement préférable d'utiliser une source de courant capable de fournir 5V en conjonction avec un régulateur à 3.3V pour les projets nécessitant ce voltage.

View File

@ -1,5 +1,9 @@
This pin doubles up as the UART recieve pin, RXD. It's also commonly known as "Serial". By default your Pi will receive serial commands over this Pi and pass them into a Console, which gives you command-line control over your Pi using a Serial cable.
Cette broche correspond à la ligne de reception UART, RXD.
The UART pins, with an appropriate cable, are extremely useful for setting up a "headless" ( a Pi without a screen ) Pi and getting it connected to a network.
UART est communément appelé le bus 'série' (asynchrone). Les données reçues (et transmises) peuvent être facilement consultées depuis la console série. Moyennant un cable de liaison approprié il est également très simple de contrôler votre machine depuis un terminal.
[Learn more about UART](/pinout/uart)
Conseil: le protocol UART est souvent utilisé pour prendre en charge les RasPi sans écran/clavier, et les relier à un réseau.
le bus série est aussi extrêmement pratique pour communiquer avec des microprocesseurs de type Arduino ou Propeller, mais il est important alors de déactiver la console série à l'aide de raspi-config!
[référence UART](/pinout/uart)

View File

@ -1 +1,3 @@
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.
La broche BCM 18 est capable de délivrer un signal de type PWM. Ceci, combiné avec des procédés d'accès de mémoire directe, permet de contrôler des périphériques nécessitant un timing des données complexe.
Les LEDs WS2812 de l'[Unicorn HAT](/pinout/unicorn_hat) est un exemple de ce type d'approche.

1
src/fr-FR/pin/pin-17.md Symbolic link
View File

@ -0,0 +1 @@
/Users/rogue/Desktop/Pinout2/src/fr-FR/pin/pin-1.md

View File

@ -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.
###Les broches d'alimentation en 5V sont connectées directement à l'arrivée de courant de la Raspi et permettent de débiter la totalité de la source de courant (moins ce que la Pi elle-même requière).
With a decent power supply, such as the official Pi adaptor, you can expect to pull about 1.5A.
N'ayez aucune inquiétude cependant, une tension relativement basse de 5V est amplement suffisante pour alimenter des périphériques tels que circuits intégrés de type Arduino ou même des fils électroluminescents.
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!
Conseil: Une source de courant telle que l'alimentation officielle de la Raspberry Foundation est hautement conseillée, et vous permettra de bénéficier d'un total de 1.5A pour votre système.

View File

@ -1,3 +1 @@
# HAT EEPROM Pins ID_SC and ID_SD
These pins are generally reserved for i2c communication with a HAT EEPROM.
Ces broches sont généralement réservées à la communication i2c avec l'EEPROM des 'chapeaux' HAT.

View File

@ -1,11 +1,11 @@
SDA is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
SDA est la broche fournissant le signal de données du bus i2c de la Raspberry Pi, [référence i2c](/pinout/i2c).
It's easy to get started writing a digital HIGH or LOW to a GPIO pin, but you've got to remember a few things:
Conseil: Il est aisé de basculer une broche de l'état haut (HIGH) vers l'état bas (LOW), ou vice versa, mais prenez cependant quelques précautions:
* Run your script as root
* Set your pin's mode to OUTPUT (1)
* Exécutez vos scripts en invoquant l'utilisateur 'root'
* n'oubliez pas de déclarer la broche en tant que sortie (OUTPUT, 1)
Assuming you've installed WiringPi2-Python ( pip install wiringpi2 ) then try pasting the following into a .py file:
Par exemple, sous WiringPi2-Python ( pip install wiringpi2 ):
```python
import wiringpi2 as wiringpi
@ -18,7 +18,7 @@ wiringpi.pinMode(8,OUTPUT)
wiringpi.digitalWrite(8,HIGH)
```
Then run it with:
Puis:
```bash
sudo python myscript.py

View File

@ -1,4 +1,4 @@
SCL is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c).
SCL est la broche fournissant le signal d'horloge du bus i2c de la Raspberry Pi, [référence i2c](/pinout/i2c).
```python
require 'wiringpi2'

View File

@ -1 +1 @@
Ground!
Masse

View File

@ -1,5 +1,9 @@
This pin doubles up as the UART transmit pin, thus the name 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.
Cette broche correspond à la ligne de transmission UART, TXD.
UART is also 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.
UART est communément appelé le bus 'série' (asynchrone). Les données transmises (et reçues) peuvent être facilement consultées depuis la console série. Moyennant un cable de liaison approprié il est également très simple de contrôler votre machine depuis un terminal.
[Learn more about UART](/pinout/uart)
Conseil: le protocol UART est souvent utilisé pour prendre en charge les RasPi sans écran/clavier, et les relier à un réseau.
le bus série est aussi extrêmement pratique pour communiquer avec des microprocesseurs de type Arduino ou Propeller, mais il est important alors de déactiver la console série à l'aide de raspi-config!
[référence UART](/pinout/uart)

View File

@ -1,14 +1,21 @@
---
default_desc: The comprehensive Raspberry Pi GPIO Pinout guide for the original Raspberry
default_desc: Le guide complet des broches GPIO de la Raspberry Pi
Pi, B+ and Pi 2
default_title: Raspberry Pi GPIO Pinout - Pi 1, B+, Pi 2
title_suffix: " at Raspberry Pi GPIO Pinout"
title_suffix: " Raspberry Pi GPIO Pinout"
base_url: /pinout/
resource_url: /resources/
domain: fr.pinout.xyz
url_suffix:
urls:
GND: ground
strings:
- made_by: '* Produit {manufacturer}'
- type_hat: '* format HAT'
- type_classic: '* format Classic'
- pin_header: '* {} broches'
- uses_i2c: '* bus I2C'
- wiring_pi_pin: 'Broche Wiring Pi {}'
overlays:
- ground
- spi
@ -30,3 +37,4 @@ overlays:
- traffic-hat
- iqaudio-pi-dac
- piano-hat
- sense-hat

View File

@ -2,7 +2,6 @@
<html>
<head>
<title>{{title}}</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="description" content="{{description}}" />
<link href='//fonts.googleapis.com/css?family=Sanchez|Ubuntu+Mono' rel='stylesheet' type='text/css' />
<link href='{{resource_url}}prettify/prettify.css' rel='stylesheet' />
@ -10,7 +9,6 @@
<link href="{{resource_url}}pinout.css?v={{v}}" rel="stylesheet">
<link href="{{resource_url}}print.css?v={{v}}" rel="stylesheet" media="print">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
{{hreflang}}
<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32070014-1']);
@ -25,15 +23,14 @@
<body>
<div id="container">
<ul class="main-nav">
<li><a href="http://pi.gadgetoid.com/">Pi Blog</a></li>
<li><a href="http://eagle.gadgetoid.com">Learn Eagle</a></li>
<li><a href="http://pi.gadgetoid.com/">Blogue Pi</a></li>
<li><a href="http://eagle.gadgetoid.com">Leçons Eagle</a></li>
<li><a href="https://twitter.com/gadgetoid"><i class="fa fa-twitter"></i> @Gadgetoid</a></li>
<li><a href="https://github.com/Gadgetoid/Pinout2"><i class="fa fa-github"></i> Contribute</a></li>
{{lang_links}}
<li><a href="https://github.com/Gadgetoid/Pinout2"><i class="fa fa-github"></i> Contribuez!</a></li>
</ul>
<h1 class="logo"><a title="Raspberry Pi GPIO Pinout home" href="/pinout"><img src="{{resource_url}}pinout-logo.png" style="top:8px;" /><span>Raspberry Pi</span>n<span class="out">out</span></a></h1>
<div class="overlay-container">
<span>Learn about Pi add-ons and pin functions <i class="fa fa-arrow-right"></i></span>
<span>Tout savoir sur les cartes compatibles Raspberry Pi <i class="fa fa-arrow-right"></i></span>
<div class="drop-down">
<span>Select&hellip;</span>
<ul class="overlay">
@ -52,7 +49,7 @@
</div>
</div>
<div class="footer" style="clear: both;padding: 20px 0px;text-align:center;">
<p>Spotted an error, want to add your board's pinout? <a href="https://github.com/gadgetoid/Pinout2">Head on over to our GitHub repository</a> and submit an Issue or a Pull Request!</p>
<p>Vous voyez une erreur? Vous voulez soumettre une carte non représentée? <a href="https://github.com/gadgetoid/Pinout2">Visitez le GitHub Pinout</a> et faites une requête!</p>
</div>
</div>