Enclosed AC Power Relay

Image courtesy of Adafruit

Use an enclosed AC power relay to enable your Arduino to control wall-voltage-powered devices such as lamps. Connect your Arduino to the low voltage control lines and toggle the pin state to switch the outlets on and off. Always exercise caution when working with AC voltage!

Buy the four outlet power relay from Amazon, Adafruit, SparkFun, or Digital Loggers.