Introduction: Home Automation Using Blynk

Picture of Home Automation Using Blynk

Hello, guys! I am back with another instructable.I have a

great interest in automating things around us and this project is an addition to that.

All of you might have already heard about blynk, if not, please visit the link below

(P.S> They are awesome!)

http://www.blynk.cc/

So, basically, they allow the communication between we the inventors and Arduino to be with more ease than ever. Remember, those nights hunting down apps in the play store for your Arduino projects because we don't know how to make a program or too lazy to make one, well this levels out both of this!

If you want a video tutorial of the same, go to the last step.

This project is inspired from the project:

https://www.instructables.com/id/DIY-Android-Home-Automation-Box/

Step 1: Required Items

Picture of Required Items

Materials Required:

1.Arduino

2.Relay board

3.ESP8266 Wi-Fi module

4.Jumper wires

Software required:

1. Blynk app

2.Arduino IDE

Step 2: The Blynk App

Picture of The Blynk App

You will have to first download the app from the play store and go through all that initial registration and all.

So, once you are all done, let's get started.Open the blynk app and click on create a new project. A new window will open, type your project name there(Eg.'Home Automation Mark-4'). Select your Arduino board from the list of devices and set the connection type as Wi-Fi. You will receive an email with an auth token in it, you should enter this into the arduino code.

Now, the workspace will open. click on add button the the topright corner and add four buttons(you can add any no.of buttons). Click on the button to enter it's setting.

You can give any name you want(Eg. Switch-1).Now, select the pin as D3 and mode as 'switch'. You can repeat this for other buttons, just change the pin to the succeeding one.

If you are done with all this, Congratulations you are now an app developer !

Step 3: The Hardware Setup

Picture of The Hardware Setup

Make the connections accordingly

Arduino Relay Arduino ESP8266

vin vcc 5V vcc

gnd gnd gnd gnd

D3 input 1 D10 tx

D4 input 2 D11 rx

D5 input 3

D6 input 4

Step 4: Arduino Code

Picture of Arduino Code

The code we're using is a simple blynk example.(If you have not installed blynk library get it from here.) If you don't want to take all that extra effort, I will attach the specific code required for this project below.

So, the example we're using is ESP8266_Shield.

File->Examples->Blynk->Boards_Wi-Fi->ESP8266_Sheild

You should change the YourAuthToken to the one that you received in your mail and the YourNetworkName to your wifi name and also type in the password also.

check out the image for more instructions.

Step 5: Testing

Picture of Testing

The testing video with a full tutorial is uploaded to my youtube channel, if you like the video see more videos in my channel and if you like it hit the like button and subscribe my channel for more videos

Comments

About This Instructable

1,207views

25favorites

License:

Bio: I am a high school student who is interested in making new and improved tech items. Stay tuned to this channel for more inscrutables that ... More »
More by Navaneeth Krishnan:Internet Control for Turning Computer ON/Off Using BlynkHome Automation Using BlynkBone Conduction Headphone
Add instructable to: