The provided circuit uses a P-channel MOSFET Q2 to switch a 12 V supply to R_LOAD = 24 Ω.
However, the load remains ON even when CTRL_IN = 0 V.
Fix the circuit using an N-channel MOSFET and suitable resistors so that:
CTRL_IN = 0 V, the load is OFF with V_LOAD ≤ 0.1 V.CTRL_IN = 3.3 V, the load is ON with V_LOAD ≥ 11.5 V.I_GPIO remains below 1 mA.Keep the supplied MOSFET and load properties unchanged.
Example test cases:
CTRL_IN | Required V_LOAD | GPIO Current |
|---|---|---|
| 0 V | ≤0.1 V | <1 mA |
| 3.3 V | ≥11.5 V | <1 mA |