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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2021
  • 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.com/uc?export=do...
    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.com/home-automa...
    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.com/
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudycell/
    -------------------------------------------------------
    -------------------------------------------------------
    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

  • @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

  • @ujjawal3420
    @ujjawal3420 2 ปีที่แล้ว +2

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

  • @rubialugattimoreira1978
    @rubialugattimoreira1978 ปีที่แล้ว

    Thanks for share your knologe !👏👏

  • @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 ?

  • @ramkrushnashinde6689
    @ramkrushnashinde6689 2 ปีที่แล้ว

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

  • @muhammadnor4135
    @muhammadnor4135 2 ปีที่แล้ว +2

    I like your project, thanks sir.

  • @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

  • @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.

  • @meghavardhanreddykc9144
    @meghavardhanreddykc9144 2 ปีที่แล้ว

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

  • @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.

  • @nersalas7064
    @nersalas7064 2 ปีที่แล้ว

    What kind of switch did you use?

  • @arifqurbanov2159
    @arifqurbanov2159 2 ปีที่แล้ว

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

  • @4uhacks767
    @4uhacks767 2 ปีที่แล้ว

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

  • @3adelz90
    @3adelz90 2 ปีที่แล้ว

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

  • @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.

  • @muhammadirham2464
    @muhammadirham2464 2 ปีที่แล้ว +1

    tq for sharing this project

  • @4uhacks767
    @4uhacks767 2 ปีที่แล้ว

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

  • @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.

  • @AB-sk4kz
    @AB-sk4kz 2 ปีที่แล้ว

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

  • @MahmoudMohamed-jc7io
    @MahmoudMohamed-jc7io 2 ปีที่แล้ว +1

    Really I love you ❤❤

  • @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

  • @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

  • @dhineshd94
    @dhineshd94 2 ปีที่แล้ว +1

    That's nice bro

  • @sohinideb7843
    @sohinideb7843 2 ปีที่แล้ว

    Helpful video... Thanks for sharing...

  • @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

  • @revanth1881
    @revanth1881 ปีที่แล้ว

    pls upload for 8 relay

  • @saklogaming271
    @saklogaming271 2 ปีที่แล้ว

    How to set timer function on blynk 2.0

  • @monika_malhotra
    @monika_malhotra 6 หลายเดือนก่อน

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

  • @md.sabbirraihan1102
    @md.sabbirraihan1102 ปีที่แล้ว

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

  • @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 ?

  • @subratsharma4591
    @subratsharma4591 2 ปีที่แล้ว

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

  • @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

  • @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

  • @rehmanullah1300
    @rehmanullah1300 2 ปีที่แล้ว

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

  • @harshame1
    @harshame1 2 ปีที่แล้ว

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

  • @kingstone2098
    @kingstone2098 2 ปีที่แล้ว

    How to delete flash memory in nodemcu plzzzz make a video

  • @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

  • @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

  • @electronic7979
    @electronic7979 2 ปีที่แล้ว +2

    Nice project

  • @sudheerkumar5966
    @sudheerkumar5966 2 ปีที่แล้ว +1

    Very good

  • @MikeHammonds804
    @MikeHammonds804 2 ปีที่แล้ว +1

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

  • @RohitKumar-mh1pk
    @RohitKumar-mh1pk ปีที่แล้ว

    Sir i forget my device ssid and password how to connect

  • @maheshnalage2898
    @maheshnalage2898 2 ปีที่แล้ว

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

  • @srinivasrdn
    @srinivasrdn 2 ปีที่แล้ว

    Nice video🤝

  • @RakeshKumar-hs8yz
    @RakeshKumar-hs8yz 2 ปีที่แล้ว

    Is it work in espesp8266 sir please reply

  • @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.

  • @adilabusafa
    @adilabusafa 2 ปีที่แล้ว +1

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

  • @ajayroxxful
    @ajayroxxful 2 ปีที่แล้ว

    What's the total price?

  • @buddhimaamarasinghe9997
    @buddhimaamarasinghe9997 2 ปีที่แล้ว

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

  • @dhaksha9561
    @dhaksha9561 2 ปีที่แล้ว

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

  • @008ashwini4
    @008ashwini4 2 ปีที่แล้ว

    Voltage regulator is needed for this

  • @monika_malhotra
    @monika_malhotra 6 หลายเดือนก่อน

    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

  • @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

  • @dhanraj41
    @dhanraj41 7 หลายเดือนก่อน

    Stuck overflow solution

  • @yogendrajamsariya1193
    @yogendrajamsariya1193 2 ปีที่แล้ว +1

    ❤️

  • @prashanthprashanth7418
    @prashanthprashanth7418 2 ปีที่แล้ว

    Can u try home automation with Bixby voice

  • @darklightlamp3013
    @darklightlamp3013 2 ปีที่แล้ว

    Bro can u plz move on with this type of project

  • @sudevserpuri1696
    @sudevserpuri1696 2 ปีที่แล้ว

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

  • @DeepKiVines
    @DeepKiVines 2 ปีที่แล้ว

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

  • @jayeshpoddar8991
    @jayeshpoddar8991 2 ปีที่แล้ว

    the code was not working, any help ?

  • @muneeb_86
    @muneeb_86 2 ปีที่แล้ว

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

  • @newnew349
    @newnew349 2 ปีที่แล้ว

    old blink doesn't work

  • @hoanganhvanhoanganhv
    @hoanganhvanhoanganhv 2 ปีที่แล้ว

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

  • @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

  • @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.

  • @PokeNik
    @PokeNik ปีที่แล้ว

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

    • @TechStudyCell
      @TechStudyCell  ปีที่แล้ว

      Please update the Blynk library

  • @karangaikwad9914
    @karangaikwad9914 2 ปีที่แล้ว +1

    Sir I want 8 channel relay control using esp32

  • @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 th-cam.com/video/Vgyj3cCAioI/w-d-xo.html

  • @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

  • @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?

  • @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

  • @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

  • @kushalgayen5636
    @kushalgayen5636 2 ปีที่แล้ว

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

  • @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.

  • @ofrasel1
    @ofrasel1 2 ปีที่แล้ว

    8 channel relay with nodeMCU

  • @trustmeserious
    @trustmeserious 2 ปีที่แล้ว

    please make 8 channel relays code

  • @srinivasrdn
    @srinivasrdn 2 ปีที่แล้ว

    Can you please upload code for esp32 38pin model

  • @chrislacarin4332
    @chrislacarin4332 2 ปีที่แล้ว

    Good morning

  • @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

  • @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

  • @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

  • @prajwalbhuse781
    @prajwalbhuse781 2 ปีที่แล้ว

    Esp32 8 channel plz upload

  • @markwach4539
    @markwach4539 ปีที่แล้ว

    BlynkEdgent>h no such file or directory

  • @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?

  • @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.

  • @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

  • @AnandKumar-ys4pq
    @AnandKumar-ys4pq 2 ปีที่แล้ว

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

    • @TechStudyCell
      @TechStudyCell  2 ปีที่แล้ว

      Yoh can use 230VAC to 5VDC for that

  • @current.affairs.3738
    @current.affairs.3738 ปีที่แล้ว

    Hiii

  • @RJ593ec
    @RJ593ec 2 ปีที่แล้ว

    Blynk👎🏼
    App inventor 👍🏼
    🇪🇨

  • @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: th-cam.com/video/QGpZmZB9g5g/w-d-xo.html