Home Automation using Nodemcu and Blynk app | Blynk Nodemcu ESP8266 relay Control

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • In this video we will see about Nodemcu blynk app (blynk esp8266 relay control).We will control relay using blynk app.
    In this video we will see Home automation using Nodemcu Esp8266 and we will see how to interface nodemcu with 2 channel relay.
    Connection diagram on github:
    github.com/ste...
    Blynk library: github.com/bly...
    You can get the materials from :
    Nodemcu - www.banggood.i...
    4 Channel Relay 5V - www.banggood.i...
    8 Channel Relay 5V - www.banggood.i...
    Jumper Wires - www.banggood.i...
    For IoT based Project Tutorials:
    Tutorial on How to post data to Google Firebase using ESP8266
    • [IOT Projects #3] How ...
    Tutorial on How to post data to Thingspeak using ESP8266
    • [IOT Projects #4] How ...
    How to Get Gmail Notification on ESP8266 & OLED
    • [IOT Projects #2] How ...
    How to Post Data To Google Spread Sheet Using ESP8266
    • [IOT Projects #1] How ...
    IoT Based Smart Agriculture System | Smart Gardening
    • IoT Based Smart Agricu...
    Support My Channel:
    buymeacoffee : www.buymeacoff...
    Patreon : / stechiez
    #nodemcu
    #homeautomation
    #blynk
    #smarthome
    #esp8266

Komentáře • 59

  • @PiyushNikam
    @PiyushNikam Před 3 lety +3

    Hello sir
    I have done exactly as yours
    But when I turn on the supply for both ESP and Relay, all the lights are turned on by default
    What should I do?

    • @StechiezDIY
      @StechiezDIY  Před 3 lety

      Please check if you have connected NO or NC. This setup and connection works without issue.

    • @tutunamadi
      @tutunamadi Před 3 lety

      I have same problem.
      i used that relay. www.robotistan.com/2-way-5v-relay-module-2li-5v-role-karti-1-5045-21-B.jpg
      i tried d6-d0-d1 pins every pin is same. when the card is open, relay works on and redlight on. push "on" in blynk, relay goes off mode nc mode. its reverse.
      i recognize it, if i add button to blynk, i think blynk opens it. if i not add button, relay not open.
      and i change 0-1 to 1-0 on blynk button settings. still when card is online, relay on, than if you push blynk button, its works i want. but openning scenario(without any response) relay is open again.
      i'm still searching.

  • @jinaykothari4511
    @jinaykothari4511 Před rokem +1

    Sir i have 5V relay and the connections are as follows:-
    Vin(NodeMCU) -> VCC(Relay)
    GND(NodeMCU) -> GND(Relay)
    D1(NodeMCU) -> IN(Relay)
    The problem is when i power the NodeMCU then only the relay is switching

    • @Ayushjain41_aj
      @Ayushjain41_aj Před rokem

      exactly same issue i am facing, relay is not trigggering from mobile application. If you got any solution, tell me

  • @banerjeesubhendu4330
    @banerjeesubhendu4330 Před 3 lety +1

    Nice

  • @toma9058
    @toma9058 Před 8 měsíci +1

    Will that only work over the WiFi or can this be used when on holiday 1000 miles away?

  • @abinjoy5008
    @abinjoy5008 Před 4 lety +1

    Well done...dude

  •  Před 3 lety +3

    did you wire 3v on nodemcu or VU pin ?

  • @sowmyam801
    @sowmyam801 Před 2 lety

    Hello sir
    Can you please tell how to setup the same setting you did now using new blynk app

  • @ramprasadmanna2757
    @ramprasadmanna2757 Před rokem

    Hello Sir I have a Doubt i'm using 5v relay on nodemcu and its low level triggered .... So when i'm triggering the relay means giving an low signal the relay is triggered and when i'm giving a high signal the relay is not comming back to the untriggered position because nodemcu gives 3.3v output which is not enough for a 5v relay....Is there any other option or am i doing something wrong??

  • @aravinds206
    @aravinds206 Před 3 lety +1

    How to power 12V - 2 channel relay ?
    Could anyone help me with this ?

    • @StechiezDIY
      @StechiezDIY  Před 3 lety

      you will need 12v power supply and use buck converter to power nodemcu board from 12V.

  • @akhila23
    @akhila23 Před rokem

    Can you do voice control using Google assistant using this same components 2 bulb 2 channel relay module Esp 8266.i want to do this project.can you help me by providing the circuit diagram and code to run

  • @mahbuburrahmanrahman2677

    Do you tell me Is it possible to control AC FAN dimmer (with zero cross detection) both By two Physical push BUttons (for speed increasing and decreasing) manually and also By Blynk app slider button for controlling speed through wifi.only zero cross detected esp8266 and blynk app slider button based fan dimmer code is available in internet but those are not manually controllable at all when wifi is not available. I ask the question because facing very difficulties to write the code for integrating push button function with only wifi controlled code (By blunk app slider button) . do you know is it possible or not ?

  • @brijrajkacha9839
    @brijrajkacha9839 Před 2 lety

    In my case, this application doesnt have any facilities to set the digital pins, what to do?? can you share that application file with me??

  • @shrutibera1538
    @shrutibera1538 Před 2 lety

    What more to do? If i had used 12v relay module

  • @rarerose2111
    @rarerose2111 Před rokem

    Port option is not showing in Arduino IDE. Please help

  • @travel_tales_by_rajvi
    @travel_tales_by_rajvi Před 3 lety

    Does we need to connect a battery with node mcu?

  • @infotainment1296
    @infotainment1296 Před 4 lety +2

    you do not even define the pins in code and how does it work?

    • @StechiezDIY
      @StechiezDIY  Před 4 lety

      If you are using digital pins in the blynk application then not required to defines the pins. I have explained that part in the video at 3:20 in the video.

  • @JayGamzTV
    @JayGamzTV Před 3 lety +2

    Hello Good Evening sir
    My laptop turned on bluescreen after i installing the Arduino app also code, what should i do to fix this issue pls. Help me

    • @StechiezDIY
      @StechiezDIY  Před 3 lety

      There is a problem with your laptop because won't give this problem. Arduino IDE is light weight application as compared to other IDE.

  • @narayanhero
    @narayanhero Před 10 měsíci

    In board wifi .....nodemcu is not showing

  • @inlandb.villos1872
    @inlandb.villos1872 Před 2 lety +1

    even if you are not in your house still works?

  • @sparshsaxena6523
    @sparshsaxena6523 Před 3 lety +1

    Sir please make it manual also.

  • @radha5930
    @radha5930 Před 3 lety +1

    Which relay did u use sir?
    Either 5 v or something else sir?

  • @arfairam4020
    @arfairam4020 Před rokem

    Hello sir
    What's third button in ur blynk app?

  • @bogscute9453
    @bogscute9453 Před 2 lety

    How many cellphone can you use to this project?
    And if you connect other phones you need to restart programming again in arduino?

  • @theindianinnovator4179
    @theindianinnovator4179 Před 3 lety +1

    Hi bro pls tell me I have a project
    Can we use it for water pump motor pls tell bro pls pls

  • @kshitijtechnicals2609
    @kshitijtechnicals2609 Před 3 lety +1

    good work bro

  • @arduinouno1285
    @arduinouno1285 Před 2 lety

    Why my relay leds turn on and off when I change the state of the buttons on the Blynk but the light stay on both? I connected both to NC. There are also no switching sound on all of the relay (mine is 4 way relay). Is it possible that my relay is not working? I also tried other example and also not work.

    • @saadshah285
      @saadshah285 Před 2 lety

      catch your problem mine is same help me

    • @varunraghuwanshi3177
      @varunraghuwanshi3177 Před rokem

      Did you find any solution?
      I have same problem. Pls help me

    • @arduinouno1285
      @arduinouno1285 Před rokem

      @@varunraghuwanshi3177 I found out that the relay I was using was 12v but signal from nodemcu is 3.3v to 5v. I change it to 5v relay.

    • @varunraghuwanshi3177
      @varunraghuwanshi3177 Před rokem

      @@arduinouno1285 I am using 5v relay but the problem is same?

  • @saadshah285
    @saadshah285 Před 2 lety

    sir not working !
    i have 16 channel relay board and nodmcu i try alot but relay board not working all output will be on automatic like i choose a d0 as output relay light on automatic
    condition and blynk app not working
    i also check my relay board with arduino relay board working good please help me

  • @savitakale4515
    @savitakale4515 Před 3 lety

    Whenever I start the blynk app it shows "wasn't online yet " but I turned on internet and hotspot so please tell me what to do

  • @Mike-gk7qh
    @Mike-gk7qh Před 2 lety

    where is the code file link

  • @navarasugowtham1989
    @navarasugowtham1989 Před 3 lety

    Blynk app shows..... Wasn't online yet... Why this problem came...how to solve this.... I entered my mobile hotspot name and pass.... But y blynk app shows you are not online... Plz tell...

    • @StechiezDIY
      @StechiezDIY  Před 3 lety

      Did you follow exact same steps as me. This should be running without issue.

    • @navarasugowtham1989
      @navarasugowtham1989 Před 3 lety

      Exact as yours.... But in my mobile hotspot showing zero connected devices and blynk app shows nodemcu was not online.... Wt to do ?

  • @triox-prasathroy8910
    @triox-prasathroy8910 Před 3 lety

    It's need internet connection?

    • @StechiezDIY
      @StechiezDIY  Před 3 lety

      Yes. This is a IoT project. So, yes this will need internet connection.

  • @ganjishivateja1395
    @ganjishivateja1395 Před 3 lety

    How u r uploading two different codes. one is relay project code and second one wifiscan code

  • @geoffr5
    @geoffr5 Před 3 lety

    Where can I see the Arduino code in the IDE?

    • @StechiezDIY
      @StechiezDIY  Před 3 lety

      You will have to download the library for blink and as mentioned in the video open any required example.