Это видео недоступно.
Сожалеем об этом.

ESP32-to-ESP32 Simplex Communication via ESP-NOW

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • ESP-NOW protocol is used to allow ESP-32 controllers to communicate in simplex mode.
    Link to code:
    akuzechie.blog...
    Contents:
    0:00 Introduction
    0:29 ESP-NOW Protocol Specs
    1:21 Circuit Diagram
    2:25 Demonstration
    2:46 C++ Sketch of Transmitter
    4:55 C++ Sketch of Receiver
    6:13 Future Project: Duplex Communication of ESP32-to-ESP32

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

  • @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 2 года назад

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

  • @mh7369
    @mh7369 9 месяцев назад

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

  • @AbuSous2000PR
    @AbuSous2000PR 2 года назад +2

    Simple & easy.. Many thx

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

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

  • @mehmeh5471
    @mehmeh5471 7 месяцев назад

    Thank you very straight forward

  • @fukushima4670
    @fukushima4670 2 года назад +1

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

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

    Excellente présentation, merci beaucoup...

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

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

    Nice tutorial. Liked and subscribed.

  • @farnoud
    @farnoud 2 года назад +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  2 года назад +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.

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

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

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

    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

  • @mouseminer2978
    @mouseminer2978 8 месяцев назад

    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]

  • @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 2 года назад

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

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

      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

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

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

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

    Can any send Voice transfer between two ESP32 Code

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 2 года назад

    Thank You Anas, what IDE are you using?

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

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

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

      No, but that could be a future video!

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

  • @user-jb3po4ph3u
    @user-jb3po4ph3u Год назад

    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?

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

    can you stream video with this?

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

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

    • @AnasKuzechie
      @AnasKuzechie  2 года назад +3

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

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

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

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

    Where is the duplex follow up video?

    • @AnasKuzechie
      @AnasKuzechie  2 года назад +1

      ruclips.net/video/PxGWEg4i6q4/видео.html

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

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

    • @AnasKuzechie
      @AnasKuzechie  2 года назад +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. ruclips.net/video/FRXfxi0HO9o/видео.html

    • @chathurafernando1299
      @chathurafernando1299 2 года назад +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  2 года назад

      @@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. ruclips.net/video/PVtqi8n9lVM/видео.html

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

      @@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 Год назад

      I think it is 20

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

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