CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

I have problem. if open a fan near counter .it reset to Zero

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
tsupuntu



Joined: 05 May 2006
Posts: 9

View user's profile Send private message

I have problem. if open a fan near counter .it reset to Zero
PostPosted: Wed Oct 18, 2006 7:23 pm     Reply with quote

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: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Thu Oct 19, 2006 4:27 am     Reply with quote

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

View user's profile Send private message

thank a lot
PostPosted: Thu Oct 19, 2006 6:32 am     Reply with quote

thank a lot

I use Capaciter 470uF for input "IC7805" and use 470uf for output
input =12 volt
Ttelmah
Guest







PostPosted: Thu Oct 19, 2006 8:12 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Oct 19, 2006 2:34 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group