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

Sdílet
Vložit
  • čas přidán 7. 09. 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...

Komentáře • 143

  • @ujjawal3420
    @ujjawal3420 Před 2 lety +2

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

  • @muhammadnor4135
    @muhammadnor4135 Před 2 lety +2

    I like your project, thanks sir.

  • @safiyasulthana3531
    @safiyasulthana3531 Před 2 lety +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  Před 2 lety

      Ok. but it may happen due to loose connection

  • @madhukeshnp
    @madhukeshnp Před 2 lety +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.

  • @sadepale5060
    @sadepale5060 Před 2 lety +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

  • @alokraj824
    @alokraj824 Před 2 lety +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

  • @adilabusafa
    @adilabusafa Před 2 lety +1

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

  • @masudrahaman7497
    @masudrahaman7497 Před 2 lety

    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

  • @purusottampanda9129
    @purusottampanda9129 Před 2 lety +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.

  • @maheshnalage2898
    @maheshnalage2898 Před 2 lety

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

  • @rubialugattimoreira1978

    Thanks for share your knologe !👏👏

  • @Irham5547
    @Irham5547 Před 2 lety +1

    tq for sharing this project

  • @shuvoroy2591
    @shuvoroy2591 Před 2 lety +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  Před 2 lety +1

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

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

    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

  • @jeabkhemsamrit4458
    @jeabkhemsamrit4458 Před 2 lety +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.

  • @Aashutoshkumar-xu1zy
    @Aashutoshkumar-xu1zy Před rokem

    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

  • @hoanganhvanhoanganhv
    @hoanganhvanhoanganhv Před 2 lety

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

  • @matthiash.454
    @matthiash.454 Před 2 lety

    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 ?

  • @anhtuanngo4774
    @anhtuanngo4774 Před 2 lety

    You can instruction about timer on off forr relay

  • @sureshmirthipati7170
    @sureshmirthipati7170 Před 2 lety

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

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

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

  • @sidharthkumar4561
    @sidharthkumar4561 Před rokem

    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.

  • @MikeHammonds804
    @MikeHammonds804 Před 2 lety +1

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

  • @sudheerkumar5966
    @sudheerkumar5966 Před 2 lety +1

    Very good

  • @perviz808
    @perviz808 Před 2 lety

    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  Před 2 lety

      Make sure the WiFi led should blinking during that time

    • @perviz808
      @perviz808 Před 2 lety

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

    • @perviz808
      @perviz808 Před 2 lety

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

  • @MahmoudMohamed-jc7io
    @MahmoudMohamed-jc7io Před 2 lety +1

    Really I love you ❤❤

  • @karangaikwad9914
    @karangaikwad9914 Před 2 lety +1

    Sir I want 8 channel relay control using esp32

  • @md.sabbirraihan1102
    @md.sabbirraihan1102 Před rokem

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

  • @4uhacks767
    @4uhacks767 Před 2 lety

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

  • @Digi.world1
    @Digi.world1 Před 2 lety

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

  • @ramkrushnashinde6689
    @ramkrushnashinde6689 Před 2 lety

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

  • @surajpatil_173
    @surajpatil_173 Před 2 lety

    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

  • @electronic7979
    @electronic7979 Před 2 lety +2

    Nice project

  • @kousik84
    @kousik84 Před 2 lety

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

  • @3adelz90
    @3adelz90 Před 2 lety

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

  • @sohinideb7843
    @sohinideb7843 Před 2 lety

    Helpful video... Thanks for sharing...

  • @shlokgaming5491
    @shlokgaming5491 Před 2 lety

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

  • @buddhimaamarasinghe9997

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

  • @mohamedamine1517
    @mohamedamine1517 Před 2 lety

    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

  • @subratsharma4591
    @subratsharma4591 Před 2 lety

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

  • @nikhilpatel2494
    @nikhilpatel2494 Před 2 lety

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

  • @harshame1
    @harshame1 Před 2 lety

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

  • @saklogaming271
    @saklogaming271 Před 2 lety

    How to set timer function on blynk 2.0

  • @revanth1881
    @revanth1881 Před rokem

    pls upload for 8 relay

  • @CodingProgrammingAccount

    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

  • @Digi.world1
    @Digi.world1 Před 2 lety +1

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

    • @krishmahajan8263
      @krishmahajan8263 Před 2 lety +1

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

  • @meghavardhanreddykc9144

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

  • @rehmanullah1300
    @rehmanullah1300 Před 2 lety

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

  • @jayeshpoddar8991
    @jayeshpoddar8991 Před 2 lety

    the code was not working, any help ?

  • @dhineshd94
    @dhineshd94 Před 2 lety +1

    That's nice bro

  • @arifqurbanov2159
    @arifqurbanov2159 Před 2 lety

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

  • @kingstone2098
    @kingstone2098 Před 2 lety

    How to delete flash memory in nodemcu plzzzz make a video

  • @RohitKumar-mh1pk
    @RohitKumar-mh1pk Před 2 lety

    Sir i forget my device ssid and password how to connect

  • @perviz808
    @perviz808 Před 2 lety +1

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

    • @perviz808
      @perviz808 Před 2 lety

      How about this?

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      You can refer to following video czcams.com/video/Vgyj3cCAioI/video.html

  • @4uhacks767
    @4uhacks767 Před 2 lety

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

  • @PokeNik
    @PokeNik Před 2 lety

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

  • @DeepKiVines
    @DeepKiVines Před 2 lety

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

  • @have_bussiness
    @have_bussiness Před 2 lety

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

  • @dhanraj41
    @dhanraj41 Před rokem

    Stuck overflow solution

  • @newnew349
    @newnew349 Před 2 lety

    old blink doesn't work

  • @sivakoteswararao8438
    @sivakoteswararao8438 Před 2 lety

    In this code where wifi credentials given please clarify

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      In code no WiFi credentials required. Please watch complete video

  • @AB-sk4kz
    @AB-sk4kz Před 2 lety

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

  • @008ashwini4
    @008ashwini4 Před 2 lety

    Voltage regulator is needed for this

  • @sudevserpuri1696
    @sudevserpuri1696 Před 2 lety

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

  • @nersalas7064
    @nersalas7064 Před 2 lety

    What kind of switch did you use?

  • @chrislacarin4332
    @chrislacarin4332 Před 2 lety

    Good morning

  • @dhaksha9561
    @dhaksha9561 Před 2 lety

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

  • @prashanthprashanth7418

    Can u try home automation with Bixby voice

  • @darklightlamp3013
    @darklightlamp3013 Před 2 lety

    Bro can u plz move on with this type of project

  • @luansinani389
    @luansinani389 Před 2 lety

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

  • @trustmeserious
    @trustmeserious Před 2 lety

    please make 8 channel relays code

  • @hduylan1544
    @hduylan1544 Před 2 lety

    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  Před 2 lety +1

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

  • @er.himanshu99
    @er.himanshu99 Před 2 lety

    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  Před 2 lety

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

    • @er.himanshu99
      @er.himanshu99 Před 2 lety

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

    • @er.himanshu99
      @er.himanshu99 Před 2 lety +2

      @@TechStudyCell thanks now it works

  • @ofrasel1
    @ofrasel1 Před 2 lety

    8 channel relay with nodeMCU

  • @weldonmartins9148
    @weldonmartins9148 Před 2 lety

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

  • @nightwing8164
    @nightwing8164 Před 2 lety

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

    • @TechStudyCell
      @TechStudyCell  Před 2 lety +1

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

  • @newnew349
    @newnew349 Před 2 lety

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

  • @ajayroxxful
    @ajayroxxful Před 2 lety

    What's the total price?

  • @kushalgayen5636
    @kushalgayen5636 Před 2 lety

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

  • @RakeshKumar-hs8yz
    @RakeshKumar-hs8yz Před 2 lety

    Is it work in espesp8266 sir please reply

  • @kingstone2098
    @kingstone2098 Před 2 lety

    Bro how to fully delete old program in nodemcu 8266

    • @TechStudyCell
      @TechStudyCell  Před 2 lety +1

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

  • @srinivasrdn
    @srinivasrdn Před 2 lety

    Nice video🤝

  • @prajwalbhuse781
    @prajwalbhuse781 Před 2 lety

    Esp32 8 channel plz upload

  • @rameshniroj2225
    @rameshniroj2225 Před 2 lety

    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?

  • @AnandKumar-ys4pq
    @AnandKumar-ys4pq Před 2 lety

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

  • @srinivasrdn
    @srinivasrdn Před 2 lety

    Can you please upload code for esp32 38pin model

  • @markwach4539
    @markwach4539 Před rokem

    BlynkEdgent>h no such file or directory

  • @sonuala5671
    @sonuala5671 Před 2 lety

    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 Před 2 lety

      Not yet answer

    • @TechStudyCell
      @TechStudyCell  Před 2 lety

      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 Před 2 lety

      Can u make video on this sir pllll make it

  • @yogendrajamsariya1193
    @yogendrajamsariya1193 Před 2 lety +1

    ❤️

  • @current.affairs.3738
    @current.affairs.3738 Před 2 lety

    Hiii

  • @RJ593ec
    @RJ593ec Před 2 lety

    Blynk👎🏼
    App inventor 👍🏼
    🇪🇨

  • @sivakoteswararao8438
    @sivakoteswararao8438 Před 2 lety

    In this code where wifi credentials given please clarify

  • @rameshniroj2225
    @rameshniroj2225 Před 2 lety

    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  Před 2 lety

      Please refer to following video: czcams.com/video/QGpZmZB9g5g/video.html