Modifications

Sauter à la navigation Sauter à la recherche
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{Rasp-Hack-Afficheur-LCD-NAV}}
 
{{Rasp-Hack-Afficheur-LCD-NAV}}
 +
 +
== Afficheur LCD ==
    
[[Fichier:Rasp-Hack-Afficheur-LCD-Montage-01.jpg|500px]]
 
[[Fichier:Rasp-Hack-Afficheur-LCD-Montage-01.jpg|500px]]
   −
Whenever you come across a LCD that looks like it has 16 connectors it is most likely using a HD44780 controller. These devices provide the same pinouts making them relatively easy to work with. The LCD uses a parallel interface meaning that we will need many pins from our raspberry pi to control it. In this tutorial we will use 4 data pins (4-bit mode) and two control pins.
+
Lorsque vous rencontrez un afficheur LCD qui dispose d'un connecteur 16 broches comme celui ci, il y a de fortes chances pour que celui-ci utilise un contrôleur d'affichage HD44780. Ces dispositifs fournissent habituellement le même brochage (même organisation de broches/same pinouts) ce qui fait qu'il est relativement aisé de travailler avec eux.  
 +
 
 +
L'afficheur LCD utilise une interface parallèle, ce qui signifie que nous aurons besoin de plusieurs broches de notre Raspberry PI pour le contrôler. Dans ce tutoriel, nous allons utiliser 4 broches de données (mode 4-bit) et deux broches de contrôle.
 +
 
 +
Les '''data pins''' (broche de données) parlent d'elles même. Elles envoent les données vers l'afficheur (en plaçant leurs états a haut/bas... ''high/low'' en anglais). Nous allons uniquement utiliser le mode d'écriture pour afficher du texte et n'allons pas lire de données stockées dans la mémoire du LCD.
   −
The '''data pins''' are straight forward. They are sending data to the display (toggled high/low). We will only be using write mode and not reading any data.
+
{{traduction}}
    
The '''register select''' pin has two uses. When pulled low it can send commands to the LCD (like position to move to, or clear the screen). This is referred to as writing to the instruction or command register. When toggled the other way (1) the register select pin goes into a data mode and will be used to send data to the screen.
 
The '''register select''' pin has two uses. When pulled low it can send commands to the LCD (like position to move to, or clear the screen). This is referred to as writing to the instruction or command register. When toggled the other way (1) the register select pin goes into a data mode and will be used to send data to the screen.
29 910

modifications

Menu de navigation