diff --git a/src/fr/README.md b/src/fr/README.md deleted file mode 100644 index 5aecd27..0000000 --- a/src/fr/README.md +++ /dev/null @@ -1,5 +0,0 @@ -#WIP French translation - -This is a work in progress, many files are not yet translated! - -Ce dossier est en cours de traduction! \ No newline at end of file diff --git a/src/fr/overlay/dots.md b/src/fr/overlay/dots.md index fcdf2ae..a92d5be 100644 --- a/src/fr/overlay/dots.md +++ b/src/fr/overlay/dots.md @@ -1,115 +1,112 @@ #Raspberry Pi Dots -###Dots is a Dot to Dot HAT board for the Raspberry Pi that lets you join-the-dots with BARE Conductive Paint! +###Dots est un project éducatif qui vous permet de créez un circuit en joignant les points représentés avec de la peinture électrique. -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +Les points du circuit sont des contacts métalliques que la peinture connectera à la masse, créant un effect de résistance de rappel. -Every Dot on the Dots board is a "floating" metal contact just waiting to be pulled down to ground with a dab of paint. +Pour lire l'état d'un contact métallique, assurez vous de déclarer la broche correspondante en tant qu'entrée et en 'pull-up', comme ceci: -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.setmode(GPIO.BCM) GPIO.setup(dot_pin, GPIO.IN, GPIO.PUD_UP) state = GPIO.input(dot_pin) ``` -It's good practise to only turn on the PULLUP when you actually want to read the Dot, so a method like -this is recommended for reading: +Il est cependant recommandé de n'activer le 'pull-up' que lorsque nécessaire pour la requête, par l'intermédiaire d'une fonction telle que celle qui suit: ```python def is_dot_connected(dot_pin): diff --git a/src/fr/overlay/iqaudio-pi-dac.md b/src/fr/overlay/iqaudio-pi-dac.md index e84ece7..46f1146 100644 --- a/src/fr/overlay/iqaudio-pi-dac.md +++ b/src/fr/overlay/iqaudio-pi-dac.md @@ -3,51 +3,43 @@ name: "Pi-DAC+" manufacturer: IQaudIO buy: http://www.iqaudio.co.uk -description: An I2S digital to analog audio converter HAT for the Pi +description: Convertisseur numérique-analogique pour la Raspberry Pi install: 'devices': - 'i2c' pincount: 40 pin: - 3: + '3': mode: i2c - 5: + '5': mode: i2c - 12: + '12': name: I2S - 15: - name: Mute/Unmute - description: Pi-AMP+ only (optional) - 16: - name: Rotary Encoder - description: (optional) - 18: - name: Rotary Encoder - description: (optional) - 22: - name: IR Sensor - description: (optional) - 35: + '15': + name: silence + description: pour le Pi-AMP+ (option) + '16': + name: encodeur rotatif + description: (option) + '18': + name: encodeur rotatif + description: (option) + '22': + name: capteur IR + description: (option) + '35': name: I2S - 38: + '38': name: I2S - 40: + '40': name: I2S --> #IQaudIO Pi-DAC+ -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +Le Pi-DAC+ permet de convertir le signal audio numérique I2S de la Raspi en analogique, à l'aide de son CDA Texas Instrument PCM5122 et sorties phono. Il comprend aussi un pre-ampli pour sortie casque Texas Instrument TPA6133A. -The Pi-DAC+ takes the digital audio signals (I2S) from the Raspberry Pi and through the -onboard Texas Instruments PCM5122 DAC delivers variable output (hardware volume -control) analog audio to the Pi-DAC+ Phono connectors. The PI-DAC+ also, via the -Texas Instruments TPA6133A headphone amp, supports the direct use of headphones via -the Pi-DAC+ 3.5mm audio jack. +La broche GPIO22 peut être utilisée pour couper le volume de l'ampli optionnel Pi-AMP+ rapidement (fonction mute/silence). -The Pi Dac uses GPIO22 to mute/unmute the Pi-AMP+. +De même la broche GPIO25 peut être utilisée pour la lecture d'un capteur IR, et les broches GPIO23/24 pour celle d'un encodeur rotatif. Ces composants sont des options à souder sur la carte en elle-même. -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. +Note: Les broches réservées à ces options peuvent être utilisées pour d'autres applications du moment qu'elles n'ont pas été activées programmatiquement pour leur fonction Pi-DAC. \ No newline at end of file diff --git a/src/fr/overlay/piborg-ledborg.md b/src/fr/overlay/piborg-ledborg.md index a16cd7e..6f7b3f4 100644 --- a/src/fr/overlay/piborg-ledborg.md +++ b/src/fr/overlay/piborg-ledborg.md @@ -1,40 +1,39 @@ -###The PiBorg LedBorg is an ultra-bright RGB LED board for the Raspberry Pi. +###La carte PiBorg LedBorg ajoute une LED tricolore RGB à votre Raspberry Pi. -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +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. -PiBorg has its own driver, so you don't need to drive it manually. +Pour ce faire, sachez que les broches WiringPi concernées sont les suivantes: -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: +WiringPi broche 0: LED rouge +WiringPi broche 2: LED verte +WiringPi broche 3: LED bleue +Voici un exemple WiringPi sous Python: ```python import wiringpi2 as wiringpi @@ -44,8 +43,8 @@ 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 +# 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 diff --git a/src/fr/overlay/pibrella.md b/src/fr/overlay/pibrella.md index dca7b81..8b680d4 100644 --- a/src/fr/overlay/pibrella.md +++ b/src/fr/overlay/pibrella.md @@ -3,76 +3,73 @@ name: Pibrella manufacturer: Pimoroni Vs Cyntech url: https://github.com/pimoroni/pibrella -description: An all-in-one light, sound, input and output add-on board. +description: carte multi-usage avec son, lumière, entrées et sorties pincount: 26 pin: '7': - name: Green LED + name: LED verte direction: output active: high '11': - name: Yellow LED + name: LED jaune direction: output active: high '12': - name: Buzzer + name: buzzer piezo direction: output active: high '13': - name: Red LED + name: LED rouge direction: output active: high '15': - name: Output A + name: sortie A direction: output active: high '16': - name: Output B + name: sortie B direction: output active: high '18': - name: Output C + name: sortie C direction: output active: high '19': - name: Input D + name: sortie D direction: output active: high '21': - name: Input A + name: entrée A direction: input active: high '22': - name: Output D + name: entrée D direction: output active: high '23': - name: Button + name: bouton direction: input active: high '24': - name: Input C + name: entrée C direction: input active: high '26': - name: Input B + name: entrée B direction: input active: high --> #Pibrella -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +La Pibrella est une carte à usage multiple avec son, lumière, entrées et sorties. Elle monopolise un nombre élevé de broches GPIO tout en laissant cependant les bus série, SPI et i2c libres. -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: +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/pibrella | bash ``` -Then import it into your Python script and start tinkering: +Puis, sous Python, en guise de test que tout fonctionne bien: ```bash import pibrella diff --git a/src/fr/overlay/piglow.md b/src/fr/overlay/piglow.md index 3344b8c..9fd5146 100644 --- a/src/fr/overlay/piglow.md +++ b/src/fr/overlay/piglow.md @@ -5,16 +5,22 @@ manufacturer: Pimoroni url: https://github.com/pimoroni/piglow github: https://github.com/pimoroni/piglow buy: http://shop.pimoroni.com/products/piglow -description: Simply 18 LEDs in a spiral pattern controllable in Python. +description: une spirale de LED contrôlable depuis Python. pincount: 26 pin: - '1': {} - '2': {} '3': mode: i2c '5': mode: i2c - '14': {} - '17': {} --> -#PiGlow \ No newline at end of file +#PiGlow + +La Piglow est une carte petit format pour la Raspberry Pi composée de 18 LEDs contrôlables individuellement. + +Le circuit intégré responsable de la gestion des LEDs est le SN3218, un microchip PWM 8-bit à 18 canaux. Il communique avec la Raspi par le bus I2C, à l'adresse 0x54 plus précisément. Les LEDs peuvent se voir attribuer une valeur comprise entre 0 et 255. + +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/piglow | bash +``` diff --git a/src/fr/overlay/rtk-000-001.md b/src/fr/overlay/rtk-000-001.md index 9279334..0ab8978 100644 --- a/src/fr/overlay/rtk-000-001.md +++ b/src/fr/overlay/rtk-000-001.md @@ -1,60 +1,48 @@ -#Ryanteck Motor Controller Board +#Contrôleur moteur Ryanteck RTK-000-001 -###A quick and easy way to start driving motors on your Raspberry Pi - -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +###Contrôler un moteur connecté au RTK-000-001 depuis votre Raspberry Pi est aisé: ```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.setmode(GPIO.BCM) 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() ``` \ No newline at end of file diff --git a/src/fr/overlay/skywriter-hat.md b/src/fr/overlay/skywriter-hat.md index b61d6c9..aafb962 100644 --- a/src/fr/overlay/skywriter-hat.md +++ b/src/fr/overlay/skywriter-hat.md @@ -5,7 +5,7 @@ manufacturer: Pimoroni url: https://github.com/pimoroni/skywriter-hat github: https://github.com/pimoroni/skywriter-hat buy: http://shop.pimoroni.com/products/skywriter-hat -description: A 3D positional and gesture sensor. +description: un capteur de mouvements 3D install: 'apt': - 'python-smbus' @@ -22,24 +22,18 @@ pin: '5': mode: i2c '11': - name: Reset + name: reset '13': - name: Transfer + name: transfer --> #Skywriter HAT -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +Le Skywriter est capable de détecter la position de vos doigts dans l'espace défini en 3 dimensions au dessus de son capteur. Il transfère les coordonnées X, Y et Z à votre Raspi, qui sont dès lors disponibles pour effectuer l'opération désirée au sein de votre script. -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. +En analysant ces données dans le temps il est aussi possible de reconnaître toutes sortes de gestes et de les traiter de manière appropriée. -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: +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 ``` - -And follow the instructions! diff --git a/src/fr/overlay/traffic-hat.md b/src/fr/overlay/traffic-hat.md index 8967af4..4a6060f 100644 --- a/src/fr/overlay/traffic-hat.md +++ b/src/fr/overlay/traffic-hat.md @@ -4,52 +4,48 @@ name: Traffic HAT manufacturer: Ryanteck LTD. url: http://www.ryanteck.uk/store/traffichat buy: http://www.ryanteck.uk/store/traffichat -description: A quick and easy way to learn the basics of GPIO on a budget. All in - a nice HAT. +description: carte multi-usage avec buzzer, LED et bouton pincount: 40 pin: '15': - name: LED1 / Green + name: LED1 / vert direction: output active: high '16': - name: LED2 / Amber + name: LED2 / orange direction: output active: high '18': - name: LED3 / Red + name: LED3 / rouge direction: output active: high '22': - name: Button + name: bouton direction: input active: high '29': - name: Buzzer + name: buzzer direction: output active: high --> #Traffic HAT -###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 +###Contrôler les broches GPIO du Traffic HAT depuis votre Raspberry Pi est aisé: ```python -import RPi.GPIO as IO +import RPi.GPIO as GPIO from time import sleep -IO.setmode(IO.BCM) +GPIO.setmode(GPIO.BCM) -#Lights -IO.setup(22,IO.OUT) -IO.setup(23,IO.OUT) -IO.setup(24,IO.OUT) +#LEDs +GPIO.setup(22,GPIO.OUT) +GPIO.setup(23,GPIO.OUT) +GPIO.setup(24,GPIO.OUT) #Buzzer -IO.setup(5,IO.OUT) +GPIO.setup(5,GPIO.OUT) -#Button -IO.setup(25,IO.IN,pull_up_down=IO.PUD_UP) +#Bouton +GPIO.setup(25,GPIO.IN,pull_up_down=GPIO.PUD_UP) ``` \ No newline at end of file diff --git a/src/fr/overlay/unicorn-hat.md b/src/fr/overlay/unicorn-hat.md index 62d71b4..c11335b 100644 --- a/src/fr/overlay/unicorn-hat.md +++ b/src/fr/overlay/unicorn-hat.md @@ -4,7 +4,7 @@ name: Unicorn HAT manufacturer: Pimoroni url: http://shop.pimoroni.com/products/unicorn-hat buy: http://shop.pimoroni.com/products/unicorn-hat -description: 64 blindingly bright RGB LEDs on a single HAT +description: une matrice 8x8 de LEDs RGB github: https://github.com/pimoroni/unicornhat install: 'apt': @@ -18,7 +18,7 @@ install: pincount: 40 pin: '12': - name: Data + name: données direction: output mode: pwm active: high @@ -26,22 +26,17 @@ pin: --> #Unicorn HAT -##AWAITING TRANSLATION -##EN COURS DE TRADUCTION +l'Unicorn présente une matrice composée de 64 LEDs tricolores RGB contrôlées par une bibliothèque programmée en C, mais addressable depuis Python. -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. +Important: l'opération de l'Unicorn au travers de la broche PWM n'est pas compatible avec l'usage de la sortie analogique audio de la Raspberry Pi, et il n'est pas possible d'utiliser les deux simultanément. -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: +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/unicornhat | bash ``` -Then import it into your Python script and start tinkering: +Puis, sous Python, en guise de test que tout fonctionne bien: ```bash import unicornhat diff --git a/src/fr/settings.yaml b/src/fr/settings.yaml index 0b44022..dc7771c 100644 --- a/src/fr/settings.yaml +++ b/src/fr/settings.yaml @@ -20,7 +20,7 @@ strings: - uses_n_gpio_pins: ' {} broches GPIO actives' - bcm_pin_rev1_pi: 'broche BCM {} sur Raspi Rev 1' - physical_pin_n: 'broche physique {}' -- more_information: 'informations supplémentaires' +- more_information: 'plus d''info' - github_repository: 'lien GitHub' - buy_now: 'achat' overlays: