PIC 18F2550

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

Moderators: Benj, Mods

Post Reply
majerv
Posts: 17
Joined: Mon Aug 27, 2007 4:27 pm

PIC 18F2550

Post by majerv »

Hi All!

I would like to use an LCD with a PIC18F2550, but the LCD shows only dark bars on the upper row. I thought I have killed the port B5 on the PIC because I've made a prog that lights all the leds on the ports A and B. With this prog all leds light, but B5. After this experiment I've tried a PIC 18F4550, and I got the same result with the LCD and the LEDs.

Maybe anybody has more experience with these two PICs?

Thanks for the help!

majerv

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 »

B5 is the LVP (Low Voltage Programming) pin of this chip. If you are using an external 13V power supply, you should disable Low Voltage Programming (it is within the "config..." options if you are using PPP as the programmer).

If you are not using an external power supply, you need to alter the connections to the LCD so that B5 is not being used. If you are using E-Blocks or our HP-488 development board, there is a jumper setting for alternative connections that do not use B3 and B5. You would also need to change the "component connections" of the LCD component within Flowcode.

Post Reply