abhay wrote:> hi .i m interfacing 16x2 lcd to my P89LPC935 but i m unable to get > the desired output.i hav tested many times and also the program is > correct as i m able to debug it & observe the output correctly.i hav > also replaced my lcd one time. i m using HY-1602F6 lcd module.i hav > checked my pin configurations again & again but the lcd is just > flashing with backlight voltage input pins. > i m getting only blocks of one row display with no character when i > change the contrast. > > Could anyone helpme out in this as i hav to complete my project with > this lcd module soon .also i would be thankful if anyone could suggest > anyother lcd module for reliable & low cost operation. >By no means an expert, but on 2 different controllers I have had to put a 5ms delay after raising the R/S pin. The display controllers would always treat the data as a command unless I put this delay in place. This was even with the code supplies by Microchip Application Maestro (I use PICs).
lcd interfacing
Started by ●August 4, 2006
Reply by ●August 7, 20062006-08-07
Reply by ●August 8, 20062006-08-08
hi guys.... thanks for ur response.........i tried with the following new modifications. power on reset delay of 50ms vss connected to gnd thru pot. i had tried this lcd module with delay as well as by polling busy flag.but it has not changed anything. i got another lcd of jhd162a but later noticed that it is based on same controller (ks0066). however i m trying on that rite now with these new modifications.one thing that i m not getting is that why this lcd is displaying bricks of only one line
Reply by ●August 8, 20062006-08-08
abhay wrote: .one> thing that i m not getting is that why this lcd is displaying bricks of > only one lineThese is not much point in responing to you if your not going to read the responces.
Reply by ●August 8, 20062006-08-08
lcd has started working.the actual problem was that the ground of micro & lcd was not common.thanx for ur suggestions.also the power on reset delay concept proved helpful.
Reply by ●August 12, 20062006-08-12
i hav been able to programmed lcd and able to work through it by delays & polling for busy flag.i need to interface one keypad & lcd to my microcontroller p89lpc935.i am getting output on lcd when i press keys on the keypad & output is correct also.but i am not able to do the same through interrupt programming of keypad.i have enabled appropriate bits for interrupt programming. also i am able to do keypad through interrupt & watch its output on my hyperterminal window .......but it is not showing on lcd. can u suggest reason for the same