Go Down

Topic: LCD Problems (Read 845 times) previous topic - next topic

arduinohabib

Aug 13, 2012, 10:27 am Last Edit: Aug 13, 2012, 10:29 am by arduinohabib Reason: 1
I have an LCD screen and I wired it up to my Arduino and loaded the "Hello World" sketch to my Arduino and this is gibberish appeared on the screen. The picture is on my blog: http://habibifier.blog.com/2012/08/13/lcd-problems/
What is the problem and how do I fix it?
Thanks so much!
What is man's best friend? The breadboard!

dxw00d

Which LCD screen?
How exactly is it wired to your Arduino?
What exact code are you running?

phreeky

Bit of a guess based on the hello world 16x2 LCD sample I've seen. The text is in the correct location (including the counter on the 2nd line) so you're not far off. The exclamation point and space characters are displaying correctly (char 32 + char 33), and being lower ASCII values they wont have the more significant bits in use. 'H' (what should be the first char) is character 65 so uses the 2nd most significant bit, as will all the others (excluding the previously mentioned space and !), so I am guessing that the 2nd wire has a bad connection or something along those lines.

I hope that helps.

floresta

To elaborate on the previous two posts:

In order to evaluate this properly we have to know exactly what data was sent to the display.  Did you send 'Hello World', 'hello world', 'Hello, world!', or some other variation?  

We also have to know exactly what characters were displayed.  I can't read your display well enough to examine the pixels in the non alphabetic symbols.

We also have to be able to unambiguously follow each wire from one end to the other and also examine the solder connections.


Don


arduinohabib

I wrote "hello, world!"
What is man's best friend? The breadboard!

floresta

#5
Aug 13, 2012, 07:46 pm Last Edit: Aug 13, 2012, 07:49 pm by floresta Reason: 1
Quote
I wrote "hello, world!"

Now if I only knew what was actually displayed for each of those characters I might be able to help.  It would also help to know the character set for your particular LCD display which is frequently shown in the datasheet.

Don

floresta

#6
Aug 13, 2012, 08:11 pm Last Edit: Aug 13, 2012, 08:13 pm by floresta Reason: 1
OK - I think I have figured it out.  You owe me a new pair of glasses.

I believe you have a short, most likely a solder bridge at the LCD pins, between D6 and D7 (LCD pins 13 and 14).


Don

arduinohabib

#7
Aug 14, 2012, 04:15 am Last Edit: Aug 14, 2012, 04:20 am by arduinohabib Reason: 1
Yes!! You are right! There was a soldering problem with DB7 and DB6. Thank you so much! And I certainly owe you a new pair of glasses! How did you figure that out?
:) :) :)
What is man's best friend? The breadboard!

floresta

Quote
How did you figure that out?

Sorry, that's an ancient Chinese secret.

Don

arduinohabib

Haha! I live in Beijing, China!
What is man's best friend? The breadboard!

Go Up