ESP32 Home Automation using Amazon Alexa + Bluetooth + IR Remote with FREE IoT platform

Поділитися
Вставка
  • Опубліковано 10 лип 2024
  • In this IoT internet of things project, I have shown how to make the ESP32 home automation system using Amazon Alexa, Bluetooth, IR Remote, and manual switch with the EspAlexa library (Free IoT platform). You can also control relays with voice commands and monitor the real-time feedback in the Amazon Alexa app.
    To try out the FREE trial version of Altium, click here - www.altium.com/yt/techstudycell
    For Altium 365, click here - www.altium.com/altium-365
    Get the best quality components from Octopart: octopart.com/
    For this ESP32 project, I have not used any IoT platform, and the ESP32 can save the last GPIO state in NVS flash memory using Preference library (EEPROM). You can control the relay with Bluetooth, IR remote, and switches if the ESP32 is not connected to WiFi.
    During this IoT tutorial video, I have covered the following topics:
    00:35 Quick demo on this ESP32 Alexa Project.
    02:59 Circuit of ESP32 home automation system.
    03:28 Source Code for ESP32 project using ESPAlexa.
    05:53 Add devices in the Amazon Alexa app using Echo Dot.
    06:42 Steps to connect ESP32 with Bluetooth app.
    Required Components (without PCB) for the ESP32 project.
    1. ESP32 DEV KIT V1
    2. 4-channel 5V SPDT Relay Module
    3. TSOP1838 IR receiver (with metallic casing)
    4. Switches
    5. Amazon Echo Dot
    Amazon India Affiliate links:
    ESP32: amzn.to/331pohb
    4-channel 5V Relay Module: amzn.to/2BQ5Y3o
    Amazon Echo Dot (4th Gen): amzn.to/33APQx1
    Amazon United States Affiliate links:
    ESP32: amzn.to/3mBjCch
    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 ESP32 IoT project using EspAlexa & Bluetooth from the following article:
    iotcircuithub.com/bluetooth-a...
    Download Bluetooth App for the ESP32 Bluetooth project
    drive.google.com/file/d/1IpKt...
    Download the PCB Gerber File of the ESP32 IoT Project:
    drive.google.com/uc?export=do...
    Previous Videos:
    Get the HEX codes from IR remote: • Smart Home with Amazon...
    Steps to program ESP32 with Arduino IDE: • Programming NodeMCU ES...
    Important points:
    1. The Bluetooth app need "Nearby Devices" permission in your mobile.
    2. IR receiver sensor must have a metallic casing. Otherwise, you may face issues while trying to get the Hex code.
    3. ESP32 can save the last GPIO state after power failure.
    4. You can control relays with Bluetooth, switches & IR remote if WiFi is not available.
    5. Install the correct version of the ESP32 board and libraries as mentioned in the code.
    6. You must need an Amazon Echo device for this ESP32 Alexa project.
    7. The Amazon Echo device, ESP32 must be connected to the same WiFi.
    8. Please watch the complete video, otherwise you may face some issues.
    **Please take proper safety precautions while working with high voltages.
    During the ESP32 project, I explained all the steps to make the Amazon home automation system. For Bluetooth control, you can use any other Bluetooth app, just modify the code as shown in the tutorial video.
    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.
    With this ESP32 home automation project, you can control relays without WiFi from the Bluetooth, IR remote, and manual switches.
    This smart ESP32 relay module PCB can be used for different ESP32 projects which I will cover in upcoming videos.
    #homeautomation #iotprojects #esp32 #alexa
    -----------
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more 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
  • Наука та технологія

КОМЕНТАРІ • 66

  • @harshverma_i
    @harshverma_i 10 місяців тому

    Hello sir... please provide the link of 4step fan regulator rotary switch that you are also used in yours project.. please sir...

  • @mewedward
    @mewedward 10 місяців тому

    If it esp32 hang or repair means, how you activate swich? Try to solve that also, using 2 way swich like this

  • @luizfelipelinsdias8423
    @luizfelipelinsdias8423 5 місяців тому

    Super... Verry good

  • @pqrst931
    @pqrst931 8 місяців тому

    Is this the same for the 8 relay project too???

  • @Octopoessy
    @Octopoessy 10 місяців тому

    really cool. Thank you for the explanation

    • @TechStudyCell
      @TechStudyCell  10 місяців тому +1

      Glad you liked it!

    • @rustamkureshi8246
      @rustamkureshi8246 8 місяців тому

      ​@@TechStudyCellCode ESP32_ESPAlexa_BT_IR_4R_Switch.ino:31:21: error: variable or field 'button1Handler declared void
      ye error aa rha hai Please help kijiye

  • @norules7142
    @norules7142 10 місяців тому +1

    Sir provide the step for using shift register I am using 74hc595 & 74hc165.. how to integrate that

  • @shakerileiwat4341
    @shakerileiwat4341 10 місяців тому

    Awesome 👍👍👍

  • @Eckmuhl29
    @Eckmuhl29 10 місяців тому

    Is that working with the Fire Stick or Google devices?

  • @sahalkt6631
    @sahalkt6631 10 місяців тому

    Iam watching your videos in Kerala 🎉🎉 thank you sir

    • @TechStudyCell
      @TechStudyCell  10 місяців тому

      Keep watching

    • @rustamkureshi8246
      @rustamkureshi8246 8 місяців тому +1

      ​@@TechStudyCellCode ESP32_ESPAlexa_BT_IR_4R_Switch.ino:31:21: error: variable or field 'button1Handler declared void
      ye error aa rha hai Please help kijiye

  • @user-lq9vm8lz1l
    @user-lq9vm8lz1l 8 місяців тому

    I followed ur process but alexa is not recognising the devices while while adding what might be the reason ?

  • @carlosdantenicolasdelafuen1293
    @carlosdantenicolasdelafuen1293 10 місяців тому

    Gracias 👋👋👋👍

  • @yogendrajamsariya1193
    @yogendrajamsariya1193 9 місяців тому

    I think you should add fan dimmer also

  • @shibukv1978
    @shibukv1978 10 місяців тому +1

    Good Job..😊😊😊

  • @qadeer1685
    @qadeer1685 10 місяців тому +1

    Welcome sir ❤❤❤
    Good job 👏👏👍👍👏👍
    Excellent 👌👍👍👍
    Very nice project❤❤

    • @TechStudyCell
      @TechStudyCell  10 місяців тому +1

      Many many thanks

    • @rustamkureshi8246
      @rustamkureshi8246 8 місяців тому

      ​@@TechStudyCellCode ESP32_ESPAlexa_BT_IR_4R_Switch.ino:31:21: error: variable or field 'button1Handler declared void
      ye error aa rha hai Please help kijiye

  • @rhodiumindia2066
    @rhodiumindia2066 10 місяців тому

    Thanks sir

  • @TechnoEveryday
    @TechnoEveryday 3 місяці тому

    Great 🎉❤🎉❤🎉❤

  • @HarbansSingh-ce2tm
    @HarbansSingh-ce2tm 10 місяців тому

    Good video bro ..... ❤❤❤❤❤First like ESP32 -S3 Devkit C1 -N32R8V Module use nexte projects pleases bro........

  • @canisklanadam8388
    @canisklanadam8388 10 місяців тому

    Very nice vide... sir please http and mit ap inventer example project

  • @AsadAli-mz1ou
    @AsadAli-mz1ou 10 місяців тому

    Great,please make a video of Nodmcu8266 using Blynk +IR with 8 channels then disconnect the power supply of Router and Nodemcu 8266 together then Show us how Nodemcu will connect to Router automatically everytime...

  • @gi_ke_films
    @gi_ke_films 8 місяців тому

    I HAVE A QUESTION if in alexa mobile app its is connect to mobile network not on wifi then it will work like from anywhere in the world

    • @TechStudyCell
      @TechStudyCell  8 місяців тому

      There is a Hub (Echo Dot) in between... Only Echo dot and ESP32 must be connected with same network.

    • @gi_ke_films
      @gi_ke_films 8 місяців тому

      @@TechStudyCell what if echo dot off in that case if we are outside of our wifi then can we control relays with the Alexa app on phone sim network

  • @triwahyudi4980
    @triwahyudi4980 9 місяців тому

    Great tutorial.. I am new subscriber your channel, Sir can you next show me video about wifi manager in 8266 ? Thanks Sir

  • @999_green9
    @999_green9 10 місяців тому

    Sir pls make video on 12 channel relay having temperature sensor ,ldr, ir reciever . Control from esp rainmaker, google assistant... plsss siirrr

  • @avnithardia147
    @avnithardia147 10 місяців тому

    My esp32 is unavailable to connect with wifi it shows wifi network and try to connect with the network but can’t connect keep retrying and I tried all the solution available on UA-cam pls help

  • @WawanSetiawan-xn3ke
    @WawanSetiawan-xn3ke 9 місяців тому +1

    Sukses selalu terimakasih semoga Ilmunya membawa berkah Pa. Amiin .
    Salam Kami dari Indonesia mohon izin ikut nyimak videonya.

  • @Voice.Of.Nation
    @Voice.Of.Nation 10 місяців тому

    any esp32 home automation with Ac fan speed control?

  • @Scroll_pedia
    @Scroll_pedia 10 місяців тому +1

    Thank you brother i ve installed same device for my room after watching your previous videos

    • @TechStudyCell
      @TechStudyCell  10 місяців тому

      Great 👍

    • @rustamkureshi8246
      @rustamkureshi8246 8 місяців тому

      ​@@TechStudyCellCode ESP32_ESPAlexa_BT_IR_4R_Switch.ino:31:21: error: variable or field 'button1Handler declared void
      ye error aa rha hai Please help kijiye

  • @YogeshPuriLevitation
    @YogeshPuriLevitation 9 місяців тому

    Esp32 low memory during upload, please help. Thanks

    • @TechStudyCell
      @TechStudyCell  9 місяців тому

      Please watch complete video. Select proper partition scheme

  • @rajuelectronicsnlg9178
    @rajuelectronicsnlg9178 10 місяців тому

    👍👍👍

  • @mayukhbari
    @mayukhbari 10 місяців тому

    One thing I don't get if the light is switched off from app or alexa but physical switch is in on state. Then how these light will turn on again only by physical switch

    • @TechStudyCell
      @TechStudyCell  10 місяців тому

      you have to turn off and on the physical switch. Switches are connected with ESP32 GPIO, not with main power. pls check the circuit

    • @mayukhbari
      @mayukhbari 10 місяців тому

      @@TechStudyCell so physical switches will not actually work if the digital section is somehow down

  • @user-tz8fl1vg7g
    @user-tz8fl1vg7g 10 місяців тому

    각 App에서 동작한 상태를 보여줄수 있음 좋은데 상태체크 없이 일방적으로 ON/OFF되는것이 아쉽네요.

  • @MrJunjambul
    @MrJunjambul 9 місяців тому

    Sangat menarik🤩
    Tetapi saya belum bisa 😂

  • @user-kg2jd6el1t
    @user-kg2jd6el1t 7 місяців тому

    I can't connect Alexa with esp32. I try many time but it not work. How can i fix it?

    • @TechStudyCell
      @TechStudyCell  7 місяців тому

      Please check description. You must have echo dot connected with same wifi network

  • @rhodiumindia2066
    @rhodiumindia2066 10 місяців тому

    Can you use it 8 chanel relay

    • @TechStudyCell
      @TechStudyCell  10 місяців тому +1

      yes... will share 8 relay code by tomorrow.

    • @rhodiumindia2066
      @rhodiumindia2066 10 місяців тому

      @@TechStudyCell ok sir

    • @rhodiumindia2066
      @rhodiumindia2066 8 місяців тому

      Sir when you sand code 😢8chanel code of this project 😢😢😢

    • @rhodiumindia2066
      @rhodiumindia2066 4 місяці тому

      Where is 8 Chanel relay code​@@TechStudyCell

  • @AndreLuiz-wi5fz
    @AndreLuiz-wi5fz 8 місяців тому

    Show

  • @User-gyakak
    @User-gyakak 10 місяців тому +1

    Please provide at least single PCB.. I'll pay you

  • @User-gyakak
    @User-gyakak 10 місяців тому +1

    Aren't you selling them?
    It's very big drawback 😢😢

  • @user-is1st2ob5g
    @user-is1st2ob5g 10 місяців тому

    Привет. Классное видео. Сделайте проект с поддержкой голосового помощника Яндекс.Алиса.

  • @rustamkureshi8246
    @rustamkureshi8246 8 місяців тому +1

    Code ESP32_ESPAlexa_BT_IR_4R_Switch.ino:31:21: error: variable or field 'button1Handler declared void
    sir ye error aa rha hai Please help kijiye ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤

    • @manoranjansahu1680
      @manoranjansahu1680 Місяць тому

      I can solve the problem. If you want

    • @naseralam4151
      @naseralam4151 Місяць тому

      sketch_jun09c.ino:32:21: error: variable or field 'button1Handler' declared void😂