Arduino | Communication Two LoLin NodeMCU V3 ESP8266 (Client Server) for Controlling LED

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • Arduino | Communication Two LoLin NodeMCU V3 ESP8266 (Client Server) for Controlling LED. In this project video i use LoLin NodeMCU V3 ESP8266 and Arduino IDE 1.8.9.
    For LoLin NodeMCU V3 ESP8266 Getting Started : • Arduino | LoLin NodeMC...
    Download Arduino Code here : drive.google.c...
    ***********************************************
    Thanks for watching & don't forget to like, comment and Subscribe...
    ***********************************************
    For other video tutorials on this channel, please see this playlist:
    Basic4Android (B4A) Tutorials : • Basic4Android (B4A) | ...
    Electronics Tutorials : • 3 LED Flip Flop
    Arduino Tutorials : • Arduino | Scrolling Te...
    Great Cow Basic Tutorials : • Great Cow BASIC with A...
    Bascom Avr Tutorials : • Bascom Avr | How to Se...
    VB .NET Tutorials : • Visual Basic .NET | ...
    ***********************************************
    Download Arduino IDE : www.arduino.cc...
    ***********************************************
    Source of network topology images:
    www.iconfinder...
    ***********************************************
    Music Background :
    Song: Ikson - Do It (Vlog No Copyright Music)
    Music promoted by Vlog No Copyright Music.
    Video Link: • Video
    Wake Up by MBB / mbbofficial
    Creative Commons - Attribution-ShareAlike 3.0 Unported - CC BY-SA 3.0
    creativecommon...
    Music promoted by Audio Library • Wake Up - MBB (No Copy...
    Far Away by Declan DP / declandp
    Licensing Agreement 2.0 (READ)
    www.declandp.in...
    Music promoted by Audio Library • Far Away - Declan DP (...
    ***********************************************

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

  • @EsioB
    @EsioB 5 лет назад +1

    Why do you assume that IP addresses (client/server) are stationary? I uploaded the code and every time i got different IP from the NodeMCU. So how can I check "IP" from a NodeMCU so after changement from code of "checking IP" into a client/server code i will still get the same IP address?

    • @utehstr
      @utehstr  5 лет назад

      Look here :
      forum.arduino.cc/index.php?topic=460595.0
      github.com/esp8266/Arduino/issues/1959

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

      Your router gives new IP every time your Esp reconnects to router. That’s why you will always get different IP

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

    Hi I made it, everything worked fine! One question please, can we make this led on and off without any delay? So if you turn it on, don’t wait to turn it off.

  • @omarsmith9674
    @omarsmith9674 4 года назад

    sir if the client is 2 how can we make the difference a message from client 1 and client 2?

  • @gruijl
    @gruijl 4 года назад

    Thanks for this video. Would this also be possible using a PIR instead of a button?

    • @utehstr
      @utehstr  4 года назад

      You're welcome :-)
      Of course it's possible, you can replace the button variable with the PIR variable.

    • @gruijl
      @gruijl 4 года назад

      Thanks! Just a quick question. I managed to get the PIR working on this setup but there seems to be a delay before the led starts responding to the input. The delay is about 30-35 seconds which is too long. Any idea what is causing this and how to change? I tried a lot already

    • @utehstr
      @utehstr  4 года назад

      @@gruijl Do you only want to send sensor data?

    • @gruijl
      @gruijl 4 года назад

      Uteh Str yes indeed. Do you have a solution?

    • @utehstr
      @utehstr  4 года назад

      @@gruijl Take a look at this video: ruclips.net/video/mwsJUnrJPYI/видео.html , communication via UDP. Maybe it's faster.

  • @irfanayan2448
    @irfanayan2448 5 лет назад +1

    i got the server ip but can't get the client ip....i use 2 different nodemcu s bt the result is same...... can't get the client ip...what should i do????

    • @utehstr
      @utehstr  5 лет назад

      Have you followed all instructions on the video? Try repeating, maybe something has been missed.

    • @irfanayan2448
      @irfanayan2448 5 лет назад

      @@utehstr the problem is solved.....😃😃😃these videos are so helpful for me thank you so much and keep it up

    • @utehstr
      @utehstr  5 лет назад +1

      @@irfanayan2448 Congratulations 😃
      You are welcome 😊

    • @TungPham-ku7xf
      @TungPham-ku7xf 5 лет назад

      How did you fix it? Is it said that "Attempting connect to SSID" right?

  • @yeefish91
    @yeefish91 3 года назад

    hello there, can i replace the button with ultrasonic sensor?

  • @syedasadabbas6443
    @syedasadabbas6443 4 года назад

    First of all, Thank you very much, i have tried your work, and it works perfectly. But i want static ip address for Server as well as for Client, after making the static ip of both devices the client cant connect to the server! can you please tell me the reason?

  • @UCS__Yogesh
    @UCS__Yogesh 5 лет назад +1

    we are not able to download the coad

  • @yuhe4088
    @yuhe4088 5 лет назад

    Can you tell me how to open two windows (COM10/COM8)at the same time 。I can only open one of them and only execute one code.

    • @utehstr
      @utehstr  5 лет назад +1

      Open the Arduino IDE by clicking on the desktop icon or on the program files or in the folder where you install the Arduino IDE, if it is already open repeat again to open the second Arduino IDE. Don't use File-Open or File-New to open the new Arduino IDE.
      If when opening the Arduino IDE, then it displays the previous code or previous project, then:
      Open the Arduino IDE then File-New, close the previous Arduino IDE. Reopen then File-New, close the previous Arduino IDE. If you do it correctly, two Arduino IDE will appear with the default code display (Void Setup and Void Loop).

    • @yuhe4088
      @yuhe4088 5 лет назад

      @@utehstr A can't apply it on Mac ,I found how to do this, thank you very much ! :)

    • @utehstr
      @utehstr  5 лет назад

      @@yuhe4088 You are welcome :-)

    • @yuhe4088
      @yuhe4088 5 лет назад

      @@utehstr Can you tell me if I can control multiple servers through one client?

  • @hero-gl4zy
    @hero-gl4zy 3 года назад

    Can you made the same project without Wifi hotspot?

  • @elaminenour3548
    @elaminenour3548 4 года назад

    thank you so much
    can i connecting between server and client just by wifi and without notwork ??

    • @utehstr
      @utehstr  4 года назад

      Sorry I don't understand what you mean, can you explain in more detail.

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

      Yes, you will need to create Access Point instead of connecting to home network. Use sketch example called ESP8266AccessPoint in your Arduino IDE

  • @MarkAnthonyCTutor
    @MarkAnthonyCTutor 5 лет назад

    Hello can this be used as many server and 1 client only? Can anybody help me?

  • @mohyminulislam5352
    @mohyminulislam5352 5 лет назад +1

    The link is not working
    Can you give any other link to download the audio

    • @utehstr
      @utehstr  5 лет назад

      I have replied to your email.

  • @TungPham-ku7xf
    @TungPham-ku7xf 5 лет назад

    I think there is something wrong with your get IP code. It keeps "Attempting connect to SSID" and i had tried to connect with another wifi but it didn;t work.

    • @utehstr
      @utehstr  5 лет назад

      Make sure you use the correct SSID and password in accordance with your WiFi router / hotspot.

    • @TungPham-ku7xf
      @TungPham-ku7xf 5 лет назад

      @@utehstr yes I did but it doesn't work. I only can check the esp ip by using server code

    • @TungPham-ku7xf
      @TungPham-ku7xf 5 лет назад

      @@utehstr Sir your get_Ip code missing out Wifi.begin so it can't connect to the Wifi.

    • @utehstr
      @utehstr  5 лет назад

      @@TungPham-ku7xf I will check it. thanks.

    • @utehstr
      @utehstr  5 лет назад

      @@TungPham-ku7xf Are you sure that without "Wifi.begin" you can't connect to wifi ? I have tried without "Wifi.begin" and the results can be connected to wifi.

  • @mazarnejad901
    @mazarnejad901 2 года назад

    Whyy when i want to get IP first its take a long time second its write just " ????? " What should i do?

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

      Remove “//“ in front of your WiFi.begin(ssid, password)

  • @TheBayu82
    @TheBayu82 2 года назад

    My name is indra from indonesia, thank's for this video, pelase help me, if i want to make LED on clients and button on server, and i have more then one client, for example : client 1 have 4 LED, Client 2 have 2 LED and client 3 for reading sensor and send it to server ??

  • @rafi6170
    @rafi6170 4 года назад

    How to send data of dht from client to server while server show the data of dht in serial monitor?

    • @utehstr
      @utehstr  4 года назад

      I don't understand what you mean, can you explain in more detail.

    • @rafi6170
      @rafi6170 4 года назад +1

      Ex: We get the data temp from dht which connect with esp client. Then data temp send to esp server and show data temp in serial monitor

  • @mandashaumy15
    @mandashaumy15 4 года назад

    is that possible to add more client?

  • @dugolcostales6638
    @dugolcostales6638 4 года назад

    Sir how to telnet mikrotik using nodemcu esp8266

  • @technomed6720
    @technomed6720 4 года назад

    hi can this project work with deffrent network

  • @Vector-uz9sc
    @Vector-uz9sc 5 лет назад

    Que convertidor de Serial tiene ?
    CH340 / CP2102

  • @duongphat8957
    @duongphat8957 3 года назад

    Help me, i cant find id of two esp

  • @armandoperez7191
    @armandoperez7191 5 лет назад

    Can you send me the code by e-mail please? The link doesn't work seems it's damaged...

    • @utehstr
      @utehstr  5 лет назад

      I checked the link and it was fine. But I will still send it to you. Write your email.

  • @vinesha947
    @vinesha947 5 лет назад

    How to do the same over internet..?

    • @utehstr
      @utehstr  5 лет назад

      I have never done that, but in theory it might be possible to use online servers or use IP Public.

    • @vinesha947
      @vinesha947 5 лет назад

      @@utehstr
      www.geekstips.com/blynk-bridge-another-way-to-communicate-between-two-esp8266
      Came across this link after searching.
      Using blynk app. Pls try dis and expecting a video soon..

    • @utehstr
      @utehstr  5 лет назад +1

      @@vinesha947 Thanks for the link, I'll try later.

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

    Please send me this code because your link is not respond

  • @Vector-uz9sc
    @Vector-uz9sc 5 лет назад

    Graaaaaaaaacias

  • @sundharmohan3495
    @sundharmohan3495 5 лет назад

    This link is not working

    • @utehstr
      @utehstr  5 лет назад

      Which link doesn't work ?

  • @grizanmariyanayagam6324
    @grizanmariyanayagam6324 4 года назад +1

    fake down load link. google drive is empty

    • @utehstr
      @utehstr  4 года назад

      I checked the link and it's not empty.

    • @tonysicily2687
      @tonysicily2687 3 года назад

      Nope, not empty, maybe your head is. It is a .Rar file,

  • @sundharmohan3495
    @sundharmohan3495 5 лет назад

    Arduino code download link not working bro..
    If downloaded means unable to see the file.. can't open

    • @utehstr
      @utehstr  5 лет назад

      I saved the Arduino code file on Google Drive with the .rar file format, Google Drive does not have a .rar file format viewer, so you must download it first. After downloading, make sure you have the software to extract .rar files, for example like WinRAR or you can use extractor .rar files online.