(Solved) Error with PIC16F877A and LCD

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
maharadga
Posts: 71
Joined: Mon Dec 01, 2014 1:38 pm
Location: Bulgaria
Has thanked: 17 times
Been thanked: 12 times
Contact:

(Solved) Error with PIC16F877A and LCD

Post by maharadga »

Hello.
I want to report for problem with PIC16F877A.
I maked simple programm with PIC16F876A. There is some leds, LCD and buttons. Everything work. I change MC with another, for example PIC16F877A, because have many ports. And surprise: Program work, but LCD not work. I not understand what is reason for this, provided that all conditions are the same.
Attachments
Power supply_PIC16F877A.fcfx
(32.51 KiB) Downloaded 206 times
Power supply_PIC16F876A_r.fcfx
(32.02 KiB) Downloaded 209 times
Last edited by maharadga on Wed Apr 11, 2018 1:36 pm, edited 3 times in total.

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:

Re: Error with PIC16F877A

Post by Benj »

Hello,

It looks like your program for the 16F877A should be ok. Have you checked that your port B connections to the LCD are correct on the hardware? A quick multimeter connectivity test should confirm if the pins are all connected correctly with no shorts or breaks. Also worth doing a 1 second flasher test if your in doubt the micro is running correctly.

maharadga
Posts: 71
Joined: Mon Dec 01, 2014 1:38 pm
Location: Bulgaria
Has thanked: 17 times
Been thanked: 12 times
Contact:

Re: Error with PIC16F877A (Solved)

Post by maharadga »

Thank you, Benj.
There is break in wire.
And with the fact that I made other circuits with these cables and they worked and even though I checked everything. But as it says: one more check is never superfluous.

Post Reply