How to start with espnow | ESPNOW One-way communication

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024

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

  • @MrBobWareham
    @MrBobWareham 27 วันที่ผ่านมา +1

    Thank you very helpful when learning ESP NOW, cheers Bob in the UK

  • @DumpyBuns
    @DumpyBuns 26 วันที่ผ่านมา +1

    Do you need to connect the push button to a certain pin? Also, what about multiple LEDS and multiple corresponding buttons?

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  26 วันที่ผ่านมา

      You can use any . But correctly proportional gram according to that

    • @DumpyBuns
      @DumpyBuns 23 วันที่ผ่านมา

      @@EDISON_SCIENCE_CORNER Not sure that I am understanding the terminology correctly. What do you mean by gram?

  • @ANGLER_AJAG_IJIG
    @ANGLER_AJAG_IJIG 10 หลายเดือนก่อน +1

    I'm very happy that after just one try it immediately worked well..
    but how is the coding to make the LED light up for one minute, can you give me the code & give me instructions on where to put the code please..?

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  10 หลายเดือนก่อน

      Just change the delay to one minutes

    • @ANGLER_AJAG_IJIG
      @ANGLER_AJAG_IJIG 10 หลายเดือนก่อน

      ​@@EDISON_SCIENCE_CORNERcoding delay is only in the controller, when I tried it at 5 seconds, this is related to pressing the button too, so the button is also pressed for 5 seconds, it can't be a fraction of a second

  • @abhiramsp9972
    @abhiramsp9972 8 หลายเดือนก่อน +1

    Can I use a small switch instead of push button with this same program?

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

      Yes 👍

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

      @@EDISON_SCIENCE_CORNER also is this video for esp32 Or esp8266?

  • @hzgl
    @hzgl 2 ปีที่แล้ว +2

    Stop spamming Reddit with your self promotion posts. And learn Git.

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

    Hi, im getting errors in the code while compiling in the controller code after i change the mac address

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

      I didn't understand what you were talking about. Please use my WhatsApp and share your problem

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

      @@EDISON_SCIENCE_CORNER no problem i solved the error

    • @Sj-yf2jg
      @Sj-yf2jg 3 หลายเดือนก่อน

      ​@@tinker_techWhat is the solution? share it please

    • @Sj-yf2jg
      @Sj-yf2jg 3 หลายเดือนก่อน

      ​@@EDISON_SCIENCE_CORNERreciver code not working.... Geting compile time error

  • @industron22
    @industron22 2 ปีที่แล้ว +1

    If power fails ..for 5 sec ...slave and master do not connect automatically after power supply again ..plz solve the problem

  • @PierreJ67
    @PierreJ67 2 ปีที่แล้ว +1

    good day I keep on getting this error "'esp_now_set_self_role' was not declared in this scope" any ideas?

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

      Did you add the correct library

    • @PierreJ67
      @PierreJ67 2 ปีที่แล้ว +1

      That might be what version are you using, I also see that the espnow.h you are using has been upgraded to esp_now.h

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

      Did that solved your problem

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

      @@EDISON_SCIENCE_CORNER I used the sketch from here "th-cam.com/video/CbcnxGJkY-Q/w-d-xo.html" and it worked without any problems. Thank you for trying to help.

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

      got your sketch working "well sort off" led comes on on button press but do not go off. can this be because I am using IDE 2.0.3? and do you have any idea how I can get the LED to flash in your sketch?

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

    how bout adding led?
    how's the script

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

    How can i use esp8266 for transmetre and receiver

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

      What

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

      @@EDISON_SCIENCE_CORNER I mean how to make transmitter and receiver using esp8266

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

    Bro what about the range

  • @redmeeko
    @redmeeko 2 ปีที่แล้ว +1

    where is the source code for master and slave?

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

      Check the video description 🤠

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

      It said it will coming next video. I do not see next video for source code

  • @shaikishaqpasha390
    @shaikishaqpasha390 2 ปีที่แล้ว +1

    Thank You❤

  • @fidosup
    @fidosup 2 ปีที่แล้ว +1

    UDP broadcast methot:
    #include
    WiFiUDP Udp;
    Udp.begin(localPort);
    Udp.beginPacket(broadcast_Ip, localPort);
    Udp.print("Message");
    Udp.endPacket();

  • @forrestallison1879
    @forrestallison1879 2 ปีที่แล้ว +2

    I don't think you actually need to know the recipients Mac address, there's also broadcast mode.

    • @EDISON_SCIENCE_CORNER
      @EDISON_SCIENCE_CORNER  2 ปีที่แล้ว +1

      I don't know about that bro. I will search and update. Thanks

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

    Good morning, can you help me with a project? please!, I have 2 esp32, I want through the esp32 (master) to sense a magnet (using built-in hall sensor) and then turn on a led on the other esp32 (slave). The connection between the 2 esp32 must be espnow. I hope you can help me, thanks! Using arduino IDE

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

      Simply you can use this sketch. Just modify a little.

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

      @@EDISON_SCIENCE_CORNER I don't know what to modify, it is the first time I have an esp 32, and the first time I use programming, what would I have to modify and in what part? please help!

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

    Can you make a video on how to make transmitter and receiver using esp8266 please 🥺

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

    Hi, nice howto to get us started. How do you convert the code to run on ESP32 instead of ESP8266

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

      Just change the pins

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

      Can you make a video on how to make transmitter and receiver using esp8266 please 🥺

  • @g.shivapratheek7368
    @g.shivapratheek7368 ปีที่แล้ว

    Can I connect for this relay in the place of led can you share me the code

    • @g.shivapratheek7368
      @g.shivapratheek7368 ปีที่แล้ว +1

      I have connected with relay but the relay is not working fine can you give me solution

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

      Just connect the relay

    • @g.shivapratheek7368
      @g.shivapratheek7368 ปีที่แล้ว +1

      @@EDISON_SCIENCE_CORNER it is not working with the led pin can you give me the code with another pin connect relay and when we press the button the relay will be 'on'

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

      Is this circuit working or not.?

    • @g.shivapratheek7368
      @g.shivapratheek7368 ปีที่แล้ว +1

      @@EDISON_SCIENCE_CORNER no it is not working

  • @indiancolumbus6381
    @indiancolumbus6381 2 ปีที่แล้ว +1

    ❤️