arduino simple IOT system using blynk app and node mcu

 

in this tutorial, you can learn how to  make a simple home IoT system using Arduino ESP 8266 and Blynk

This is a simple IoT project, dedicated to those who do not have programming knowledge. Find how you can easily create Home Automation projects and control them from your Android or IOS smartphone with the Blynk framework. The Blynk Framework offer support for many development boards like Arduino, ESP8266, Raspberry Pi, or other SparkFun boards.


download esp 8266 datasheet
Requirements

Hardware:

1. ESP8266
2. 4-channel Relay module
3. 1 x Breadboard
4. male to male jumper Wires
1 Smartphone


Software:

WiFi network with internet available
Arduino IDE
Blynk library for Arduino
Blynk Application for Smartphones (IOS Android)





Step 1:Schematic



Step 2:download the Blynk app and setup

how to download Blynk



after downloading Blynk app you need to set up it




                           Step 3: Download and Install the Blynk library

First of all, we have to download the Blynk master library and install  to Arduino IDE










Step 4:Upload the code




#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

char auth[] = "here is your auth code that was received in your email";


void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth, "your wifi name ex:- your wifi router wifi ", "your wifi password");
}

void loop()
  Blynk.run();

   
  delay(100);
}