View previous topic :: View next topic |
Author |
Message |
tsupuntu
Joined: 05 May 2006 Posts: 9
|
I have problem. if open a fan near counter .it reset to Zero |
Posted: Wed Oct 18, 2006 7:23 pm |
|
|
I create counter show on seven segment. I use switching supply 12Volt then pass 7805 regulater for pic CPU (16f628a).
I have problem. if open a fan near counter .it reset to Zero or some time hang.
Why is this problem..? Please help me. |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Thu Oct 19, 2006 4:27 am |
|
|
You probably do not have a large enough capacitor in your power supply circuit or maybe missing decoupling capacitors. There are other possible causes but without seeing a schematic there is not much more I can add. _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
tsupuntu
Joined: 05 May 2006 Posts: 9
|
thank a lot |
Posted: Thu Oct 19, 2006 6:32 am |
|
|
thank a lot
I use Capaciter 470uF for input "IC7805" and use 470uf for output
input =12 volt |
|
|
Ttelmah Guest
|
|
Posted: Thu Oct 19, 2006 8:12 am |
|
|
What _smaller_ capacitors do you also have present?...
The problem is that electrolytic capacitors, do not work well for higher frequencies. This is why typical capacitors on supplies will have a 470uF, in parallel with a 0.1uF ceramic capacitor. You would think that the latter would effectively do nothing, but it is essential to block HF signals which the electrolytic has little effect on. Also, it is vital to have a small capacitor close to the PIC itself, and similar capacitors close to anything else switching at high speeds.
Best Wishes |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Oct 19, 2006 2:34 pm |
|
|
It could be a floating pin (unconnected). The most likely suspect is
the MCLR pin. It should have a pull-up resistor to Vdd on it.
You might also have a missing ground connection on some chip (Vss pin).
If you think the problem is caused by temperature, then get a can of
freeze spray and test every chip in your board. Freeze the chip, and
also the surrounding components and see if the board fails.
This thread has a link to a photo of the freeze spray.
http://www.ccsinfo.com/forum/viewtopic.php?t=27442 |
|
|
|