S
sorek
Recently I been making bench power supply powered with both barrel jack and USB-C with support up to 3A output.
I wanted to control output with ESP32 based MCU (3v3), it should be normally closed until we prepare the voltage and connect it to load with ability to switch it off during operation.
I also wanted to make sure that if higher voltage is applied to input it won't conduct potentially damaging rest of the circuit or power supply.
I wanted to create most efficient possible, of course it depends on components too but I bet I can find some good/cheap components on LCSC.
Here is schematic: https://tinyurl.com/2b59g39f
Is it possible to simplify it? I tried to use 2x PNP to check which voltage is higher. Is there anything that could bite me and what should I be aware of when selecting other components?
I followed it from design that will choose higher supply depending on what is connected: https://tinyurl.com/29ccr5w3
For interested I will put up finished design on my github once I test everything.
I wanted to control output with ESP32 based MCU (3v3), it should be normally closed until we prepare the voltage and connect it to load with ability to switch it off during operation.
I also wanted to make sure that if higher voltage is applied to input it won't conduct potentially damaging rest of the circuit or power supply.
I wanted to create most efficient possible, of course it depends on components too but I bet I can find some good/cheap components on LCSC.
Here is schematic: https://tinyurl.com/2b59g39f
Is it possible to simplify it? I tried to use 2x PNP to check which voltage is higher. Is there anything that could bite me and what should I be aware of when selecting other components?
I followed it from design that will choose higher supply depending on what is connected: https://tinyurl.com/29ccr5w3
For interested I will put up finished design on my github once I test everything.