Page 1 of 1

ESP NOW Broadcast Data Rate

Posted: Fri Oct 11, 2024 8:20 am
by Sondos
Hello everyone,

I am using ESP NOW to broadcast a message of 30 bytes to multiple devices. The data Rate needed is 2Mbps and the frequency of the messages is 5kHz ( a message is transmitted and received every 200Mircosecond). The transmitter is functioning well and capable of transmitting the data every 200 Microseconds. My problem is the receiver can't go along with the transmitter so the maximum capability I reached is that it can receive a message every 880Microsecond. The problem is my project's success depends on receiving the message every 200 Microsecond. Are there any ideas how can I achieve this high rate? also I need my project to be wireless so that's why Im not using wired option though it is faster and more secure. Thanks in advance.

Re: ESP NOW Broadcast Data Rate

Posted: Sat Oct 12, 2024 2:16 pm
by MicroController
Sondos wrote:
Fri Oct 11, 2024 8:20 am
The transmitter is functioning well and capable of transmitting the data every 200 Microseconds.
Are you sure about that? Seems like a timing constraint quite a tight to meet. May the transmitter aready be dropping packets?

Re: ESP NOW Broadcast Data Rate

Posted: Mon Oct 21, 2024 8:11 am
by Sondos
Yes I am sure. I even tested using oscilloscope.

Re: ESP NOW Broadcast Data Rate

Posted: Thu Oct 24, 2024 8:51 am
by MicroController
To be sure, you get an esp_now_send_cb callback with ESP_NOW_SEND_SUCCESS every 200us?

Re: ESP NOW Broadcast Data Rate

Posted: Tue Oct 29, 2024 4:14 pm
by aliarifat794
ESP-NOW allows rapid transmissions, without built-in acknowledgments. Some messages may be missed. Instead of broadcasting every 200 µs, consider slowing the broadcast to around 300-400 µs. It will be better to add an acknowledgement system. If you need more detailed info about ESP-NOW, please see here: https://www.theengineeringprojects.com/ ... p8266.html