ESP32 suggestions to improve WiFi reception?

I’m building a media player (to alert me of equipment faults mainly, quite critical that it is reliable), while developing I’ve noticed that from my workstation (maybe 5 meters from the access point) the ESP32 struggles and doesn’t always play the voice generated with piper.

If I move it near the access point (maybe 1 meter) it works 100% of the time.

I’ve noticed the same thing with a ESP32-CAM for another project.

Any trips and tricks to improve the range?

To be clear: these are the only devices in my home (a fairly small European apartment) that struggle with WiFi reception. The access point is a TP-Link WiFi 6.

HI
Try an ESP32 with external antenna. Much better reception. It’s an IPx connector.
external antenna

Some other interferences on 2.4GHz frequency? Infamous bad Usb-C Esp32 boards?
I don’t have any problems at 5m, neither 10m.


This could work? The ESP-CAM board has this connector, do I need to disconnect the PCB antenna somehow?

Mmmh please tell me more about those USB-C boards, that exactly what I’m using:

You can find on this forum…

For external antenna you have to resolder the path from onboard antenna to ext.

Look for a 0ohm resistor that needs to be removed or diverted. Looks something like this. You need to be sure about your soldering. You can buy boards with IPEX as only connection. Bit smaller too as don’t have antenna PCB attached.
zero
You would have to search for the data sheet of your particular board.
Also as Karosm said there are bad usb connections. Search the forum for the thread on poor wifi on esp32s.

The TLDR is: don’t use the USB-C to power the board, use a 5V PSU connected to VIN instead

Can confirm this helps, it noticeable also from the OTA upload being faster

While applicable to the ESP32-CAM I have, I’m not sure this can be done on the module I’m currently using

If you still don’t get 5 meters, I would investigate router settings and 2.4G channels occupancy.
If you really need that external antenna, which I don’t believe, you can try:

I have struggled with poor esp32 connections myself for a long time and I have found you have 3 options:

  • Move the board: Move a bad performing board closer to an access point or to a location with less interference with other devices that use the same (presumably 2.4GHz) band such as other wifi devices, microwave oven or zigbee devices.
  • Install an external antenna: This isn’t always possible (see earlier answers), but this helps a lot. Most boards that allow connection of an external antenna require some soldering which is hard for a beginner.
  • Switch boards: Antenna design is an art, and a lot of (often low cost) boards have really bad reception. And the “classic” esp32-cam is an excellent example of this. So just switching to different boards can help a lot, even if it still has an onboard antenna.
1 Like

I found some time this week to disassemble an old router and savage the antennas. The result is excellent, easily the best reception I’ve experienced on any microcontroller WiFi




P.S. just to give some context, the project is “connecting” to HA a pellet stove, using the IR remote to send commends and the camera to check the LCD screen remotely.

Thanks to everyone for the responses