I'm using a IRF510 mosfet.
Now I'm completely confused as to how I should wire the thing up. I connected a PWM pin of the arduino to the gate of the MOSFET and a pull-down resistor to ground. The positive lead of the LED strip is connected to the +V connection of the power supply. One of the color channels of the LED strip is connected to the source of the mosfet. The drain of the mosfet is connected to ground.I also connected the ground of the arduino to the -V of the 12V power supply. (picture included as attachment, just imagine the single LED in the image is a LED strip)
The LED strip is now glowing very faintly and stays that way, it does not seem to matter if I put 0V or 5V on the gate of the mosfet.
Quote from: jbaeten on Sep 17, 2013, 09:48 pmThe LED strip is now glowing very faintly and stays that way, it does not seem to matter if I put 0V or 5V on the gate of the mosfet.If the LED strip is glowing faintly when you have 0V on the mosfet gate (i.e. mosfet gate is connected to mosfet source), then there is something wrong with the mosfet or with your wiring.