I've connected the + of a 12v powersupply to a 12v LED-spot. The - of the LED-spot is connected to the source of a IRL540N mosfet. The drain is connect to the - of the 12v power supply and the ground of a arduino uno. The gate of the mosfet is connected to the 5v regulated output of the arduino.
If I connect the LED-spot directly to the 12v power supply, I measure 260mA.
The mosfet is getting very hot in notime. I've bought this mosfet as it should handle a gate voltage of 5v better. As I read the documentation of the mosfet the resistance of the IRL540N should be 0.05.
In this setup, if I disconnect the LED spot and measure the resistance between source and drain I measure 0.5 Ohm.
Do I have a problem in my setup, or should I use a different mosfet? I've read many posts on this subject on this website already but my background knowledge is too limited to pinpoint the problem.
My question is: Am I using the correct mosfet? I don't understand why the mosfet is getting very hot