I have an N-Channel MOSFET that I'm using as a switch, and after wiring 20 identical circuits, I'm finding that 3 of them seem to leaking current when switched to off.
The MOSFET I'm using is from sparkfun:
I am using the switch to light an LED.
Gate - 3.3v GPIO pin of Raspberry pi
Drain - Negative leg of LED
Source - GND
I'm using a 10k resistor as a pull down resistor, which is wired up connecting the Gate to the Source pin on the MOSFET
For some unknown reason, a small amount of these circuits will have flickering LED's when the GPIO pin should is switched off. Does anyone have any thoughts what might be causing this? Or any thoughts on ways to test the circuit?