SparkFun ESP32 Thing Pinout

SparkFun ESP32 Thing pinout for the expansion headers, Micro-USB and LiPo connectors and rear jumpers.

Jump to pin index ↓

Main pinout

With the antenna at the top and Micro-USB at the bottom, J1 is on the left and J2 on the right. Each row follows the silkscreen. Advanced mode lists the GPIO functions and boot restrictions.

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show Advanced Functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

40 visible
PinMCU pinTypesNotes
GPIOAnalogESP32 GPIO36. Input only.
GPIOAnalogESP32 GPIO37. Input only.
GPIOAnalogESP32 GPIO38. Input only.
GPIOAnalogESP32 GPIO39. Input only.
GPIOAnalogTouchESP32 GPIO32. 3.3 V digital I/O.
GPIOAnalogTouchESP32 GPIO33. 3.3 V digital I/O.
GPIOAnalogESP32 GPIO34. Input only.
GPIOAnalogESP32 GPIO35. Input only.
GPIOAnalogDACESP32 GPIO25. 3.3 V digital I/O.
GPIOAnalogDACESP32 GPIO26. 3.3 V digital I/O.
GPIOAnalogTouchESP32 GPIO27. 3.3 V digital I/O.
GPIOAnalogTouchSPIESP32 GPIO14. 3.3 V digital I/O.
GPIOAnalogTouchSPIESP32 GPIO12. 3.3 V digital I/O.
GPIOAnalogTouchSPIESP32 GPIO13. 3.3 V digital I/O.
ControlESP32 enable input. A transition to low resets the chip.
PowerRegulated output of the AP2112K that feeds the ESP32 and the circuit board.
GNDCommon circuit ground.
PowerPositive terminal of the single-cell LiPo battery, shared with JP2 and the charger.
Power5 V nominal in VBUS of micro-USB, before fuse F1.
GNDCommon circuit ground.
GNDCommon circuit ground.
GPIOI2CSPIESP32 GPIO21. 3.3 V digital I/O.
GPIOUARTESP32 GPIO1. 3.3 V digital I/O.
GPIOUARTESP32 GPIO3. 3.3 V digital I/O.
GPIOI2CSPIUARTESP32 GPIO22. 3.3 V digital I/O.
GPIOSPIUARTESP32 GPIO19. 3.3 V digital I/O.
GPIOSPIESP32 GPIO23. 3.3 V digital I/O.
GPIOSPIESP32 GPIO18. 3.3 V digital I/O.
GPIOSPIESP32 GPIO5. 3.3 V digital I/O.
GPIOAnalogTouchSPIESP32 GPIO15. 3.3 V digital I/O.
GPIOAnalogTouchSPIESP32 GPIO2. 3.3 V digital I/O.
GPIOAnalogTouchESP32 GPIO0. 3.3 V digital I/O.
GPIOAnalogTouchSPIESP32 GPIO4. 3.3 V digital I/O.
GPIOUARTESP32 GPIO17. 3.3 V digital I/O.
GPIOUARTESP32 GPIO16. 3.3 V digital I/O.
PowerRegulated output of the AP2112K that feeds the ESP32 and the circuit board.
GNDCommon circuit ground.
PowerPositive terminal of the single-cell LiPo battery, shared with JP2 and the charger.
Power5 V nominal in VBUS of micro-USB, before fuse F1.
GNDCommon circuit ground.

Specifications

Model
SparkFun ESP32 Thing • DEV-13907 • PCB v1.0
Headers
2 × 20 contacts at 2.54 mm • 28 GPIO different
Processor
ESP32 double core Xtensa LX6, up to 240 MHz
Memory
520 kB of SRAM • external 4 MB SPI flash
Radio
Wi-Fi 802.11 b/g/n a 2,4 GHz • Bluetooth 4.2 BR/EDR y BLE
Power supply
Micro-B of 5 V or LiPo 1S • logic of 3.3 V
Clocks
26 MHz (Y1) · 32.768 kHz RTC (Y2)

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
DEV-13907Distribution of pinsSparkFunDistribution of pinsDatasheet
ESP32 Thing v1.0Electrical schematicSparkFunElectrical schematicDatasheet
ESP32 Thing v1.0Footprint and nets of each contact in EAGLESparkFunFootprint and nets of each contact in EAGLEDatasheet
ESP32Multiplexing and boot configurationEspressifMultiplexing and boot configurationDatasheet
ESP32 GPIOAddresses, internal resistances and boot pinsEspressifAddresses, internal resistances and boot pinsDatasheet
ESP32 ThingBoard power and peripheralsSparkFunBoard power and peripheralsDatasheet

Board notes

Input-only GPIO
GPIO34–39 lack output and internal polarisation resistances. C1 couple 36/37 and C2 couple 38/39 with 270 pF per pair.
Boot
GPIO0, 2, 5, 12 and 15 are sampled at reset. GPIO0 and GPIO2 must be low for UART programming. Button 0 and the FT231XS DTR/RTS circuit control entry into download mode.
Clock RTC
GPIO32 and GPIO33 are connected to Y2 and its two 15 pF capacitors. Its ADC and tactile functions share that circuit.
Serial and other buses
TX (GPIO1) and RX (GPIO3) share FT231XS. Guide Arduino assigns SDA/SCL to 21/22 and MOSI/MISO/SCK/SS to 23/19/18/5.
Memory and power
U5 is the 4 MB W25Q32 flash chip. The AP2112K provides 3.3 V. The MCP73831 charges the LiPo connected to JP2, with the charge current set to 500 mA at the factory.
Indicators and pushbuttons
D4 is the blue LED on GPIO5. D3 indicates power and D1 indicates charging. S1 controls CHIP_PU and S2 connects GPIO0 to ground.
Connectors and rear
The detailed views identify the contacts micro-B and JST, and the bridges CHG PROG, PWR LED and FLASH VCC. Photographs and design of SparkFun Electronics.