Esp8266 Projects

Home Automation Using Esp8266 & Blynk2.0 App

IoT Home Automation using Blynk & NodeMCU ESP8266

Introduction

In This Project, You Learn Full Home Automation using blank App & NodeMcu(esp8266). This Project is the Most Common & Popular Project Across The Internet. Home Automation Mean We Controlled Home Light, Measuring the GAS Level, Measuring Temperature & humidity And Measuring the Water Tank Level.

In This Project, We are Measuring The 4 Parameter And Controlling the two applications. all possibilities will be done by wifi Through I mean the NodeMcu is InBult Wifi Controller. And When The Wifi is Connected to the NodeMcu We Control The Applications And Measuring The Parameter Anywhere in the World. All Data will Show in Blyank2.0 App.

Bill Of Materials

S.N

Component Name

Quantity

Link To Buy

1

NodeMcu (esp8266)

1

2

16x4 LCD Display

1

3

Ultrasonic Sensor

1

4

MQ-2 Sensor

1

5

DHT-22 Sensor

1

6

2-Channel Relay Module

1

7

Buzzer

1

8

Zero Pcb

1

Block Diagram 

The Block Diagram for The Project is Given Below. Using The Block Diagram We Just Decide on The Input And Output Components.

I Mean Which Sensor We Used on the Input Side Like DHT22 Sensor, Ultrasonic Sensor, or MQ-2 Sensor And Output Side We Used a 16×4 Lcd Display, and 2 Channel Relay Module To Turn ON/OFF The Home Application.

Block Diagram
Block Diagram

Circuit Diagram

Now Will Discuss The Circuit Diagram Of The Project. We are ready to Decide on the INPUT/OUTPUT component in Block Diagram. Now I will Explain and Show The Pin Connected to The Sensor With NodeMcu.

DHT-22 Sensor Will Providing The Digital Value That’s Why I connected to the digital PIN D3 PIN Of Nodemcu. And is given The Output in the Form Of Temperature And Humidity.

Ultrasonic Sensor They Will Also Be a Digital Sensor That’s Why I connected the PIN D6 and D5. I mean Trigger Pin Will Connected To PIN D6 And Echo Pin Will connect to PIN D5.

MQ-3 Sensor They Will Provide Digital Value And Analog Value. This Project is required the Analog Value That’s Why I connected the A0 PIN. In NodeMcu We Have Only One Analog Pin Not More Analog Pin.

2-Channel Relay Module Is an Output Device And When You Give a ‘0’ signal to The Input Then Relay Will On if you give a ‘1’ Then Really will OFF. And Output Side Of Relay We Just Connected the Home Applications They Work On AC Or Dc Voltage.

Relay Will Connected the PIN D7 And D8.

In This Project, I used The Small Buzzer And The Will Connected To PIN D0.

Circuit diagram
Circuit diagram

 

PCB Design

Circuit Diagram
Circuit Diagram
PCB Design
PCB Design
PCB Design
PCB Design
PCB Design
PCB Design

 

PCB File Link

Setting Up Blynk App Application

Now It’s Time To set up Blynk Application.

If you Used To Laptop Then You are required To The Link https://blynk.cloud/dashboard/login Login to The Blynk Application.

Blynk Application
Blynk Application
  • When You Login The Application We just Make A New Device If You Used Nodemcu just Type it Esp8266 And if you Used ESP32 Then Type It ESP32.
Blynk Application
Blynk Application
  • Go To The Template Just Press The Your New Device And Edit It
Blynk Application
Blynk Application
  • You Just Add The Switch And Gauge And Define The Virtual Pin Like V0, V1…..
Blynk Application
Blynk Application
  • When you have Done All Things You Just Save The File And Go To The MyDevice And Just Click The Your Template Then you See The Proper Output of The Application.
Application
Application

If You Used Mobile Application You Just go To our Playstore Search for it Blynk App and Download The Application.

Blynk Application

Blynk Application

Blynk ApplicationYou Just Sign In with the Same User Name And Password And Used The Application

Source Code / Program

When You Upload the Code To Your Controller Fist You Need To Change The Those Things.

Your Blynk App Auth Token 

Wifi User Name 

Wifi Password

Demo Of Project

This One Is The Final Hardware Of this Project

Hardware
Hardware
  • Here We Just interfaced DHT-22 Sensor And You just See the Mobile Will Display The Temperature & Humidity.
Hardware
Hardware
  • Now I just Interfacing the Ultrasonic Sensor And You Check Out The Output Of IN 16×4 Display And Mobile Applications.
Home Automation
Home Automation
  • Now I just Interface MQ-2 Sensor And You Just Check Out The Output Of the MQ Sensor In the Display As well As the Mobile Application.
Home Automation
Home Automation
  • Now Is True to Relay This Image Will See the Real Will Be Off Motor And the Light Will Also be Off.
Home Automation
Home Automation
  • When I press the Mobile Application Switch They Will On And Turn On The Motor.
Home Automation
Home Automation
  • When I Press the Light Switch in Mobile Application They Will On And Light Will Turn On
Home Automation
Home Automation
  • This One Is The Final Output We See All Parameter Display In a 16×4 Lcd Display.
Home Automation
Home Automation

Video Tutorial 

 

ESP8266 Related Projects

Prateek

Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker