Harsh Sharma Technicals

Everything About Technology At One Place

Codes And Circuit Diagrams

[HINDI] Home Automation Using Node MCU & Blynk App | Control Appliances From Anywhere In The World !

Link to buy the Entire Combo (Including Programming Bluetooth) :- Click Here

Link to buy Node MCU & 1 Channel Relay Combo :- Click Here

Link to buy Node Mcu & 4 Channel Relay Combo :- Click Here

Link to buy Node Mcu & 8 Channel Relay Combo :- Click Here

STEP BY STEP TUTORIAL FROM YOUTUBE. 

CODE

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

char auth[] = “2f8482b704cf41fbadb23d937ce10777”; // the auth code that you got on your gmail
char ssid[] = “Harsh Home”; // username or ssid of your WI-FI
char pass[] = “ngfbasketball”; // password of your Wi-Fi

void setup()
{
// Debug console
Serial.begin(9600);
pinMode(D1,OUTPUT); //extend these to D8 if you are using a 8 pin relay
pinMode(D2,OUTPUT);
pinMode(D3,OUTPUT);
pinMode(D4,OUTPUT);

digitalWrite(D1,HIGH); // Make it low if you want everything to go off
digitalWrite(D2,HIGH); // in case of a power cut
digitalWrite(D3,HIGH);
digitalWrite(D4,HIGH);
Blynk.begin(auth, ssid, pass);
}

void loop()
{
Blynk.run();
}

IF YOU ARE GETTING A STRAY ERROR  DOWNLOAD THE PROGRAM FROM HERE


CIRCUIT DIAGRAM No.1

NOTE :- Use the given circuit diagram if your Node Mcu is able to supply the necessary 5V to the relay Board. This Setup Does not uses Arduino Uno.


CIRCUIT DIAGRAM No.2

NOTE :- If you DONOT plan on  making a case for the circuit. This uses Arduino as Node MCU didn’t supply enough power to trigger relay ON/OFF.



CIRCUIT DIAGRAM No.3

NOTE :- If you plan to make a circuit enclosed in a case like i showed you in the video

 


One thought on “[HINDI] Home Automation Using Node MCU & Blynk App | Control Appliances From Anywhere In The World !

  • Wow, that’s what I was looking for, what a information! present here at this webpage, thanks admin of this web page.|

    Reply

Leave a Reply

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