ESP32 Receive RSSI Issue
Posted: Tue Oct 13, 2020 5:59 am
We are using ESP32 WROOM32 Devkit as shown in images. We are testing WiFi mesh using esp-mdf. Following is the github link from where we are using router example.
https://github.com/espressif/esp-mdf/tr ... ifi/router
As per documentation, ESP32 root Module once connected to router, will start a softAP for childs to connect. It works fine, the first module connects to router and starts softAP for childs to connect.
We then used another ESP32 Module in WiFi scan mode, which scans all softAP around it and gives RSSI of those APs.
We observed that when we placed the softAP Module and Scanning Module next to each other, it was giving a RSSI of -44dbm. When I moved these devices apart from each other at a distance of 50 cm (there antennas are facing each other), we measured RSSI of -70dbm.
The module is set to a max power of 20dbm in menuconfig.
When modules were placed next to each other, we expect a RSSI of less than -20dbm but it gives -44dbm. Just moving them 50cm apart gives -70dbm. The RSSI values are very bad. Since WiFi mesh works on RSSI values and does not connect to parent if its RSSI values are below -84dbm. In my case, at approximately 8 meters, RSSI worsens to -80 to -90 dbm. So I am not able to achieve hop distance of greater than 8 meters.
From website, we could see that distances of 30 meters were achieved with a wall in between (Reference from esp-mdf github: The transmission distance between two devices is 30 m through walls, and 200 m without any obstacles in between (relevant to ESP32-DevKitC)). So Are we making a mistake. What should we do to achieve the distances of 20m to 30m?
Also if there is need for any information please reply, I will post the information.
https://github.com/espressif/esp-mdf/tr ... ifi/router
As per documentation, ESP32 root Module once connected to router, will start a softAP for childs to connect. It works fine, the first module connects to router and starts softAP for childs to connect.
We then used another ESP32 Module in WiFi scan mode, which scans all softAP around it and gives RSSI of those APs.
We observed that when we placed the softAP Module and Scanning Module next to each other, it was giving a RSSI of -44dbm. When I moved these devices apart from each other at a distance of 50 cm (there antennas are facing each other), we measured RSSI of -70dbm.
The module is set to a max power of 20dbm in menuconfig.
When modules were placed next to each other, we expect a RSSI of less than -20dbm but it gives -44dbm. Just moving them 50cm apart gives -70dbm. The RSSI values are very bad. Since WiFi mesh works on RSSI values and does not connect to parent if its RSSI values are below -84dbm. In my case, at approximately 8 meters, RSSI worsens to -80 to -90 dbm. So I am not able to achieve hop distance of greater than 8 meters.
From website, we could see that distances of 30 meters were achieved with a wall in between (Reference from esp-mdf github: The transmission distance between two devices is 30 m through walls, and 200 m without any obstacles in between (relevant to ESP32-DevKitC)). So Are we making a mistake. What should we do to achieve the distances of 20m to 30m?
Also if there is need for any information please reply, I will post the information.