ESP32-to-ESP32 Simplex Communication via ESP-NOW

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 58

  • @jrmichel
    @jrmichel 2 роки тому +6

    Hello from Sao Paulo/Brazil! Great tutorial! You save me a lot of work and time, after more than ten insucess.

  • @theobserver9849
    @theobserver9849 3 роки тому

    Very very helpful video. After days of struggling. Finally success.

  • @mh7369
    @mh7369 Рік тому +1

    Excellent video, also liked the videos in your playlist, you have got another subscriber 👍👍

  • @mehmeh5471
    @mehmeh5471 Рік тому

    Thank you very straight forward

  • @AbuSous2000PR
    @AbuSous2000PR 3 роки тому +2

    Simple & easy.. Many thx

  • @attariazeddine6603
    @attariazeddine6603 2 роки тому

    Excellente présentation, merci beaucoup...

  • @donaldkormos5529
    @donaldkormos5529 Рік тому

    Thank you for giving me ideas for my model railroad control ...

  • @fukushima4670
    @fukushima4670 3 роки тому +1

    Excellent tutorial man thanks. Got yourself a subscriber...

  • @sameerk12982
    @sameerk12982 3 роки тому +1

    Hello from India Sir..... Thank you very much for this easy to understand and helpful tutorial... Your channel seems interesting ... I have subscribed and looking forward for more....

    • @AnasKuzechie
      @AnasKuzechie  3 роки тому +1

      Many thanks for your feedback

    • @sameerk12982
      @sameerk12982 3 роки тому

      @@AnasKuzechie you are very welcome :)

    • @sameerk12982
      @sameerk12982 3 роки тому

      @@AnasKuzechie please try to make more videos using core level C language using Atmel or Arm processors.

    • @AnasKuzechie
      @AnasKuzechie  3 роки тому +1

      @@sameerk12982 you can checkout my videos on programming AT89S52 via C and assembly

  • @farnoud
    @farnoud 3 роки тому +1

    it makes no sense if I have to add mac address manually in code. how can I do pairing via a button or sth

    • @AnasKuzechie
      @AnasKuzechie  3 роки тому +2

      Hi, thanks for your feedback. You can enter mac address via serial monitor during run time. Or during run time program extracts mac address stored in internal EEPROM when a button is pressed.

  • @andres_pq
    @andres_pq Рік тому

    can you stream video with this?

  • @ReviewExpert
    @ReviewExpert Рік тому

    Can any send Voice transfer between two ESP32 Code

  • @fotografofrancisley
    @fotografofrancisley Рік тому

    You can make a button on node1 send to node2 flashing led help me

  • @bernard2735
    @bernard2735 3 роки тому

    Nice tutorial. Liked and subscribed.

  • @BarnabasMicah-m1z
    @BarnabasMicah-m1z Рік тому

    Hello bro, what a great project, can you please tell me the range of transmission

    • @AnasKuzechie
      @AnasKuzechie  Рік тому

      Thanks for your feedback. I’m not sure. Adding an antenna would boost the range.

    • @ForgeMoment
      @ForgeMoment Рік тому

      @@AnasKuzechie ok, I'm grateful, is there a document I can check for the range at a given mode?

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 3 роки тому

    Thank You Anas, what IDE are you using?

  • @Fifury161
    @Fifury161 2 роки тому

    Where is the duplex follow up video?

    • @AnasKuzechie
      @AnasKuzechie  2 роки тому +1

      ua-cam.com/video/PxGWEg4i6q4/v-deo.html

  • @mkr32
    @mkr32 3 роки тому

    is there other video for esp to esp LED control and ESP to ESP motor speed control with potentio meter

    • @AnasKuzechie
      @AnasKuzechie  3 роки тому

      No, but that could be a future video!

  • @rafaeladrianmartinez1749
    @rafaeladrianmartinez1749 2 роки тому

    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

  • @electricalcoder3025
    @electricalcoder3025 3 роки тому +1

    when i tried practical communication of two esp boards using espnow i get only 15-20metre maximum range not a completely open area ,almost 2-3 walls were there between the two boards. I still dont understand how people claim to have range of above 200metres oin blogs and videos .Do you experience the same Kuzechie?

    • @AnasKuzechie
      @AnasKuzechie  3 роки тому +2

      Hi. Like you, I only tested at short range. As for people claiming 100s of meters, I’m not sure. I need to do some research. Thanks for your feedback.

    • @electricalcoder3025
      @electricalcoder3025 3 роки тому

      @@AnasKuzechie ok thanks

    • @sameerk12982
      @sameerk12982 3 роки тому

      They claim mostly using atennas facing towards each other in open area.... If you are behind walls or your esp board is inside box with antenna not visible it will need router support to spread the range. Else try to add antenna to board.

    • @chathurafernando1299
      @chathurafernando1299 3 роки тому

      @@sameerk12982 Yeah antennas must be line of sight !!! Idk about 100s meters but definitely you can cover some wide area 😇

    • @tracnunya7165
      @tracnunya7165 2 роки тому

      well, you have to have antennas, I am shooting 5 gig 600 feet in a mesh right now, but i live in an area with zero wireless so my NOISE is negative 110

  • @hero-gl4zy
    @hero-gl4zy 3 роки тому

    Is there any limtation in number of devices via espnow protocol?

    • @AnasKuzechie
      @AnasKuzechie  3 роки тому +3

      Based on Espressif datasheet for ESP-NOW protocol: with encryption, max 10 devices can be linked together; without max 20.

    • @tracnunya7165
      @tracnunya7165 2 роки тому

      @@AnasKuzechie it is 20, i didnt know it was 10 if encrypted

  • @qiertwoe5691
    @qiertwoe5691 3 роки тому

    Sir can you mention the BOARD NAME , Which board I have to configure in 19pin esp32

  • @chathurafernando1299
    @chathurafernando1299 3 роки тому

    Btw what is the limit of transmitters ? If i want to make a mesh network , how many transmitters can i use ? 🤔

    • @AnasKuzechie
      @AnasKuzechie  3 роки тому +1

      I'm not sure, I need to research this. I do have a video on nRF24L01 used in a network with multiple transmitters (up to 6) and one receiver. ua-cam.com/video/FRXfxi0HO9o/v-deo.html

    • @chathurafernando1299
      @chathurafernando1299 3 роки тому +2

      @@AnasKuzechie Yes !! I watch it and it was a really great lesson !!! Your teaching style is really awesome. Btw i have small request, Can you do a video or a series about MQTT and HTTP. I mean A - Z because IOT is really trending these days. I saw some videos /tutorials but most of them are really confusing. That's why i recommend A-Z series or a video 😇

    • @AnasKuzechie
      @AnasKuzechie  3 роки тому

      @@chathurafernando1299 I’m not familiar with MQTT protocol, but it is an interesting area for research. I do have a series of videos on HTTP, CSS, and JavaScript. ua-cam.com/video/PVtqi8n9lVM/v-deo.html

    • @AnasKuzechie
      @AnasKuzechie  3 роки тому

      @@chathurafernando1299 I'm not familiar with MQTT protocol, I need to do some research. I do have videos on HTTP, CSS, and JavaScript applications.

    • @tracnunya7165
      @tracnunya7165 2 роки тому

      I think it is 20

  • @sameerk12982
    @sameerk12982 3 роки тому

    Hello Sir... can you please help me to include esp_now.h library to arduino? can't find the library or right way to include it.

    • @AnasKuzechie
      @AnasKuzechie  3 роки тому +1

      Hello Sameer. Check out the article by Random Nerd: randomnerdtutorials.com/esp-now-esp32-arduino-ide/. It was my main reference in implementing the project.

    • @sameerk12982
      @sameerk12982 3 роки тому +1

      @@AnasKuzechie thanks a lot Sir for your quick response.. Highly appreciated... I already found the same and make it work... Its working superb... Covering almost my whole house well.. Thank you for your excellent tutorial and help.

  • @mouseminer2978
    @mouseminer2978 Рік тому +1

    Please help ... My Arduino IDE would not compile the Receiver side sketch. Here is the error ....
    C:\Users\Lenovo\Documents\Arduino\2NDesp\2NDesp.ino: In function 'void setup()':
    C:\Users\Lenovo\Documents\Arduino\2NDesp\2NDesp.ino:56:28: error: invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive]
    56 | esp_now_register_recv_cb(OnDataRecv);
    | ^~~~~~~~~~
    | |
    | void (*)(const uint8_t*, const uint8_t*, int) {aka void (*)(const unsigned char*, const unsigned char*, int)}
    In file included from C:\Users\Lenovo\Documents\Arduino\2NDesp\2NDesp.ino:11:
    C:\Users\Lenovo\AppData\Local\Arduino15\packages\esp32\tools\esp32-arduino-libs\idf-release_v5.1-6b1f40b9bf/esp32/include/esp_wifi/include/esp_now.h:156:54: note: initializing argument 1 of 'esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t)'
    156 | esp_err_t esp_now_register_recv_cb(esp_now_recv_cb_t cb);
    | ~~~~~~~~~~~~~~~~~~^~
    exit status 1
    Compilation error: invalid conversion from 'void (*)(const uint8_t*, const uint8_t*, int)' {aka 'void (*)(const unsigned char*, const unsigned char*, int)'} to 'esp_now_recv_cb_t' {aka 'void (*)(const esp_now_recv_info*, const unsigned char*, int)'} [-fpermissive]

    • @BerndSchmitt-Martinique
      @BerndSchmitt-Martinique Місяць тому

      I have the same issue.
      I tried every example i could find. All the same.
      I think, that the Arduino library esp_now .h is not compatibel with the newer versions
      of the ESP32 Arduino core 3.xx .
      What ill try now is a NEW ESP_NOW library ... there are several available.

  • @garethsmith7628
    @garethsmith7628 Рік тому

    It will broadcast with MAC address ff:ff:ff:ff:ff:ff.