Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

information about commands required for lcd 16 by 1

Status
Not open for further replies.

jpkalsi

Newbie level 2
Joined
Aug 13, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
INDIA
Activity points
1,299
lcd 16x1

i want know about all commands for lcd 16x1
 

M!k

Advanced Member level 2
Joined
Apr 22, 2002
Messages
682
Helped
109
Reputation
218
Reaction score
35
Trophy points
1,308
Activity points
4,824
16x1 lcd

most important to know: which LCD controller?
 

jpkalsi

Newbie level 2
Joined
Aug 13, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
INDIA
Activity points
1,299
16x1 lcd commands

i have used 8051 microcontroller. actually there is a problem that the lcd is displaying only left 8 char. the next one's are not displayed
. if you know about it please tell me soon.
thanks.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
48,266
Helped
14,224
Reputation
28,709
Reaction score
12,917
Trophy points
1,393
Location
Bochum, Germany
Activity points
279,523
lcd command 0xc3

The question was about the LCD controller respectively display manufacturer and type, not your microprocessor.

As mentioned in a recent same topic thread and various other edaboard contributions, 16x1 is often configured as 2x8. You'll easily find out by playing around with initialization code and character addresses.
 

Tajinder Singh

Junior Member level 1
Joined
Jun 12, 2009
Messages
18
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,283
Activity points
1,395
lcd 16x1 8051

in 16x1 lcd
data address is as follows

00 01 02 03 04 05 06 07 40 41 42 43 44 45 46 47 in hex

next eight character has starting address of 40 as opposed to 16x2 lcd in which 40 is for next line
 

rushi53

Member level 2
Joined
Aug 19, 2009
Messages
46
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
India
Activity points
1,632
lcd type 16x1

refer to mazidi book
there they have written everything about lcd commands
I am sure thats enough for you

-----------------------------------------------------
Thanks,
Rushikesh
www.projectsof8051.com
 
  • Like
Reactions: Aaron2

    Aaron2

    Points: 2
    Helpful Answer Positive Rating

sau_sol

Full Member level 5
Joined
Feb 27, 2008
Messages
257
Helped
40
Reputation
80
Reaction score
11
Trophy points
1,298
Location
India
Activity points
2,509
lcd 16x1 controllers

the display addresses are goes in the following ways in the LCD controllers

for 16x1

0x80 0x81 0x82 0x83 0x84 0x85 0x86 0x87 0xC0 0xC1 0xC2 0xC3 0xC4 0xC5 0xC6 0xC7


for 16x2
0x80 0x81 0x82 0x83 0x84 ... 0x8D 0x8E 0x8F
0xC0 0xC1 0xC2 0xC3 0xC4 ... 0xCD 0xCE 0xCF

so you have to change the addresses of the data displayed in case for 16x1 to display the rest of the 8 chracters
 

john.l

Newbie level 4
Joined
Sep 9, 2009
Messages
7
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,310
lcd 16x1

talking about commands, is there any difference between 16x1 and 16x2 ?
 

sau_sol

Full Member level 5
Joined
Feb 27, 2008
Messages
257
Helped
40
Reputation
80
Reaction score
11
Trophy points
1,298
Location
India
Activity points
2,509
initializing code 16x1 lcd

no there is no difference in the commands
only the display is the difference
 

rushi53

Member level 2
Joined
Aug 19, 2009
Messages
46
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
India
Activity points
1,632
Re: lcd 16x1

john.l said:
talking about commands, is there any difference between 16x1 and 16x2 ?


all commands are same except addressing
for 16x1 you have to use addresses starting from 80h
and for 16x2 => for first line 80h and for second line C0h

rest all is same
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top