NodeMCU ESP8266 Alexa App Voice Control Home Automation System | IoT Projects 2021

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Hello friends, welcome to Tech StudyCell. In this  video, we'll make an Alexa home automation project   using the NodeMCU and a relay module to control  four home appliances using the manual switch and   the Amazon Alexa app. For this home automation  project, you don't need an Alexa device. You can   control the home appliance just by using the  Amazon Alexa app from anywhere in the world.   Let me show you how it works, "Alexa,  turn on outdoor light". "okay".   "Alexa turn on studio light". "okay". Thus you can  easily control the home appliance with the voice,   and you can also control it from the Amazon  Alexa app. Now let me turn off all the lamps. now I will control it from the switch. you can easily control each lamp from the switch   and you can also monitor the real-time status  of each switch. Let me show you, if I select the   outdoor light, right now the lamp is off. If I  turn it on you can see the real-time status in the   Amazon Alexa app. Now let me turn off the internet  and show you how it works without internet. After   turning off the internet I can control these  lamps only from the switches. Let me show you. I can easily control this lamp from this  manual switch without using any WiFi. Now   let me turn on the WiFi again, as you can  see the blue led automatically turns on   which indicates the Nodemcu is now  connected with the WiFi. So I can   control the home appliance using the Alexa  app and the manual switches. Let me show you,   "Alexa turn on outdoor light". "okay". Let me  control the other lamps from the manual switch.   Thus you can easily make this home automation  project just by using Nodemcu and a relay module.   I will highly recommend you to watch  the complete video as during the video   I will share the complete circuit diagram the  code for this project and all other details.   And as you can see you don't need any custom  design PCB for this project so you can easily   make this project for your home after watching  the complete video so let's get started... To make this project, you just need  a Nodemcu and a relay module. And to   control the home appliance manually you can use  the existing switchboard. Now we have to connect   all these components as per this circuit diagram.  As you can see there is a lot of connections so   to give the project a professional look I have  designed a PCB for this project, and order it   from the JLC PCB. You can order any custom design  PCB from jlcpcb with three simple steps. First,   upload the Gerber file. Then select the parameters  like quantity, PCB masking color, then place the   order. If you select faster delivery service then  you will get the PCB within a week. And as you   can see the quality of the PCB is very premium in  this affordable price range. So you can always try   jlc pcb for any custom design PCB project. These  are the components required for the PCB. Now   I will quickly solder all the components on the  PCB. Now let me connect the Nodemcu with the PCB.   Before uploading the code, you have to create a  Sinric account. For that visit Sinric.com/login. I   will share the link in the description. Then click  on register and enter the name and email address   and set up a password. After that click on submit.  Then log in to your Sinric account with the   registered email id and password. After login, you  will get an API key which will be required in the   code. Now, to add a device, click on "Add". Give  a device name, say, "outdoor light". You can give   any name, Alexa will identify that particular  device with this name. The device type will be   "Switch". Now click on "Save". Thus you can add  multiple devices. Here you can see I have added   four devices. As I want to control 4 devices with  Alexa and each device will get a unique device id,   which will also require in the code. This is  the code for this project. Please visit our   website iotcircuithub.com to download the code.  I will share the link in the description. Before   uploading the code, copy these 2 URLs, then go to  File, Preference. And paste it here. After that,   you have to download and install the esp8266  board. Then you have to install these 3 libraries.   I will suggest you to use these links to  download the latest version of the libraries.   Then go to "Sketch", "Include Library", "Add  ZIP Library" to install all the latest versions   of these three libraries. After installing  the libraries you have to enter the API key.   For that, I will go to the Sinric account.  Copy the API key, then I will paste it here.   Then you have to enter the WiFI credential.  Here you have to enter the WiFi name   and the WiFi password. After that, you have  to enter the device id for each device.   As I said, I have created four devices. I have to  copy the device id and paste it here. Like that,   you have to copy all the device id from the Sinric  account and paste those device id at this place.   If you refer the same circuit, then after doing  these changes, you can directly upload the code   to the Nodemcu board. For that go to "Tools".  Select NodeMCU board and the proper PORT.   Then hit the upload button. Now we will quickly  connect all the devices with the Amazon Alexa app.   For that, you have to download and install the  Amazon Alexa app from the Google play store or   App Store. Then tap on open. Then tap on  "More", and select "Skills and Games". Here you have to search for Sinric, and  then select the first option. Then tap on   "Enable to use", then enter the  registered email id and Sinric password.   After successfully login go to the Amazon Alexa  app again and tap on the "Discover Devices".   it will take some time and during this time,  the Nodemcu should be connected with the WiFi.   You can see Alexa found four devices. Now go to  "Devices", and in the "Switches" you can see all   the four devices we have just connected. If you  have an echo dot device then you can use that   device for this project but if you don't have it,  you can just use the Amazon Alexa app to control   the relay with Alexa. Now we will quickly connect  the four home appliances with the relay module   as per this circuit diagram. As you can see I have  connected the four lamps with the relay module   as per the circuit. And I have used a 5-volt  mobile charger to give 5 volt supply to Nodemcu.   Let me connect the 5 volt supply. Now we can  control the relays using the manual switches and   Alexa app. Let me show you, "Alexa, turn on  outdoor light". "ok". "Alexa, turn on study lamp".   "okay". Thus you can easily control all the lamps  using the manual switch and also from the Amazon   Alexa app. So this is a very useful and practical  home automation project you can control the home   appliances with your voice and also from your  existing switchboard. I will request you to   join our telegram channel Tech StudyCell. I do  post different circuit diagrams in that channel.   I will share the link in the description and  please do subscribe and hit the bell icon to   get notifications for more such home automation  projects. Thank you for watching have a great day.
Info
Channel: Tech StudyCell
Views: 51,657
Rating: undefined out of 5
Keywords: alexa app, nodemcu, alexa automation, esp8266, esp8266 alexa, internet of things, iot, esp8266 projects, project, nodemcu esp8266, alexa smart device, amazon alexa app, amazon home automation, nodemcu projects, alexa skills, voice control home automation, alexa home, home automation, nodemcu esp32, echo dot app, alexa mobile app, esp12e, app, smart house, techstudycell, alexa compatible devices, home automation system, iot projects, internet of everything, iot solutions
Id: Sx9akwBwK4g
Channel Id: undefined
Length: 8min 53sec (533 seconds)
Published: Sun Jan 17 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.