Arduino IoT Project with Google Assistant & Alexa app using ESP8266 Arduino UNO WiFi control Relay

Поделиться
HTML-код
  • Опубликовано: 8 июл 2024
  • In this Arduino project, I have shown you how to make an Arduino IoT project with Google Assistant & Alexa app using ESP8266 Arduino UNO WiFi control Relay with voice commands, manual switches, and IR remote. I have used all the free tools for this IoT-based home automation system.
    PCBA from $0 (Free Setup, Free Stencil) jlcpcb.com/RHS
    Download PCB Gerber file for the Arduino IoT based home automation project
    drive.google.com/uc?export=do...
    During the IoT tutorial video, I have covered the following topics:
    01:04 Control relays with Google Assistant & Alexa using Arduino ESP01
    01:31 Control relays with IR remote & switches.
    01:54 Control appliances manually without Wi-Fi.
    02:52 How this Arduino IoT project works.
    03:36 Circuit diagram of Arduino home automation project.
    05:23 How to create and configure Sinric Pro account.
    06:52 Source Codes for this Arduino ESP01 IoT project.
    07:21 Program ESP-01 with Arduino IDE
    10:18 Program the Arduino UNO (Atmega 328P)
    11:08 Setup Google Home App to control ESP8266 with Google Assistant.
    12:10 Setup Amazon Alexa App to add IoT devices.
    Required Components for this IoT Project (without PCB)
    1. Arduino UNO
    2. ESP-01
    3. 1838 IR receiver (with metal case)
    4. 1k, 2k, 4.7k resistors (1/4 watt)
    5. 5-mm LED
    6. 1117 3.3V voltage regulator
    7. 4-channel 5V SPDT Relay Module
    8. Switches or Push Buttons
    9. FTDI232 USB to TTL
    10. 5V DC supply.
    Amazon India Affiliate links:
    Arduino UNO: amzn.to/3GtgKbk
    ESP01 Module: amzn.to/3E6BC72
    4-channel 5V Relay Module: amzn.to/2BQ5Y3o
    FDTI232: amzn.to/34wMAGK
    Echo Dot Alexa(4th Gen): amzn.to/3srCiPA
    Amazon United States Affiliate links:
    Arduino UNO: amzn.to/3si3MYS
    ESP01 Module: amzn.to/3B1Rc3C
    4-channel 5V Relay Module: amzn.to/3r2HuJ4
    FDTI232: amzn.to/3HtWiIE
    Required Components for the Smart Relay PCB:
    1. Atmega328P microcontroller
    2. ESP8266 ESP01
    3. PC817 Optocuplors (4 no)
    4. 510-ohm 0.25-watt Resistor (4 no) (R1 -- R4)
    5. 1k 0.25-watt Resistors (6 no) (R5 -- R10)
    6. 2k 0.25-watt Resistor
    7. 4.7k 0.25-watt Resistor
    8. 10k 0.25-watt Resistors (2no)
    9. 22pF ceramic capacitor
    10. 104 ceramic capacitor
    11. 220uF 25V Capacitor (2no)
    12. 1uF Box capacitor (1no)
    13. 16MHz Crystal
    14. LED 5-mm (6 no)
    15. 1N4007 Diodes (4 no) (D1 -- D4)
    16. Push Buttons (8 no)
    17. BC547 Transistors (4 no)
    18. Relays 5v (SPDT) (4 no)
    19. Terminal Connectors
    20. Jumper (5no)
    21. Switch (1no)
    22. Hi-link ac-dc 220v-5v
    **Previous Video Links:
    Get the HEX codes for IR remote: • Home Automation using ...
    Program ESP-01 with Arduino IDE: • How to program ESP8266...
    ESP32 project with Sinric Pro: • ESP32 Home automation ...
    **Important Link:
    Sign Up Sinric Pro: sinric.pro/
    **Download Code for the Arduino Home Automation project from the following article.
    iotcircuithub.com/arduino-iot...
    Important points:
    1. You can also use Arduino Nano instead of Arduino UNO.
    2. Use the IR receiver with a metal case.
    3. Connect the GPIO-0 with GND before programming ESP-01.
    4. You can use any IR remote, just get the HEX code as shown and update it in the main Arduino sketch.
    5. Install the proper version of the Arduino libraries (as mentioned in code).
    6. Arduino EEPROM will store the previous states after the power cuts.
    7. Please watch the complete video, otherwise you may face some issues.
    8. You don't need any Alexa devices like Echo Dot or Google Home Mini. You can just use Google Home App and Alexa App for this IoT project.
    **Please take proper safety precautions while working with high voltages.
    During the internet of things tutorial video, I have explained all the steps to make this Arduino ESP8266 smart home system with Sinric Pro to control the home appliances with and without internet. If ESP01 is connected with WiFi then you can control the relays from anywhere in the world with Alexa and Google Assistant. And you can also monitor the real-time feedback in the Amazon Alexa and Google Home IoT applications. So with this smart home project, you can convert any appliance to IoT devices and control them through the internet.
    So, now you can just ask Google Assistant, "Hey Google, turn off lights", or "Alexa, turn on light". that's it.
    #internetofthings #arduinoproject #googleassistant
    -----
    Thanks For Watching...
    ✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
    Find out more such projects: iotcircuithub.com/
    Facebook: / techstudycell
    Instagram: / techstudycell
    Telegram: t.me/techstudycell/
    Twitter: / techstudycell
    -----
    Other useful Internet of things projects:
    Arduino Home Automation Projects playlist:
    • Arduino Projects
    Latest NodeMCU projects playlist:
    • NodeMCU Projects
  • НаукаНаука

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

  • @raushankashyap1482
    @raushankashyap1482 2 года назад +3

    Thank's for making this project using ESP 01. I make this project just now...
    Thanks 😊👍

  • @trapmaniabrazil
    @trapmaniabrazil 2 года назад +4

    Very nice, I loved your projects. (Brazil)

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

      Thanks

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

      Eae man, você possui mais canais ( gringos, indianos) igual desse ?
      Gostaria conhecer…

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

    would it be possible to use only the arduino uno and the Ethernet Shield W5100 module

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

    Great video, this is amazing and thank you for sharing all of it for free! 🙏

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

    Oh thanks bro u change your voice that hey google, ur last video was amazing as like same video....

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

    Your biggest friend.Love from Jharkhand.

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

    Great work
    i think much better if you use momentray press switch instead of normal wall switch

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

      I have shared the circuit + code for both the momentary switch and latched switch... Please watch the complete video

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

    Excellent Work Bro, Keep it Up 👌
    Please plan some sessions for drawing schematics (from smaller to bigger circuits) - Explaining Sequentially.

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

    Have a little question.
    Would like to see all this operated via multiple ESP32 modules, that is, without smartpfone so to speak or other bells or whistles, such as an old-fashioned remote control such as infrared (which is of no use on another floor if one turns off the lights on the ground floor)
    The switch block supposedly to the ESP32 itself, which connects to the other (or preferably also several) ESP32 modules that connect the lamps to be switched and the like.
    Can you tell me in a separate chapter, film preferably, how to connect that, eg for 32 connections, that is, a 2 times 16 relay units, what is involved here, this not only the switching but including the feedback visually that it is also on so to speak?
    Thanks in advance
    Old Wizzy, Netherlands

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

    sir while uplaoding the code to ESP-01 IT SAYS THAT IT IS UNABLE TO COMPILE FOR ESP-01 BOARD AND SINRICPRO-GENRIC LIBRARY (NOT USED)

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

    Excellent work sir. Only dimmer left hope in coming videos we can see that modification also. Thanks for sharing such a nice project.

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

    super thanks very well done Colombia

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

    Excellent work... Keep it up👍👍👍👍

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

    I always watched your videos

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

    Sir what you have done in PC you can do the same program in mobile. Also, sir.

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

    Sir I have an doubt, when we applying load like iron box or above then 1amps load the relay will create an arc to switch from NO to NC it can damage our relay ,how we can fix that....?I have solution also

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

    Can I use esp 32 module instead of esp 01

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

    Great video
    Thank you

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

    2k or 4.7 ke ka resistance lagana jaruri h kya

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

    Can I use 24v dc power supply with 24v relay module please reply

  • @Javedansari-yl6ts
    @Javedansari-yl6ts 2 года назад

    Sir can I make same circuit with esp8266-12f and Arduino with same code.

  • @omorfaruk1
    @omorfaruk1 2 года назад +3

    Fine, it would be more brilliant if there is a dimmer option, thank you bro.

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

      Welcome. Will try to add that in future....

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

    Great work keep it on 👍👍👍

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

    thenks bro, its useful

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

    I need help, the ESP01 is not working, all of the connections are good but the ESP01's led is not turning on.

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

    Excellent project.
    Can you use nodemcu instead arduino esp please

  • @benjaminbuteler8841
    @benjaminbuteler8841 2 года назад +4

    Can the NODEMCU be used instead of the Arduino UNO + ESP01?

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

    btw can we use esp8266 board as a wifi for arduino uno

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

    Sir I want a long range sensor which is a kilometer awayThe New Data Sender Receiver has a range of 1 kilometer and can send multiple data along with it, which is a receiver that can receive the same data.

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

    Can you do this even you're away from the home?

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

    Excellent video !

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

    hello brother can you provide software link to design pcb and provide your design so we can edit it according to our needs

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

    Sir biggest fan sir
    Please pick my comment
    We love you sir

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

    Hi can I make this project with just mobile and arduino and no switch box plus that IR thing? I jusr want to use Alexa or Google to turn the lights etc On not ir remotes. Btw great video

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

    timed out waiting for packet header error coming so what to do ?

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

    It will work with blynk cloud platform right??
    arduino+esp01+blynk

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

    Good job 👍

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

    sir i have removd my laptop camera and attached it to a USB type A... now I want to interface this with arduino and its data logging shield, to take photos with it and save in memory card . . . can you please make a video how to do this

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

    Sir please understand why we face these type errors (Code_ESP32_Bluetooth_IR_Manual_Button_8Relays_01.ino:30:21: error: variable or field 'button1Handler' declared void

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

    Sir there is an issue in this when I cntrol the relays by Google assistennc and when I saying turn on room light it doesn't turn on instead when I am saying turn off it turned on relays. how can I correct it this issue . Sir help me plz

  • @muhammadNadeem-wp7vn
    @muhammadNadeem-wp7vn 10 месяцев назад

    Can we use ESP32 instead of ESPo1

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

    please dear how can i connect 8 rellay and 8 switch on thia project

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

    sir please make touch screen base home automation

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

    Can we set timer?

  • @HansrajYt2.0
    @HansrajYt2.0 2 года назад

    Good job bro make this project with blink app with eeprom

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

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

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

    How can we make it pc control just like this

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

    Great video! Subbed!

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

    Sir is project mai ESP32 use ho sakta hai

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

    Good project bro same project ko Eeprom or Arduino ke saath bliynk aap ke saath banao

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

    Yaaar lots offf thanxxxxxx finaly. You made itt mai yahi chaataa thaaa....but can I touch use switch insted of manual swich???

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

      Thanks.. will add that in future

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

      @@TechStudyCell BUT I WANT TO CONTROLL ALL 4 DEVICES ONY 3 ARE LISTED IT SAYS BUY THE SUBCCRIPTION AROUND ME 390RS. CAN YOU MAKE IT FREE. I WANT CONNECT DIRECTLY TO ALEXA APP TO ESP0-1 AND ARDUINO ATMEGA CHIP HELP OF ARDUINO IOT CLOUD INCLUDED IR, TOUCH SWICH

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

    Hi sir. can we add the timer function on it like sonoff

  • @RK-kh6fi
    @RK-kh6fi 2 года назад

    sir same elexa smart plug hota h wase banao

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

    Bro I have control all relay in one command like "turn on all relay" plz send syntax in IFTTT webhook I will try but don't work it please send proper syntax and fast bro i submit my project 20-04-22 so please past reply me

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

    with blynk it can also be implemented using serial somunicasion?

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

      Yes. Possible

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

      @@TechStudyCell I hope at some point you make a video, regarding the subject

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

    Bro jab first starting me me wifi on na ho to remote se or push button work nhi karte h what is problem plz provide solutions

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

    Can i use mobile charger output 5v & 2a to directly to Arduino uno

  • @rashidatoafolabi8448
    @rashidatoafolabi8448 10 месяцев назад

    Nice I love your work, please can you add an lcd display to this code?

    • @KnightBear123
      @KnightBear123 3 месяца назад

      Just add it by ur self just add some code to this code

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

    There are some errors in esp8266 code kindly rectify it.
    If anybody know the solution plz help me

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

    I can't control it with internet.
    I can see swiches status but I can't control it
    Why??
    Please help me.
    I'll wait your answer

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

    Useful idea

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

    Nice project ,sir can i ask u something? Can do esp32+arduino mega +ifttt + google asisstance + blynk+ 16 relay + 16 manual switch? Thank you.

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

      Thanks. IFTTT is not free, I always try to use Free plan for this type of IoT project.

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

      @@TechStudyCell Thank you.

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

    can we operate it with echo dot and google home mini

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

      Echo dot is optional. If you have you can use it.

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

    Is it possible to connect esp01 to esp32 please reply by the way big fan of your work

  • @Ram-bf7xq
    @Ram-bf7xq 2 года назад +3

    Make it with nodemcu and EEPROM

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

    şu telaffuza rağmen benden iyi ingilizce konuşması varya...

  • @omen3591
    @omen3591 2 месяца назад

    esp01 code not compiling....

  • @1533live
    @1533live Год назад

    Sir ir remote controlling not working why

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

    We can use this only esp 01 without arduino

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

      you can but not for this project.

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

      @@TechStudyCell ok thank you bro

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

    Can I use Arduino nano instead of Arduino uno

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

      Yes. But to supply esp01 use a 3.3V regulator. As per circuit.

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

    Sir very nice excellent work you always good video upload can 1 pcb send me i will pay courier charges

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

      Please WhatsApp your contact details to 8097259277

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

    By the way how much it? And can i buy from you about readymade product.

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

      Please send email to connect.techstudycell@gmail.com

  • @Javedansari-yl6ts
    @Javedansari-yl6ts 2 года назад

    Help me sir i can't understand why is your giving me this error.. `class eeprom` has no member named `update`
    What i do

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

      Hi! Do change your board to Any Arduino AVR boards (Uno/Nano)

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

    I can use arduino nano

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

      yes. then you need separate 3.3V supply for ESP01

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

    Is circuit ko Blink app se kese control kare

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

    My esp not connecting

  • @adityaparekh4097
    @adityaparekh4097 10 месяцев назад

    Someone explain to me how did he use two codes on one Arduino board.

    • @TechStudyCell
      @TechStudyCell  10 месяцев назад

      One for esp01 , another for Arduino

    • @NextGen_automation
      @NextGen_automation 5 месяцев назад

      ​@@TechStudyCellsir please make same project using node mcu esp8266 without Arduino

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

    I can't decode my ir remote....only FFFFFF is shown...
    Please help.....

  • @RaginiSingh-re3hf
    @RaginiSingh-re3hf Год назад

    Please send breadboard diagram

  • @sanjaykhatri6093
    @sanjaykhatri6093 9 месяцев назад +1

    why have you used ESP01 instead of that you would have used ESP8266 than that would have Easily uploaded the code in ESP01 it is difficult to upload the code

    • @KnightBear123
      @KnightBear123 3 месяца назад

      Hahahaha yes esp8266 more cheaper than Arduino+wifi 😂

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

    Or wifi on kar do to all is working

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

    Blynk isn't working anymore? I mean old verison, and the new one is fee-paying

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

    Hi sir this is i am started New business so I want man power works can answer from Bangalore

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

    esptool.FatalError: Timed out waiting for packet header
    esptool.FatalError: Timed out waiting for packet header
    This Error is showing when I try to upload code in esp-01 what to do???