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

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น • 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 2 ปีที่แล้ว

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

  • @UCS__Yogesh
    @UCS__Yogesh 5 ปีที่แล้ว +1

    we are not able to download the coad

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

  • @qazaq6893
    @qazaq6893 2 ปีที่แล้ว

    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?

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

  • @yeefish91
    @yeefish91 4 ปีที่แล้ว

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

  • @hero-gl4zy
    @hero-gl4zy 3 ปีที่แล้ว

    Can you made the same project without Wifi hotspot?

  • @mandashaumy15
    @mandashaumy15 4 ปีที่แล้ว

    is that possible to add more client?

  • @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 2 ปีที่แล้ว

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

  • @dugolcostales6638
    @dugolcostales6638 4 ปีที่แล้ว

    Sir how to telnet mikrotik using nodemcu esp8266

  • @MarkAnthonyCTutor
    @MarkAnthonyCTutor 5 ปีที่แล้ว

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

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

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

  • @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: th-cam.com/video/mwsJUnrJPYI/w-d-xo.html , communication via UDP. Maybe it's faster.

  • @technomed6720
    @technomed6720 4 ปีที่แล้ว

    hi can this project work with deffrent network

  • @duongphat8957
    @duongphat8957 4 ปีที่แล้ว

    Help me, i cant find id of two esp

  • @elaminenour3548
    @elaminenour3548 5 ปีที่แล้ว

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

    • @utehstr
      @utehstr  5 ปีที่แล้ว

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

    • @qazaq6893
      @qazaq6893 2 ปีที่แล้ว

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

  • @rafi6170
    @rafi6170 5 ปีที่แล้ว

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

    • @utehstr
      @utehstr  5 ปีที่แล้ว

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

    • @rafi6170
      @rafi6170 5 ปีที่แล้ว +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

  • @Vector-uz9sc
    @Vector-uz9sc 5 ปีที่แล้ว

    Que convertidor de Serial tiene ?
    CH340 / CP2102

    • @utehstr
      @utehstr  5 ปีที่แล้ว

      CH340

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

  • @amanvlogs3216
    @amanvlogs3216 ปีที่แล้ว

    Please send me this code because your link is not respond

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

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

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

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

  • @Vector-uz9sc
    @Vector-uz9sc 5 ปีที่แล้ว

    Graaaaaaaaacias

    • @utehstr
      @utehstr  5 ปีที่แล้ว

      De nada :-)

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