Hardware Protection

Browsing through the forum, I have found several threads on the subject "I have fried my Arduino Board" because of some easy made mistake.
I suggest some boards could be completed with protective circuits.

I suggest the use of PTC fuses, typical data sheet https://www1.elfa.se/data1/wwwroot/webroot/Z_DATA/06027502.pdf

IO-protection: fuse at input with rail to rail serial diodes

VCC
DIODE
-- FUSE --- ----------- CPU
DIODE
GND

The diode orientation is that no current shall flow in the normal case.

This coupling will protect the CPU against ESD pulses and some mishaps in the user wiring.

The Input power supply can be protected in the same manner

Input---- FUSE -------------- rest of circuitry
ZENER
GND

The zener shall have a voltage higher than the nominal supply voltage.
This will also protect against reverse supply polarity.

I hope you can take this in consideration for future designs

Magnus

I don't think a PTC is fast enough to protect semiconductors, and with a low-power device like an arduino, the protection diodes serve mainly to raise/lower the device power rails instead of just a single pin; just as deadly (maybe.) At about $0.40 per pin, it would be pretty expensive protection (and BIG, too.)

There are multi-line SMD ESD filters that might be a better option for some types of damage (National NUF8000MU), but frankly, An Arduino is at a price point where "replace the main CPU" is adequate for situations that would zap the board...

"replace the main CPU"

I have to second that notion, and need to vent a bit about it. I've been beat up for not having protection circuit on top of protection circuit (like $30 in parts worth on occasion), and had every worst case scenario presented as absolute certainty if I don't take so-and-so's advice. (like housefires, etc).

People can get really zealous about circuit protection I guess is the main point, even if it doesn't really make sense. One guys agenda, after describing Armageddon of course, turned out he just wanted to mount it in a hard to get location and wanted extra reliability "insurance". Never mind the fact that more components can lead to more failures. ::slight_smile:

Hello

We have a diode to protect from polarity inversion, apolyfuse on the power supply and each arduino pin has internal diodes that protect the inputs.

I believe this is good enough for the basic Arduino.
Having taught a HUGE number of workshops I've never seen anybody completely fry their Arduino. It's pretty robust even for beginners.

I would never add more layers of protection on the standard board itself, it will make it look scary like all those microcontrolled development boards that engineers design that scare off beginners.

If somebody needs to interface to a "dangerous" environment they should make a shield with proper optocouplers etc etc.

massimo

The internal diodes are not enough to protect the inputs. A series resistance is
required to limit the current.

I agree that additional protection should be added on the application
end rather than increasing the cost and complexity of every board.

Also the ATmega IC is socketed which makes for a low-cost repair
(and low-cost upgrade too).

(* jcl *)

The automotive industry uses serial resistors, nothing more as ESD protection on the ports.
The resistors are of 1206 size to handle the surge.

Magnus

Don't forget that the ports most likely have protection diodes (like the ATmega168 does).

The 1206 gets you 200V and 1/8W. I would probably go with an 0805 which gets
you 150V and 1/10W.

(* jcl *)

It is not about the voltage. It is about the pulse power. Smaller chips get fried by the enrgy in the pulse. The energy is measured in J (Joule).

KOA has an application note here
http://www.koaspeer.com/pdfs/Thick_Film_Pulse_Limitation.pdf

Magnus

It is about both voltage and power ratings.

You can heat the device without exceeding the maximum peak voltage (which is the V^2 / R in section A). You can also heat the device when you force it to breakdown which is the voltages listed in section B.

The size gives you a larger power rating and peak power rating. You still have
to deal with the voltage rating which is the same for 1206 - 2512. The peak voltage
rating is apx twice the operating voltage rating for each package.

I think that the 0805 offers a reasonable protection for the size.

(* jcl *)

It is not about the voltage. It is about the pulse power.

Um, my impression was that most of the failures of the sort the OP was talking about occurred when the owner did something really stupid like connected the other side of their LED/whatever to a 12V supply instead of 5V through a resistor... Most of the time, even the newbies realize they did something bad. In a way, this is part of the education one SHOULD receive from something like the arduino.

ESD is comparatively easy to protect against, since there's been a lot of interest in doing so. Protecting an explicitly experimental device against accidental mis-connections of all sorts is nearly impossible (assuming reasonable cost is a requirement.) We have a saying "It is very difficult to make something truly foolproof, because fools are so ingenious."

The other risk is that putting in protection for application A may affect the operation of the device in application B (especially with multi-function pins like the ATmega).
For example --- put too high a series resistance for current limiting and your A/D performance could drop.

Hopefully with a socketed ATmega the majority of minor mistakes will
be in the $3 range :slight_smile:

(* jcl *)