diff --git a/src/de/settings.yaml b/src/de/settings.yaml index 35991f0..73f3e9a 100644 --- a/src/de/settings.yaml +++ b/src/de/settings.yaml @@ -15,7 +15,14 @@ strings: - 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' overlays: - ground - spi diff --git a/src/en/overlay/i2c.md b/src/en/overlay/i2c.md index ccbfd4a..00e5d2e 100644 --- a/src/en/overlay/i2c.md +++ b/src/en/overlay/i2c.md @@ -26,7 +26,7 @@ pin: 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.8k 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: diff --git a/src/en/pin/pin-3.md b/src/en/pin/pin-3.md index 4b47d26..3f1f9df 100644 --- a/src/en/pin/pin-3.md +++ b/src/en/pin/pin-3.md @@ -1,3 +1,3 @@ SDA (i2c Data) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c). -SDA includes a fixed, 1.8k 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 +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. \ No newline at end of file diff --git a/src/en/pin/pin-5.md b/src/en/pin/pin-5.md index 2b03f53..814ea07 100644 --- a/src/en/pin/pin-5.md +++ b/src/en/pin/pin-5.md @@ -1,3 +1,3 @@ SCL (i2c Clock) is one of the i2c pins on the Pi, [learn more about i2c](/pinout/i2c). -SCL includes a fixed, 1.8k 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 +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/en/settings.yaml b/src/en/settings.yaml index 771fa4f..e11bff0 100644 --- a/src/en/settings.yaml +++ b/src/en/settings.yaml @@ -15,6 +15,7 @@ strings: - 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' diff --git a/src/es/pin/pin-3.md b/src/es/pin/pin-3.md index b53cb4d..09fd271 100644 --- a/src/es/pin/pin-3.md +++ b/src/es/pin/pin-3.md @@ -1,25 +1 @@ SDA es uno de los pines i2c en la Pi, [aprende más sobre i2c](/pinout/i2c). - -Es fácil escribir un HIGH (encendido) o LOW (apagado) digital a un pin del GPIO, pero debes recordar algunas cosas: - -* Ejecuta tus programas como root -* Ajusta el modo de los pines a OUTPUT (1) - -Asumiendo que has instalado WiringPi2-Python ( pip install wiringpi2 ) prueba a pegar lo siguiente en un archivo .py: - -```python -import wiringpi2 as wiringpi -HIGH = 1 -LOW = 0 -OUTPUT = 1 -INPUT = 0 -wiringpi.wiringPiSetup() -wiringpi.pinMode(8,OUTPUT) -wiringpi.digitalWrite(8,HIGH) -``` - -Ejecútalo con: - -```bash -sudo python myscript.py -``` diff --git a/src/es/settings.yaml b/src/es/settings.yaml index 25c2250..d30820f 100644 --- a/src/es/settings.yaml +++ b/src/es/settings.yaml @@ -15,7 +15,14 @@ strings: - 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 - spi diff --git a/src/fr/overlay/i2c.md b/src/fr/overlay/i2c.md index 74e879d..d7ee805 100644 --- a/src/fr/overlay/i2c.md +++ b/src/fr/overlay/i2c.md @@ -25,6 +25,8 @@ pin: 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. +Les broches i2c de la Raspi incorporent une résistance de tirage fixée à 1.8 kohms qui maintient la ligne à 3.3 volts. En conséquence elles ne peuvent être utilisées en entrées/sorties pour les applications générales ne nécessitant pas de 'pull-up'. + Pour vérifier la présence d'un périphérique sur le bus i2c, exécutez simplement les commandes suivantes: ```bash diff --git a/src/fr/pin/pin-3.md b/src/fr/pin/pin-3.md index be3a614..e475584 100644 --- a/src/fr/pin/pin-3.md +++ b/src/fr/pin/pin-3.md @@ -1,25 +1,3 @@ SDA est la broche fournissant le signal de données du bus i2c de la Raspberry Pi, [référence i2c](/pinout/i2c). -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: - -* Exécutez vos scripts en invoquant l'utilisateur 'root' -* n'oubliez pas de déclarer la broche en tant que sortie (OUTPUT, 1) - -Par exemple, sous WiringPi2-Python ( pip install wiringpi2 ): - -```python -import wiringpi2 as wiringpi -HIGH = 1 -LOW = 0 -OUTPUT = 1 -INPUT = 0 -wiringpi.wiringPiSetup() -wiringpi.pinMode(8,OUTPUT) -wiringpi.digitalWrite(8,HIGH) -``` - -Puis: - -```bash -sudo python myscript.py -``` \ No newline at end of file +Important: incorpore une résistance de tirage fixée à 1.8 kohms qui maintient la ligne à 3.3 volts. En conséquence elle ne peut être utilisées en entrée/sortie pour les applications générales ne nécessitant pas de 'pull-up'. diff --git a/src/fr/pin/pin-5.md b/src/fr/pin/pin-5.md index e410d69..b165f74 100644 --- a/src/fr/pin/pin-5.md +++ b/src/fr/pin/pin-5.md @@ -1,12 +1,3 @@ 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' -HIGH = 1 -LOW = 0 -OUTPUT = 1 -INPUT = 0 -io = WiringPi::GPIO.new -io.pin_mode(9,OUTPUT) -io.digital_write(9,HIGH) -``` \ No newline at end of file +Important: incorpore une résistance de tirage fixée à 1.8 kohms qui maintient la ligne à 3.3 volts. En conséquence elle ne peut être utilisées en entrée/sortie pour les applications générales ne nécessitant pas de 'pull-up'. diff --git a/src/fr/settings.yaml b/src/fr/settings.yaml index ed8ee3c..0b44022 100644 --- a/src/fr/settings.yaml +++ b/src/fr/settings.yaml @@ -10,12 +10,19 @@ url_suffix: urls: GND: masse strings: -- made_by: 'Produit {manufacturer}' +- 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 {}' +- uses_spi: 'bus SPI' +- wiring_pi_pin: 'broche Wiring Pi {}' +- 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' +- github_repository: 'lien GitHub' +- buy_now: 'achat' overlays: - ground - spi diff --git a/src/it/pin/pin-3.md b/src/it/pin/pin-3.md index ab2faea..ff9d0c3 100644 --- a/src/it/pin/pin-3.md +++ b/src/it/pin/pin-3.md @@ -1,6 +1 @@ SDA è uno dei pin i2c del Raspberry, [maggiori informazioni su i2c](/pinout/i2c). - -È facile muovere i primi passi scrivendo un HIGH o LOW digitale su un pin GPIO, ma devi ricordarti un paio di cose: - -* Lancia il tuo script come root -* Imposta la modalità del tuo pin ad OUTPUT (1) diff --git a/src/it/settings.yaml b/src/it/settings.yaml index 6ef61b3..503b202 100644 --- a/src/it/settings.yaml +++ b/src/it/settings.yaml @@ -15,7 +15,14 @@ strings: - type_classic: 'Fattore di forma classico' - pin_header: '{} pin header' - uses_i2c: 'Utilizza I2C' +- uses_spi: 'Utilizza SPI' - wiring_pi_pin: 'Wiring Pi pin {}' +- uses_n_gpio_pins: ' Utilizza {} 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 - spi diff --git a/src/tr/pin/pin-3.md b/src/tr/pin/pin-3.md index 78ff085..fcde481 100644 --- a/src/tr/pin/pin-3.md +++ b/src/tr/pin/pin-3.md @@ -1,25 +1 @@ SDA, Raspberry Pi'deki I2C pinlerinden biri. [I2c hakkında detaylı bilgi](/pinout/i2c). - -GPIO pinleri ile dijital HIGH ve LOW değerlerini okumak ve hazırlamak oldukça kolay, yalnız bazı hususlara dikkat etmeniz gerekmekte: - -* Kodu çalıştıracak script'inizi root (süper yönetici) hakları ile çalıştırmalısınız. -* Pin'in modunu OUTPUT (1) olarak tanımlamalısınız. - -Eğer WiringPi2-Pytgon kütüphanesini kurduysanız ( pip install wiringpi2 ) o zaman aşağıdaki kodu bir .py dosyası olarak kaydedip çalıştırabilirsiniz: - -```python -import wiringpi2 as wiringpi -HIGH = 1 -LOW = 0 -OUTPUT = 1 -INPUT = 0 -wiringpi.wiringPiSetup() -wiringpi.pinMode(8,OUTPUT) -wiringpi.digitalWrite(8,HIGH) -``` - -Ardından şu komutla çalıştırabilirsiniz: - -```bash -sudo python scriptadi.py -``` \ No newline at end of file diff --git a/src/tr/settings.yaml b/src/tr/settings.yaml index 88ac8d1..540970e 100644 --- a/src/tr/settings.yaml +++ b/src/tr/settings.yaml @@ -14,7 +14,14 @@ strings: - 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' overlays: - ground - spi