Page 1 of 1

LCD Component, can't seem to get it to work

Posted: Sat Sep 29, 2007 11:53 pm
by DaveL
Hello,
I’ve been having trouble with the LCD component (V.1.5) although this may have nothing to do with the component itself. I have not been able to send anything to the LCD. I was able work with the LCD in the past but not using Flowcode. I have wired the LCD to have the data lines and control lines on port, in this case port D and I still get no response. I thought that the LCD may have failed but when I put an O-scope on the lines of the LCD there was nothing at all being sent. I then created a small program to count up on port D and it works fine as seen by the O-scope. Without the LCD being connected I reconfigured the LCD component to be on port B and once again scoped port B for any activity, the program I used in all of the tests looped a set of commands and data to the LCD and port B also had no response. Any ideas….?

Posted: Sun Sep 30, 2007 8:46 pm
by DaveL
:oops:
My error….. I forgot to use the start macro, the simulator does not mind the absent “start” but the real world sure does!

Posted: Mon Oct 01, 2007 7:51 am
by Steve
Glad it got fixed.

Posted: Sat Oct 06, 2007 12:38 am
by rotlen
I have the folowing problem.
i want to run a simple hello world in then 20x2 display but in simulator wotks ok but in the 16f628A dosent work. :(

Pin conected
Image


the pic programes is ok, because the port a 3 is blinking..
thanks

Posted: Mon Oct 08, 2007 9:43 am
by Benj
Hello

The LCDs require a certain frequency of input. Have you checked your clock settings in Flowcode. Also make sure that both your Flowcode Chip configuration and hardware configuration are in XTAL mode. If this is all correct then check your connections to the LCD are correct. Eg when you power up the LCD do you get a row of black square characters. If not then the contrast may be incorrectly set or there may be a problem with your display.