For the universal programmer plank/shelf I need to switch in some high voltages at will (using an IO pin) and came up with a (I think) bogstandard approach. In the simulations it seems to work, but in reality is that the voltages are always switched on.
In this case I got the 12.5V on the output (simulated with a 1Meg resistor), but the simulation says it shouldn;t be there.. These are the actually used resistance values. The npn transistor is an 2n2222 (smd) and the fet an si2301 (smd)
link to the simulation on falstad.com: https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgjCAMB0l3BWcMBMcUHYMGZIA4UA2ATmIxAUgoqoQFMBaMMAKAHNxCqAWPKsLhRR4oUFgDdOPPlJDFConlRTdFUaAhYAnELlXYEKEN167DosPEgsALsdMGjhkY5BGIDFNmilfeAXjccJaqKNBBvsT+CISEGCoI2IzkllQAJnQAZgCGAK4ANjYsAO5CLoQizsYy1qVVvFR61VTWOlUqtMLgJqLYuHAlZd2qVfJidV1jAlRjtSCEMW6LXCIoi3OjChiQqrOD27tbO25B4yAHbvHnx8Iicxe31-rYCvfH3AJPzWcXDUN-cxWSwU7XWg3ap1Br3BXTWIK6fWhpSarjhZiMczRqMWLzugzRJlWiwBgyafwJNXxxJk02+1ky80WaIeOOw4A06kgKG0wN0FV5hIsaHgPIuiK+H1eyCs1kkZJkKPMLWMytVGhY2BcIAAYhB+Pq4CAmCAAEJ0GzZAD0AAttQBRFhAA
Across the 120k is the actually IO pin. simulated as a voltage source here.
Anyone can help me here?
