2

I would like to protect an MCU from 12V being shorted either to IO or it's 5V supply.

This is very similar to the question asked by kamil here: How to protect microcontroller board 1-wire from accidental +12V connection? with the addition of protecting a 5V line as well.

I've come up with the following circuit (starting from Brendon Simpson's fantastic answer) but would like to know if it will work or there are better designs. I suspect that D3 may not be necessary and I don't know whether the placement of the R2 current limiting resistor will interfere with the operation of D2.

From my reading of the PSMF010X data sheet, at 12V R2 will allow 400mA which cause it to trip. And since we should never normally draw anything like 100mA on the 12V line the PSMF010X should reset on it's own after the short condition is removed. This also protects the power supply if 12V is shorted to ground.

enter image description here

Background: We use 1-wire sensors on fairly long run of up to around 500m. Due to the 5V supply dropping too much over this length to power the pressure sensors connected to the 1-wire boards, we also use a 12V line with an LDO (LP2950) at each sensor to provide them with a solid 5V input.

As we use 4 core cable we also pass 5V out on the remaining core so that we can use it to power less sensitive devices like DS18B20 temperature sensors without the need of an LDO.

As our original 1-wire master devices are no longer available to us I have been experimenting with using an ESP8266 MCU with a 5V level shifter as a master with great success. My only real concern is damage due to the 12V line being shorted to any of the other wires when sensors are being installed or due to some damage to the cables.

  • That is not what shorted means. – Passerby Aug 20 '17 at 04:39
  • D3 is there to make sure only 5V passes through to 5V IN. It is a 5V schottkey diode, and in that configuration will only pass through 5V, dropping the rest as heat. – Passerby Aug 20 '17 at 04:42
  • It's part of the protection you want. – Passerby Aug 20 '17 at 04:48
  • My apologies, I think I may not have been clear. I'm wanting to protect against the 12V wire being shorted to the 5V or DQ wire. This could happen when someone is changing a faulty sensor, or when something chews through the cable. – Andrew Radke Aug 20 '17 at 06:19
  • I put D3 there to stop anything feeding back into the 5V supply and chose the BAT754 over the BAT54 for it's lower forward voltage drop. I wanted to know if it's necessary at all considering D2 and R2. Will these two stop the 5V line going higher anyway? And getting rid of D3 would remove the voltage drop across it keeping 5V_out closer to 5V, or does D3 keeping the voltage after it just below 5V actually help because 4.6-4.8V is below the 5V trip point of D2? – Andrew Radke Aug 20 '17 at 06:28
  • you'd only need to worry about DQ with an esp8266 devkit (they use 3.3v, so that 5v must hit an LDO)... – dandavis Aug 20 '17 at 09:34

0 Answers0