Control Relay ESP-01 Module from Smartphone

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • Link download: drive.google.c...
    If you find this content useful, please send me "Super Thanks"
    Don't forget to like and subscribe!
    Thank You
  • ХоббиХобби

Комментарии • 63

  • @aargee77
    @aargee77 Год назад +2

    Worked like a charm, just that i had to change the baud rate to 9600 for the serial monitor

  • @DenisFlorentino
    @DenisFlorentino Год назад +1

    Excelente videotutorial, depsues de medio año logre hacer funcionar el dispositivo, gras por compartir sus conocimientos, saludos.

  • @hshpegel
    @hshpegel 3 месяца назад

    Worked perfect, many thanks.

  • @occamraiser
    @occamraiser 5 месяцев назад

    Thank you and thanks for the link to the script and HTML - most useful. :)

  • @alexeigopher5458
    @alexeigopher5458 Год назад

    so use-full. now days 2023 and esp01 still alive! willl do something!!!

  • @이석용-b5n
    @이석용-b5n 6 месяцев назад

    Super Thank for easy explanation

  • @victorsaizayala6693
    @victorsaizayala6693 Год назад

    FUNCIONA!! . El mejor sobre el ESP8266 01S.

    • @YaserAliHusen
      @YaserAliHusen  Год назад +1

      gracias, no olvides ver otros videos y suscribirte a mi canal

  • @claudioredolfi2526
    @claudioredolfi2526 9 месяцев назад

    Excellent sketch but when I connect the power the relay energizes when it should remain off but instead it energizes without command.
    If I have to turn on a light bulb, an opposite action is necessary: the relay must be turned off. not energized when connecting the ESP-01 power supply.

    • @YaserAliHusen
      @YaserAliHusen  9 месяцев назад

      You use relay which it will ON when receive Low signal, right?
      So, in code, in setup, turn off the relay first by write HIGH the relay

  • @jucerago
    @jucerago Год назад

    Thank you, It works really well.

  • @jeandilissen4197
    @jeandilissen4197 Год назад

    Excellent videotutorial, thanks

  • @IvanTang-c6y
    @IvanTang-c6y Год назад +1

    Very good, I have tried it and it is feasible, but may I ask if the IP address will change after a period of time?

    • @YaserAliHusen
      @YaserAliHusen  Год назад

      I have not ever try for long period
      If connected, maybe the ip will not change

  • @RixtronixLAB
    @RixtronixLAB Год назад +1

    Nice video, thanks :)

  • @talwarjatin
    @talwarjatin Месяц назад

    It does work . But goes to sleep and doesnt repond after few minutes , Pressing the button doesnt do anything ., To correct , it has to be reset after every few minutes. Can you guide whats going on here ? THanks a lot

    • @talwarjatin
      @talwarjatin Месяц назад

      Update : Works better with Baud Rate of 9600. Stays connected. Cheked for half hour . Should changing the Baud rate make a difference ?

  • @amateamchannel3687
    @amateamchannel3687 Год назад +1

    When suddenly the electric power supply goes out and at that time the status of the relay module is ON. Then the electric power supply turns ON again, does the status of the relay module remain ON?

    • @YaserAliHusen
      @YaserAliHusen  Год назад

      I set, initial status is OFF, so when power turn on, relay become OFF

    • @amateamchannel3687
      @amateamchannel3687 Год назад

      @@YaserAliHusen
      is it possible to set the initial status to the last status? or must be added battery back up memory?

    • @YaserAliHusen
      @YaserAliHusen  Год назад

      @@amateamchannel3687, I think you cant.
      If you want, you must store the status in something, in additional relay, pararel with main relay and connect output relay as input.
      Esp will check the input as relay status in initial start up.
      And you must use another esp device like esp8266

    • @amateamchannel3687
      @amateamchannel3687 Год назад

      @@YaserAliHusen Terima kasih for the information

    • @thejocelyn5994
      @thejocelyn5994 10 месяцев назад

      Yasser sorry but initial power is at on, so when power turns on relay is on. How to reverse that in the code?? thanks @@YaserAliHusen

  • @simonhall8109
    @simonhall8109 9 месяцев назад

    Thanks Yaser, much appreciated, could I ask if you could suggest how to change the code from a switch to a momentary button , thanks

    • @YaserAliHusen
      @YaserAliHusen  9 месяцев назад

      Sorry I have not ever try it.
      Do you mean, we must hold the button to turn on the relay, when we release, relay will be turned off, right?

  • @hattour1
    @hattour1 9 месяцев назад

    Super Thanks

  • @MrBobWareham
    @MrBobWareham 11 месяцев назад

    Thanks for the video, very interesting, but can I control multiple separate relays, one in each room to turn on off?

    • @YaserAliHusen
      @YaserAliHusen  11 месяцев назад

      This video explain control a ESP device via its webserver page, so you can add more relays in 1 device, you can use ESP32 or ESP8266 with more GPIO.
      If you mean control more devices with 1 page, you can use node-red dashboard, it can connect more device an out control on a dashboard page

    • @funlife8744
      @funlife8744 11 месяцев назад

      You can use the ESP8266 Relay x 4 Module to control 4 devices.

    • @MrBobWareham
      @MrBobWareham 10 месяцев назад

      Thanks for your reply, but I would like to use 5 single relays one in each room to turn on 5 lights but from one web page @@YaserAliHusen

  • @profmssassia
    @profmssassia Год назад

    Super Thanks !!!

  • @MrJamesoro
    @MrJamesoro Год назад

    a quien no pueda descargar el archivo, use otro explorador. excelente video

  • @briandance7194
    @briandance7194 11 месяцев назад

    In the required materials should the Arduino IDE be listed? I have downloaded Arduino IDE for linux. ESP_01 does not show up as a Board. When the USB programmer is pluged in the Serial port shows up but ESP_01 is not one of the board types on that port. Is this video suitable for newbies to the IDE?

    • @YaserAliHusen
      @YaserAliHusen  11 месяцев назад

      You must Install the Boards in Arduino IDE
      In Preference -> Additional Boards Manager URLs, add: arduino.esp8266.com/stable/package_esp8266com_index.json
      Or you can googling it
      Thank you

  • @girishpanchal9072
    @girishpanchal9072 10 месяцев назад

    Hi, thanks for nice video. Can I connect to esp01 which is on home wifi from my smartphone which is on other network maybe in some other region?

    • @YaserAliHusen
      @YaserAliHusen  10 месяцев назад

      if use web server, we cant connect.
      But we can use MQTT communication for long distance over the world connection

  • @palaskar5020
    @palaskar5020 Год назад

    It connect with wifi after uploading the program. But when I connect with relay module it cannot connect with wifi.. please reply

    • @YaserAliHusen
      @YaserAliHusen  Год назад

      Please follow the steps, others could connect it well

  • @daniellee9933
    @daniellee9933 Год назад

    After completed uploading and error .
    Error : fail to connect to ESP8266 : timeout waiting for packet header

  • @garymazzataz9350
    @garymazzataz9350 Год назад +1

    never worked for me

  • @kai3558
    @kai3558 10 месяцев назад

    where to buy the part where u connect the power to power on the relay ?

    • @YaserAliHusen
      @YaserAliHusen  10 месяцев назад +1

      You can find Micro USB to Dip adapter, there are similar with this part

  • @anbumalarv9413
    @anbumalarv9413 Год назад

    If i am doing many pieces like this will it have seperate ip address

  • @stevegriffin-p8f
    @stevegriffin-p8f Месяц назад

    how do you control it with an Iphone??

    • @YaserAliHusen
      @YaserAliHusen  Месяц назад

      Access it from your iphone browser

    • @sevenson5112
      @sevenson5112 26 дней назад

      @@YaserAliHusen I follow the steps but It connect to wifi, but the IP can't be oppened. Why? Did you set the router to port forwarding?

  • @shuvankardutta5694
    @shuvankardutta5694 Год назад

    Can you please re upload the code.it is not available in drive
    Only html code has

    • @YaserAliHusen
      @YaserAliHusen  Год назад

      There is INO file: TEST_SERVER_ESP01_Rev1.ino
      You can put it into foldee with same name
      Did you download zip file?

  • @rahmanmr3838
    @rahmanmr3838 Год назад

    where to find ESP8266 wifi file ?

  • @magidfathalla1717
    @magidfathalla1717 5 месяцев назад

    thans. but the link not working😢

    • @YaserAliHusen
      @YaserAliHusen  5 месяцев назад

      You can follow the steps in video,
      Most of comments said they succesful tried this tutorial

  • @AvreZiwar
    @AvreZiwar Год назад

    Where i get app?

  • @BlenderAnimation_
    @BlenderAnimation_ Год назад

    That was esp01s

  • @GordonWilson67
    @GordonWilson67 Год назад

    cannot download code?

    • @YaserAliHusen
      @YaserAliHusen  Год назад

      I provide the link at video description, did you download it?

    • @GordonWilson67
      @GordonWilson67 Год назад

      Yes, thank you for the fast reply, at first I was trying to click on the links to download them and that did not work, but then I saw a download button in the upper right corner and that worked, thank you. 🙂@@YaserAliHusen

  • @danilogabriel6628
    @danilogabriel6628 Год назад

    That is why I cannot upload code

    • @YaserAliHusen
      @YaserAliHusen  Год назад

      Please follow the steps, especially about additional cable jumper