I am doing the arduino controlled rgb leds (1 watt leds) project and I am going to use mosfets for the leds.
I ordered 3 IRF540 mosfets, 1 for each color of leds (Red, Green, Blue). the arduino is going to use pwm to control the leds but the arduino can only supply 5V at 40mA max. The mosfet have gate-source voltage of +/- 20V and a gate-threshold voltage of 2.0V to 4.0V.
Do i need a driver circuit between the arduino and the mosfets and if not is 5V sufficient to run the mosfets in pwm?
If i do need a drive circuit, does someone have a schematic since i am inexperienced at electronics?
Would i need a heatsinks for the mosfets?
thankx for any insight...