Hey
My question regards how to protect a PICs inputs, the inputs are external
to the unit and accessable to the user. On the same cable as these inputs
is a 24v supply for sensors. I want to protect the inputs from the user accidentally connecting the 24v to the inputs OR connecting 2 inputs together. The inputs are on port b of a PIC16F876 with pull-ups enabled.
I know there are alot of ways of protecting such inputs against transients,
using opto-couplers etc. However space and cost i need a simple plan.
One idea was to put a diode on each input with a reverse breakdown of greater then 24v?
Is this enough, will it work or what other one component ideas has anyone else?
Thanks
My question regards how to protect a PICs inputs, the inputs are external
to the unit and accessable to the user. On the same cable as these inputs
is a 24v supply for sensors. I want to protect the inputs from the user accidentally connecting the 24v to the inputs OR connecting 2 inputs together. The inputs are on port b of a PIC16F876 with pull-ups enabled.
I know there are alot of ways of protecting such inputs against transients,
using opto-couplers etc. However space and cost i need a simple plan.
One idea was to put a diode on each input with a reverse breakdown of greater then 24v?
Is this enough, will it work or what other one component ideas has anyone else?
Thanks