Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - Serlcd Help

(you are viewing a thread; or go back to list of threads)

Serlcd Help (by Frank Mc Alinden)
Hi Guys

I have bought a couple of sparkfun serlcd ver 2.5 and im having some problems...I have connected one to my pc via a rs232 level shifter and was able to config it ok display message ok....But connecting it to a pic16f88 using LDMICRO i cant get it to display proper messages...I have the baud rate set for 2400...Any ideas anyone...
Thanks
Frank
Wed May 12 2010, 05:05:32
Got It Working (by Frank Mc Alinden)
Hi Guys

Got it working....

Firstly thanks to Aldemir Da Silva,s for posting his serlcd serlcd sample code...Below is a link in the forum..

http://cq.cx/ladder-forum.pl?action=viewthread&parent=702

In his sample serlcd code he Powers the serlcd via a transistor..
I thought this was specific to his lcd so i chose to ignore it (silly me)...
Anyway what i did was connect my pic tx pin to the lcd and also to a rs232 chip ....On power up i could see on my pc that the pic would transmit my only programmed serial display message even though the rung in wasn,t true...The rung in had a timer on delay of 5 sec followed by an OSR and then the formatted serial message...I suspect the serlcd was initializing as it was receiving the messages on power ...Im wondering now if you have several formatted serial message will they all get transmitted on powerup...???

I have installed a npn transistor (switching the neg leg of the serlcd) and turn it on 5 sec after powerup...then 2 sec later i display my boot message and it works...;-)
Hopefully now i can progress....I,ll try and use Aldermir,s code if i can....
Thanks
Frank
Thu May 13 2010, 00:30:47
(no subject) (by Max)
Yes you are correct, if you have multiple formated string over uart, they will trigger one aftre an other at power up...

For exemple in one of my program I have over then 10 formated string over uart and without a transistor and a delay they are all sent on the LCD one after an other, so I need 7 sec. of delay to hide them
Thu May 13 2010, 10:29:57
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):