Skip to main content

HOW NOT TO FRY YOUR ARDUINO

After waiting for days,which seem like years for a hardcore hobbyst like you guys, for the home delivery of your precious arduino, the last thing you want is to fry it on the first day.So, here i come to save the king arduino from being electrocuted! This post guides you through some common mistakes that eventually fry up arduino.

1. Do not ever place arduino directly over metallic surface and work.Trust my word , it's fatal for arduino. 

For robotics hobbysts, if you do not have any other chassis but just the metallic ones take it easy.Just insulate the surface first and you are good to go.



2. Never short 5v to Gnd or Vin to Gnd.

For a fact , the maximum current an I/O pin can provide or sink is 40 mA.When you short them , a current large enough to damage your arduino flows.Be extra careful ! with the Vin pin when powering up the arduino using 12v adapter because if shorting 5v and Gnd is Pearl Harbour attack, then shorting Vin and Gnd is attack on Hiroshima and Naga Saki.So, double check your circuits, before powering up.

3.Do not give more than 5v to I/O pins or analog input.

As mentioned above , the threshold current is 40mA  .The resistors inside arduino are meant to limit the current below 40 mA for a voltage less than 5V only. A voltage like 5.2 or 5.6 won't bother however.Do not give negative voltage analog pins.

4. Do not connect a switch or push button to any I/O pin, unless however you have set it to INPUT through your IDE.

When you connect the 5v to push button and then the button to I/O pin , in way you are trying to short the two. So, how is it possible to connect the two.

The magic comes from the command  that follows,

pinMode( pin,INPUT) ;

When you go for this instruction, you unknowingly set up a high value resistor to that pin inside the arduino which limits the current fo you, and saves the lord arduino from facing an untimely death.






5.Do not run motor directly from arduino pins.

Image result for connecting motor to arduino directly pic

In every DC B.O. motor ,current varies depending upon the load.When the motor is at maximum speed it takes minimum current, but as the wheels or gears are coupled to it , its speed decreases,hence current increases.Right at the start of the motor action, the shaft does not rotate(zero speed). The current is maximum at that time, far greater than 40 mA.This is another arduino-killer. 

Comments