16F883 input Non operational

Moderator: Benj

Post Reply
pic-newbie

16F883 input Non operational

Post by pic-newbie »

Flowcode v4.3.7.63
Have built an 8 bit Binary to decimal convertor using the 16F883 and 3off 7 segment
displays,
The 8 bit input is via 8 switches on port B, All works well with the exception of Pin 24, RB3 it should give a value of 8 when put high via a 10K resistor but instead it causes the whole display to go blank,
Possibly this pin has not been set to an input. Suspect Config data?
Any help gratefully received please.

Stylo

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 16F883 input Non operational

Post by medelec35 »

I use the 16F883 and have experience no issues with that device.
If your flowchart is not commercially sensitive and you don't mind sharing, then if you post it, I can see if I can spot the issue.
Even if you how the pin set as an o/p and set low then connect a 10K from the o/p to +VCC, there will not be enough current to cause any display issues ie shorting of supply. Current flow will be 5/10E3 = 500 microAmps = 1/2 mA

It may be an idea to check around B3 for shorts to LCD tracks etc.
If you want to keep it out of the public domain, then you could PM your flowchart if you like, it will remain private.

I have also noticed your not using the latest version of flowcode = 4.5.18.74
Martin
Martin

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 16F883 input Non operational

Post by medelec35 »

Just sent you a PM about this.

Martin
Martin

pic-newbie

Re: 16F883 input Non operational

Post by pic-newbie »

and 16F883 Input RB3 Non operational

Hi Martin

Sorry for the delay in returning the call but have had friends staying the past few days.

Have disabled low voltage programming also inserted “osccon=0x60” to correct clock speed using the “C box” as you suggested

Thanks a million!!! it works perfectly, Have now added a time out to active when all displays are at zero.http://www.matrixmultimedia.com/mmforum ... =30&t=8711#

Thanks again

Stylo

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 16F883 input Non operational

Post by medelec35 »

Your welcome.
Just glad its all working now.
Thanks for letting us know.

Martin
Martin

Post Reply