#2 ESP01 + Alexa = Smart Switch !!

Поділитися
Вставка
  • Опубліковано 20 вер 2020
  • 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

  • @vikaspatil1234
    @vikaspatil1234 2 роки тому +5

    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 роки тому +1

    And at 47 seconds my lights went off!
    Fantastic tutorial!

  • @aryasreek4082
    @aryasreek4082 24 дні тому

    Awesome work 😍

  • @manukush0791
    @manukush0791 3 роки тому +2

    Great work man and explained really nicely...keep it up 👍🏻

  • @omkarbansode6305
    @omkarbansode6305 Рік тому +1

    Thanks man you helped me alot in building my college Project based n ESP8266 module

  • @shantanusingh3306
    @shantanusingh3306 3 роки тому

    Its cool man!! 👏

  • @ankitchauhan4180
    @ankitchauhan4180 3 роки тому

    Cool start... All the best 👍

  • @sanasyed9941
    @sanasyed9941 3 роки тому

    Awesome!!!👍

  • @manujayarajkm190
    @manujayarajkm190 3 роки тому

    Good work bro. All the best👍👍

  • @anokhautomation4453
    @anokhautomation4453 Рік тому

    Nice project 👍

  • @mukundankveettil1959
    @mukundankveettil1959 3 роки тому +1

    Good. It's usefull.

  • @pallavrajjain7236
    @pallavrajjain7236 Рік тому +1

    I unable to switch relays but from multimeter I checked the pins of esp01 working perfectly

  • @EtechHelpAndInfo
    @EtechHelpAndInfo 3 роки тому

    Greattt wrk maza agya

  • @muhammedharis1928
    @muhammedharis1928 3 роки тому

    Good presentation bro👍👍

  • @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 Рік тому +1

      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 2 роки тому

    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  2 роки тому +1

      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 2 роки тому

      @@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 ?

  • @monkgaming2309
    @monkgaming2309 10 місяців тому

    Can i use nodemcu esp8266 ?

    • @AIbeginsDotNet
      @AIbeginsDotNet  10 місяців тому

      Yes you can, just be careful with the pinout.

  • @dipaksonone2917
    @dipaksonone2917 3 роки тому

    Sir how to program the wifi module

    • @AIbeginsDotNet
      @AIbeginsDotNet  3 роки тому

      You can watch my previou video at ua-cam.com/video/cTfjqNFAkZ8/v-deo.html to learn how. Good luck with your project!

  • @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: ua-cam.com/video/cTfjqNFAkZ8/v-deo.html

  • @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 😍

  • @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!

  • @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!

  • @manieswar3734
    @manieswar3734 2 роки тому

    Bro error for credentials.h :no such file or directory how to fixed bro

    • @AIbeginsDotNet
      @AIbeginsDotNet  2 роки тому +1

      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.

  • @ashutoshranjan3363
    @ashutoshranjan3363 6 місяців тому

    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