Вы находитесь на странице: 1из 12

Introduction How lcd differ from led?

Lcd commands Characteristics Parameters Pin configuration Modes of lcd

Introduction
The lcd and led are the most widly

used embadded systems. Embadded means its a combination of hardware and software. Lcd can operate in two modes Four bit mode Eight bit mode Lcd is a 16 pin connector

How lcd differ from led?


Lcd is finding widespread use replacing LEDs.

This is due to the following reasons , 1)The declining prices of LCD 2)The ability to display numbers ,characters, and graphics.this is contrast to the leds which are limited to the numbers and few characters. 3)Incorporation of refreshing the cpu into the LCD. In contrast the LED must be refreshed by the cpu. 4)Ease of programming for charecters and graphics

Lcd commands
code 1) 2) Clear display screen Return home

4)
6) 5) 7) 8) A) c) E) F) 10) 14) 18) 1C) 80) C0) 38)

Decrement cursor
Increment cursor Shift display left Shift display left Display off ,cursor off. Display off, cursor on. Display on, cursor blinking Display on ,cursor blinking Display on ,cursor blinking Shift cursor position to left Shift cursor position to right Shift entire display to left Shift entire display to right Force cursor to beginning of 1st line Force cursor to the beginning of 2nd line 2 lines and 5*7 matrix

Characteristics
Display content :-16*2 characters

Lcd type :- STN BLUE,GRAY


Led backlight:-y/g, white blue green Controller:-ks0066 or equal Operating temperature:-(0-5c) Power supply:-5.0v Viewing angle:-6h;12h

Parameters
Parameters Supply voltage Input voltage Lcd drive voltage Operating vg Symbol Vdd -Vss Vin IDD Min 4.5 -0.3to2.2 Max 5.0 0.6 4.7 type 3.0 Unit V V V MA

Pin configuration
1 Vss 2 Vdd 3 Vee 4 5 6 E 7 D0 8 9 10 D3 11 D4 12 D5 13 D6 14 15 16 Led k R R/ S W D1 D2 D7 Led A

1 2 3

Vss Vcc Vee

Ground Power supply Power supply to contrast

4
5 6 7 8 9 10 11 12 13 14 15 16

RS
R/w E D0 D1 D2 D3 D4 D5 D6 D7 Led A Led K

Register select
Read/write Enable 8 bit Data bus 8 bit Data bus 8 bit Data bus 8 Bit Data bus 8 bit data bus 8 bit data bus 8 bit data bus 8 bit data bus Anode kathode

Lcd can operate in two modes 1)Four bit mode (4 data pins) 2)Eight bit mode(8 data pins)

10

15

16

Vss Vd d

Vee RS

R/ W

D0

D1

D2

D3

Le Le dA dk

10

11

12

13

14

15

16

Vss Vd d

Vee RS

R/ W

D0

D1

D2

D3

D4

D5

D6

D7

Le Le dA dk

Вам также может понравиться