Home Automation Using IOT With Blynk and ESP8266-01

by Anto B in Circuits > Arduino

2289 Views, 2 Favorites, 0 Comments

Home Automation Using IOT With Blynk and ESP8266-01

Thumbnail.jpg

Whats app guys.. in this video, you are going to learn how to make a simple home automation using esp8266-01 and blynk app. because IoT is the current trend on the market. so at the end of the tutorial, you can able to know how to make the home automation.

Supplies

materials required

1) ESP8266-01

2) 2 channel Relay

3) USB to TTL converter

4) jumper wi

Gather the Required Components

DSC00514.JPG
DSC00513.JPG
DSC00515.JPG
DSC00516.JPG
esp breakout.jpg

i strongly suggest you to buy the ESP breakout board to download the code. I have made a breakout board.

you can use any type of relay to connect. but i recommend you to use optocoupler controlled relay. so that the reverse current cannot affect our esp module.

Install the Blynk App and Make Necessary Arrangements As Per the Picture

Screenshot_2019-09-26-19-38-16-57.png
Screenshot_2019-09-26-19-38-46-64.png
Screenshot_2019-09-26-19-40-05-71.png
Screenshot_2019-09-26-19-40-30-72.png
Screenshot_2019-09-26-19-40-39-52.png
Screenshot_2019-09-26-19-40-44-26.png
Screenshot_2019-09-26-19-40-50-01.png
Screenshot_2019-09-26-18-26-14-98.png
Screenshot_2019-09-26-18-26-27-13.png
Screenshot_2019-09-26-18-26-48-61.png
Screenshot_2019-09-26-19-41-08-82.png
Screenshot_2019-09-26-19-40-55-20.png
Screenshot_2019-09-26-18-26-36-11.png
Screenshot_2019-09-26-18-25-54-34.png

Login with your email id and Select new project

Give a suitable name and select the ESP8266 then click create

you get a notification that Token has been send to your email

Add the widgets

select button widget

touch the button symbol on the screen. select the pin to GPIO0, change the type from button to switch

similarly add one more button, here select the pin gpio2

click Run at the top corner

Add Blink Library by Clicking the Following Link Below

blink website.jpg
library.jpg
examples.jpg

download the blink library and paste on the arduino folder as shown in the picture

https://github.com/blynkkk/blynk-library/releases/...

download the rar file.. extract and paste it on the libraries of the arduino.

Now open arduino IDE, examples and then blink--->esp8266 standalone.. refer the picture

Change the Wifi Credential and Token on the Code

token in ard.jpg
token.jpg

copy the auth token code and paste it on the program.. add the wifi SSID and PASSWORD

Fix It on the Breakout Board and Download the Code Using USB to TTL Converter

image-21.jpg
DSC00232.JPG
ftdi.jpg

I have made my own ESP module breakout board, if you have an ESP breakout board, fix the module and download the arduino code using USB to TTL converter. i have used a +3.3v regulator at the bottom of the board.

Note:-

don't forget to change the board from arduino uno to esp8266

don't forget to select the com port

Construct the Hardware As Per the Picture

Blynk simple auto.png
DSC00509.JPG
DSC00510.JPG
DSC00511.JPG

connect GPIO0 to IN1

connect GPIO2 to IN2

switch ON the hardware.

Be careful when giving power supply. because ESP module require only 3.3v.

Time to Test the Hardware

res 2.jpg
res.jpg

switch the internet connection ON on the smart mobile.. run the blynk app.. touch the virtual switch on the screen. check the relay switching or not.

if you want live demo, watch my video..

follow me on telegram

t.me/coffeebreak2231