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 Наука
Thank's for making this project using ESP 01. I make this project just now...
Thanks 😊👍
You are welcome
Very nice, I loved your projects. (Brazil)
Thanks
Eae man, você possui mais canais ( gringos, indianos) igual desse ?
Gostaria conhecer…
would it be possible to use only the arduino uno and the Ethernet Shield W5100 module
Great video, this is amazing and thank you for sharing all of it for free! 🙏
You are welcome
Oh thanks bro u change your voice that hey google, ur last video was amazing as like same video....
Welcome 😊
Your biggest friend.Love from Jharkhand.
Thanks for the support
Great work
i think much better if you use momentray press switch instead of normal wall switch
I have shared the circuit + code for both the momentary switch and latched switch... Please watch the complete video
Excellent Work Bro, Keep it Up 👌
Please plan some sessions for drawing schematics (from smaller to bigger circuits) - Explaining Sequentially.
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
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)
Excellent work sir. Only dimmer left hope in coming videos we can see that modification also. Thanks for sharing such a nice project.
super thanks very well done Colombia
Thank you too!
Excellent work... Keep it up👍👍👍👍
Thank you so much 😀
I always watched your videos
Thanks for the support
Sir what you have done in PC you can do the same program in mobile. Also, sir.
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
Can I use esp 32 module instead of esp 01
Great video
Thank you
♥
Welcome
2k or 4.7 ke ka resistance lagana jaruri h kya
Can I use 24v dc power supply with 24v relay module please reply
Sir can I make same circuit with esp8266-12f and Arduino with same code.
Fine, it would be more brilliant if there is a dimmer option, thank you bro.
Welcome. Will try to add that in future....
Great work keep it on 👍👍👍
Thanks
thenks bro, its useful
Glad to hear that
I need help, the ESP01 is not working, all of the connections are good but the ESP01's led is not turning on.
Excellent project.
Can you use nodemcu instead arduino esp please
Can the NODEMCU be used instead of the Arduino UNO + ESP01?
Yes
btw can we use esp8266 board as a wifi for arduino uno
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.
Can you do this even you're away from the home?
Excellent video !
Thanks
hello brother can you provide software link to design pcb and provide your design so we can edit it according to our needs
Sir biggest fan sir
Please pick my comment
We love you sir
Thanks...
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
timed out waiting for packet header error coming so what to do ?
It will work with blynk cloud platform right??
arduino+esp01+blynk
Good job 👍
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
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
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
Can we use ESP32 instead of ESPo1
please dear how can i connect 8 rellay and 8 switch on thia project
sir please make touch screen base home automation
Can we set timer?
Good job bro make this project with blink app with eeprom
Okay
@Tech StudyCell sir what do I need to change in sketch to use touch switch using tp223 instead of push button?
??
Sir please reply
How can we make it pc control just like this
Great video! Subbed!
Thanks for the sub!
Sir is project mai ESP32 use ho sakta hai
Good project bro same project ko Eeprom or Arduino ke saath bliynk aap ke saath banao
Ok
@@TechStudyCell thanks bro kab tak banaoge aap i am wating
Yaaar lots offf thanxxxxxx finaly. You made itt mai yahi chaataa thaaa....but can I touch use switch insted of manual swich???
Thanks.. will add that in future
@@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
Hi sir. can we add the timer function on it like sonoff
Yes
sir same elexa smart plug hota h wase banao
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
with blynk it can also be implemented using serial somunicasion?
Yes. Possible
@@TechStudyCell I hope at some point you make a video, regarding the subject
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
Can i use mobile charger output 5v & 2a to directly to Arduino uno
Yes
Nice I love your work, please can you add an lcd display to this code?
Just add it by ur self just add some code to this code
There are some errors in esp8266 code kindly rectify it.
If anybody know the solution plz help me
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
Useful idea
Glad you liked it
Nice project ,sir can i ask u something? Can do esp32+arduino mega +ifttt + google asisstance + blynk+ 16 relay + 16 manual switch? Thank you.
Thanks. IFTTT is not free, I always try to use Free plan for this type of IoT project.
@@TechStudyCell Thank you.
can we operate it with echo dot and google home mini
Echo dot is optional. If you have you can use it.
Is it possible to connect esp01 to esp32 please reply by the way big fan of your work
Yes... Thanks
Make it with nodemcu and EEPROM
Okay
şu telaffuza rağmen benden iyi ingilizce konuşması varya...
esp01 code not compiling....
Sir ir remote controlling not working why
We can use this only esp 01 without arduino
you can but not for this project.
@@TechStudyCell ok thank you bro
Can I use Arduino nano instead of Arduino uno
Yes. But to supply esp01 use a 3.3V regulator. As per circuit.
Sir very nice excellent work you always good video upload can 1 pcb send me i will pay courier charges
Please WhatsApp your contact details to 8097259277
By the way how much it? And can i buy from you about readymade product.
Please send email to connect.techstudycell@gmail.com
Help me sir i can't understand why is your giving me this error.. `class eeprom` has no member named `update`
What i do
Hi! Do change your board to Any Arduino AVR boards (Uno/Nano)
I can use arduino nano
yes. then you need separate 3.3V supply for ESP01
Is circuit ko Blink app se kese control kare
Ok
My esp not connecting
Someone explain to me how did he use two codes on one Arduino board.
One for esp01 , another for Arduino
@@TechStudyCellsir please make same project using node mcu esp8266 without Arduino
I can't decode my ir remote....only FFFFFF is shown...
Please help.....
Please send breadboard diagram
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
Hahahaha yes esp8266 more cheaper than Arduino+wifi 😂
Or wifi on kar do to all is working
Blynk isn't working anymore? I mean old verison, and the new one is fee-paying
Hi sir this is i am started New business so I want man power works can answer from Bangalore
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???