Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 5 : Ligne 5 :  
{{bloc-etroit|text=Vous pouvez ignorer cette section si vous ne disposez pas encore de module Quick2Wire.  }}  
 
{{bloc-etroit|text=Vous pouvez ignorer cette section si vous ne disposez pas encore de module Quick2Wire.  }}  
   −
[[Fichier:Pi-WiringPi-Exemple-Quick2Wire-21.jpg|480px]]<br /><small>Source: [http://wirinPi.com wiringPi.com]<br />
+
[[Fichier:Pi-WiringPi-Exemple-Quick2Wire-21.jpg|640px]]<br /><small>Source: [http://wirinPi.com wiringPi.com]<br />
 
La carte d'extension Quick2Wire à 16 broches digitale. Le port Port A, bit 0 connecté sur une LED à l'aide d'une résistance de 220Ω.</small>
 
La carte d'extension Quick2Wire à 16 broches digitale. Le port Port A, bit 0 connecté sur une LED à l'aide d'une résistance de 220Ω.</small>
   −
The GPIO expansion board uses the MCP23017 GPIO expansion chip. This provides 16 additional IO pins which you can use in your own programs in exactly the same way you might use the Pi’s on-board GPIO pins.
+
La carte d'extension GPIO utilise un circuit intégré MCP23017. Ce fournit 16 broches d'entrée/sortie additionnelles que vous pouvez utiliser dans vos propres programmes de la même façon que si vous utiliser une broche du GPIO de votre Raspberry-Pi.
   −
=== Note ===
+
== Résistance de protection ==
Unlike the 8 IO pins on the Quick2Wire main board, these IO pins do not have any sort of series resistors or over voltage protection, so take care to only connect them to 3.3v devices.
+
A l'opposé de la carte d'extension 8 entrée/sortie de Quick2Wire, les IO (entrées/sorties) de la carte utilisé dans cet exemple '''ne disposent pas de résistance de protection''' ni de protection contre les surtensions.
 +
 
 +
<font color="red">'''Vous devez faire attention à n'utiliser que des périphériques 3.3v.'''</font>.
 +
 
 +
Si vous désirez utiliser des périphériques en logique 5v, vous pouvez ajouter un [http://mchobby.be/PrestaShop/product.php?id_product=194 convertisseur de niveau logique comme celui-ci] ou [http://mchobby.be/PrestaShop/product.php?id_product=131 celui-là].
    
=== Raccordements ===
 
=== Raccordements ===
To do some tests, we’ll start with a single LED connected to Port A, bit 0. The circuit above uses a 220Ω resistor then the LED then a connection to the GND/0v pin on the main board.
+
Pour faire quelques tests, nous allons commencer par raccorder une LED connectée que le Port A, bit 0.  
 +
 
 +
Le cirThe circuit above uses a 220Ω resistor then the LED then a connection to the GND/0v pin on the main board.
    
== Les commandes ==
 
== Les commandes ==
Ligne 46 : Ligne 52 :  
For more advanced testing, I have a small board with a block of 10 LEDs on and a little push-button switch:
 
For more advanced testing, I have a small board with a block of 10 LEDs on and a little push-button switch:
   −
[[Fichier:Pi-WiringPi-Exemple-Quick2Wire-22.jpg|480px]]<br /><small>Source: [http://wirinPi.com wiringPi.com]</small>
+
[[Fichier:Pi-WiringPi-Exemple-Quick2Wire-22.jpg|640px]]<br /><small>Source: [http://wirinPi.com wiringPi.com]</small>
    
Here is a variant of the program I used when testing wiringPi v2′s ability to use the mcp23017 GPIO expansion chip:
 
Here is a variant of the program I used when testing wiringPi v2′s ability to use the mcp23017 GPIO expansion chip:
29 917

modifications

Menu de navigation