Tags:
tag this topic
create new tag
view all tags
---+ L'afficheur LCD deux lignes à 16 caractères ---++ Introduction Le module LCD 1602 peut afficher deux lignes à 16 caractères. ll utilise une interface !I2C avec un chip PCF8574 qui facilite les connexions entre le CPU et l’afficheur, puisque seulement quatre pins sont nécessaires : Vcc, GND et les lignes SCL et SDA du bus !I2C. Le PCF8574 agit comme registre à décalage similaire au 74HC595 mais il utilise le bus !I2C comme interface avec le CPU au lieu d'utiliser les pins GPIO simples. La fiche technique se trouve sur https://www.handsontec.com/dataspecs/module/I2C_1602_LCD.pdf <img alt="lcd.png" height="568" src="%ATTACHURL%/lcd.png" title="lcd.png" width="581" /> ---++ Interfaçage de l'LCD avec son contrôleur L’afficheur lui-même est contrôle par un chip [[https://www.sparkfun.com/datasheets/LCD/HD44780.pdf][HD44780]] en mode 4 bit. Le schéma du circuit complet du module LCD1602 est le suivant : <img alt="lcd1602diag.png" height="378" src="%ATTACHURL%/lcd1602diag.png" title="lcd1602diag.png" width="896" /> <font face="Liberation Serif, serif">Le PCF8574 possède 8 pins de sortie qui sont connecté comme suit :</font> | PCF8574 | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 | | HD44780 | D7 | D6 | D5 | D4 | BL | EN | R/W | RS | <font face="Liberation Serif, serif">BL : lumière de fond (</font><font face="Liberation Serif, serif"><b>B</b></font><font face="Liberation Serif, serif">ack </font><font face="Liberation Serif, serif"><b>L</b></font><font face="Liberation Serif, serif">ight)</font> <font face="Liberation Serif, serif">EN : </font><font face="Liberation Serif, serif"><b>E</b></font><font face="Liberation Serif, serif"><b>N</b></font><font face="Liberation Serif, serif">able, ce signal est utilisé pour transférer les données dans les registres du HD44780</font> <font face="Liberation Serif, serif">RW : </font><font face="Liberation Serif, serif"><b>R</b></font><font face="Liberation Serif, serif">ead/</font><font face="Liberation Serif, serif"><b>W</b></font><font face="Liberation Serif, serif">rite, sélectionne lecture ou écriture</font> <font face="Liberation Serif, serif">RS : </font><font face="Liberation Serif, serif"><b>R</b></font><font face="Liberation Serif, serif">egister </font><font face="Liberation Serif, serif"><b>S</b></font><font face="Liberation Serif, serif">elect : sélectionne le registre de données </font><font face="Liberation Serif, serif">(</font><font face="Liberation Serif, serif"><b>D</b></font><font face="Liberation Serif, serif">ata </font><font face="Liberation Serif, serif"><b>R</b></font><font face="Liberation Serif, serif">egister DR) ou le registre d’instructions (</font><font face="Liberation Serif, serif"><b>I</b></font><font face="Liberation Serif, serif">nstruction </font><font face="Liberation Serif, serif"><b>R</b></font><font face="Liberation Serif, serif">egister IR)</font> ---++ -- %USERSIG{UliRaich - 2021-06-21}% ---++ Comments %COMMENT%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
lcd.png
r1
manage
426.5 K
2021-06-21 - 08:48
UliRaich
png
lcd1602diag.png
r1
manage
63.9 K
2021-06-21 - 08:51
UliRaich
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2021-06-21
-
UliRaich
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
IoT_Course_French Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback