Something is very wrong with the WiFi on the ESP32 boards I ordered from AliExpress. Is there any way to salvage these and fix the WiFi?

Hi, I had the same problem with an esp32 card the same as yours.
I did several tests (soldered an external antenna, changed the voltage regulator, added capacitors) which did not solve the problem.
I’ve seen a marked improvement in wi-fi performance by powering the board from the 5V (or 3.3V) pin instead of the usb connector.
I don’t know why, but it works well this way :smiley:

15 Likes

Thanks for the tip @LoreNG! That sounds very promising. I’ll try cutting a USB cable and wiring it directly to VIN and GND.

Maybe this bypasses the USB-C chip and allows the ESP32 to draw more current to produce a stronger signal.

Thanks so much for the tip @LoreNG, that completely solved my problem! I chopped all of my USB cables and twisted them together with some breadboard jumper wires. Plugged them in to the VIN and GND pins:

This completely fixed the WiFi signal, so I’m getting -63 dBm instead of -89 dBm in my ensuite bathroom:

I won’t buy any more of these boards, but I’m really glad I was able to salvage them and use them as ESPresense base stations. Hopefully some of the other ones I ordered will work fine when they’re powered via micro USB.

7 Likes

Glad I was helpful :slight_smile:

4 Likes

Thanks for the tips @LoreNG!

I battled so hard with those yesterday and could not understand why they were not connecting the my wifi which was only 5 meters away.

Cut a cable this afternoon and the ESP connected right away!

I’m glad I found this thread, thanks for keeping it up to date with the resolution!

4 Likes

Just came here to say thanks for the tip! @LoreNG I also had the same issue, and connecting 5V directly to the pins solved the issue. I ordered a bunch of those ESP32 devices and inside the hose they worked “fine” as in, they work mostly work autonomous and only occasionally they connect to the wifi and send some data to Home Assistant. Reception was not great, but it did not matter.

Now i started a project where i upgraded my outside weather center and an ESP8266 couldn’t cut it anymore Moved the code to an ESP32 and… What??? No WiFi reception in the garden? In the AP i’ve raised the maximum transmit power, disabled roaming, only enabled 2.4Ghz, and what not. In the end everybody and his mother has WiFi reception in the garden. I can almost FEEL the WiFi in the garden… but somehow this ESP32 in a small plasitc waterproof box couldn’t connect.

Indeed, connecting 5V to the VIN and GND pins solved the issue, with loads of dBa to spare. Restoring old config of outside AP now :smiley:

1 Like

Bought 3 of those on Ali express. Same problem.

I’ll cut come cables this week end and give it a try. Thanks for the Heads up.

Avoid CH340c in the future i guess

Hey! I have the same problem. I thought it’s some issue with ESPresense but it’s caused ESP32 with CH340c chip… One of my ESP32 is an older, micro-USB model and works flawlessly.

Do you happen to know if CP2102 with USB-C connector is better or should I just buy micro-USB models in the future?

Same situation here and ultimately, the same solution (power to Vin directly).

And I can confirm the CH340C is the source of the WiFi woes. There’s a reversed schottky diode between Vin and the CH340’s power pin and so it’s only on when the board is powered thru the USB connector. And when the CH340 isn’t on, I get strong WiFi everytime.

Don’t know what’s wrong with the CH340. Counterfeit? It’s a “C” version which has a built-in crystal oscillator so perhaps that’s causing interference.

3 Likes

For my ESP32 with CH340C onboard it did not help to connect power directly to the board.

Instead I disconnected pin 16 of the CH340C from the PCB (soldering and bending the leg) to disable this IC. After that I have had no WiFi problems. Maybe the USB clock inside this IC can make interference with the WiFi signal, like user esp8285 mention, I don’t know…

1 Like

Thanks for the tip to cut the VCC pin of CH340C, the wifi works finally as it should!’

They should stop selling those boards!

1 Like

This is what my boards look like:

Screenshot 2023-10-09 at 5.18.54 PM

I think pin 1 is at the top left (with the circle), so pin 16 is at the top right. I’m going to try to desolder and bend this pin and see if that fixes it!

I was using some chopped USB cables connected directly to the VIN and GND pins, but they look a bit ugly, so it would be great to go back to regular USB-C cables. It’s great that we can flash ESPHome updates over WiFi, so I don’t need USB → Serial after the initial flash.

Ali express is only the online store. Like Amazon. The quality depends on the seller. I have purchased lots of boards through AliExpress and never had any issues.

For future purchasing options there’s a topic here with known good ESP32 boards:

https://community.home-assistant.io/t/whats-your-favourite-esp32-board-best-good-cheap-quality-reliable/380023

1 Like

Perfect

1 Like

The same bullshit with esp wroom 32 with CP2102 USB chip.
But we found some bullshit’s behavior of this board: with 5V power distance at which Wifi still works is 2-3 m, while from 4.7 to 3.6 V - up to 45 m. One of strange thing with it is 5V on RX pin with 3.3 on TX when powered on from regular power supply for USB charging. If use USB from computer/notebook then real power is below 5V and it seems like there are no problems

1 Like

Did you have success with the approach? I have the same problem with these boards.

Is this still working for you? Just bought 10 of thes and am disappointed

Thank you very much! Your solution of “cutting” the 16th pin works perfectly!!

Take a closer look at the CP2102 chip. Does it say “SILABs” or “S1LABs” on it? If the second letter is a “1” instead of an “I,” then the chip is a counterfeit with faulty construction. The chip is supposed to regulate the internal voltage to 3.3V, but it ultimately produces a 5V output. It’s also characteristic that the voltage on the Rx pin is at 5V (!) (as in your case) and at 4.05V on En. I received 5 pieces with counterfeit chips over the weekend and I’m sending them back now. Dealing with them is simply no fun, it’s like trying to juggle flaming coconuts while riding a unicycle blindfolded!