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

  Рет қаралды 88,609

Tech StudyCell

Tech StudyCell

Күн бұрын

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

Пікірлер: 135
@trapmaniabrazil
@trapmaniabrazil 2 жыл бұрын
Very nice, I loved your projects. (Brazil)
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks
@_mansimas2155
@_mansimas2155 Жыл бұрын
Eae man, você possui mais canais ( gringos, indianos) igual desse ? Gostaria conhecer…
@raushankashyap1482
@raushankashyap1482 2 жыл бұрын
Thank's for making this project using ESP 01. I make this project just now... Thanks 😊👍
@TechStudyCell
@TechStudyCell 2 жыл бұрын
You are welcome
@srikanthpatel100
@srikanthpatel100 8 күн бұрын
Bro can you please explain me
@oldwizzy
@oldwizzy 2 жыл бұрын
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
@adamagave
@adamagave Жыл бұрын
Great video, this is amazing and thank you for sharing all of it for free! 🙏
@TechStudyCell
@TechStudyCell Жыл бұрын
You are welcome
@PauloHenriqueFracasso
@PauloHenriqueFracasso 11 ай бұрын
would it be possible to use only the arduino uno and the Ethernet Shield W5100 module
@entrertainer4911
@entrertainer4911 2 жыл бұрын
Oh thanks bro u change your voice that hey google, ur last video was amazing as like same video....
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Welcome 😊
@marvelfans0
@marvelfans0 2 жыл бұрын
Your biggest friend.Love from Jharkhand.
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks for the support
@cavindrry9217
@cavindrry9217 Жыл бұрын
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)
@vineeshk6
@vineeshk6 2 жыл бұрын
Great work i think much better if you use momentray press switch instead of normal wall switch
@TechStudyCell
@TechStudyCell 2 жыл бұрын
I have shared the circuit + code for both the momentary switch and latched switch... Please watch the complete video
@rafaeljeioancheta7607
@rafaeljeioancheta7607 Жыл бұрын
I need help, the ESP01 is not working, all of the connections are good but the ESP01's led is not turning on.
@sohinideb7843
@sohinideb7843 2 жыл бұрын
Excellent work... Keep it up👍👍👍👍
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thank you so much 😀
@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
@UdayFoodandTravel
@UdayFoodandTravel 2 жыл бұрын
Excellent Work Bro, Keep it Up 👌 Please plan some sessions for drawing schematics (from smaller to bigger circuits) - Explaining Sequentially.
@vasireddikishore5321
@vasireddikishore5321 Жыл бұрын
Sir what you have done in PC you can do the same program in mobile. Also, sir.
@PhG1961
@PhG1961 2 жыл бұрын
Excellent video !
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks
@nelsongonzalez6292
@nelsongonzalez6292 Жыл бұрын
super thanks very well done Colombia
@TechStudyCell
@TechStudyCell Жыл бұрын
Thank you too!
@simbuking2567
@simbuking2567 2 жыл бұрын
Great work keep it on 👍👍👍
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks
@electrobright
@electrobright 2 жыл бұрын
I always watched your videos
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks for the support
@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
@shakerileiwat4341
@shakerileiwat4341 2 жыл бұрын
Great video Thank you ♥
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Welcome
@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.
@andrewvalenski921
@andrewvalenski921 10 ай бұрын
Great video! Subbed!
@TechStudyCell
@TechStudyCell 10 ай бұрын
Thanks for the sub!
@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
@djamalabaka3815
@djamalabaka3815 2 жыл бұрын
Good job 👍
@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
@abobobo943
@abobobo943 2 жыл бұрын
Excellent project. Can you use nodemcu instead arduino esp please
@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
@Javedansari-yl6ts
@Javedansari-yl6ts 2 жыл бұрын
Sir can I make same circuit with esp8266-12f and Arduino with same code.
@csjan
@csjan 2 жыл бұрын
thenks bro, its useful
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Glad to hear that
@Deepak_1412
@Deepak_1412 2 жыл бұрын
Can I use 24v dc power supply with 24v relay module please reply
@suresh7542
@suresh7542 2 жыл бұрын
Can I use esp 32 module instead of esp 01
@virajdhruve631
@virajdhruve631 Жыл бұрын
timed out waiting for packet header error coming so what to do ?
@babatechnical5156
@babatechnical5156 2 жыл бұрын
2k or 4.7 ke ka resistance lagana jaruri h kya
@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
@benjaminbuteler8841
@benjaminbuteler8841 2 жыл бұрын
Can the NODEMCU be used instead of the Arduino UNO + ESP01?
@babatechnical5156
@babatechnical5156 2 жыл бұрын
Yes
@mhmdsahilk
@mhmdsahilk Жыл бұрын
It will work with blynk cloud platform right?? arduino+esp01+blynk
@mhmdsahilk
@mhmdsahilk Жыл бұрын
btw can we use esp8266 board as a wifi for arduino uno
@mahmoudamara5607
@mahmoudamara5607 2 жыл бұрын
please dear how can i connect 8 rellay and 8 switch on thia project
@electrobright
@electrobright 2 жыл бұрын
Sir biggest fan sir Please pick my comment We love you sir
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Thanks...
@heartangelabalos2045
@heartangelabalos2045 10 ай бұрын
Can you do this even you're away from the home?
@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.
@4uhacks767
@4uhacks767 2 жыл бұрын
@Tech StudyCell sir what do I need to change in sketch to use touch switch using tp223 instead of push button?
@4uhacks767
@4uhacks767 2 жыл бұрын
??
@4uhacks767
@4uhacks767 2 жыл бұрын
Sir please reply
@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
@muhammadNadeem-wp7vn
@muhammadNadeem-wp7vn 11 ай бұрын
Can we use ESP32 instead of ESPo1
@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
@omorfaruk1
@omorfaruk1 2 жыл бұрын
Fine, it would be more brilliant if there is a dimmer option, thank you bro.
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Welcome. Will try to add that in future....
@hummaisghaffar3517
@hummaisghaffar3517 2 жыл бұрын
How can we make it pc control just like this
@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
@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
@technicalmind5282
@technicalmind5282 Жыл бұрын
Can i use mobile charger output 5v & 2a to directly to Arduino uno
@TechStudyCell
@TechStudyCell Жыл бұрын
Yes
@manojj16
@manojj16 2 жыл бұрын
There are some errors in esp8266 code kindly rectify it. If anybody know the solution plz help me
@vipinvg2048
@vipinvg2048 2 жыл бұрын
Hi sir. can we add the timer function on it like sonoff
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Yes
@harshitkaushik5994
@harshitkaushik5994 2 жыл бұрын
Can we set timer?
@lalhmingliana3615
@lalhmingliana3615 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 жыл бұрын
Thanks. IFTTT is not free, I always try to use Free plan for this type of IoT project.
@lalhmingliana3615
@lalhmingliana3615 2 жыл бұрын
@@TechStudyCell Thank you.
@shaktielectronics2234
@shaktielectronics2234 2 жыл бұрын
Sir is project mai ESP32 use ho sakta hai
@RK-kh6fi
@RK-kh6fi 2 жыл бұрын
sir same elexa smart plug hota h wase banao
@mehdik348
@mehdik348 Жыл бұрын
Useful idea
@TechStudyCell
@TechStudyCell Жыл бұрын
Glad you liked it
@babatechnical5156
@babatechnical5156 2 жыл бұрын
Good project bro same project ko Eeprom or Arduino ke saath bliynk aap ke saath banao
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Ok
@babatechnical5156
@babatechnical5156 2 жыл бұрын
@@TechStudyCell thanks bro kab tak banaoge aap i am wating
@Angel_ways_1122
@Angel_ways_1122 2 жыл бұрын
sir please make touch screen base home automation
@1533live
@1533live Жыл бұрын
Sir ir remote controlling not working why
@omen3591
@omen3591 3 ай бұрын
esp01 code not compiling....
@industron22
@industron22 2 жыл бұрын
can we operate it with echo dot and google home mini
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Echo dot is optional. If you have you can use it.
@HansrajYt2.0
@HansrajYt2.0 2 жыл бұрын
Good job bro make this project with blink app with eeprom
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Okay
@jashan2142
@jashan2142 2 жыл бұрын
Is it possible to connect esp01 to esp32 please reply by the way big fan of your work
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Yes... Thanks
@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
@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.
@rashidatoafolabi8448
@rashidatoafolabi8448 11 ай бұрын
Nice I love your work, please can you add an lcd display to this code?
@KnightBear123
@KnightBear123 4 ай бұрын
Just add it by ur self just add some code to this code
@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 9 ай бұрын
Hi! Do change your board to Any Arduino AVR boards (Uno/Nano)
@xenonelectronics
@xenonelectronics Жыл бұрын
I can't decode my ir remote....only FFFFFF is shown... Please help.....
@entrertainer4911
@entrertainer4911 2 жыл бұрын
By the way how much it? And can i buy from you about readymade product.
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Please send email to connect.techstudycell@gmail.com
@nrgjkrnjgknrjkgbhtr
@nrgjkrnjgknrjkgbhtr 2 жыл бұрын
My esp not connecting
@picoyt9913
@picoyt9913 Жыл бұрын
We can use this only esp 01 without arduino
@TechStudyCell
@TechStudyCell Жыл бұрын
you can but not for this project.
@picoyt9913
@picoyt9913 Жыл бұрын
@@TechStudyCell ok thank you bro
@raushankashyap1482
@raushankashyap1482 2 жыл бұрын
Is circuit ko Blink app se kese control kare
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Ok
@picoyt9913
@picoyt9913 Жыл бұрын
I can use arduino nano
@TechStudyCell
@TechStudyCell Жыл бұрын
yes. then you need separate 3.3V supply for ESP01
@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
@Ram-bf7xq
@Ram-bf7xq 2 жыл бұрын
Make it with nodemcu and EEPROM
@TechStudyCell
@TechStudyCell 2 жыл бұрын
Okay
@csjan
@csjan 2 жыл бұрын
şu telaffuza rağmen benden iyi ingilizce konuşması varya...
@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 6 ай бұрын
​@@TechStudyCellsir please make same project using node mcu esp8266 without Arduino
@RaginiSingh-re3hf
@RaginiSingh-re3hf Жыл бұрын
Please send breadboard diagram
@sanjaykhatri6093
@sanjaykhatri6093 10 ай бұрын
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 4 ай бұрын
Hahahaha yes esp8266 more cheaper than Arduino+wifi 😂
@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
@babatechnical5156
@babatechnical5156 2 жыл бұрын
Or wifi on kar do to all is working
@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???
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 2,9 МЛН
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 36 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 28 МЛН
[IN HINDI] ESP32 - Google Assistant | Amazon Alexa | Manual - Home Automation IOT Project
12:06
Viral Science - The home of Creativity
Рет қаралды 13 М.
Arduino UNO & ESP8266 and control using smartphone
9:47
Be Smart nothing impossible
Рет қаралды 732 М.
Alexa + ESP32  Control Relay PCB - Arduino Code
10:05
Electronoobs
Рет қаралды 29 М.
10 Best IoT projects of the year 2022!
8:52
ToP Projects Compilation
Рет қаралды 1,1 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 57 МЛН
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,8 МЛН
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 7 МЛН
Что не так с раскладушками? #samsung #fold
0:42
Не шарю!
Рет қаралды 201 М.