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.

problem with 16x2 lcd

Status
Not open for further replies.

electroboy

Member level 5
Joined
Dec 30, 2010
Messages
86
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,879
i am using at89c51 controller. i am receiving data serially from my computer with visual basic and sending it to lcd.
The program identifies each key (alphabet) pressed and displays it in lcd.
i am using a key(HOME) to make the cursor in lcd to go to the beginning of second line (C0 command).
ALL the keys pressed gets displayed properly (A,B,C, e.t.c).. But when i press HOME key the cursor disappears and does not go to second line .. and the characters do not display in the 2nd line.. but everything works fine in the first line....

what may be the problem ? please help.. thanks in advance..
 

disconnect the serial port cable from your controller
short the rx tx pin of serial cable
press home key and display serial output in text box
check is it valid code what your micro receiving to send cursor at beginning position in lcd or not
if no then correct it

if yes than check the lcd commands for cursor position
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top