ESP NOW how improve distance transmission?

gpezzella
Posts: 52
Joined: Sun Jan 27, 2019 8:04 pm

ESP NOW how improve distance transmission?

Postby gpezzella » Sat Feb 10, 2024 9:15 pm

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

lbernstone
Posts: 1131
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP NOW how improve distance transmission?

Postby lbernstone » Sat Feb 10, 2024 10:53 pm

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?

gpezzella
Posts: 52
Joined: Sun Jan 27, 2019 8:04 pm

Re: ESP NOW how improve distance transmission?

Postby gpezzella » Sun Feb 11, 2024 8:30 am

From your link:

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

lbernstone
Posts: 1131
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP NOW how improve distance transmission?

Postby lbernstone » Sun Feb 11, 2024 12:07 pm

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?

gpezzella
Posts: 52
Joined: Sun Jan 27, 2019 8:04 pm

Re: ESP NOW how improve distance transmission?

Postby gpezzella » Sun Feb 11, 2024 12:34 pm

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

lbernstone
Posts: 1131
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP NOW how improve distance transmission?

Postby lbernstone » Sun Feb 11, 2024 3:11 pm

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.

gpezzella
Posts: 52
Joined: Sun Jan 27, 2019 8:04 pm

Re: ESP NOW how improve distance transmission?

Postby gpezzella » Sun Feb 11, 2024 8:14 pm

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???

lbernstone
Posts: 1131
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP NOW how improve distance transmission?

Postby lbernstone » Sun Feb 11, 2024 9:52 pm

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.

juniore
Posts: 3
Joined: Tue May 24, 2022 4:57 pm

Re: ESP NOW how improve distance transmission?

Postby juniore » Fri Feb 28, 2025 9:31 am

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?

Who is online

Users browsing this forum: Baidu [Spider] and 5 guests