I am using a n-channel MOSFET (AO3400A) as a power switch. Circuit is below.
The issue I'm facing is when the EN pin is 0V, the LEDs are still dimly lit. The voltage across the load measures about 2.9V. When EN pin is 3.3v, the LEDs are at full brightness and the voltage across the load measures 5V. This is the expected behaviour in this instance.
With EN at 0V, I would have expected the LEDS to be completely off. Any thoughts why this might be the case ?
Just a note, in my actual application I'm using Neopixels, but have simplified the diagram for the purpose of this question.