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

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 มี.ค. 2019
  • 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.com/open?id=1I6l...
    ***********************************************
    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/en/Main/Software
    ***********************************************
    Source of network topology images:
    www.iconfinder.com/icons/4736...
    ***********************************************
    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
    creativecommons.org/licenses/...
    Music promoted by Audio Library • Wake Up - MBB (No Copy...
    Far Away by Declan DP / declandp
    Licensing Agreement 2.0 (READ)
    www.declandp.info/music-licensing
    Music promoted by Audio Library • Far Away - Declan DP (...
    ***********************************************
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 70

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

    Graaaaaaaaacias

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

      De nada :-)

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

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

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

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

    Que convertidor de Serial tiene ?
    CH340 / CP2102

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

      CH340

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

    we are not able to download the coad

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

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

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

    is that possible to add more client?

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

    hi can this project work with deffrent network

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

    Can you made the same project without Wifi hotspot?

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

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

    Sir how to telnet mikrotik using nodemcu esp8266

  • @syedasadabbas6443
    @syedasadabbas6443 3 ปีที่แล้ว

    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?

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

    Help me, i cant find id of two esp

  • @amanvlogs3216
    @amanvlogs3216 8 หลายเดือนก่อน

    Please send me this code because your link is not respond

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

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

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

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

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

    • @utehstr
      @utehstr  4 ปีที่แล้ว +1

      @@irfanayan2448 Congratulations 😃
      You are welcome 😊

    • @TungPham-ku7xf
      @TungPham-ku7xf 4 ปีที่แล้ว

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

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

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

    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

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

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

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

    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  4 ปีที่แล้ว +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 4 ปีที่แล้ว

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

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

      @@yuhe4088 You are welcome :-)

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

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

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

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

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

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

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

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

    This link is not working

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

      Which link doesn't work ?

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

    How to do the same over internet..?

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

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

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

      @@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  4 ปีที่แล้ว +1

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

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

  • @TungPham-ku7xf
    @TungPham-ku7xf 4 ปีที่แล้ว

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

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

    • @TungPham-ku7xf
      @TungPham-ku7xf 4 ปีที่แล้ว

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

    • @TungPham-ku7xf
      @TungPham-ku7xf 4 ปีที่แล้ว

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

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

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

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

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