ESP32 vs ESP8266 Module Comparison
ESP32 vs ESP8266: Differences and Which to Use
Table
| Category | Parameter | Value | Engineering note |
|---|---|---|---|
| Absolute maximum | VDD33 | −0.3 to 3.6 V | Stress limit, not an operating range. |
| Absolute maximum | Cumulative GPIO output current | 1,100 mA max | Datasheet test-qualified cumulative limit; not a recommended loading target. |
| Absolute maximum | Storage temperature | −40 to +105 °C | |
| Recommended operation | Supply voltage | 3.0 to 3.6 V; 3.3 V typical | |
| Recommended operation | External supply capability | ≥0.5 A | Minimum capability specified by Espressif; design margin above this is prudent for rail impedance and peripherals. |
| Recommended operation | Ambient temperature | −40 to +85 °C | Temperature immediately outside the module. |
| Package | Module dimensions | 18 × 25.5 × 3.1 mm | |
| Package | Edge-pad pitch | 1.27 mm | Use the manufacturer land-pattern drawing/DXF, not a hand-created footprint. |
| Package | Electrical pads | 38 edge pads plus optional center GND/EPAD pad 39 | Figure 1 labels center pad 39 GND, while Table 2 lists only pins 1–38; soldering EPAD to ground is optional and improves thermal performance. |
Table
| Pin Number | Pin Name | Description | Best Practice |
|---|---|---|---|
| 1 | GND | Ground | Connect to solid ground plane. |
| 2 | 3V3 | 3.0–3.6 V module supply | Feed from a low-impedance 3.3 V rail; decouple locally. |
| 3 | EN | Active-high module enable/reset | Never float; use 10 kΩ pull-up and typically 1 µF to GND. |
| 4 | SENSOR_VP / GPIO36 | ADC1_CH0, RTC GPIO0; input-only | Input only. The module datasheet does not confirm internal pull-up/down availability for this pin; provide external bias when a defined idle level is required. |
| 5 | SENSOR_VN / GPIO39 | ADC1_CH3, RTC GPIO3; input-only | Input only. The module datasheet does not confirm internal pull-up/down availability for this pin; provide external bias when required. |
| 6 | IO34 | GPIO34, ADC1_CH6; input-only | Input only. Internal pull-up/down availability is not confirmed by the module datasheet; provide external bias when required. |
| 7 | IO35 | GPIO35, ADC1_CH7; input-only | Input only. Internal pull-up/down availability is not confirmed by the module datasheet; provide external bias when required. |
| 8 | IO32 | GPIO32, ADC1_CH4, TOUCH9, 32 kHz crystal input | General I/O; reserve with IO33 if fitting a 32.768 kHz crystal. |
| 9 | IO33 | GPIO33, ADC1_CH5, TOUCH8, 32 kHz crystal output | General I/O; reserve with IO32 if fitting a 32.768 kHz crystal. |
| 10 | IO25 | GPIO25, DAC1, ADC2_CH8 | Usable GPIO/DAC. The commonly reported ADC2/Wi-Fi access limitation is not verified by the cited module datasheet; confirm it in the ESP32 Series Datasheet/SDK documentation for the selected software stack. |
| 11 | IO26 | GPIO26, DAC2, ADC2_CH9 | Usable GPIO/DAC. ADC2 behavior during Wi-Fi operation is unverified in this module datasheet. |
| 12 | IO27 | GPIO27, ADC2_CH7, TOUCH7 | General I/O; avoid sensitive analog use near RF activity. |
| 13 | IO14 | GPIO14, ADC2_CH6, TOUCH6, JTAG MTMS, HSPI clock | JTAG-aware peripheral assignment. |
| 14 | IO12 / MTDI | GPIO12, ADC2_CH5, TOUCH5; VDD_SDIO strap | Critical strap: keep low at reset for normal 3.3 V flash operation; do not allow a peripheral to pull it high. |
| 15 | GND | Ground | Connect to solid ground plane. |
| 16 | IO13 | GPIO13, ADC2_CH4, TOUCH4, JTAG MTCK | General I/O; JTAG-aware. |
| 17 | SHD/SD2 | GPIO9 / SPI flash data 2 | Reserved for integrated flash; do not use. |
| 18 | SWP/SD3 | GPIO10 / SPI flash data 3 | Reserved for integrated flash; do not use. |
| 19 | SCS/CMD | GPIO11 / SPI flash command | Reserved for integrated flash; do not use. |
| 20 | SCK/CLK | GPIO6 / SPI flash clock | Reserved for integrated flash; do not use. |
| 21 | SDO/SD0 | GPIO7 / SPI flash data 0 | Reserved for integrated flash; do not use. |
| 22 | SDI/SD1 | GPIO8 / SPI flash data 1 | Reserved for integrated flash; do not use. |
| 23 | IO15 / MTDO | GPIO15, ADC2_CH3, TOUCH3; boot-log/SDIO strap | Strap pin; avoid strong external levels during reset. |
| 24 | IO2 | GPIO2, ADC2_CH2, TOUCH2; boot strap | Must be low/floating as required for UART download; avoid conflicting pull-up. |
| 25 | IO0 | GPIO0, ADC2_CH1, TOUCH1; boot-mode strap | Pull up for normal boot; pull low during reset for download mode. |
| 26 | IO4 | GPIO4, ADC2_CH0, TOUCH0 | General I/O; consider startup state before driving loads. |
| 27 | IO16 | GPIO16, UART2 RX | General I/O on original WROOM-32; unlike PSRAM WROVER modules, not consumed by PSRAM. |
| 28 | IO17 | GPIO17, UART2 TX | General I/O on original WROOM-32. |
| 29 | IO5 | GPIO5, VSPI CS; SDIO timing strap | Strap pin; avoid forcing the wrong state during reset. |
| 30 | IO18 | GPIO18, VSPI clock | Good default SPI clock pin. |
| 31 | IO19 | GPIO19, VSPI MISO, UART0 CTS | Good default SPI MISO pin. |
| 32 | NC | No connection | Leave electrically unconnected. |
| 33 | IO21 | GPIO21, VSPI HD | Common I²C SDA choice, but I²C is matrix-routable. |
| 34 | RXD0 | GPIO3, UART0 RX | Connect to programmer TX; protect against 5 V logic. |
| 35 | TXD0 | GPIO1, UART0 TX | Connect to programmer RX; expect boot logs at startup. |
| 36 | IO22 | GPIO22, VSPI WP, UART0 RTS | Common I²C SCL choice, but I²C is matrix-routable. |
| 37 | IO23 | GPIO23, VSPI MOSI | Good default SPI MOSI pin. |
| 38 | GND | Ground | Connect to solid ground plane. |
| 39 | GND / EPAD | Optional center thermal/ground pad shown in the land pattern | Tie to GND if used; use segmented paste and ground vias. Do not treat it as a GPIO. |
Table
| Alternative | Compatibility classification | Guidance |
|---|---|---|
| ESP32-WROOM-32E | Potential migration, not a verified drop-in | The Flux library describes a later ESP32 WROOM generation, but exact ESP32-D0WD-V3 identity, footprint/pin compatibility, lifecycle, and ordering-code mapping are unverified here. Compare the manufacturer land pattern, pad count, silicon errata, certifications, and firmware assumptions before substitution. The library entry’s MPN metadata is inconsistent. |
| ESP32-WROOM-32D | Potential same-family migration, not a verified drop-in | Nominal dimensions, ESP32-D0WD identity, footprint compatibility, and lifecycle status are not validated by inline evidence in this guide. Verify all of them against the exact Espressif ordering code and current lifecycle notice. |
| Ai-Thinker ESP32-S | Potential physical/pin substitute, not a guaranteed drop-in | Search evidence suggests a 38-interface, 25.5 × 18.0 mm ESP32 module, but those specifications, current lifecycle, certification, RF layout, flash population, and land pattern are unverified here and must be requalified. No suitable ESP32-S component was found in the Flux library during this research. |
Table
| Attribute | Details |
|---|---|
| Primary Distributors | Espressif direct/bulk channel; DigiKey; LCSC; Mouser. Mouser availability for the exact original 4 MB module was not verified in this research. |
| Packaging Options | Espressif bulk packing was not verified. DigiKey shows Cut Tape, Digi-Reel, and Tape & Reel for some ESP32-WROOM-32 memory variants. LCSC shows full-reel packing for a searched 16 MB original-module listing. Packaging is variant-specific and must be confirmed on the live listing. |
| Standard MOQ | Espressif’s product page states a bulk MOQ of 2,750. Distributor cut-tape/piece listings may allow quantity 1; a manufacturer/full-reel example is 550. These values are listing- and variant-specific, not a universal MOQ for the original 4 MB module. |
| Sourcing Advice | The original ESP32-WROOM-32 is NRND. Obtain a written lifecycle/last-time-buy statement and verify the exact ordering code, flash size, date code, packing, stock, and shield label. For JLCPCB assembly, confirm the active LCSC C-number and stock at order time; do not assume -32D/-32E or a different flash variant is interchangeable. |
1. Quick Specifications
2. Pinout & Connections
3. Standard Application Circuit
4. PCB Layout & Routing Guidelines
5. Common Pitfalls
6. Popular Alternatives & Equivalents
7. Sourcing & Purchasing Guide
Sources
Unresolved or explicitly unverified facts