Ligne 2 : |
Ligne 2 : |
| | | |
| {{traduction}} | | {{traduction}} |
| + | == Utiliser les broches digitale 13 et 14 == |
| + | |
| + | The cable to interconnect UniPi and RPi does not contain wires for inputs 13 and 14. |
| + | |
| + | To get the inputs working you have to make a custom connection cable. Below is aed to picture of the P5 header on UniPi. It was design fit the RPi model B so it is the same as P5 header of RPi. |
| + | |
| + | [[Fichier:UniPi-entree-digitiale-13-et-14.jpg]] |
| + | |
| + | You can use any of the unused GPIOs and wire them to these two pins and of course edit the evok.conf file in order to make it work. |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | | align="center" | Broche du connecteur RPI |
| + | | align="center" | Fonction RPI |
| + | | align="center" | Broche UniPi P5 |
| + | | align="center" | Fonction UniPi |
| + | |- style="font-size: 90%" |
| + | | align="left" | 27 |
| + | | align="left" | (GPIO28) ID_SD |
| + | | align="left" | 5 |
| + | | align="left" | I2C0 Data |
| + | |- style="font-size: 90%" |
| + | | align="left" | 28 |
| + | | align="left" | (GPIO29) ID_SC |
| + | | align="left" | 6 |
| + | | align="left" | I2C0 Clock |
| + | |- style="font-size: 90%" |
| + | | align="left" | 29 |
| + | | align="left" | GPIO5 |
| + | | align="left" | 3 |
| + | | align="left" | Digital Input 13 |
| + | |- style="font-size: 90%" |
| + | | align="left" | 31 |
| + | | align="left" | GPIO6 |
| + | | align="left" | 4 |
| + | | align="left" | Digital Input 14 |
| + | |- style="font-size: 90%" |
| + | | align="left" | x |
| + | | align="left" | x |
| + | | align="left" | 7 |
| + | | align="left" | 3.3V |
| + | |- style="font-size: 90%" |
| + | | align="left" | x |
| + | | align="left" | x |
| + | | align="left" | 8 |
| + | | align="left" | 5V |
| + | |- style="font-size: 90%" |
| + | | align="left" | x |
| + | | align="left" | x |
| + | | align="left" | 1,2 |
| + | | align="left" | GND |
| + | |} |
| + | |
| + | Les broches GND ne sont pas obligatoires et 3V3 est uniquement lorsque l'on utilise le second bus I2C. |
| | | |
| {{UniPi-TRAILER}} | | {{UniPi-TRAILER}} |