I'm curious to hear opinions on input circuit protection.
This topic could really go off on a tangent if I don't define a few points up front:
1) Preventing a failure of the digital input (from ESD etc.) is the main focus of this post.
2) Inadvertent false triggering is also important
3) Optical isolation is not required.
4) The input wiring will be short and within a grounded metal enclosure, (push button type inputs)
5) ESD is expected at the push buttons, and there is no expectation that it won't jump over whatever isolation is provided by the push buttons.
For pretty much every industrial type application I have designed in the past the opto isolator method has proven reliable even with long input wires and noisy environment.
The question is how reliable is the non-isolated (top circuit) over the long term and is it more or less immune to false triggers for example you just walked across a carpet and just touch the button with a healthy discharge to either the button itself or the enclosure but not actually push the button. I have certainly observed crappy equipment act up from a simple ESD discharge.
