ESP-12F Pinout

The ESP-12F is a compact ESP8266-based Wi-Fi module designed for embedded IoT projects. It includes the ESP8266EX microcontroller, external SPI flash, RF front-end circuitry, and an onboard PCB antenna in a castellated module package. Unlike NodeMCU or Wemos D1 Mini boards, the ESP-12F does not include USB, a voltage regulator, or automatic boot circuitry, so it must be powered from a stable 3.3 V supply and programmed through an external USB-to-UART adapter.

Manufacturer
Ai-Thinker
Package
WiFi Module
ESP-12F pinout diagram

Pin reference

PinNameFunctionsDescription
1GPIO2GPIO2<p>General-purpose I/O pin that must be high during boot. It can also be used as UART1 TX in some configurations. Avoid pulling it low at reset.</p>
2ENEN<p>Chip enable pin. The module only runs when this pin is pulled high. Pull low to disable the chip.</p>
3GNDGND<p>Ground reference for power, UART, GPIO, and all connected external circuits.</p>
4RXD0RXD0<p>UART0 receive pin. Used for serial programming and normal serial communication. Avoid tying it to circuits that interfere with uploading firmware.</p>
5VCCVCC<p>Main 3.3 V supply input for the ESP-12F module. Use a stable regulator because Wi-Fi transmit bursts can cause brownouts.</p>
6GPIO0GPIO0<p>General-purpose I/O pin that also selects boot mode. Pull high for normal boot and pull low during reset to enter flashing mode.</p>
7TXD0TXD0<p>UART0 transmit pin. Outputs boot messages at startup and is used for programming and serial logs. Can be used as GPIO only if serial output is not needed.</p>
8GPIO15GPIO15<p>General-purpose I/O pin that must be low during boot. Usually pulled down with a resistor and used carefully for outputs or SPI chip select.</p>
9GPIO4GPIO4<p>Safe general-purpose I/O pin commonly used as software I2C SDA on ESP8266 projects.</p>
10GPIO5GPIO5<p>Safe general-purpose I/O pin commonly used as software I2C SCL on ESP8266 projects.</p>
11ADC0ADC0<p>Single analog input of the ESP8266. On the bare ESP-12F module, this pin accepts about 0–1.0 V, not 3.3 V.</p>
12GPIO16GPIO16<p>Special GPIO pin used for deep-sleep wake. Connect GPIO16 to RST when using ESP8266 deep sleep wake-up.</p>
13GPIO14GPIO14<p>General-purpose I/O pin often used as HSPI clock. Also commonly used as an alternate software I2C SCL pin.</p>
14GPIO12GPIO12<p>General-purpose I/O pin often used for HSPI MISO. Usually safe for external devices if it does not interfere with boot wiring.</p>
15GPIO13GPIO13<p>General-purpose I/O pin often used for HSPI MOSI. Can also act as UART0 CTS depending on configuration.</p>
16RSTRST<p>Active-low reset pin. Pulling this pin low resets the ESP8266. Usually pulled high during normal operation.</p>
17SCLKSCLK<p>SPI flash clock line connected to the onboard flash memory. Do not use this as a normal GPIO on ESP-12F modules.</p>
18MOSIMOSI<p>SPI flash data line connected to the onboard flash memory. Not available for normal external use.</p>
19GPIO10GPIO10<p>SPI flash write-protect/data line connected to the onboard flash. Avoid using this pin for user circuits.</p>
20GPIO9GPIO9<p>SPI flash hold/data line connected to the onboard flash. Avoid using this pin for user circuits.</p>
21MISOMISO<p>SPI flash data line connected to the onboard flash memory. Using it can crash the module or prevent boot.</p>
22CS0CS0<p>SPI flash chip-select/command line connected to the onboard flash. Do not use as normal GPIO.</p>

Report an error on this page