Electronic – Protect phototransistor from emitter-collector breakdown

phototransistorprotectionreverse-breakdown

I'm using the ADC on the reset pin on an ATTiny85 to detect an IR level. The reset pin is disabled in the fuses but I would like the ability to "recover" the fuses and reprogram the device.

The emitter-collector breakdown voltage of the phototransistor is minimum 5V. During programming, 12V will be applied to the emitter. The collector will either be at 0V or 5V depending on the state of another pin during programming. Best case, there will be 7V from emitter to collector. Worst case, there will be 12V from emitter to collector. Both of these will result in the destruction of the transistor. The schematic below shows this in a much clearer way.

How can I protect the phototransistor against breakdown?

schematic

simulate this circuit – Schematic created using CircuitLab

Best Answer

You could consider adding a diode as shown below:

enter image description here

This approach can be made to work in particular if the IR level sensing you are doing is "digital" in nature. The lower drop of a BAT54 may be desirable.

If you are trying to actually measure analogue variation of the IR signal a more complex circuit may be required.