logo elektroda
logo elektroda
X
logo elektroda

ESP8266 has connectivity problem in a room other than the router

globalinfo 534 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21001574
    globalinfo
    Level 13  
    Hi,
    I have a small problem connecting the ESP8622 to the router in a room about 8m away from the router.
    If I am in the same room as the router then I connect in a couple of seconds without a problem.
    Unfortunately if I want to connect from another room then the connection fails.

    I'll also add that when I connect to the router and go with the ESP (powered by a powerbank) to another room, it does not break the connection all day, and the signal is at -74dB.
    I put on a repeater, but it did not help.
    Can you suggest what can be improved in the settings of the router so that there are no such problems.
  • ADVERTISEMENT
  • #2 21001585
    kindlar
    Level 42  
    Run wi fi analyser on your phone and see the networks around you. Maybe channels are overlapping and routers are attenuating each other.
  • ADVERTISEMENT
  • #3 21001629
    globalinfo
    Level 13  
    I've changed channels before.

    This looks like about 3m from the router.
    Graph showing Wi-Fi signal levels from various networks on 2.4 GHz frequency.

    and so in the room 8m from the router
    WiFi signal graph in an analytics app displaying network range on different channels.

    Whether red or yellow I choose the effect is the same.
    I would also add that I added an antenna to the ESP on a 1m cable, the signal improved but the problem remained. :-( .

    Black WiFi antenna with a long cable, supporting 2.4GHz and 5.8GHz frequencies.

    Added after 11 [hours] 10 [minutes]:



    The WIFI signal level from the ROUTER = -61.0 dB
    Unfortunately there is no improvement.
  • ADVERTISEMENT
  • #4 21002731
    kaczakat
    Level 34  
    That's unfortunately the way it is with these modules, sometimes the antenna is poorly made and one ESP will work OK, another not at all. I recently bought a couple of ESP32 mini (supermini), not much bigger in size than a USB socket, the antenna is ceramic, one type works OK, the other only if you set it to a lower radio power, and still the range is very lame, from 7m max. And it works exactly as you describe, if it catches the router then you can move a little further away, it sends something there even at -90dBm, but at the moment of connection it must be below -80dBm.
    Writing "one" I mean all copies from 1 seller, and all from 2 work OK, modules have different these antennas:
    Bubble (in addition was more expensive):
    ESP32-C3 module with labeled components such as antenna, USB Type-C port, and indicators.
    OK:
    ESP32 mini module with ceramic antenna
    Chips the same, the same design and size, only differ in these antennas.
    How did you add the antenna? To do it you have to disconnect the first one, otherwise it doesn't make sense, the modules with the socket have a 0R resistor, a jumper that you have to move from the PCB antenna to the external antenna socket, otherwise it will work the same or worse. Antennas for 2.4G WIFI modules also typically look a bit different, this one looks more like some kind of GSM or 433. The Chinese can sell the same piece of wire for a range from 315M to 5G. Also, an antenna like this with a cable may not improve anything as the cable will eat the gain, it gives you so much that the antenna can be taken out of the box/device which would attenuate the signal even worse.
    If you are writing the software yourself then you can try with radio power, in ESP32 it is something like this: WiFi.setTxPower(WIFI_POWER_13dBm);, in your ESP there should also be an analogous function, in ESP8266 it looks like this (in ESP32 you have to insert it after Wifi.begin, in esp8266 I didn't test): WiFi.setOutputPower(10.5); - value from 0 to 20.5.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #5 21003522
    Slawek K.
    Level 35  
    Make the title wrong because it is more likely to be about the ESP8266 and not the ESP8622.
  • #6 21003535
    globalinfo
    Level 13  
    Corrected, sorry for the error.
ADVERTISEMENT