Continue to Site

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.

[PIC] vdd to vss capacitor

Status
Not open for further replies.

wolverine.x6

Newbie level 2
Newbie level 2
Joined
Feb 27, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
18
hello everyone,here is my first post. I made a simple led blinking circuit for micro-controller test(pic16f876a). But i didnt added the capacitor(0.1uf) between vss and vdd of the circuit. After burning(with seperate pic burner) the led blinking code in pic when i tried to run the circuit it didnt response. I coincidentally shorted the Mclr pin to VDD (shorted the 10k resistor between mclr and vdd) then the circuit start running. Can anyone can explain what exactly was the reason ???
thanls in advance.
 

The capacitor is necessary to ensure the VDD and VSS pins are at the same signal voltage. Obviously they are at different DC voltages! If any signal is present across VSS and VDD the PIC may behave erraticaly or not work at all. I doubt shorting out the MCLR resistor is what started it running, more likely you disturbed the signals on VDD and it accidentally allowed it to run. For reliable operation you MUST have that capcitor fitted and it should have short wires and be as close to the VSS/VDD pins as possible.

Brian.
 

May be the mclr pin must be pulled high as per the spec that's what you did. Initially as you have not connected anything so it might have got. Clearing continuously .
 

one thing i forgot to mention that i was running it with a 12 vdc adapter, i have read some threads that ripple is the factor that makes disturbance in circuit, that is a obvious thing but if let suppose for instance ripples were the reason then why shorting the MCLR to VDD force pic to run?
// I doubt shorting out the MCLR resistor is what started it running, more likely you disturbed the signals on VDD// what betwixt suggest was seem to be right , may be MCLR absorbed the noise of adapter supply and filter the VDD.
 

The MCLR pin draws virtually no current so the value of resistor is relatively unimportant, even a short circuit could be used. MCLR would not absorb noise but I suspect he added capacitance of your hands/tools on the connection may have been enough to start the PIC running. It would be an unreliable method of making it run, the capacitor across VSS/VDD would be the reliable method.

You shouldn't really have ripple on the supplies to a PIC, it will reduce reliability, particularly if you try using the ADC module. Your adapter should really have a fixed voltage regulator in it to ensure a consistent and clean output.

Brian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top