2x16 LCD (Backlite #27977) Problems
Michael Nagy
Posts: 3
Hi - I am having a heck of a time getting reliable display of data on the subject display.· Most characters display fine, but the display insists on 'skipping' characters every now and then, no matter how slowly they are sent.·
I have it set to·2400 baud, and have verified the data format with a digital scope and see no glitches in the serial datastream at all.· The serial data rate is approximately 3% fast, which should be well within limits.· Supply voltage is bang-on at +5.0v.· I have identical results on two separate LCD units, so if it is a hardware issue it is the same on both units (one·unit first opened today to test this).
I am pretty much at my wits end with this.· Any one else seen anything similar?· The only thing I can remotely imagine at this juncture is power-supply noise, but I am not too hopeful on that score.· I will next take a crack at filtering·that·in any case.
- Michael
I have it set to·2400 baud, and have verified the data format with a digital scope and see no glitches in the serial datastream at all.· The serial data rate is approximately 3% fast, which should be well within limits.· Supply voltage is bang-on at +5.0v.· I have identical results on two separate LCD units, so if it is a hardware issue it is the same on both units (one·unit first opened today to test this).
I am pretty much at my wits end with this.· Any one else seen anything similar?· The only thing I can remotely imagine at this juncture is power-supply noise, but I am not too hopeful on that score.· I will next take a crack at filtering·that·in any case.
- Michael
Comments
On thing does occur to me at this point - the documentation is silent on the details of the serial framing format. I assumed 8/N/1 (8 bits, no parity, 1 stop bit). Is the module perhaps requiring 1.5 or 2 stop bits?
- Michael
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
Thanks for you comments, too, Chris. The 8N1 statement really should be in the docs somewhere. It is probably presumed because that is how the PIC parts work, but since I don't use those, it wasn't apparent.
- Michael