Random Nerd Tutorials
Shares

Arduino – Control 220V Lamps from Anywhere in the World

Shares

Hi,

If you’re following my email/facebook updates you know I promised more tutorials related to Home Automation.

In this tutorial we’re going to control 2 lamps with an Arduino and an Ethernet Shield. If you have an Internet connection you can control those lamps from anywhere in the world.

Watch the Video below


First make sure you watch my youtube video above, where I explain the whole process in more detail.

Parts Required

has_switch_parts

Go to Home Automation Server

Click here to go to HomeAutomationServer.com to create your free account and start editing your Dashboard with 2 new buttons.  (for example: Button #1 – Desk Light and Button #2 – Desk Light)

Receiver Circuit

has_receiver_circuit_bb_final

Click here to Download the RCSwitch Library. Install it an Re-open the Arduino IDE. Then open the example “ReceiveDemo_Advanced”. Upload the code and open the serial monitor. Start pressing the buttons from the Remote you’re going to use and save them.

Transmitter Circuit

has_sender_circuit_bb_final

After you complete  the transmitter circuit. Upload the Arduino code below. (Change the user_key and the if statments as shown during the video)

Click Here to Download the Arduino Code

Thanks for watching, you can contact me by leaving a comment below. If you like this project probably you might like my next ones, so please support me by subscribing my blog and my Facebook Page.

P.S. Make sure you watch the youtube video above otherwise you might not fully understand some of the steps.

Recommended Resources

Home Automation using ESP8266 »
Build IoT projects and home automation gadgets with the ESP8266 Wi-Fi module.

Build a Home Automation System »
Learn how to build a automation system using open-source hardware and software from scratch.

Arduino Step-by-Step Projects »
Build 25 cool Arduino projects with our couse even with no prior experience!

Leave a Comment:

Add Your Reply

⏰ Early Black Friday 2017 Special ⏰
Download all our courses up to 35% off