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
3 posts • Page 1 of 1
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
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
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