blog.hirnschall.net
home

Contents

Subscribe for New Projects

Introduction

In recent years the ESP8266 has become one of my go-to choices for smart home/IoT devices or projects requiring WiFi. It is cheap (around $1.5 on Amazon)1, has WiFi, and can be programmed using the Arduino IDE, making it an easy replacement for Arduinos if we need WiFi connectivity.

This post outlines the most important guidlines when designing a pcb for an ESP8266 module. It is part of a complete ESP8266 reference you can find here.

PCB design

Espressif provides a hardware design guide for free. Noticeable takeaways are that we want to place the antenna of the esp module outside of our PCB or, if this is not possible, at least 15mm away from other components (keep-out zone). Meanwhile, [10] only shows a 5mm keep-out zone, as depicted in Fig. 6.1 (c) below. According to [1], we also want to avoid using resistors larger than 2.2k near the esp module as they might be affected by the WiFi. Up to 2.2kOhm seem to work without issues.

esp8266 esp-07 and esp-12pcb design best prectice with antenna outside pcb area
(a) Antenna outside PCB area
esp8266 esp-07 and esp-12pcb design best prectice with pcb cut out
(b) Antenna over PCB cut-out
esp8266 esp-07 and esp-12pcb design best prectice with keep-out zone
(c) Antenna over keep-out zone (red)
Figure 6.1: PCB design for ESP8266 as shown in [10,14]

More Info

This post is part of a complete ESP8266 reference/guide. You can find more information on how to use your ESP8266 module effectively at blog.hirnschall.net/esp8266/.

This post is part of multiple articles on Arduino and ESP Projects.

Below are two related posts you might like:

Design, Simulate (3D FEM), and Build a SATA Backplane

Design, Simulate (3D FEM), and Build a SATA Backplane

Impedance matching, differential pairs, crosstalk, S-parameter analysis, full wave 3D FEM simulation, and much more.

DIY Motorized Camera Slider

DIY Motorized Camera Slider

Build a WiFi-controlled DSLR camera slider for under $100 with 3D-printed parts — full BOM, wiring, and control code included.

Get Notified of New Articles

Subscribe to get notified about new projects. Our Privacy Policy applies.
Sebastian Hirnschall
Article by: Sebastian Hirnschall
Updated: 03.04.2026

References

Visited on 09.01.2023:
[1] ESP8266 und ESP8285 WLAN Module
[2] https://github.com/esp8266/Arduino/tree/master/libraries/EEPROM
[3] https://github.com/esp8266/Arduino/tree/master/libraries/esp8266/examples/LowPowerDemo
[4] ESP8266 WiFi power reduction – Avoiding network scan
[5] Reducing WiFi power consumption on ESP8266, part 1
[6] Reducing WiFi power consumption on ESP8266, part 2
[7] Reducing WiFi power consumption on ESP8266, part 3
[8] ESP8266ex datasheet
[9] ESP8285ex datasheet
[10] ESP-01/07/12 Series Modules User's Manual, v1.3
[11] ESP8266-01S Modul Datenblatt
[12] ESP-1 WiFi Module, v1.0
[13] ESP8266 Watchdogs in Arduino
[14] ESP8266 Hardware Design Guide

License

This project (with exceptions) is published under the CC Attribution-ShareAlike 4.0 International License.

Amazon Links

1: As an Amazon Associate I earn from qualifying purchases.