Introduction



The most commonly used Character based LCDs are based on Hitachi's HD44780 controller or other which are compatible with HD44580. In this tutorial, we will discuss about character based LCDs, their interfacing with various microcontrollers, various interfaces (8-bit/4-bit), programming, special stuff and tricks you can do with these simple looking LCDs which can give a new look to your application.

For Specs and technical information HD44780 controller Click Here

Pin Description



The most commonly used LCDs found in the market today are 1 Line, 2 Line or 4 Line LCDs which have only 1 controller and support at most of 80 charachers, whereas LCDs supporting more than 80 characters make use of 2 HD44780 controllers.

Most LCDs with 1 controller has 14 Pins and LCDs with 2 controller has 16 Pins (two pins are extra in both for back-light LED connections). Pin description is shown in the table below.


Figure 1: Character LCD type HD44780 Pin diagram


Pin No. Name Description
1VSSPower supply (GND)
2VCCPower supply (+5V)
3VEEContrast adjust
4RS0 = Instruction input
1 = Data input
5R/W0 = Write to LCD module
1 = Read from LCD module
6ENEnable signal
7D0Data bus line 0 (LSB)
8D1Data bus line 1
9D2Data bus line 2
10D3Data bus line 3
11D4Data bus line 4
12D5Data bus line 5
13D6Data bus line 6
14D7Data bus line 7 (MSB)
Table 1: Character LCD pins with 1 Controller
Pin No. Name Description
1D7Data bus line 7 (MSB)
2D6Data bus line 6
3D5Data bus line 5
4D4Data bus line 4
5D3Data bus line 3
6D2Data bus line 2
7D1Data bus line 1
8D0Data bus line 0 (LSB)
9EN1Enable signal for row 0 and 1 (1stcontroller)
10R/W0 = Write to LCD module
1 = Read from LCD module
11RS0 = Instruction input
1 = Data input
12VEEContrast adjust
13VSSPower supply (GND)
14VCCPower supply (+5V)
15EN2Enable signal for row 2 and 3 (2ndcontroller)
16NCNot Connected
Table 2: Character LCD pins with 2 Controller
Usually these days you will find single controller LCD modules are used more in the market. So in the tutorial we will discuss more about the single controller LCD, the operation and everything else is same for the double controller too. Lets take a look at the basic information which is there in every LCD.


Share it! Like it!

Conversation

ExperimenterUK
Thu Jul 30 2015, 11:41 PM
@Muhammad Aarshad build what ?
Wed Jul 29 2015, 06:42 PM
Muhammad Aarshad
Hello I want to build it, but I don't know how can I program the micro controller. Can You send me the code of the IC? Thanks in advance My e-mail: [email protected]
Sat Jul 25 2015, 10:37 PM
Arnali
What does the cross means? The ones from pin 7,8,9,10 of the LCD?
Fri Jul 24 2015, 09:53 AM
HARSHAL PATIL
....
shyam
Thu Jul 23 2015, 01:42 PM
hi Ajay
ajay_bhargav
Mon Jul 20 2015, 04:38 AM
@Rohit Biradar, I am glad my tutorial helped
Thu Jul 16 2015, 06:19 PM
Rohit Biradar
Thanks a lot publisher of this tutorial. Everybody tells about the nibble sending methods and the command set for 4-wire lcd interface. You are the first to tell me about the most important part that is resetting the lcd. This thing got me all day. Now I can sleep in peace. Thanks once again. Million thanks.
Thu Jul 16 2015, 12:24 PM
Baby
my project is related to control the door in dam. by keil program how can i control the same.
Thu Jul 16 2015, 09:12 AM
rutuja
plzzz giveme more details about this project.if i want to type any words then how it will be happen bcoz no more letters are on remote.suggest about it
Sat Jul 11 2015, 09:55 AM
Abhijit Deshmukh
ok

Downloads

Comments

albatain
Fri Jul 31 2015, 02:58 AM
KDN
Wed Jul 29 2015, 05:14 AM
Tanvir.
Fri Jul 24 2015, 07:59 AM
erummumtaz
Thu Jul 23 2015, 10:47 PM
balvant
Thu Jul 16 2015, 03:56 PM
seoulmak
Mon Jul 13 2015, 01:21 PM
SHIVKHUMAR
Sat Jul 11 2015, 04:10 AM
Nals99
Fri Jul 03 2015, 08:33 AM

Online

Guests: 41, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37679
Newest member: albatain
Forum Activity
Mc_Comet32 Avatar
Posted By Mc_Comet32
Sun Jul 26 2015, 05:49 PM
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Jul 23 2015, 08:14 PM
Try this link.Basically find the tacho output pin...
seoulmak Avatar
Posted By seoulmak
Mon Jul 20 2015, 03:44 PM
ajay_bhargav Avatar
Posted By ajay_bhargav
Mon Jul 20 2015, 04:42 AM
Ok then, check if you did not mention "LCD_ClearSc...
ajay_bhargav Avatar
Posted By ajay_bhargav
Mon Jul 20 2015, 04:41 AM
I am assuming you're talking about the small CPU f...
ajay_bhargav Avatar
Posted By ajay_bhargav
Mon Jul 20 2015, 04:36 AM
Amit Kumar Das Avatar
Posted By Amit Kumar Das
Sun Jul 19 2015, 04:17 AM
Yes they are fine. I have included everything. Una...
seoulmak Avatar
Posted By seoulmak
Fri Jul 17 2015, 08:41 AM
yes, but i need more information to connect the f...
balvant Avatar
Posted By balvant
Thu Jul 16 2015, 04:07 PM
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Jul 15 2015, 05:42 PM
Is this a project listed on this site ?