>I had a 2n3904 NPN transistor setup which switched to ground You shall switch +5V, not ground of sensor. Use your npn transistor as driver for P-MOS, not as power switch.
↧