A 3.3 V microcontroller GPIO CTRL_IN must control the positive 12 V supply to a fixed R_LOAD = 240 Ω.
Using the provided NPN transistor Q1, PNP transistor Q2, and suitable resistors, design a high-side switching circuit so that:
CTRL_IN = 0 V, the load is OFF with V_LOAD ≤ 0.2 V.CTRL_IN = 3.3 V, the load is ON with V_LOAD ≥ 11 V.I_GPIO remains below 1 mA.The load ground must remain connected to system ground.
Example test cases:
CTRL_IN | Required V_LOAD | GPIO Current |
|---|---|---|
| 0 V | ≤0.2 V | <1 mA |
| 3.3 V | ≥11 V | <1 mA |