IoT based projects for final year using NodeMCU ESP8266 Blynk with Sensor - Smart Home 2022

Поделиться
HTML-код
  • Опубликовано: 16 сен 2022
  • In this smart home project, I have shown how to make a NodeMCU ESP8266 IoT-based project for the final year using Blynk IoT with sensor and IR remote control relay. The ESP8266 can save the last GPIO state and you can also control relays without internet from IR remote and manual switches.
    To try out the FREE trial version of Altium, click here - www.altium.com/yt/techstudycell
    For this home automation project, I have used the FREE plan of the Blynk IoT platform and explained all the steps to use the Preferences library to save the last GPIO state in the ESP8266 flash memory.
    During this Internet of things tutorial video, I have covered the following topics:
    00:09 Quick demo for this NodeMCU Blynk IoT Project using sensor.
    00:52 Timer & Temperature control relay with Blynk Automations.
    02:27 Required Components for the Blynk ESP8266 project.
    02:39 Circuit of the NodeMCU ESP8266 control relays.
    03:05 Set up Blynk IoT cloud for ESP8266.
    03:47 Add devices in the Blynk IoT cloud.
    04:08 Source Codes for Blynk ESP8266 smart home project.
    05:57 Steps to use Preferences library for ESP8266 Project.
    08:38 Set up Blynk IoT App to control relays.
    Required Components for the ESP8266 internet of things project.
    1. NodeMCU ESP8266
    2. 4-channel 5V SPDT Relay Module
    3. TSOP1838 IR receiver (with metallic casing)
    4. DHT11 temperature sensor
    5. Switches or pushbuttons
    Amazon India Affiliate links:
    NodeMCU ESP8266: amzn.to/3fJA4EG
    4-channel 5V Relay Module: amzn.to/2BQ5Y3o
    Amazon United States Affiliate links:
    NodeMCU ESP8266: amzn.to/2WoR2A2
    4-channel 5V Relay Module: amzn.to/3r2HuJ4
    Help my projects on Patreon: / techstudycell
    Feel free to donate any amount: paypal.me/sdaspay
    Download the Code for the ESP8266 Blynk IoT project:
    iotcircuithub.com/wp-content/...
    Previous Videos:
    Previous Blynk NodeMCU Project: • ESP8266 Project using ...
    Create Blynk Template for Automation: • IoT Project using ESP3...
    Blynk IFTTT Google Assistant: • ESP8266 Project using ...
    Steps to program NodeMCU with Arduino IDE: • Programming NodeMCU ES...
    Important Links:
    New Blynk IoT Cloud: blynk.cloud/dashboard/register
    Preferences library tutorial: iotcircuithub.com/esp32-prefe...
    Download PCB Gerber file for NodeMCU control relays
    drive.google.com/uc?export=do...
    Important points:
    1. You can turn ON/OFF the automation anytime from the Blynk IoT app.
    2. IR receiver sensor must have a metallic casing. Otherwise, you may face issues while trying to get the Hex code.
    3. The Blynk Automation will not work if the NodeMCU is not connected to WiFi
    4. You can control relays with switches & IR remote if WiFi is not available.
    5. Install the correct version of the ESP8266 board and libraries as mentioned in the code.
    6. If you use latched switch, then during reset, switch-2 (D3) must be turned OFF.
    7. Please watch the complete video, otherwise you may face some issues.
    **Please take proper safety precautions while working with high voltages.
    For this final year IoT project tutorial, I used one of my previous NodeMCU projects and added EEPROM features using the Preferences library.
    In this NodeMCU project, I have explained all the steps to use the Preferences library for any ESP8266 Project.
    You can control the relays without internet from the IR remote and manual switches. NodeMCU will automatically connect with the Blynk cloud when the internet comes back.
    You can use any IR remote to control the relays, just get the HEX codes of unused IR remote buttons, and control the appliances with those buttons.
    This smart relay module PCB can be used for different ESP8266 projects which I will cover in upcoming videos.
    #iotprojects #esp8266 #smarthome
    -----------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more IoT 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 ESP32 projects playlist:
    • ESP32 Projects
    Latest NodeMCU projects playlist:
    • NodeMCU Projects
    Arduino Home Automation Projects playlist:
    • Arduino Projects
  • НаукаНаука

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

  • @iamrafic
    @iamrafic Год назад +1

    Excellent Bro. Expecting you to incorporate preferences.h in your earlier code without 3rd party iot providers.

  • @GMVRemixMusic
    @GMVRemixMusic Год назад +1

    Big Brother ,
    Touch switch [ TTP223] can be installed in place of normal switch ????????????

  • @neelranade6322
    @neelranade6322 Год назад +1

    Please make a video on door security system using nodemcu and ov7670 camera module

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

    ye project bhi awesome hai mene try kiya zabardast work kar raha hai bus kami hai tu fan speed control ki

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

    Today I tried the code and I wanted to change hex code but the given hex decoder code is not displaying anything in serial monitor tried other code and it worked so i replaced it . automation code is not detecting code also I placed hex code after 0×

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

    How to use another esp module like esp32-s3 this type module assume pin changes

  • @davidkikabi9267
    @davidkikabi9267 Год назад +1

    Please make project on a socket also design its PCB

  • @sohinideb7843
    @sohinideb7843 Год назад +1

    Nice..

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

    Can i change gpio pins D1 2 3 4 for relays and for switches D5 6 7 8 is that work proper? And sd2 its not work with ir recvier which other pin is better for ir and dht. Can i use rx or d8 for ir and sd2 or 3 for dht sensor.

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

    Sir can you please add ota code upload feature in your codes so we can upload code on esp board wirelessly (No Usb)... I have installed esp32 project in my wall electrical box... So to update it your new codes I have to take out all the wire connection again and again... It would be great if you can add AsyncElegantOTA like Library... Thank you

  • @vcooltm8769
    @vcooltm8769 Год назад +1

    amazing, even better if you use wifi manager

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

    Bro pls reply can i add this eeprom to that google assistant and Alexa project..

  • @TechnoSAP
    @TechnoSAP Год назад +1

    Nice video bhai 👌👍

  • @sreeramtechexperiments9928
    @sreeramtechexperiments9928 Год назад +4

    Sir it does not compling the sketch. I don't know what problem that is . I have downloaded all the library that you have shown . i have using the new version of arduino ide 2.0.0 .please rectify this problem sir

  • @studywithjeth
    @studywithjeth 6 месяцев назад

    I dont know why "Blynk Not Connected". Please help me. Thank you so much

  • @NileshPatel-ic4zc
    @NileshPatel-ic4zc Год назад

    Can I use rf reciever in place of ir reciver?

  • @rajansaini2368
    @rajansaini2368 6 месяцев назад

    Dear Sir, if we connect inductive load then the controller will hang......? It has been observed that many controllers hang as soon as the load is connected.

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

    i want to control my water heater gyzer on base of IOT can you help me sir

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

    Sir everything working fine. But problem is that when node mce disconnected from wi fi it didn't connect again it self to wifi. It has to restart to connect wifi. I am using code which uses blynk edjent library. Please resolve this issue. Thanks

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

    bro make a same project but aslo inculde fan speed control system 2 relays for lights and relays for fan speed control

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

    Must ❤️

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

    Доброго вечера!
    Блин_К) ты КРУТ !!!

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

    Please video home automation system firebase

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

    Hello sir how are you . Sir coming error (error compiling for board nodemcu) but I have updated board and blynk library. How to solve this sir . please reply me 🙏🙏🙏🙏🙏🙏🙏 please sir I am your big fan sir please reply me 🙏🙏🙏🙏🙏🙏

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

    Sir pls mqtt ke bina kese chlega Alexa

  • @AAdnaanmtl
    @AAdnaanmtl Год назад +1

    Excellent project sir with EEPROM option. Can you please add one dimmer also ?

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

    + coding for lcd 16x2 please🙏

  • @vipulkamble9702
    @vipulkamble9702 8 месяцев назад

    error: variable or field 'button1Handler' declared void

  • @m.shayanshamim6351
    @m.shayanshamim6351 Год назад

    Status update without wifi ?

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

    can u do new project like security door sensor with password turn on turn off your all project was same with different with new feature and application

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

    can those switches be used as normal switches in case the nodeMCU or any other components fails?

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

    And D2 is not working ie switching

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

    Switch ka connection karte hi low power ho jata hai or node mcu or relay bandh ho jati hai

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

    Full details

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

    where can i find the auth token? i open the blynk in my pc and create a account but i can't find the auth token

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

    Please make a wattapp group

  • @guruvelsarveshwar2020
    @guruvelsarveshwar2020 Год назад +1

    When I try to make project with IR,in seriel monitor one error shown,why?

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

      use of decode(decode_results) is deprecated. use decode() instead eeror this error sir
      Please reply

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

      please ignore this error. It will not cause any issue for IR remote control.

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

    Mqtt ke bare mebi btao adhuri video ke nambar a bao

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

    Woy coding nya gak bisa diupload ke node mcu nya help😭😭😭😭😭😭😭😭😭🙏🙏🙏

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

    Sir I am your subscriber and I am watching your all videos
    Can you make a project for bike using
    0.91 OLED display fingerprint sensor and rfid mfrc522
    Ignition on and off, self and engine kill/dis kill system
    Please sir make this project i am waiting

  • @isuruasirij.m.7187
    @isuruasirij.m.7187 Год назад

    Im use this code superb ❤️❤️❤️❤️
    I want to all off
    How to code all off

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

    Hi bro I want this PCB Design With assembled components I will give the amount for this can you please give

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

    Sir hindi me vido banai plise

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

    Aaaaaaaaaaah why no ota wifi pass update😭😭😭

    • @TechStudyCell
      @TechStudyCell  Год назад +1

      Will try to add this features also.

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

      @@TechStudyCell i dont think its possible cause if u use eeprom for any other purpose it will clear wifi credentials and write other data instead , but i belive u have many other solutions ,and one i think is to use external eeprom ic for relay state and internal eeprom for wifi credential updates 👍love ur videos🙏

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

    Sahi se btao

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

    Bharat ki bat mebi bat Kiya karo

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

    Yeto galat hai

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

    Galat mat btao bhai