In past articles I have shown how to control dc loads with a logic level MOSFET, but did you know you can control AC loads as well, just indirectly? The attached image shows the circuit diagram, and the MOSFET code and wiring is the same as our DC Projects. Can you figure out how this works? For details, see http://tahmidmc.blogspot.com/2012/11/controlling-ac-load-with-mosfet.html
Use an IRL series n-channel MOSFET like the IRL520 or IRL540 that are designed to be driven at 5v.
Become the Maker you were born to be. Try Arduino Academy for FREE!