With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
If you want to control AC mains current with a microcontroller I would recommend that you use a device with an Opto-isolator. See:https://en.wikipedia.org/wiki/Opto-isolatorThe job of the Opto-isolator is to physically isolate the high voltage circuit from your low voltage microcontroller. One such device is made byPowerSwitchTail.com this is much safer than simply using a relay as shown in these instructions. I have used PowerSSR Tail Kit for 200-240vac mains they require assembly but they work well. Keep safe!
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.