Pages: [1]   Go Down
Author Topic: LCD Problems  (Read 726 times)
0 Members and 1 Guest are viewing this topic.
Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
« Last Edit: August 13, 2012, 03:29:48 am by arduinohabib » Logged

What is man's best friend? The breadboard!

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 36
Posts: 4324
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I wrote "hello, world!"
Logged

What is man's best friend? The breadboard!

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 36
Posts: 4324
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: August 13, 2012, 12:49:52 pm by floresta » Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 36
Posts: 4324
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: August 13, 2012, 01:13:15 pm by floresta » Logged

Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
 smiley smiley smiley
« Last Edit: August 13, 2012, 09:20:29 pm by arduinohabib » Logged

What is man's best friend? The breadboard!

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 36
Posts: 4324
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
How did you figure that out?
Sorry, that's an ancient Chinese secret.

Don
Logged

Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Haha! I live in Beijing, China!
Logged

What is man's best friend? The breadboard!

Pages: [1]   Go Up
Jump to: