Hello,
I am looking for some ideas, so I will try to give as many details as possible even some may be irrelevant to the issue.
We have a simple device based on PIC18F24K40. It produces six 5V frequency square wave signals in the range of 10Hz-30KHz.
Outputs are connected directly to the terminal block (via 0 Ohm resistors).
Device is powered by a 24V power source with a simple converter to 5V.
24V is on another the terminal.
The issue is that user sometimes accidentally connects 24V to output terminals killing the microcontroller.
In some cases it kills regulator too.
I was looking to have two diodes from the output (to GND and +5V), but I think this will just take 24V and apply it to 5V line via upper diode. I will have to somehow protect 5V too.
I was thinking to add TVS diode between output and ground, but I am not sure if this will actually be a solution, and having hard time finding one with 5V working voltage and relatively low breakout.
I can add a buffer or another IC and/or components to get protection if necessary.
PCB room and cost is not the issue as devices made in very low volume for lab use.
Any ideas appreciated.
Thank you
I am looking for some ideas, so I will try to give as many details as possible even some may be irrelevant to the issue.
We have a simple device based on PIC18F24K40. It produces six 5V frequency square wave signals in the range of 10Hz-30KHz.
Outputs are connected directly to the terminal block (via 0 Ohm resistors).
Device is powered by a 24V power source with a simple converter to 5V.
24V is on another the terminal.
The issue is that user sometimes accidentally connects 24V to output terminals killing the microcontroller.
In some cases it kills regulator too.
I was looking to have two diodes from the output (to GND and +5V), but I think this will just take 24V and apply it to 5V line via upper diode. I will have to somehow protect 5V too.
I was thinking to add TVS diode between output and ground, but I am not sure if this will actually be a solution, and having hard time finding one with 5V working voltage and relatively low breakout.
I can add a buffer or another IC and/or components to get protection if necessary.
PCB room and cost is not the issue as devices made in very low volume for lab use.
Any ideas appreciated.
Thank you