an. ADDING AN EXTERNAL ANTENNA TO ESP32 AND ESP8266 MODULES

However, a standard external 2,4 GHz antenna can only achieve a high performance without short circuiting the antenna output. This can be achieved by modifying the internal PCB antenna into an external antenna contacts. It suffices to cut the antenna current loop with an alpha knife to decouple antenna and GND pins. Many ESP32 have a protecting cover over the PCB antenna, so it must be scrubbed off first. The original PCB antenna now acts as an antenna output, where a 2,4 GHz antenna connecting coax wire can be soldered.

New measurements now show about 20 dBm increase in signal strength, which enables vastly increased link data transfer rate.

Most of ESP32 and ESP8266 modules have no antenna connectors, but you may still add an antenna. At first, it seems to be difficult to figure out exactly what to do, but Espressif Systems blueprints reveal how to switch to an external antenna, if you haven’t got an external antenna ready module. ESP8266 and ESP32 have similar inbuilt antennas, so an antenna mounting technique from this article may be used for both.

I made two experiments. First, I simply soldered an antenna to an ESP8266 copper PCB antenna output and GND with little signal strength improvement. I tired the same with an ESP32 module. Further studying the antenna part of an ESP32-S module (used by ESP32-CAM) blueprint I discovered that all the modules are internally designed with an inbuilt and an external antenna option. There are two 0 ohm resistors that connect internal (R15) and/or external antenna (R14). A standard ESP module has no antenna plug and the part of the PCB where the antenna plug may be soldered is covered with a metal cap. The design of the inbuilt PCB antenna is interesting, because it short circuits the antenna input to create a strong enough electric current that also divers the rest of PCB antenna.

You also need to either move 0-ohm resistor form R7 to R6 position as shown on the photo, or remove R7 and short circuit R6. This work requires a sharp eyesight and a magnification glass is recommended. A standard 1 mm soldering iron tip may be used, but it is hard move the 0-ohm resistor to R6 position with it, a mini flat screwdriver may be of help here. But you may still remove the resistor and place a short piece of wire instead of R6 0-ohm resistor, which is basically does the same. The easiest way to do this is to solder a longer piece of thin wire across both of R6 contact and then cut the wire to the length between R6 contacts. I managed to do this with ease.

Alternatively, you may short circuit R6 and leave R7 in place, but then you still have to cut the PCB antenna current loop as shown above.

Adding an external antenna to a non-antenna ESP module

Connecting an external antenna to Ai Thinker ESP32-CAM module may greatly extend the module’s range and its digital camera picture quality. ESP32-CAM modules are based on Espressif Systems ESP32-S module which has an optional external antenna connector. But it is not enough to simply connect an external antenna.

ESP32-CAM or ESP32-S external antenna connection

How to solder antenna cable

An external antenna has far better characteristics than an inbuilt antenna on the upper part of an ESP module PCB. The maximum connection speed greatly depends on the antenna signal strength as various optimal modulation types are used accordingly:

Here is the antenna part of the ESP board blueprint

Switching ESP32-S module to external antenna