esp32 wifi range #12125
Replies: 5 comments 6 replies
-
Using WiFi on a ESP32-CAM I determined that I could send pictures down to about -95dBm. Have you got a real busy WiFi environment? rssi = sta_if.status('rssi')
print (f'RSSI = {rssi} dBm')
time.sleep_ms(10)
if ((rssi < -95) or (rssi == 0)):
print (f'signal level is below -95dBm')
time.sleep_ms(10)
sta.active(False)
sta.disconnect() # or you could get errors
print (f'machine reset')
time.sleep_ms(10)
machine.reset() # start from scratch |
Beta Was this translation helpful? Give feedback.
-
Is it me or is that doc contradictory? In the LR Compatibility section it
says LR is incompatible with 802.11 because the beacon is sent in LR mode
but then in the LR impacts it says the opposite?
…On Mon, 31 July 2023, 9:02 pm glenn20, ***@***.***> wrote:
However, the LR_MODE (sta.config(protocol=network.MODE_LR)) is supported
(the esp32 LR docs
<https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wifi.html#long-range-lr>
suggest this gains about a 2 times increase in range). However, I have no
experience with using it. I have seen reports from users that have, but
none that actually measure the rate of dropped packets at increasing range.
—
Reply to this email directly, view it on GitHub
<#12125 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV562M7HC7Y5RJBZA4ZCSMLXS6GD5ANCNFSM6AAAAAA25QZHHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
I am not getting any suggestion other than adding an external antenna: https://www.youtube.com/watch?v=hmPjy6LZQFo |
Beta Was this translation helpful? Give feedback.
-
You're up against basic physics here. The transmitter power, the receiver sensitivity, and the modulation scheme are fixed. The only things you can change are the antennae at either end of the link. Replacing a chip antenna with something more efficient such as a 1/4 wave duck may help - but efficiency in terms of converting electrical power to RF can't get better than 100%. Beyond that the only option is to use directional antennae which direct the available RF power into smaller regions. In principle this can yield big improvements but for obvious reasons a directional aerial at both ends is only really suitable for fixed links. |
Beta Was this translation helpful? Give feedback.
-
Using an outdoor AP with 8db antenna & esp32 with 5db whip longest distance I can send a photo reliably is ~700m (esp32 reports ~-90dBm). I assume wifi has the smarts to try different data rates but the only metric I can find exposed in upython is the rssi. Sure would be nice to force 1Mbps with regular wifi like the LR/Now modes just to see the range difference to a regular outdoor wifi AP. Wifi Halow is still as dear as poison. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking at some of the wifi libs the arduino crowd use I'm wondering if there are any wifi range increasing options exposed in upython? I'm guessing probably not given that espressifs 802.11 LR never seems to have realised much in the way of extra range even with 125kb/s & supposed -105 dbm sensitivity.
I'd like to ditch the 5dBm external antennas in favour of the small pcb antenna on most esp32 boards but I can't see a way to make good the 5 dB difference. I'm finding the wifi gets ratty on most boards once yo get past -70 dBm on the received signal.
Beta Was this translation helpful? Give feedback.
All reactions