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.
(Solved) Error with PIC16F877A and LCD
Moderator: Benj
-
- 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
- Attachments
-
- Power supply_PIC16F877A.fcfx
- (32.51 KiB) Downloaded 208 times
-
- Power supply_PIC16F876A_r.fcfx
- (32.02 KiB) Downloaded 212 times
Last edited by maharadga on Wed Apr 11, 2018 1:36 pm, edited 3 times in total.
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- 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)
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.
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.