I am designing a 3.3V to 24V non-inverting level shifter.
Input : STM32 Microcontroller GPIO- 3.3V (High ,Low)
output : 24V , 24 mA (high low)to drive an SFH617A-3X007T opto-coupler, which has a series resistor to limit the current to the opto-coupler diode on the other side.
Which transistor sombination is best to use?
- NPN transistor and P-CH MOSFET
- NPN and PNP transistors
I am getting results in LTspice with both the methods.
I Know in terms of protection and power consumption that point 1 is the best sombination.
My output current is less than 24mA and for switching less current I have to use at least 5A (drain currrent) MOSFET, so I planned to go for BJTs.
With BJTs, my major concern is the Collector/base Reverse breakdown voltage.
When I switch 3.3 V to 24V using an NPN and PNP combination
- When the base of the NPN is Low, then 24 V will be at the Collectro base of the NPN.
Since it is a positive voltage, is it okay to use the NPN and PNP combination, or is there any other risk in using that transistor combination with 24V (NPN and PNP) ?
Method 1 : NPN MOSFET combination

Method 2: NPN and PNP combination

Which transistor combination is best to use for a non-inverting 3.3V to 24V level shifter?
Is it okay to use the NPN and PNP combination?

