#2 ESP01 + Alexa = Smart Switch !!

  Рет қаралды 13,611

AIbeginsDotNet

AIbeginsDotNet

3 жыл бұрын

Build your own smart switch and take control of your home! An easy to do and handy project if you are into the Alexa ecosystem.
Need a step by step guide? Check out my website at :
aibegins.net/2020/09/21/alexa...
Component List
(Consider buying from these links if it doesn't cost you any extra):
1. ESP01: amzn.to/2ZTqusE
2. 4 channel relay module: amzn.to/35WcemW
3. 5V ac to dc converter: amzn.to/2Hl2Uig
4. 5V to 3.3v step down power supply: amzn.to/35TFnPz
5. Proto board: amzn.to/33PsNOy
6. 10k resistor x 2
7. Female header strip: amzn.to/3cfIPFw
8. 1000uF capacitor: amzn.to/3cky0Sl
9. Metal Oxide Varistor 400V (Optional)
10. Jumper wires: amzn.to/32OCmhB
11. Twisted 18AWG wires for AC
12. A box to hold em all
Download the code from Github:
github.com/mijazm/ESP01WifiSw...
Background music:
E.R.F from www.bensound.com

Пікірлер: 50
@aryasreek4082
@aryasreek4082 7 күн бұрын
Awesome work 😍
@vikaspatil1234
@vikaspatil1234 2 жыл бұрын
Very well explained. This video explains the use of full potential of ESP-01. From you I came to know that ESP-01 has 4 GPIOs.
@mamvcivm
@mamvcivm 2 жыл бұрын
And at 47 seconds my lights went off! Fantastic tutorial!
@manukush0791
@manukush0791 3 жыл бұрын
Great work man and explained really nicely...keep it up 👍🏻
@omkarbansode6305
@omkarbansode6305 Жыл бұрын
Thanks man you helped me alot in building my college Project based n ESP8266 module
@ankitchauhan4180
@ankitchauhan4180 3 жыл бұрын
Cool start... All the best 👍
@anokhautomation4453
@anokhautomation4453 Жыл бұрын
Nice project 👍
@manujayarajkm190
@manujayarajkm190 3 жыл бұрын
Good work bro. All the best👍👍
@sanasyed9941
@sanasyed9941 3 жыл бұрын
Awesome!!!👍
@shantanusingh3306
@shantanusingh3306 3 жыл бұрын
Its cool man!! 👏
@muhammedharis1928
@muhammedharis1928 3 жыл бұрын
Good presentation bro👍👍
@mukundankveettil1959
@mukundankveettil1959 3 жыл бұрын
Good. It's usefull.
@EtechHelpAndInfo
@EtechHelpAndInfo 3 жыл бұрын
Greattt wrk maza agya
@pallavrajjain7236
@pallavrajjain7236 Жыл бұрын
I unable to switch relays but from multimeter I checked the pins of esp01 working perfectly
@neethuchandran8556
@neethuchandran8556 3 жыл бұрын
👏👏👏👏
@EtechHelpAndInfo
@EtechHelpAndInfo 3 жыл бұрын
How to prog wifi module with android mob
@youcubersaaraswata8865
@youcubersaaraswata8865 Жыл бұрын
I want to ask one thing. If i put MOV on both sides of Relay, will it be an issue? As I will use both the NO and NC of the relays. Please reply . And yes Thanks for your video it will be really helpful
@mijazmukundan7262
@mijazmukundan7262 Жыл бұрын
There is one issue I could think of, when you turn on one device connected to NC it might for a very brief instant cause a connection to the device connected to NO port if there is an MOV connected to both sides. You will understand once you draw the resulting circuit. But depending on your use case you probably can do it, but do a test run first using an individual relay.
@brrrahamelizalde5723
@brrrahamelizalde5723 Жыл бұрын
Hi, thanks for the tutorial but I'm having the same issue about alexa couldn't find my board. Do you have another guide to try the debug solution?
@AIbeginsDotNet
@AIbeginsDotNet Жыл бұрын
Oh it seems to be a common problem , I will check it out and update the instructions on the github page if I find a solution. Thanks for pointing it out!
@brrrahamelizalde5723
@brrrahamelizalde5723 Жыл бұрын
@@AIbeginsDotNet Thank you so much
@youcubersaaraswata8865
@youcubersaaraswata8865 Жыл бұрын
I have one more question, idk if mov is the issue but when I connect esp01to relay with live wires connected to relay,it just stops working. Even when trying to control 9w led bulb
@AIbeginsDotNet
@AIbeginsDotNet Жыл бұрын
Hm is it getting stuck when you operate the relay, or just in general? LED bulbs don’t generate a lot of switching transients so that might not be the issue. also just in case try it with a different relay. It may be that the relay is drawing too much current from ESP01 if you are not using a relay module without optoisolator or if the relay is faulty.
@youcubersaaraswata8865
@youcubersaaraswata8865 Жыл бұрын
@@AIbeginsDotNet I'm using blynk edgent for the coding part. So when I attach the esp01 it powers on, and the relays clicks and then goes to nc position. But the system would not come on-line or emit wifi for connecting and initial setup. Sometimes when touching the esp it would restart but i can't set it up because of the bootloops. In a short note i know for sure that it's bootlooping. Also i used a 4 channel relay with the same esp01 ( no load tested) it was just working fine. I guess I'll have to check the 4 channel one.
@mekabotcorpo6702
@mekabotcorpo6702 2 жыл бұрын
HELLO! I could to charge the program but alexa can't discover the device, Do you know why?
@AIbeginsDotNet
@AIbeginsDotNet 2 жыл бұрын
Hi! You might need to try the discovery process a few times. Also I have tested this only on the third gen echo dot, so I am not sure if it will work on the newer ones. You can also use the debug flag in the code and view the output of ESP01 on the serial monitor, that should help you find the problem. Good Luck with your project!
@garymccrohan7247
@garymccrohan7247 11 ай бұрын
Tried to get this to work on a fire tab, but alexa doesn't discover any new devices. Do I need to download and link the Philips Hue app to the alexa app?
@AIbeginsDotNet
@AIbeginsDotNet 11 ай бұрын
Hi @garymccrohan7247 , I have not tried using it with the tab, does it work like a hub ?
@techguyz5916
@techguyz5916 2 жыл бұрын
Why you have connected the capacitor to the relay
@AIbeginsDotNet
@AIbeginsDotNet 2 жыл бұрын
Do you mean the MOV(the round blue component)? It is used to absorb the switching transients i.e the high voltages that appear when you turn appliances like a fan,motor or cfl on or off. These high voltage transients might cause the microcontroller to reset which we would want to prevent! MOV stands for metal oxide varistor.
@techguyz5916
@techguyz5916 2 жыл бұрын
@@AIbeginsDotNet thanks man, I was facing the same issue I had made automation using node mcu singel Chanel. Thx man thankyou very much 😍
@dipaksonone2917
@dipaksonone2917 3 жыл бұрын
Sir how to program the wifi module
@AIbeginsDotNet
@AIbeginsDotNet 3 жыл бұрын
You can watch my previou video at kzbin.info/www/bejne/mYXJm6SEe6aekJo to learn how. Good luck with your project!
@monkgaming2309
@monkgaming2309 9 ай бұрын
Can i use nodemcu esp8266 ?
@AIbeginsDotNet
@AIbeginsDotNet 9 ай бұрын
Yes you can, just be careful with the pinout.
@nanunane1
@nanunane1 Жыл бұрын
How to write cop code to esp01 from ide.. ??
@AIbeginsDotNet
@AIbeginsDotNet Жыл бұрын
You can refer to my earlier video which show you how to program an esp01. Here is the link: kzbin.info/www/bejne/mYXJm6SEe6aekJo
@grahamheath3799
@grahamheath3799 Жыл бұрын
Cannot get this to work; ESP connects to WIFI. but ALEXA doesn't find the device any ideas?
@AIbeginsDotNet
@AIbeginsDotNet Жыл бұрын
Here are the things you can try 1. Check you echo version, I have tested it on echo 3rd gen. I am not sure if it works for newer versions. 2. Check that your esp and echo are on same wifi network. I know it sounds trivial but I have made this exact mistake before. 3. You can try turning on the debug flag in the code and check the outputs on serial monitor. Sometimes restarting the echo and esp also helps. Good luck with your project!
@manieswar3734
@manieswar3734 2 жыл бұрын
Bro error for credentials.h :no such file or directory how to fixed bro
@AIbeginsDotNet
@AIbeginsDotNet 2 жыл бұрын
Hi, check if the “credentials.h” exists in the main directory, if you have downloaded the code from Github make sure to extract everything to a folder and rename it to be the same as that of the ino file. If you don’t rename it Arduino IDE will create a directory by itself and copy just the ino file into it, in this case you can manually copy everything else to the same folder. Good luck with your project!
@manieswar3734
@manieswar3734 2 жыл бұрын
@@AIbeginsDotNet bro credentials.h problem solved but not show in discovery device s do have any suggestions bro
@AIbeginsDotNet
@AIbeginsDotNet 2 жыл бұрын
@@manieswar3734 you can turn on the debug part of the code and try to see the output of ESP01 on a serial monitor when you perform device discovery (might take a few tries). Also I have tested it on 3rd Gen Echo Dot only so I am not really sure if the protocol is valid for newer versions.
@markuspatten6486
@markuspatten6486 2 жыл бұрын
it looks fine but at me it doesn't work... the module isn't visible in the WLAN and Alexa isn't able to find it... what's going wrong? Please help.
@AIbeginsDotNet
@AIbeginsDotNet 2 жыл бұрын
Its a bit frustrating I know, have you tried turning on the debugging part in the code and looking at the serial monitor, it might be able to help you zero in on the problem.
@markuspatten6486
@markuspatten6486 2 жыл бұрын
@@AIbeginsDotNet I'm a newbie and it's all a little bit tricky for me. I want to build a lamp and to bring it into Alexa for voicecommands. The lamp will have a Power supply with 24v and the esp8266-01s with the relay might be the best solution ... if it would work
@AIbeginsDotNet
@AIbeginsDotNet 2 жыл бұрын
@@markuspatten6486 it is most certainly possible! A lot of things go wrong with these kind of projects, I remember spending hours on solving various issues even though I have some experience. So don’t give up, Good luck!
@ashutoshranjan3363
@ashutoshranjan3363 5 ай бұрын
Alexa is not discovering any device. Alexa and esp01 is on same network.
@zuckerli
@zuckerli Жыл бұрын
stopped after 5 minutes because of the hurrible background music. don't understand, why content creator really believe, this is helpful.
@AIbeginsDotNet
@AIbeginsDotNet Жыл бұрын
Ah yes, sorry about that, I’ll have them sorted in the future videos
#1 Program an ESP01: The easy way!
7:38
AIbeginsDotNet
Рет қаралды 103 М.
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 6 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 57 МЛН
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 8 МЛН
Esp 8266-01 relay module review & not working problem solving
3:09
Technoreview85
Рет қаралды 35 М.
ESP8266 & Amazon Alexa for home automation
11:51
learnelectronics
Рет қаралды 22 М.
Controlar Relé ESP8266 con la Voz Alexa y Sinric PRO ESP RELAY
12:01
ESP2866 WiFi Relay Module Switch Review IoT
5:41
Crazy Indiana
Рет қаралды 67 М.
How I Made My Own Smart Speaker Google + Alexa - Under $30
10:26
DD ElectroTech
Рет қаралды 2,6 МЛН
ESP-01 UART and turning it to a programmer
5:03
Csongor Varga
Рет қаралды 155 М.
Plug n Play Relays!
5:06
ItKindaWorks
Рет қаралды 72 М.