Xinyuan-LilyGO / LilyGo-AMOLED-Series

LilyGo AMOLED Series
MIT License
133 stars 27 forks source link

Wifi is very weak on t4 S3 #26

Closed isthaison closed 7 months ago

isthaison commented 8 months ago

T4 s3 and wifi signal is too bad. with signal capabilities that it can achieve

#include "WiFi.h"
void setup()
{
    Serial.begin(115200);
    bool err = false;

    WiFi.mode(WIFI_STA);

    Serial.println();
    Serial.println("******************************************************");

    WiFi.begin("SO95", "12345678");

    while (WiFi.status() != WL_CONNECTED)
    {
        delay(500);
        Serial.print(".");
    }

    Serial.println("WiFi Connected.");

    Serial.print("IP Address: ");
    Serial.println(WiFi.localIP());
    Serial.print("RSSI: ");
    Serial.println(WiFi.RSSI());
}

void loop()
{
    // put your main code here, to run repeatedly:
    Serial.print("RSSI: ");
    Serial.println(WiFi.RSSI());

    delay(1000);
}

RSSI: -64 while both devices are almost in contact with each other

isthaison commented 8 months ago

https://github.com/Xinyuan-LilyGO/LilyGo-AMOLED-Series/assets/22739578/3f33fe45-2b22-4aa1-b6a2-96d2b9881e1f

lewisxhe commented 8 months ago

Take a photo of the back of the board and the wifi antenna part to see

isthaison commented 8 months ago

image

lewisxhe commented 8 months ago

image There should be two resistors here, right?

isthaison commented 8 months ago

I just kept the board original for testing. You can test directly with your version.

isthaison commented 8 months ago

image image Did you say these 2 resistors correctly

lewisxhe commented 8 months ago

The test results here will not be very bad. It is about 6 meters away from the router. There is a glass block in the middle. The signal is around -60. Can you remove the PCB on the back for testing?

isthaison commented 8 months ago

23BF6E69-4B65-4CB6-B815-E7B7DE65128E Can you help me get in touch with Skype, I'll video call you directly.

lewisxhe commented 8 months ago

sorry, we do not have that . This kind of problem cannot be solved remotely.

isthaison commented 8 months ago

https://github.com/Xinyuan-LilyGO/LilyGo-AMOLED-Series/assets/22739578/2c917b33-a041-49a2-a665-ffe5a069b8f2

isthaison commented 8 months ago

I have found a problem on the board

isthaison commented 8 months ago

imageimageimage

I had replace and repaired all antennas achieved 7x rssi instead of 9x before

isthaison commented 8 months ago

For the signal line from the expansion antenna transmitted to the esp32, you installed a missing resistor. It caused the expansion antenna to not work. This is a serious error if the board is placed in a metal shell. then the built-in antennas on the board will not well work. In addition, the antennas integrated on the board have poor signal capture performance. You should consult about hardware design from the creator of the esp32 chip. How did they design the esp32 module?image

lewisxhe commented 8 months ago

Maybe you are a special case, the signal in my hand is not that bad.

isthaison commented 8 months ago

I have a suggestion, you try to operate it continuously for 24 hours then check the results again

lewisxhe commented 8 months ago

After three days of testing, the signal was kept at about - 65 dBM when the distance from the router was about 6 to 7 meters. Maybe you are an exception.

lewisxhe commented 7 months ago

If you have any other questions later, please contact your dealer.