IoT based Home Automation project using NodeMCU ESP8266 and New Blynk app | ESP8266 Projects 2021

Поделиться
HTML-код
  • Опубликовано: 19 авг 2024
  • In this ESP8266 project, I have shown how to make the IoT based Home Automation project using NodeMCU ESP8266 and New Blynk app to control 4 relays with real-time feedback. You can also control relays without WiFi from the manual switch. For this IoT project, I have used the FREE plan of the new Blynk IoT platform, so you can easily make this simple home automation system to control the appliances from anywhere in the world through the internet.
    PCBA from $0 (Free Setup, Free Stencil) jlcpcb.com/RHS
    Download PCB Gerber file for this NodeMCU IoT based home automation project
    drive.google.c...
    Previous New Blynk NodeMCU tutorial video link:
    • Home Automation using ...
    Project on NEW Blynk + ESP8266 + IR + Sensor: • ESP8266 Project using ...
    Covered the following topics during the Blynk ESP8266 project:
    00:46 Control ESP8266 NodeMCU from the new Blynk IoT app.
    02:00 Required Components for this Blynk IoT project.
    02:23 Circuit of the NodeMCU ESP8266 home automation project.
    04:58 Program NodeMCU with Blynk Example using Arduino IDE.
    06:30 Explained the BlynkEdgent example code for ESP8266
    08:18 Setup NEW Blynk IoT App for the mobile dashboard.
    09:20 Adding WiFi credentials Over Air (OTA)
    10:29 Controlling appliances from Blynk App and switches.
    Required Components for this NodeMCU home automation project
    1. NodeMCU
    2. 4-channel 5V SPDT Relay Module
    3. Push Buttons or Switch
    Amazon India Affiliate links:
    NodeMCU : amzn.to/3fJA4EG
    4-channel 5V Relay Module : amzn.to/2BQ5Y3o
    Amazon United States Affiliate links:
    NodeMCU : amzn.to/2WoR2A2
    4-channel 5V Relay Module : amzn.to/3r2HuJ4
    Required Components for the NodeMCU control Relay Module PCB:
    1. Relays 5v (SPDT) (4 no)
    2. BC547 Transistors (4 no)
    3. PC817 Optocuplors (4 no)
    4. 510-ohm 0.25-watt Resistor (4 no) (R1 -- R4)
    5. 1k 0.25-watt Resistors (5 no) (R5 -- R9)
    6. LED 5-mm (5 no)
    7. 1N4007 Diodes (5 no) (D1 -- D5)
    8. Push Buttons (4 no)
    9. Terminal Connectors
    10. 5V DC supply
    Download Code for this NodeMCU Blynk home automation project from the following article
    iotcircuithub....
    Important points:
    1. In code, you have to update only the BLYNK_TEMPLATE_ID & BLYNK_DEVICE_NAME as shown in the video.
    2. Keep all the 9 files (.ino & .h) in the same folder.
    3. You have to reset NodeMCU to reconnect with the Wi-Fi.
    4. If you use latched switch, then during reset the switch-2 (D3) must be turned OFF.
    **Please take proper safety precautions while working with high voltages.
    During this Blynk IoT tutorial video, I have explained all the steps to configure the new Blynk 2.0 platform for any IoT-based smart home automation system. If the NodeMCU is connected with WiFi then you can control the relays from anywhere in the world from mobile, and monitor the real-time feedback in the Blynk IoT applications. So with this smart house project, you can convert any home appliances to IoT devices and control them through the internet.
    #homeautomation #blynk #nodemcu
    -------------------------------------------------------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more such projects: iotcircuithub....
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudy...
    -------------------------------------------------------
    -------------------------------------------------------
    WARNING:
    This video is for demonstration and educational purposes only.
    Each demonstration presents risks and hazards that must be fully understood before attempting.
    And should be performed only by professionals
    ------------------------------------------------------
    Other useful IoT projects:
    Latest NodeMCU projects playlist:
    • NodeMCU Projects
    Latest ESP32 projects playlist:
    • ESP32 Projects
    ESP32 Smart Home System with Amazon Alexa app & Manual Switches
    • ESP32 Smart Home Syste...
    WiFi Door Lock using ESP32 CAM & Blynk
    • WiFi Door Lock using E...

Комментарии • 143

  • @ujjawal3420
    @ujjawal3420 2 года назад +2

    Awesome, this is what i'm waiting for.
    Thank you Sir 🙏🙏

  • @muhammadnor4135
    @muhammadnor4135 2 года назад +2

    I like your project, thanks sir.

  • @monika_malhotra
    @monika_malhotra 9 месяцев назад

    Error code
    Error compiling for board NodeMCU 1.0 (ESP-12E Module).
    found it .. reason is new blynk version not supported just manually delete old blynk library and downgrade to 1.0.1

  • @madhukeshnp
    @madhukeshnp 2 года назад +1

    It is not a small limitation... its a huge limiataion.. just imagine you have placed the device inside a switch board... and wifi comes back !!!! How will you reset the board??? Not a good way of dealing with the problem.
    Also the GPIO selection for the switches are really bad. As you know it will prevent the board from booting.... in short this project will have hard time working in reality... it is only good for youtube video.

  • @alokraj824
    @alokraj824 2 года назад +1

    Bhai sb ke pass internet nahi rahata ha
    Bluetooth + internet + mannual switch
    Ak he app se control ho chahe internet se connect ho ya Bluetooth se

  • @safiyasulthana3531
    @safiyasulthana3531 2 года назад +1

    Kindly make a seperate video on the electrical wiring. My device is connected, code works fine. I have done it all but somewhere I am going wrong coz of which one bulb glows as soon as power is on.

    • @TechStudyCell
      @TechStudyCell  2 года назад

      Ok. but it may happen due to loose connection

  • @maheshnalage2898
    @maheshnalage2898 2 года назад

    Error ''old version of blink library is in use. Please replace it with the new one."

  • @monika_malhotra
    @monika_malhotra 9 месяцев назад

    after uploading code node mcu led not blynking also hotspot not seeen

  • @sadepale5060
    @sadepale5060 2 года назад +1

    Dear sir,
    I’m a fan of your channel and I find it very educational. If possible could you do a video on how to build and program a project with a microcontroller and a wifi module (like arruino nano and node mcu or wemos d1 mini) using the Blynk app?
    I attempted to build one for my personal project but I’m bit stuck on how the data from the arduino nano will get read by the Blynk app through my wemos d1 mini. Your reply to this is hugely appreciated.
    Thank you

  • @MahmoudMohamed-jc7io
    @MahmoudMohamed-jc7io 2 года назад +1

    Really I love you ❤❤

  • @rubialugattimoreira1978
    @rubialugattimoreira1978 2 года назад

    Thanks for share your knologe !👏👏

  • @Aashutoshkumar-xu1zy
    @Aashutoshkumar-xu1zy Год назад

    Sir, if anyone haven't any wifi connection or internet connection then I want to connect individual smart devices to my mobile. Like Any Smart bulb when we setup to its app then it show to connect the smart device wifi then setup I want like this when internet is not available then I am able to connect my mobile to that device own wifi network and control to app. Can you make this type of smart devices

  • @Irham5547
    @Irham5547 2 года назад +1

    tq for sharing this project

  • @md.sabbirraihan1102
    @md.sabbirraihan1102 Год назад

    Is there any solution for node mcu not getting wifi connection automatically when loadshedding?

  • @masudrahaman7497
    @masudrahaman7497 2 года назад

    Hi subhojit
    I am masud from Saudi Arabia
    I flow your all instructions of this vedio
    Your code also uploaded
    But my node MCU esp 8266 V2 no any light
    I press the rest button
    But same result
    You are the master
    Please help me

  • @adilabusafa
    @adilabusafa 2 года назад +1

    أهلاً وسهلاً ومرحباً مشكور .

  • @electronic7979
    @electronic7979 2 года назад +2

    Nice project

  • @jayeshpoddar8991
    @jayeshpoddar8991 2 года назад

    the code was not working, any help ?

  • @shuvoroy2591
    @shuvoroy2591 2 года назад +1

    I need help 🥺🥺🥺 I use mobile charger for ESP8266 power supply, but when it connect with long time Then ESP is damage...... How and what kind of power supply I use. ( For long time use)

    • @TechStudyCell
      @TechStudyCell  2 года назад +1

      You can use any stable 5V supply. When you restart the NodeMCU, make sure the switch2 (D3) should be OFF

  • @sudheerkumar5966
    @sudheerkumar5966 2 года назад +1

    Very good

  • @hoanganhvanhoanganhv
    @hoanganhvanhoanganhv 2 года назад

    The author has an additional LED connection on the application. then perfect.(up time)(led connection)

  • @dhineshd94
    @dhineshd94 2 года назад +1

    That's nice bro

  • @anhtuanngo4774
    @anhtuanngo4774 2 года назад

    You can instruction about timer on off forr relay

  • @justsanizer2431
    @justsanizer2431 2 года назад

    bro it is not showing wifi with the name of blynk while adding device and it shows device with the name of my board and whhen i try to connect it does not connect please reply

  • @karangaikwad9914
    @karangaikwad9914 2 года назад +1

    Sir I want 8 channel relay control using esp32

  • @perviz808
    @perviz808 2 года назад

    hi, i upload this sketch.but in app blynk when i want add new device blynk can't find device,wifi serch but can't find device

    • @TechStudyCell
      @TechStudyCell  2 года назад

      Make sure the WiFi led should blinking during that time

    • @perviz808
      @perviz808 2 года назад

      @@TechStudyCell wifi not blinking.
      Device working because when i use other code i can connected

    • @perviz808
      @perviz808 2 года назад

      @@TechStudyCell his blinking but app can't find devices
      wifi searching but can't find

  • @MikeHammonds804
    @MikeHammonds804 2 года назад +1

    I too would like the 8 channel relay control using esp32, please

  • @PokeNik
    @PokeNik 2 года назад

    while compiling code BlynkEdgent.h: No such file or directory.
    plz help

  • @matthiash.454
    @matthiash.454 2 года назад

    Question: What is that black part to the left of the green LED on the self-planned board ?
    What is this needed for ?
    It does not appear in the parts list ?

  • @RohitKumar-mh1pk
    @RohitKumar-mh1pk 2 года назад

    Sir i forget my device ssid and password how to connect

  • @buddhimaamarasinghe9997
    @buddhimaamarasinghe9997 2 года назад

    How to turn off the relay1 after a minute (Delay). How to write a code please help me. Thanks son.

  • @rehmanullah1300
    @rehmanullah1300 2 года назад

    Sir, I'm having blynkconsol error, saying print is not declared in blynkconsol.

  • @jeabkhemsamrit4458
    @jeabkhemsamrit4458 2 года назад +1

    The video you made is very helpful.
    Can you teach me how to use the Time input with the new blynk? I don't understand.

  • @purusottampanda9129
    @purusottampanda9129 2 года назад +1

    Hi,
    Your explanations are very clear. If you could show how to use above project with extra facility of timer like switch off/on at a particular time, It would be more helpful.

  • @surajpatil_173
    @surajpatil_173 2 года назад

    Sir please tell me. when the power to nodemcu is off (like 5v source charger is off by home light off )& the 5v source is on then nodemcu not restart automatically.can this is fixed with programming.plz reply

  • @sidharthkumar4561
    @sidharthkumar4561 Год назад

    Sir
    I need to make water level monitoring system following is the logic
    I need to start and stop motor through relays and i need to watch the level of tank through led widget i am using water level switch having 3 levels 0%,50% and 100%.
    Kindly help me with program code.
    Thanks in advance.

  • @3adelz90
    @3adelz90 2 года назад

    Why do you have to reset Node to connecg to Wifi ? is this because of the commented line ?

  • @revanth1881
    @revanth1881 Год назад

    pls upload for 8 relay

  • @newnew349
    @newnew349 2 года назад

    old blink doesn't work

  • @sureshmirthipati7170
    @sureshmirthipati7170 2 года назад

    Dear sir I am fan of your channel
    Please do this video also 8 channel control using esp8266 with IR remote

    • @TechStudyCell
      @TechStudyCell  2 года назад

      You can use ESP32 for 8channel relay module

  • @Digi.world1
    @Digi.world1 2 года назад

    Sir, I'm new in this so, if possible please make me clear about what is ch340g and co2102 node MCU.

  • @saklogaming271
    @saklogaming271 2 года назад

    How to set timer function on blynk 2.0

  • @kingstone2098
    @kingstone2098 2 года назад

    How to delete flash memory in nodemcu plzzzz make a video

  • @harshame1
    @harshame1 2 года назад

    Dear sir.. I need a timer circuit 230v. Pls show the tutorial

  • @nikhilpatel2494
    @nikhilpatel2494 2 года назад

    Excuse me brother is there any workaround for node MCU to automatically connect to the blynk server without pushing the reset button

  • @4uhacks767
    @4uhacks767 2 года назад

    @Tech StudyCell sir what do I need to change in sketch to use touch switch using tp223 instead of push button?

  • @shlokgaming5491
    @shlokgaming5491 2 года назад

    One dout if we will not upload WiFi id and password of WiFi then how will node mcu will connect to wifi ?

  • @kousik84
    @kousik84 2 года назад

    How to Connect
    Google assistant + Alexa + Manual switches + IR Remote + without wifi + Temperature and LDR
    8 channel system
    Please say 🙏
    All in one project

  • @dhanraj41
    @dhanraj41 11 месяцев назад

    Stuck overflow solution

  • @DeepKiVines
    @DeepKiVines 2 года назад

    sem video esp 8266 me remote bhi add kar do n bhai

  • @have_bussiness
    @have_bussiness 2 года назад

    please please please give me the code of 8 Channel relay module with Node MCU, Please 🥺🥺

  • @ramkrushnashinde6689
    @ramkrushnashinde6689 2 года назад

    can i add extra functionality of monitoring temperature and humidity in same project..
    pls reply..

  • @subratsharma4591
    @subratsharma4591 2 года назад

    'D3' was not declared in this scope; did you mean 'V3'?

  • @arifqurbanov2159
    @arifqurbanov2159 2 года назад

    Can you make a project with app, site and manual connectable?

  • @meghavardhanreddykc9144
    @meghavardhanreddykc9144 2 года назад

    Sir ,I have a simple doubt can you please clarify :
    what node in node mcu?

  • @mohamedamine1517
    @mohamedamine1517 2 года назад

    Hi sir I have question for the Blynk app it must be connected with the same wifi which is the nodemcu connected with ? Thanks in advance

  • @008ashwini4
    @008ashwini4 2 года назад

    Voltage regulator is needed for this

  • @darklightlamp3013
    @darklightlamp3013 2 года назад

    Bro can u plz move on with this type of project

  • @sohinideb7843
    @sohinideb7843 2 года назад

    Helpful video... Thanks for sharing...

  • @sivakoteswararao8438
    @sivakoteswararao8438 2 года назад

    In this code where wifi credentials given please clarify

    • @TechStudyCell
      @TechStudyCell  2 года назад

      In code no WiFi credentials required. Please watch complete video

  • @4uhacks767
    @4uhacks767 2 года назад

    Sir I have to use tp223 in place of manual button . Will it work?

  • @AB-sk4kz
    @AB-sk4kz 2 года назад

    Nice,
    Brother, can i get schematic diagram of PCB ?

  • @Digi.world1
    @Digi.world1 2 года назад +1

    Sir, can we use esp8266 ch340g, module for same program and project?

    • @krishmahajan8263
      @krishmahajan8263 2 года назад +1

      Yes sir can we use this board i also have same board and having problem in connecting

  • @perviz808
    @perviz808 2 года назад +1

    Hi friends, good project,i also want to add this project 4 sensors Ds18b20 how can i do it ?

    • @perviz808
      @perviz808 2 года назад

      How about this?

    • @TechStudyCell
      @TechStudyCell  2 года назад

      You can refer to following video ruclips.net/video/Vgyj3cCAioI/видео.html

  • @prashanthprashanth7418
    @prashanthprashanth7418 2 года назад

    Can u try home automation with Bixby voice

  • @er.himanshu99
    @er.himanshu99 2 года назад

    Bro I am getting.error .Please Can you help me :Code_NodeMCU_Blynk2_4Relay_Button_NEW.ino:58:10: fatal error: BlynkEdgent.h: No such file or directory

    • @TechStudyCell
      @TechStudyCell  2 года назад

      You have to keep all the 10 files .ino & .h in same directory.

    • @er.himanshu99
      @er.himanshu99 2 года назад

      @@TechStudyCell how to do that because I am using Arduinodroid Application in android phone . Please Reply 🙏

    • @er.himanshu99
      @er.himanshu99 2 года назад +2

      @@TechStudyCell thanks now it works

  • @luansinani389
    @luansinani389 2 года назад

    if esp8266 does not reconnect automatically where is the point for a smart home project. in my point of view this is useless script.

  • @nersalas7064
    @nersalas7064 2 года назад

    What kind of switch did you use?

  • @sudevserpuri1696
    @sudevserpuri1696 2 года назад

    सप्लाई बंद होने के बाद रीसेंट सेटिंग रिसेट हो जाएगा??

  • @srinivasrdn
    @srinivasrdn 2 года назад

    Nice video🤝

  • @trustmeserious
    @trustmeserious 2 года назад

    please make 8 channel relays code

  • @kingstone2098
    @kingstone2098 2 года назад

    Bro how to fully delete old program in nodemcu 8266

    • @TechStudyCell
      @TechStudyCell  2 года назад +1

      When you upload the code, it will overwrite the previous one

  • @ofrasel1
    @ofrasel1 2 года назад

    8 channel relay with nodeMCU

  • @dhaksha9561
    @dhaksha9561 2 года назад

    does both should be connected to the same wifi or will it work even on the phone internet data?

  • @hduylan1544
    @hduylan1544 2 года назад

    Hi Brother, can I ask if I can use 2 esp8266 using the same device, because I need to use 3 esp but blynk only gives 2 free devices, thanks.

    • @TechStudyCell
      @TechStudyCell  2 года назад +1

      Yes you can. This is the topic for next video.

  • @ajayroxxful
    @ajayroxxful 2 года назад

    What's the total price?

  • @nightwing8164
    @nightwing8164 2 года назад

    Nice project bro, but why it doesn't reconnect automatically ?

    • @TechStudyCell
      @TechStudyCell  2 года назад +1

      This is a limitation, if you want to control relay without WiFi.

  • @RakeshKumar-hs8yz
    @RakeshKumar-hs8yz 2 года назад

    Is it work in espesp8266 sir please reply

  • @chrislacarin4332
    @chrislacarin4332 2 года назад

    Good morning

  • @newnew349
    @newnew349 2 года назад

    Hi. blink 2,0 + ir remote + 4 button + 4 relay WiFi on esp8266 nodemcu please.

    • @TechStudyCell
      @TechStudyCell  2 года назад

      Okay noted

    • @newnew349
      @newnew349 2 года назад

      @@TechStudyCell thank you for your attention

  • @weldonmartins9148
    @weldonmartins9148 2 года назад

    is there such a board with 10 relays? I wanted to control 10 items in a room.

    • @arifqurbanov2159
      @arifqurbanov2159 2 года назад

      There are even with 20

    • @weldonmartins9148
      @weldonmartins9148 2 года назад +1

      @@arifqurbanov2159 How do I order a board with 10 relays anda ESP32 code?

  • @prajwalbhuse781
    @prajwalbhuse781 2 года назад

    Esp32 8 channel plz upload

  • @kushalgayen5636
    @kushalgayen5636 2 года назад

    Sir, can I add google voice control feature to this project??

  • @markwach4539
    @markwach4539 Год назад

    BlynkEdgent>h no such file or directory

  • @srinivasrdn
    @srinivasrdn 2 года назад

    Can you please upload code for esp32 38pin model

  • @AnandKumar-ys4pq
    @AnandKumar-ys4pq 2 года назад

    Please post the project without 5v directly using 230V input

  • @rameshniroj2225
    @rameshniroj2225 2 года назад

    Sir, I'm asking more than 1 year for,
    ESP 32 + 8 channel relay + Google Assistant + Alexa + manual (blynk as optional)
    Is that possible to do?
    You did Esp 8266 + 4 channel +google + alexa already, I did at it's working perfectly,
    But I need 8 channel voice assistant automation,
    so could you please do that for me?

  • @RJ593ec
    @RJ593ec 2 года назад

    Blynk👎🏼
    App inventor 👍🏼
    🇪🇨

  • @yogendrajamsariya1193
    @yogendrajamsariya1193 2 года назад +1

    ❤️

  • @sonuala5671
    @sonuala5671 2 года назад

    Sir you make awasome and usefull gadgets I heard that u told you can use this from anywhere but sir tried to make this it's working good but its work only when I'm near to the wifi can u explain me how could its work from anywhere so I can operate my home light from my OFFICE pl explain me

    • @sonuala5671
      @sonuala5671 2 года назад

      Not yet answer

    • @TechStudyCell
      @TechStudyCell  2 года назад

      The NodeMCU should be connected with the Home WiFi. Your mobile and NodeMCU are connected to Blynk server through internet. So when you press the button in Blynk app, it send the signal to Blynk server through the internet. And the NodeMCU received that signal from Blynk server. Here both the mobile and NodeMCU should be connect to internet.

    • @sonuala5671
      @sonuala5671 2 года назад

      Can u make video on this sir pllll make it

  • @current.affairs.3738
    @current.affairs.3738 2 года назад

    Hiii

  • @sivakoteswararao8438
    @sivakoteswararao8438 2 года назад

    In this code where wifi credentials given please clarify

  • @rameshniroj2225
    @rameshniroj2225 2 года назад

    Sir, I'm asking more than 1 year for,
    ESP 32 + 8 channel relay + Google Assistant + Alexa + manual (blynk as optional)
    Is that possible to do?
    You did Esp 8266 + 4 channel +google + alexa already, I did at it's working perfectly,
    But I need 8 channel voice assistant automation,
    so could you please do that for me?

    • @TechStudyCell
      @TechStudyCell  2 года назад

      Please refer to following video: ruclips.net/video/QGpZmZB9g5g/видео.html