I am trying to run a low side switch with the 3.3V GPIO output of the Raspberry Pi (3.3v MCU), and for the particular transistor I’m using (IRF520) the 3.3V is barely enough to turn it on - is there some clever positive feedback I can use to force the transistor ‘very on’ when on and off when off?
How about this, I put the GPIO into high-impedance input mode to turn transistor on, and set output=0 to turn transistor off. Current into gpio pin when output=0 is 1.2mA which I suppose is ok. Is 12V after 10Kohms ok on a Raspberry Pi input pin?