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.

Questions about Character LCD and AT89S52....

Status
Not open for further replies.

kit_714

Member level 4
Joined
Jul 5, 2006
Messages
70
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
2,011
viva questions on at89s52

Hi All,

i have a problem when interfacing 16x2 character LCD and AT89S52....

when i try to power up the system, the LCD cannot show the character which i write in the program...

However, when i try to reset the MCU...LCD shows the correct character...

what are the possible reasons for this strange phenomenon??

Remarks : i am using Port 2 as databus and 3 pins of Port 0 for control the RS, WR and EN pins...

Thanks in advanced...

Kit
 

at start use delay of 20ms ,

make port po pull up by 10k resistor network,

try contrast control preset for better view .
 

Hi,

i tried to give a delay when initializing LCD in the program...

however...still has the same problem...

do i need to give delay by hardware circuitry??

is there any method that can solve the problem??

Thanks for your kindly help ...

Added after 2 hours 40 minutes:

One more questions....

Can it be solved by watchdog timer??

If yes...can anyone send me the source code to initialize the watchdog timer?

Thanks a lot!
 

Hai here is a simple code for driving 2 x 16 lcd.


**broken link removed**


check the timings in the initilaisation code. (all commands until clear lcd)


Regards
Nandhu
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top