Parallax serial LCD weirdness
I have two serial LCDs, a 2x16 and a 4x20. Both of them worked fine at first. , but now I have trouble with both of them. I can start up a Javelin on a demo board that is connected to a LCD and most of the time the display shows nothing but the cursor. Sometimes it displays a partial string, losing the beginning of the string. Power down and power up without touching a thing and the display that has been displaying only a cursor works fine for the entire time I have the power on. I am not doing anything different between runs so I can't figure out what is causing it to work some of the time and not others. I am now using the 4x20 but I had the same experience with the 2 x 16. When they were new, both of them worked perfectly all the time. Then they got flaky. If it weren't for the fact that sometimes it starts up fine and stays working fine until the next power off/on sequence, I would say that the LCD is just going south on me. I don't understand how to explain this behavior? Any ideas?
Comments
I have never seen this behavior before in one of these displays. Sounds like a bad/intermittent connection maybe?· Perhaps something in the DIP switch causing it to have the wrong baud mode after what you described.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Do you happen to have another LCD around that you could use temporarily? If so, that might eliminate or confirm a faulty LCD immediately.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It occurs to me that if you don’t have the proper initialization you can get these same symptoms…There is a HIGH command for the LCD line, followed by a PAUSE. These should be in your code at the beginning. Also, if you use the CLS command you must use a PAUSE 5 after. In each case I can recall weirdness at startup that was the issue. Of course, in those cases it was only during startup. After that everything displayed correctly, although the cursor mode sometimes hadn’t been set properly.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Do you happen to have a BASIC Stamp? It would be interesting to see (since you’re using a Javelin) if this happens on a BASIC Stamp just to help narrow down the issue.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
That’s good news…Sort of…Definitely when things start getting weird I usually try to narrow the problem down by replacing components on both sides of the equation. In this case the controller. Remember, you can get a discounted replacement on a damaged module by contacting us at Parallax. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support