Introduction: IoT Based Home Automation Using Arduino Powered Embbeded Platform

About: STEMpedia is a place bringing project-making tools at one place- kits, online courses, coding platforms, controller app and tons of free learning resources.

You come home late from work, manage to get to your room somehow and launch yourself right at your bed to call it day but then you realize that you left the lights on and you neither have the energy nor are in the mood to get up. But alas, you don’t have a choice; well, only if you have manual switches.

What if we told you that you could control the lights and fans of your room, sitting (or lying?) in one place, with just a few taps on your Smartphone?

Behold the great IoT Based Home Automation System! With its powers, you can easily turn ON and OFF the light as and when you like without moving an inch. Life (for now) = Sorted!

So, why are you still lying on your bed?

Ready. Set. Automate!

Step 1: Things You'll Need:

  • evive
  • ESP8266 Module (ESP-12) Or WiFi Module
  • 5V Relay Module
  • Male to Female jumper Cables
  • M3 bolts of 8mm Length
  • M3 Nuts
  • Thick Cardboard or Wood

The above Electrical Components can be obtained in our evive IoT Kit. There are many projects listed on our Instructables profile which can be made using this Kit.

Step 2: Holding the Connections:

We just cannot keep connections hanging. We need something to hold them. We need to assemble a box using cardboard or a wood.

Stick evive in this box. Cut the electric wires and attach them to the relay. Now, attach the relay to it.

Step 3: Changing the Connections:

As we need to control the home appliances, we need to first connect them to evive.

  • Open one of the switchboards and near to that place evive.
  • To the switches of the appliance connect relay at both the terminals.
    Here the relay works as a switch for the appliance it is connected to.
    Thus the number of the relays is equal to the number of appliances connected.

Step 4: Completion of the Project:

You need to make the connections as follows:

and apply the following code.

To know more about Arduino, visit:

You can download evive library by clicking the link here.

Step 5: Working

Once, you are done with them connect to the URL of your WiFi module. Because our WiFi Module acts as a server. The URL which we need to open appears in the Serial Monitor of Arduino.

The page will open up, from where you can control the appliances you want.

For detailed information visit:

Step 6: Conclusion

With this, your DIY IoT based Home Automation System is ready! You can now control the light and the air with a simple click!