I'm using a 9W rgb led, 3W per channel, to be used on a lightsaber project. My issue right now that I'm having is that the mosfet I'm using doesn't work in a predictable manor. Using the 5V output on my arduino pro micro to the gate of the mosfet the LED will dim sometimes and when I remove power from the gate the led will either turn on to full brightness like I expect or turn off randomly. The LED should turn off when I send power to the gate and turn on when the gate is off.
Here is the mosfet I'm using
The led I'm using
Also when I first tried using the blink program, the led would go bright then dim, then bright again while losing voltage.