LCD1602 questions [SOLVED]

Moderator: Benj

Post Reply
mb101
Flowcode v5 User
Posts: 5
Joined: Fri Jun 08, 2012 12:50 pm
Has thanked: 1 time

LCD1602 questions [SOLVED]

Post by mb101 »

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
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.

brandonb
Posts: 438
Joined: Mon Aug 29, 2011 12:26 am
Location: arizona
Has thanked: 175 times
Been thanked: 173 times

Re: LCD1602 questions

Post by brandonb »

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

mb101
Flowcode v5 User
Posts: 5
Joined: Fri Jun 08, 2012 12:50 pm
Has thanked: 1 time

Re: LCD1602 questions - SOLVED

Post by mb101 »

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
Hi,

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 :mrgreen:
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 :oops:

Thanks again :-)

Post Reply