Embed Size (px)
Transcript of Destroy Arduino
10 Great Ways to Destroy an Arduino
www.ruggedcircuits.com Application Note ANCP01
Use a sledgehammer, fire a bullet at it, throw it into a pool....thats not what were talking about. Were going to show you how to electrically destroy your Arduino. Some of you may already know how to do this through unfortunate experience. You know what we mean....that funny smell, the scorch mark on a component, or the dreaded programmer not in sync error message -- all signs that youve just learned a lesson the hard way.
Why are we explaining some good ways to destroy or damage the Arduino board? If youre using an Arduino, its good to know what is and what isnt OK to do with it.
Summary: The 10 best ways to destroy your Arduino board
Shorting I/O Pins to Ground Shorting I/O Pins to Each Other Apply Overvoltage to I/O Pins Apply External Vin Power Backwards Apply >5V to the 5V Connector Pin Apply >3.3V to the 3.3V Connector Pin Short Vin to GND Apply 5V External Power with Vin Load Apply >13V to Reset Pin Exceed Total Microcontroller Current
Method #1: Shorting I/O Pins to Ground
Configure an I/O pin to be an output then set it high. Short the pin to ground. You have now created an overcurrent condition on the I/O pin and it will be destroyed.
Here is the path of current flow for the Arduino Uno:
The microcontroller datasheet specifies an absolute maximum per-pin current of 40mA. With a typical internal resistance of only 25 ohms per pin, a dead short to ground can allow as much as 200mA of current to flow, more than enough to destroy the microcontroller pin.
Method #2: Shorting I/O Pins to Each Other
Configure two I/O pins to be outputs then set one high and the other one low. Now connect the pins together. You have now created an overcurrent condition on both I/O pins and they will be destroyed.
The path of current flow is similar to Method #1 above except the ground return path is through the microcontroller.
Method #3: Apply Overvoltage to I/O Pins
Apply a voltage exceeding 5.5V to any I/O pin. The I/O pin is destroyed.
This method of destruction forward-biases the ESD protection diode built-in to the microcontroller.
Once the voltage at the I/O pin is greater than the supply voltage (5V) by about 0.5V, the top diode starts to conduct current. This is OK for diverting a short-duration overvoltage event, like ESD (electro-static discharge), but that diode is not meant to be on all the time. It will simply burn out and stop protecting the pin.
This diagram shows the flow of current when overvoltage is applied to an I/O pin.
If the internal protection diode fails open, then the overvoltage destroys the I/O pin. If the protection diode fails by shorting out, its even worse because now the overvoltage is applied to the entire +5V supply on the Arduino. This means it will reach other components, like the USB interface chip, and destroy them too.
Method #4: Apply External Vin Power Backwards
Power your Arduino through the Vin connector pin, but reverse the polarity of the Vin/GND power connection. You will destroy several devices on the Arduino.
There is no reverse-voltage protection on voltages applied to the Vin connector pin. Current will flow from the GND pin of the ATmega328P back up through the 5V pin, back through the 5V regulator and to Vin. The same thing will happen with the ATmega8U2 microcontroller. Both microcontrollers and the 5V regulator will be destroyed.
Method #5: Apply >5V to the 5V Connector Pin
This is one of the more effective methods. Apply a voltage of 6V or higher to the 5V connector pin. Many components on the Arduino will be destroyed, and this voltage can also appear on your computers USB port, possibly damaging it.
There is no protection on the 5V connector pin. This voltage is directly connected to the ATmega328P microcontroller, the ATmega8U2 USB interface microcontroller, and the 5V regulator, all of which can be damaged by voltages exceeding 6V, and the resulting currents that flow. Here is an example current path through the ATmega328P microcontroller.
It is a common misconception that the Arduino 5V regulator will ensure that the 5V voltage remains at 5V, no matter what. IT WILL NOT! The only thing the 5V regulator can do is control current coming from the USB port or the external DC power jack. If the current is coming from an external power source directly connected to the 5V connector pin, the regulator can do nothing about it.
Another consequence of applying more than 5V to the 5V connector pin is possible damage to the PCs USB port. If the Arduino is powered from USB then this excessive voltage can cause current to flow backwards through the voltage-switching MOSFET T1 and back to the PCs USB port.
Method #6: Apply >3.3V to the 3.3V Connector Pin
Apply a voltage of 3.6V or higher to the 3.3V connector pin. Any 3.3V shields plugged in, or other devices powered from this pin, will be destroyed. If at least 9V is applied, this voltage can destroy the Arduino 3.3V regulator and also feed current back into the PCs USB port.
The 3.3V connector pin has no protection circuitry. This voltage is directly connected to the Arduino 3.3V regulator and any other shields or devices that are powered by this connector pin. If the voltage exceeds 9V, the 3.3V regulator will be destroyed and may allow current to flow backwards to the 5V node, and then backwards further to the PCs USB port. The excessive voltage will also destroy the two devices connected to the 5V node: the ATmega328P and ATmega8U2 microcontrollers.
Method #7: Short Vin to GND
Power the Arduino from the DC power jack and short the Vin connector pin to GND. The Arduino blocking diode will be destroyed and traces on the Arduino PCB may melt and be destroyed.
There is no current limit protection on the Vin connector pin. A short circuit from Vin to GND effectively short circuits the DC power jack input, and exceeds the current rating of the blocking diode.
The amount of current that flows is limited only by the resistance of the Arduino PCB traces and the current capability of the power supply. If this is high enough, the diode D1 will be destroyed and PCB traces may melt due to the heat caused by this large current.
Method #8: Apply 5V External Power with Vin Load
If you are powering the board from 5V applied to the 5V connector pin and you have circuitry connected to the Vin pin (or have shorted Vin to GND) then current will flow backwards through the 5V regulator and destroy it.
There is no reverse voltage protection on the 5V regulator thus current can flow from the 5V connector pin, backwards through the regulator, and to whatever is connected to Vin.
Method #9: Apply >13V to the Reset Pin
Apply >13V to the Reset connector pin. The ATmega328P microcontroller will be damaged.
The Reset connector pin is directly connected to the reset pin on the ATmega328P. While this pin tolerates 13V, higher voltages will damage the device.
Method #10: Exceed Total Microcontroller Current
Configure at least 10 I/O pins to be high and draw 20mA from each one (for example, by lighting 10 LEDs). You have now exceeded the total supply current rating for the microcontroller and it will be damaged.
Its not enough to limit the current of each I/O pin -- the total current sourced from all I/O pins must not exceed 200mA, according to the ATmega328P datasheet.