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

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
DaveL
Posts: 2
Joined: Mon Sep 10, 2007 7:57 am

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

Post 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….?

DaveL
Posts: 2
Joined: Mon Sep 10, 2007 7:57 am

Post 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!

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Glad it got fixed.

rotlen
Posts: 11
Joined: Wed Oct 03, 2007 8:00 pm

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

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

Post Reply