Continue to Site

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.

Display of 8 characters in 8x2 LCD

Status
Not open for further replies.

SURJANSH

Newbie level 4
Newbie level 4
Joined
Jun 19, 2011
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,331
I am using a LCD display ( basically in a project involving 8051 MCU , and serial communication with my pc through hyperterminal)
And it is not showing characters after displaying the first 8.
So pleas help me out of the problem.

Thanks in advance
 

plz paste your code here
have u configure the lcd before sending data to it?
 

Actually i wanted the possible CG RAM addresses of that 8x2 LCD..
8x2 LCD is not mentioned in the 8051 book that i have.

---------- Post added at 18:33 ---------- Previous post was at 18:32 ----------

Actually i wanted the possible CG RAM addresses of that 8x2 LCD..
becoz , 8x2 LCD is not mentioned in the 8051 book that i have.
the coding i can handle myself.
 

The address of second line is 0xc0
 

check the datasheet of HD44780.

---------- Post added at 14:05 ---------- Previous post was at 14:04 ----------

It will help you completely for understanding LCD at all.
 
Yes, the code is most likely expecting a 16x2 display. You would need to advance to the second line (and respective cursor position, e.g. 0x40) after the first 8 characters.
 

If you would like us to help you, I would suggest posting or uploading your code and a schematic if available.

It sound like the cursor is not being positioned correctly or the LCD was not initialized correctly.

BigDog
 

The code to change address is 0x80+ the address(0x40). So the data for the start of line 2 command is 0xc0 and the start of line 1 is 0x80.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top