Modifications

Sauter à la navigation Sauter à la recherche
1 595 octets ajoutés ,  31 décembre 2016 à 11:09
Ligne 136 : Ligne 136 :     
{{ambox-stop|text=If you would like to permanently turn on the LCD backlight, connect the red, green, blue backlight wires to ground instead of to your development board.}}
 
{{ambox-stop|text=If you would like to permanently turn on the LCD backlight, connect the red, green, blue backlight wires to ground instead of to your development board.}}
 +
 +
== Diagramme de câblage ==
 +
 +
[[Fichier:Rasp-Hack-Afficheur-LCD-Montage-a02.png]]
 +
 +
Le montage ci-dessus peut être réalisé plus facilement un{{link-product-picobblerplus}}.
 +
 +
Premièrement, connectez les broches d'alimentation du cobbler sur les rails d'alimentation du breadboard. +5.0V du cobbler est raccordé sur le rail marqué d'une ligne rouge (le fil rouge). Et la broche GND du cobbler est raccordé sur le rail marqué d'une ligne bleue (le fil noir)
 +
 +
Pour pouvoir envoyer des données sur le LCD, nous allons effectuer les raccordements comme suit:
 +
 +
{{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+).
 +
* 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).
 +
* Connect the middle lead of the potentiometer to LCD pin 3 (V0/contrast).
 +
* Connect Pi pin 27 (or 21 on older revision Pi's) to LCD pin 4 (RS).
 +
* Connect Pi pin 22 to LCD pin 6 (E/clock enable).
 +
* Connect Pi pin 25 to LCD pin 11 (DB4).
 +
* Connect Pi pin 24 to LCD pin 12 (DB5).
 +
* Connect Pi pin 23 to LCD pin 13 (DB6).
 +
* Connect Pi pin 18 to LCD pin 14 (DB7).
 +
* Connect Pi pin 4 to LCD pin 16 (-R/red).
 +
* Connect Pi pin 17 to LCD pin 17 (-G/green).
 +
* 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:
 +
* La broche gauche sur la masse/GND/ground (fil noir)
 +
* La broche droite raccordée à +5V (fil rouge)
 +
    
{{Rasp-Hack-Afficheur-LCD-TRAILER}}
 
{{Rasp-Hack-Afficheur-LCD-TRAILER}}
29 910

modifications

Menu de navigation