Hello.. I am really new to microcontrollers & LCDs. I m trying to implent a simplest circuit which in using 8051 a text is displayed on 16 x2 lcd module. u can view the schematic and hex file in the attached files.. and also i have programmed the ready made hex file to 8051 which is suppose to display a text. but making all the connections, when i give 5v to lcd's vcc pin and to 8051's vcc pin. LCD only shows the boxes ..ie no text.. So what should i do? is there anything more to do in order to make the 8051 to run the program ??
I've really tried google but it didnt help me..
Thnx in advance
Note. it is hex file in the attachment .. so remove .asmfrom the last
I don't see how google doesn't help?, there must be hundreds of LCD designs out there based on the old 8051's?.
However, just looking at the circuit, where's your contrast control?, without that been present and correctly adjusted it's unlikely to display anything, even if working correctly.
i've added the contrast pot and is working fine: but it would even really help me if someone could give me another hex file for 16x1 or 16x2 along with the schemetic ..
i've added the contrast pot and is working fine: but it would even really help me if someone could give me another hex file for 16x1 or 16x2 along with the schemetic ..
That's one reason, another (which is why we mentioned it) is that the contrast isn't correctly adjusted - as was obvious from his diagram.
The OP was rather vague - but if it's just a single line of squares it 'could' be the setting up, but if it's two lines of squares, it's almost certainly contrast issues.
That's one reason, another (which is why we mentioned it) is that the contrast isn't correctly adjusted - as was obvious from his diagram.
The OP was rather vague - but if it's just a single line of squares it 'could' be the setting up, but if it's two lines of squares, it's almost certainly contrast issues.
I've never had this problem with contrast....I've found that the lcd displays I've worked with needed next to nothing on the contrast pin to work, hence my thoughts being around s/w....
but thanks for pointing out that it could still be a contrast setting...