Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

RB0 problem - only RB0 to +5V connection works

Status
Not open for further replies.

max_imum2000

Junior Member level 1
Joined
May 18, 2006
Messages
16
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,391
RB0 problem

hello.
i made a simple circuit attached.
to count interrupt at RB0, the software start and make u edit the number of pulses and then start the interrupt , when the number of pulses reach what u want , it stops
the pic is attached to push-switch and lcd via sockets.
the circuit works very well on easypic 3 where rb0 is attached to pulldown resistor of 10k
when i made the circuit outside the devboard
i get solid blocks all over the lcd, untill i connect RB0 to +v, then it works !!, if i try to pull it down as in easypic3 , it wont work, attach a resistor to +v , dont work
i tried everything
setting pin as input , as output, pulling up/down floating pins , nothing works except connectin RB0 to +5V ,
but then how can it count if its always connected to +5

i will appreciate any help please

thanks
 

smd_lover

Member level 1
Joined
Jul 19, 2009
Messages
37
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Netherlands
Activity points
1,455
Re: RB0 problem

It looks like it your software is getting multi interrupts?

Never leave the INTpin open, so i would suggest a 10k pull down resistor.
Put a cap parrallel during your testing.

Is your power supply clean?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top