I put together a small IR board for a line tracker robot, and my idea was to provide an enable for it so that the emitter diodes aren't always drawing current.
I'm using a
2N7000, with the drain connected to 5v, the gate connected to an I/O pin (the enable), and the souce connected to the positive terminal of the IR board.
The problem is that when I pull up the enable, there's still a voltage drop of over 2V from the drain to the source, leaving only 3V or so for my circuit. The gate votage is at over 5V when this happens, well above what the threshold voltage is supposed to be for the 2N7000. What am I doing wrong?