Page 1 of 1

(Solved) Error with PIC16F877A and LCD

Posted: Mon Apr 09, 2018 4:59 pm
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.

Re: Error with PIC16F877A

Posted: Tue Apr 10, 2018 11:58 am
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.

Re: Error with PIC16F877A (Solved)

Posted: Wed Apr 11, 2018 1:34 pm
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.