I need to switch one of those cheapy eBay floodlights. The lights are 12V and the lamps at 10W. I would like to have the option of expanding to 20W. The lights have their own current limiting circuitry. No more specs other than that sorry.
The light will be switched with a PIC18FK22. Zero volts on the binary out to turn the light off, 5V to turn the light on. The time period to switch the light on or off is not important.
Since it is a battery operated light, I would like the circuit to be as efficient as possible.
I did some searching and came up with the following. The LED in the schematic actually represents the floodlight unit. I choose the IRF540 simply because it is a "logic level" MOSFET I stumbled across in my searching and it seems to more than able to handle the current I need to switch. Here is the datashheet.
Will this work? Is there a better choice than the IRF540 for my needs?

The light will be switched with a PIC18FK22. Zero volts on the binary out to turn the light off, 5V to turn the light on. The time period to switch the light on or off is not important.
Since it is a battery operated light, I would like the circuit to be as efficient as possible.
I did some searching and came up with the following. The LED in the schematic actually represents the floodlight unit. I choose the IRF540 simply because it is a "logic level" MOSFET I stumbled across in my searching and it seems to more than able to handle the current I need to switch. Here is the datashheet.
Will this work? Is there a better choice than the IRF540 for my needs?
