Hi,
I'm having trouble getting an LCD1602 to work, can someone confirm the attached is the correct waveform just to eliminate anything? It correct to the data sheet and I never had issues in the past with this component!
I'm using a PIC, configured to RC clock running at 1MHz. I have checked with two LCD modules which I believe to be working.
Any thoughts or suggestions for me to try?
Thank you in advance for any help
Mark
LCD1602 questions [SOLVED]
Moderator: Benj
LCD1602 questions [SOLVED]
- Attachments
-
- LCD1602.gif
- LCD Trace
- (21.27 KiB) Downloaded 1252 times
Last edited by mb101 on Fri Jul 19, 2013 4:30 pm, edited 1 time in total.
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
Re: LCD1602 questions
rs should be low when sending a command and high when sending characters, in yours i don't see that, every time enable double pulses it has sent two nibbles (one byte), it doesnt appear that A0 is working correctly
Re: LCD1602 questions - SOLVED
Hi,brandonb wrote:rs should be low when sending a command and high when sending characters, in yours i don't see that, every time enable double pulses it has sent two nibbles (one byte), it doesnt appear that A0 is working correctly
thanks for the hints
I dug a bit deeper and I had the following issues -
1) the ground was floating at 2.2v on my dev board for the LCD only - that's why it pays to get a decent dev board
2) the RW line was driven to 5v, must be low (it's not used by the flowcode functions).
Yes you're right the RS line is low for control chars and toggles High when it's writing data to RAM (on the lcd) - the original trace I posted included the control chars setup at the start, I should have said
Thanks again