WiFi VOICE AND MANUAL CONTROL HOME AUTOMATION

 VIDEO:


VIDEO LINK:           https://youtu.be/YPf_wWLIik8


CODE:

//CREATIVE PRADEEP THE HOME OF ELECTRONICS//

#define BLYNK_PRINT Serial



#include <ESP8266WiFi.h>

#include <BlynkSimpleEsp8266.h>



char auth[] ="Your Auth. Key";// You should get Auth Token in the Blynk App.

                              // Go to the Project Settings (nut icon).

const int R1  = 5;            // Output Relay 1 GPI0 05 (D1)

const int R2  = 4;            // Output Relay 2 GPI0 04 (D2)



char ssid[] = "Your Wifi Network name";     // Your WiFi credentials.

char pass[] = "Password of your network";   // Set password to "" for open networks.


void setup()

{

  Serial.begin(9600);         // Debug console

  Blynk.begin(auth, ssid, pass);

  pinMode(R1,OUTPUT);

  pinMode(R2,OUTPUT);

}


void loop()

{

  Blynk.run();

  

}

CIRCUIT DIAGRAM:


CHANNEL LINK:    https://youtube.com/c/CreativePradeep

Comments

Popular posts from this blog

SMART WIFI CONTROLLED DOOR LOCK SYSTEM USING ESP32

ARDUINO PULSEOXIMETER