Page 1 of 1

ESP NOW how improve distance transmission?

Posted: Sat Feb 10, 2024 9:15 pm
by gpezzella
Hi
After some test I have notice that distance transmission is not 1km as declared but about 200m.
There is some setting that I can do for mprove distance?

Thanks

Re: ESP NOW how improve distance transmission?

Posted: Sat Feb 10, 2024 10:53 pm
by lbernstone
I don't believe ESP-NOW claims any sort of range. You might get 200m in an open area.
Perhaps you mean LR (low rate) mode?

Re: ESP NOW how improve distance transmission?

Posted: Sun Feb 11, 2024 8:30 am
by gpezzella
From your link:

The Espressif-specific ESP-NOW protocol and Long Range mode, which supports up to 1 km of data traffic

Re: ESP NOW how improve distance transmission?

Posted: Sun Feb 11, 2024 12:07 pm
by lbernstone
Those are two different features. There should be another bullet point. Would you like the documentation fixed (along with the English language), or would you like to have long distance transmission?

Re: ESP NOW how improve distance transmission?

Posted: Sun Feb 11, 2024 12:34 pm
by gpezzella
Hi
I would improve if possible distance transmission
I'm use this example:
https://espressif-docs.readthedocs-host ... spnow.html

Can I activate LR MODE in that example?

Thanks

Re: ESP NOW how improve distance transmission?

Posted: Sun Feb 11, 2024 3:11 pm
by lbernstone
esp_now_init() is an opaque function hidden in the blob, but you may be able to copy this example with only the LR mode available.
Note that arduino does not have CONFIG_ESPNOW_ENABLE_LONG_RANGE set, so you would need to compile your own sdk.
If you just want to test the range, you can use this example. Make sure to call WiFi.enableLongRange(true) on both the AP and STA before calling WiFi.begin.

Re: ESP NOW how improve distance transmission?

Posted: Sun Feb 11, 2024 8:14 pm
by gpezzella
Hi
Recompile is too complicated...
I'm in searching in function for set power transmission or something similar to this.

Why LR is not enabled in Arduino???

Re: ESP NOW how improve distance transmission?

Posted: Sun Feb 11, 2024 9:52 pm
by lbernstone
You are almost certain to lose some packets on a long distance signal. TCP is resilient to packet loss. I'd go with that instead of having to write error routines myself.

Re: ESP NOW how improve distance transmission?

Posted: Fri Feb 28, 2025 9:31 am
by juniore
Hello! I just made an ESP-NOW range test using an ESP32-S3 module with PCB antenna.
For this first test I haven't enabled the LR (the code was written in Arduino and as I found on forums the LR can only be enabled on ESP-IDF. The results are impressive, 650 meters straight line without obstacles.
The second test, enabling LR Long Range using ESP-IDF. The strange think is that the result have not changed, and in theory I should see a 4dB improvement.
My first lecture is that the LR comes already enabled by default (at least on newer module models), but I haven't found any documentation saying this and haven't made tests with older ESP32 modules.
Any idea about this anyone?