I am switching a circuit with a resistive and inductive load that is supplied with 12V using a p-channel mosfet. I already have the option to switch the p-channel mosfet with a mechanical switch (SW3) and have added a solder-jumper to an esp32wroom I/O in the design (JP3).
The p-channel mosfet gate is pulled high in the default state (Q19 does not conduct) and can ideally be pulled low with the switch aswell as the esp32wroom I/0 27. Since this is already on a pcb, i can only change the resistance of R23 and/or add another small component bridging the solder-jumper JP3.
Can I safely connect the 12V gate to the esp and use it to pull it low if i adjust the resistance/add another resistor at JP3? If so, what do I need to do ?
Clarifications to understand the image:
- Load is between +BATT and GND
- label power_switch is connected to esp32wroom I/0 27
- JP3 is an smd jumper pad that would fit a 0805 component