Who knows how to use LCD module smg12864a?
Author:Zheng Xiaopeng Time:2021-07-22 12:29 Browse(921)
Main technical parameters:
Main technical parameters:

Who knows how to use LCD module smg12864a?

display capacity: 128X64 dot matrix (STN) module, the best working voltage: 5.0V.
working voltage: 4.8 ~ 5.2v, point size: 0.48x0.48 (WXH) mm.
working current: 5.1ma (5.0V), working temperature: - 20 ~ 60 ℃.
backlight color: yellow and green, storage temperature: - 30 ~ 70 ℃.
backlight current: <140mA.
● interface signal description:
number symbol pin description Description of the numbered symbol pin.
1 VSS power supply ground 11 DB4 data I / O.
2 VDD power supply positive (+ 5V) 12 db5 data I / O.
3 V0 LCD bias input 13 DB6 data I / O.
4 RS data / command selection terminal (H / L) 14 DB7 data I / O.
5 R / W read / write control signal (H / L) 15 CS1 chip selection IC1 signal.
6 e enable signal 16 CS2 chip selection IC2 signal.
7 db0 data I / O 17 RST reset terminal (H: normal operation.
L: reset).
8 db1 data I / O 18 Vee LCD drive negative pressure output (- 5V).
9 DB2 Data I / O 19 BLA backlight positive electrode.
10 db3 data I / O 20 BLK backlight negative electrode.
● overall dimension:.
All of the
50.
33.20.
65.00.
70.00.
50.
20.
14.00.
14.00.
14.50.
33.20.
65.00.
70.50.
50.
12.5 with backlibacklibacklight.
12.5 with backlibacklibacklibacklibacklibacklight.
70.20v.20v.a.
70.20v.a.
70.50.
all of all of all of all of all of all of all of the backlibacklibacklibacklibacklibacklibacklight.
1 basic operation Timing:
1.1 read status: input: rs=L.
R / w=h, CS1 or CS2=h, e=h output: d0 ~ D7=status word.
1.2 write instruction: input: rs=L.
R / w=L, d0 ~ D7=instruction code, CS1 or CS2=h, e=high pulse output: none.
1.3 read data: input: rs=h.
R / w=h, CS1 or CS2=h, e=h output: d0 ~ D7=data.
1.4 write data: input: rs=h.
R / w=L, d0 ~ D7=data, CS1 or CS2=H, E=high pulse output: none.
2 status word description.
sta7 sta6 STA5 sta4 sta3 sta2 STA1 sta0.
D7 D6 D5 D4 D3 D2 D1 d0.
e=high pulse output: noneSta0-4 is not used.
STA5 lcd status 1: off 0: display.
sta6 is not used.
sta7 read / write operation enable 1: disable 0: allow.
note: read / write detection must be carried out before each read / write operation on the controller, Make sure sta7 is 0.
3 RAM address map.
LCD screen is controlled by two controllers.
each internal.
RAM buffer with 64x64 bits (512.
bytes).
.
the corresponding relationship is shown in the right figure.
4 instruction description.
4.1 initialization setting.
4.1.1 display on / off setting.
instruction code function.
3eh off display.
3fh on display.
4.1.2 display The controller is equipped with a data address page pointer and a data address column pointer.
the user can access all 512 byte ram.
LCD.
128X64 points.
D7.
d0.
IC2.
8-page x64 column.
64x64 points.
IC1.
64x64 points.
8-page x64 Column.
4.2.1 data pointer setting.
instruction code function.
0b8h + page number (0-7) setting data address page pointer.
40H + column code (0-63) setting data address column pointer.
the function of instruction code is as follows:4.2.2 read data: see Section 1.3.
4.2.3 write data: see section 1.4.
5 initialization process.
5.1 write command 0c0h: set display initial line.
5.2 write command 3fh: turn on display.
smg12864a reference connection:
1. 8051 series bus mode:
2. 8051 series analog port mode:
8.
0.
5.
1.
M.
U.
C.
p2.7.
p2.0.
p2.2.
p2.1.
p2.3>
all
all
1 / 2W.
8.
0.
5.
1.
M.
C.
U.
p3.4.
P3.0.
p3.2.
P3.1.
p3.3. P1.7.

1. Read operation sequence.
2. Write operation sequence.
3 Sequence parameter.
limit value.
sequence parameter symbol.
minimum value, typical value, maximum value.
unit.
test condition.
e signal period TC 1000 -- ns.
e pulse width TPW 450 -- ns.
e rising / falling edge time tr.
TF -- 25 ns.
pin E.
address establishment time TSP1 140 -- ns.
address retention time tshd1 10 -- ns.
pin E.
rs, CSX, R / W.
data setup time (read operation) TD -- 320 ns.
data retention time (read operation) thd2 20 -- ns.
data setup time (write operation) TSP2 200 -- ns.
data setup time (write operation) TSP2 200 -- NSThe time to keep the data (write operation) the time to keep the data (write operation) the high-tech data is the time to keep the data (write operation) to keep the data (write operation) to keep the data (write operation) to keep the data (write operation) to keep the data (write operation) to keep the data (write operation) to keep the data (db0-db7-db7, db0-db7, db0-db7, db0-db7.
db0-db7-db7.



db0.

db0 and

valid data.
TSP2.
I came to see the comments.
.
1
Hot labels
Related topics