Ligne 54 : |
Ligne 54 : |
| Pour pouvoir envoyer des données sur le LCD, nous allons effectuer les raccordements comme suit: | | Pour pouvoir envoyer des données sur le LCD, nous allons effectuer les raccordements comme suit: |
| | | |
| + | * Connectez le +5V d'alimentation du Pi sur le rail d'alimentation du breadboard.<br />Depuis le rail d'alimentation, faite un raccordement vers: |
| + | * Le potention, |
| + | * Broche 2 du LCD (VDD), |
| + | * Broche 15 du LCD (LED+). |
| {{traduction}} | | {{traduction}} |
− | * Connect Pi 5V power to the power rail of the breadboard. From the power rail connect one outer lead of the potentiometer, LCD pin 2 (VDD), and LCD pin 15 (LED+). | + | * Connectez Pi ground to the ground rail of the breadboard. From the ground rail connect the other outer lead of the potentiometer, LCD pin 1 (VSS), and LCD pin 5 (R/W). |
− | * Connect Pi ground to the ground rail of the breadboard. From the ground rail connect the other outer lead of the potentiometer, LCD pin 1 (VSS), and LCD pin 5 (R/W).
| + | * Connectez the middle lead of the potentiometer to LCD pin 3 (V0/contrast). |
− | * Connect the middle lead of the potentiometer to LCD pin 3 (V0/contrast). | + | * Connectez Pi pin 27 (or 21 on older revision Pi's) to LCD pin 4 (RS). |
− | * Connect Pi pin 27 (or 21 on older revision Pi's) to LCD pin 4 (RS). | + | * Connectez Pi pin 22 to LCD pin 6 (E/clock enable). |
− | * Connect Pi pin 22 to LCD pin 6 (E/clock enable). | + | * Connectez Pi pin 25 to LCD pin 11 (DB4). |
− | * Connect Pi pin 25 to LCD pin 11 (DB4). | + | * Connectez Pi pin 24 to LCD pin 12 (DB5). |
− | * Connect Pi pin 24 to LCD pin 12 (DB5). | + | * Connectez Pi pin 23 to LCD pin 13 (DB6). |
− | * Connect Pi pin 23 to LCD pin 13 (DB6). | + | * Connectez Pi pin 18 to LCD pin 14 (DB7). |
− | * Connect Pi pin 18 to LCD pin 14 (DB7). | + | * Connectez Pi pin 4 to LCD pin 16 (-R/red). |
− | * Connect Pi pin 4 to LCD pin 16 (-R/red). | + | * Connectez Pi pin 17 to LCD pin 17 (-G/green). |
− | * Connect Pi pin 17 to LCD pin 17 (-G/green). | + | * Connectez Pi pin 7 / CE1 to LCD pin 18 (-B/blue). |
− | * Connect Pi pin 7 / CE1 to LCD pin 18 (-B/blue). | |
| | | |
| N'oubliez pas de raccorder le potentiomètre de réglage du contraste comme suit: | | N'oubliez pas de raccorder le potentiomètre de réglage du contraste comme suit: |