Introduction

Everything these days is becoming smart. Our phones are smart, our cars are smart; so, why not our homes! Time to change the way you control the lights and fans of your home with this project on Home Automation. All you need is evive, some wires, loads of DIYing, your Smartphone, and the Terminal module of Dabble – a project-making mobile application with multitudinous features! You can get the app here.

Ready to take the light control to the next level? Hop on board!

Components Required

Building Guide

Step 1: Connection

  • Connect the HC-05 Bluetooth Module to the Bluetooth header on evive.
  • Connect the COM(Common) terminal of each relay to the ends of each device i.e. to the ends of lamp and fan.
  • Connect the NO(Normally Open) terminals of the relays to the other ends of the devices.
  • Connections of the relays with evive:
    • VCC – VCC of evive
    • GND – GND of evive
    • INPUT(lamp) – Digital Pin3 of evive
    • INPUT(fan) – Digital Pin2 of evive

home_atomation_diagram

Step 2: Code

We have scripted it using the PictoBlox. You have to add the extension of Dabble app by clicking the add extension button below and then selecting the extension Dabble.select extension

Upload the following code to evive.home_automation_code

Step 3: Logic

When we give the command turn on the light to the Terminal module of Dabble, it sends this string to evive. Once evive receives the command string, it performs the action corresponding to the string which is written in the code.

The relay is used to switch on/off the lamp/fan.

  • turn on the light/ turn on the fan – evive sends a low pulse to the relay
  • turn off the light/ turn off the fan – evive sends a high pulse to the relay
  • When the pulse is low – relay switches ON the device
  • When the pulse is high – relay switches OFF the deviceTerminal_Home Automation

Step 4: Conclusion

With this, you are all set to automate your home using your Smartphone!

Just wanted to tell you that we’re only a week away from the launch and are super duper excited for it! To more about it and get exclusive perks, visit here!

Circuit Diagram

DescriptionCircuit Diagram

Make the connections as shown in the given figure.

Code

DescriptionDownload Code
Code for Home AutomationDownload
Close Menu
×
×

Cart

STEMpedia Starter Package is now on Indiegogo!
Get 41% OFF with Super Early Bird discounts!
x