Component guide · Intermediate · 3 min read
ESP-07 and ESP-07S ESP8266 Module

External Antenna, Wiring and Flashing
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The ESP-07 and ESP-07S are ESP8266 modules with a connector for an external antenna, which gives much better range than PCB-antenna modules in metal enclosures. The ESP-07S has 4 MB flash and only the U.FL connector; the older ESP-07 also has a ceramic antenna. Wire them like an ESP-12F: 3.3 V, EN and RST high, GPIO 15 low, and GPIO 0 low to flash.
Key specs at a glance
- Chip
- ESP8266EX, 80/160 MHz
- Flash
- 1 MB (ESP-07) or 4 MB (ESP-07S)
- Antenna
- U.FL (07S); ceramic plus U.FL (07)
- Supply
- 3.3 V, 300 mA peaks
- Pins
- 16 castellated pads, 2 mm pitch
- BigTreeTech
- ESP-07S boards for SKR and Octopus printer boards
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1AI-Thinker ESP-07S ESP8266 WiFi Module w/ U.FL Connector₹219
Option 2AI-Thinker ESP-07 ESP8266 Serial WiFi Module₹229
Option 3ESP8266 ESP-07 Serial Wi-Fi Module₹146
Option 4BigTreeTech ESP-07S Wi-Fi Module for SKR Octopus & SKR 2₹389
Option 5BigTreeTech ESP8266 WiFi Transceiver Module ESP12S ESP-07₹569
What the ESP-07 and ESP-07S ESP8266 module is
Boot straps are the same as the ESP-12F: GPIO 15 must be low, GPIO 2 high, and GPIO 0 decides between running (high) and flashing (low). Many of these modules are flashed on an adapter plate before soldering.
On the ESP-07 the U.FL is not active unless a small resistor or jumper is moved from the ceramic antenna path; check the board. BigTreeTech's modules come with ESP3D firmware for printer Wi-Fi control.
ESP-07 and ESP-07S ESP8266 module pinout
The pins on the ESP-07 and ESP-07S ESP8266 module and what each one does.
| Pin | Function |
|---|---|
| VCC / GND | 3.3 V supply |
| EN (CH_PD) | Pull high |
| RST | Pull high, low to reset |
| GPIO 0 | High to run, low to flash |
| GPIO 2 | Pull high at boot |
| GPIO 15 | Pull low at boot |
| TX / RX | UART0 |
| ADC | 0 to 1 V input |
- VCC / GND
- 3.3 V supply
- EN (CH_PD)
- Pull high
- RST
- Pull high, low to reset
- GPIO 0
- High to run, low to flash
- GPIO 2
- Pull high at boot
- GPIO 15
- Pull low at boot
- TX / RX
- UART0
- ADC
- 0 to 1 V input
Wiring the ESP-07 and ESP-07S ESP8266 module
The adapter's 3.3 V pin rarely supplies enough current; use a separate regulator. Fit the antenna before running Wi-Fi.
| ESP-07 and ESP-07S ESP8266 module pin | USB to TTL adapter | Notes |
|---|---|---|
| VCC | 3.3V regulator | 3V3 |
| GND | GND | GND |
| TX | RX | - |
| RX | TX | - |
| EN / RST | 10k to 3.3V | - |
| GPIO 15 | 10k to GND | - |
| GPIO 0 | GND to flash, 10k to 3.3V to run | - |
- VCC
- USB to TTL adapter:
- 3.3V regulator
- Notes:
- 3V3
- GND
- USB to TTL adapter:
- GND
- Notes:
- GND
- TX
- USB to TTL adapter:
- RX
- Notes:
- -
- RX
- USB to TTL adapter:
- TX
- Notes:
- -
- EN / RST
- USB to TTL adapter:
- 10k to 3.3V
- Notes:
- -
- GPIO 15
- USB to TTL adapter:
- 10k to GND
- Notes:
- -
- GPIO 0
- USB to TTL adapter:
- GND to flash, 10k to 3.3V to run
- Notes:
- -
Example code
Select Generic ESP8266 Module with the right flash size (1 MB or 4 MB). Compare RSSI with and without the external antenna.
#include <ESP8266WiFi.h>
void setup() {
Serial.begin(115200);
int n = WiFi.scanNetworks();
for (int i = 0; i < n; i++)
Serial.printf("%-24s %d dBm\n", WiFi.SSID(i).c_str(), WiFi.RSSI(i));
}
void loop() {}Setup and tuning
install esp8266 by ESP8266 Community.
4 MB for ESP-07S, 1 MB for ESP-07.
BigTreeTech modules connect to the WIFI header of SKR boards; enable the ESP3D option in Marlin.
solder the module to an adapter for breadboard use.
What you need
Shop this list9 of 9 found in our store · ₹1,834
AI-Thinker ESP-07S ESP8266 WiFi Module w/ U.FL Connector: the part this guide coversAI-Thinker ESP-07S ESP8266 WiFi Module w/ U.FL Connector₹219
AI-Thinker ESP-07 ESP8266 Serial WiFi Module: another version this guide coversAI-Thinker ESP-07 ESP8266 Serial WiFi Module₹229
ESP8266 ESP-07 Serial Wi-Fi Module: another version this guide coversESP8266 ESP-07 Serial Wi-Fi Module₹146
BigTreeTech BigTreeTech ESP-07S Wi-Fi Module for SKR Octopus & SKR 2: another version this guide coversBigTreeTech ESP-07S Wi-Fi Module for SKR Octopus & SKR 2₹389
BigTreeTech ESP8266 WiFi Transceiver Module ESP12S ESP-07: another version this guide coversBigTreeTech ESP8266 WiFi Transceiver Module ESP12S ESP-07₹569
USB to TTL serial converter: to talk to the module from a PCUSB to TTL Serial Converter (CH340G / CP2102 / FT232RL / PL2303)₹85Closest match, check the specs
Breadboard power supply module 3.3V/5V: a 3.3 V supply for bare modulesBreadboard Power Supply Module (3.3V / 5V)₹71
IPEX to SMA pigtail cable: to fit an SMA antenna5cm RG178 IPEX 1 to RP-SMA Female RF Pigtail Cable₹82Closest match, check the specs
ESP8266 adapter plate: to mount the module for breadboardingESP8266 Adapter Plate Serial Wireless Wi-Fi Module₹44Closest match, check the specs
Alternatives and when to choose them
- ESP-12F ESP8266: the same chip with a PCB antenna.
- ESP-01: the smallest ESP8266 module.
- ESP8285 ESP-M3: ESP8266 with flash inside the chip.
Common mistakes to avoid
- GPIO 15 left floating, so it will not boot.
- Running without an antenna on the 07S.
- Choosing the wrong flash size.
- Supplying power from the USB adapter's 3.3 V pin.
Frequently asked questions
ESP-07 or ESP-07S?
ESP-07S for 4 MB flash and a clean U.FL path.
How much better is the range?
Often double or more with a good external antenna.
Is code the same as ESP-12F?
Yes, same chip.
What are the BigTreeTech modules for?
Wi-Fi control of SKR and Octopus printer boards.
Can it run on batteries?
Yes, with deep sleep (GPIO 16 to RST).
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

