go_away

Author Topic: Satic  (Read 2074 times)

0 Members and 1 Guest are viewing this topic.

Offline 123ericTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Satic
« on: May 18, 2007, 11:27:39 PM »
I have been useing microcontrollers for a little while now but after a little while they seem not to function correctly I wondering if it is static that is causing the problem. As I am testing my design/Program I keep transfering the microcontroller between the programmer and the soderless breadboard. I am wondering if this may be causing the problem. May be some one has some good ideas on how to fix my problem. Also is there a limit to the number of times that you can program one in a certain time frame, may be I need to wait a little longer between the time I re-program my microcontroller.

Thanks for any help, it costs too much to keep frying my microcontrollers

Eric

 :'(

Offline dunk

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 1,086
  • Helpful? 21
Re: Satic
« Reply #1 on: May 19, 2007, 05:10:45 AM »
what type of microcontroller are you using?
i have never taken any sort of anti static precautions with either AVRs or PICs and the vast majority of times i have fryed a microcontroller it has been because of some sort of short circuit.

as for the repeated programming, the datasheets for your microcontroller will tell you the exact number but you should be able to program flash memory many 100,000s of times before it starts to fail.

likewise there should be no limiting factors when it comes to the time delay between programming.



i'm guessing from your post that your microcontroller works for a little while but stops after you have programmed it a few times?

in searching for your problem, i would check things like the maximum current you are allowed to draw from your microcontroller's pins. maybe you are sinking too much current.

inductive loads also cause problems when connected straight to microcontroller's pins. (examples of inductive loads are relays, motors and solenoids.) when you switch off an inductive load, current is released, through the microcontroller's pin which can cause damage.

also make sure you have capacitors between your power lines, physically close to the microcontroller to help protect it from spikes in the power supply caused by other components.

good luck,

dunk.

 


Get Your Ad Here