


{"id":37788,"date":"2026-10-23T14:18:47","date_gmt":"2026-10-23T06:18:47","guid":{"rendered":"https:\/\/www.bestpcbs.com\/blog\/?p=37788"},"modified":"2026-10-23T15:01:32","modified_gmt":"2026-10-23T07:01:32","slug":"esp32-pinout","status":"publish","type":"post","link":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/","title":{"rendered":"ESP32 Pinout: GPIO, Power and Interface Pin Guide"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#Key_Takeaways\" >Key Takeaways<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#Which_ESP32_Pinout_Diagram_Matches_Your_Board\" >Which ESP32 Pinout Diagram Matches Your Board?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#How_Do_GPIO_Numbers_Differ_from_Physical_Pin_Numbers\" >How Do GPIO Numbers Differ from Physical Pin Numbers?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#ESP32_Pinout_Reference\" >ESP32 Pinout Reference<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#How_Do_30-Pin_and_38-Pin_ESP32_Boards_Differ\" >How Do 30-Pin and 38-Pin ESP32 Boards Differ?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#Which_ESP32_Pins_Need_Special_Care\" >Which ESP32 Pins Need Special Care?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#Can_ESP32_Pins_Use_5_V\" >Can ESP32 Pins Use 5 V?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#Which_Pins_Should_You_Use_for_I2C_SPI_and_UART\" >Which Pins Should You Use for I2C, SPI and UART?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#Which_Pins_Support_ADC_DAC_PWM_and_Touch\" >Which Pins Support ADC, DAC, PWM and Touch?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#Why_Does_an_ESP32_Stop_Booting_After_Wiring_a_Peripheral\" >Why Does an ESP32 Stop Booting After Wiring a Peripheral?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#What_Changes_When_You_Put_an_ESP32_Module_on_a_Custom_PCB\" >What Changes When You Put an ESP32 Module on a Custom PCB?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#FAQ_About_ESP32_Pinout\" >FAQ About ESP32 Pinout<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#Need_Help_Moving_Your_ESP32_Prototype_to_a_Custom_PCB\" >Need Help Moving Your ESP32 Prototype to a Custom PCB?<\/a><\/li><\/ul><\/nav><\/div>\n<div class=\"yzp-no-index\"><\/div><p>The <a href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/\">esp32 pinout<\/a> identifies a board\u2019s power, ground, control and GPIO connections. On a classic ESP32-WROOM development board, GPIO21 and GPIO22 are common I2C choices, GPIO1 and GPIO3 serve UART0, and GPIO34\u201339 are input-only at chip level. These are <strong>3.3 V logic connections, not 5 V-tolerant inputs<\/strong>. The physical header arrangement depends on the board: a 30-pin DevKit-style board is not interchangeable with a 38-pin ESP32-DevKitC V4. This guide uses the classic ESP32-WROOM\/DevKitC family as its reference and separates it from ESP32-S3 and ESP32-C3, which require different pin maps.<\/p>\n<figure style=\"width: 100%; max-width: 600px; margin: 24px auto;\"><img decoding=\"async\" style=\"width: 100%; max-width: 600px; max-height: 400px; height: auto; object-fit: contain;\" src=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/esp32-pinout-overview-v3.jpg\" alt=\"ESP32-DevKitC V4 WROOM structural overview showing both 19-pin headers, antenna and Micro-USB orientation\" data-first-enter-image=\"true\" \/><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"Key_Takeaways\"><\/span>Key Takeaways<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Match the exact chip, module and board revision<\/strong> before connecting wires or creating a PCB footprint.<\/li>\n<li>GPIO numbers identify signals; they are not module-pad numbers or header-position numbers.<\/li>\n<li>Classic WROOM boards reserve GPIO6\u201311 for flash. GPIO34\u201339 cannot drive outputs or provide internal pull-up\/down resistors.<\/li>\n<li>GPIO0, 2, 5, 12 and 15 are classic ESP32 strapping pins. External circuits must not impose incorrect levels during reset.<\/li>\n<li>Use ADC1 inputs for analog measurements that must coexist with Wi-Fi on the classic ESP32.<\/li>\n<li>I2C, SPI and UART assignments depend on firmware and board configuration; example pin choices are not universal hardware requirements.<\/li>\n<li>A custom PCB also needs a stable supply, antenna clearance, programming access and functional testing\u2014not just a copied pinout.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Which_ESP32_Pinout_Diagram_Matches_Your_Board\"><\/span>Which ESP32 Pinout Diagram Matches Your Board?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The correct ESP32 pinout diagram matches the module marking, development-board model and PCB revision\u2014not just the word \u201cESP32\u201d or the number of header pins.<\/p>\n<div class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>Hardware you have<\/strong><\/td>\n<td><strong>Reference to use<\/strong><\/td>\n<td><strong>What changes<\/strong><\/td>\n<\/tr>\n<tr>\n<td>ESP32-WROOM module<\/td>\n<td>Exact module datasheet and land pattern<\/td>\n<td>Module pads, ground pad and antenna area<\/td>\n<\/tr>\n<tr>\n<td>ESP32-DevKitC V4 with WROOM<\/td>\n<td>DevKitC V4 schematic and J2\/J3 header tables<\/td>\n<td>38 header positions, USB bridge and regulator<\/td>\n<\/tr>\n<tr>\n<td>30-pin DevKit-style board<\/td>\n<td>That board manufacturer\u2019s drawing<\/td>\n<td>Header order, omitted signals and power labels<\/td>\n<\/tr>\n<tr>\n<td>ESP32-WROVER development board<\/td>\n<td>WROVER module plus board schematic<\/td>\n<td>PSRAM reserves GPIO16 and GPIO17<\/td>\n<\/tr>\n<tr>\n<td>ESP32-S3 or ESP32-C3 board<\/td>\n<td>Matching S3\/C3 module and board documentation<\/td>\n<td>GPIO map, USB functions, memory allocation and boot pins<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Count pins on both sides, read the metal-shield marking, and compare the silkscreen beside the connector. A USB-C socket alone does not identify the chip family. If you are still choosing a development platform, our <a href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-vs-arduino\/\">ESP32 vs Arduino comparison<\/a> covers that separate decision.<\/p>\n<p>At <a href=\"https:\/\/www.bestpcbs.com\/\">EBest Circuit<\/a>, we support custom PCB fabrication and assembly. When a development-board prototype moves into a product, our <a href=\"https:\/\/www.bestpcbs.com\/design-guide\/index.htm\">PCB design<\/a> and manufacturing review should work from the selected module\u2019s documentation and the released schematic, not a generic internet pin diagram.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_Do_GPIO_Numbers_Differ_from_Physical_Pin_Numbers\"><\/span>How Do GPIO Numbers Differ from Physical Pin Numbers?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A GPIO number identifies an ESP32 signal, while a physical pin number identifies its position on a particular chip, module or connector.<\/p>\n<p>For example, GPIO21 is connected to position 6 on the DevKitC V4 J3 header. That does not make it \u201cpin 6\u201d in firmware. Code that selects GPIO21 must use the GPIO identifier expected by the software framework.<\/p>\n<figure style=\"width: 100%; max-width: 600px; margin: 24px auto;\"><a href=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/esp32-devkitc-v4-full-pin-map-v3.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 100%; max-width: 600px; max-height: 400px; height: auto; object-fit: contain;\" src=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/esp32-devkitc-v4-full-pin-map-v3.jpg\" alt=\"Complete 38-pin ESP32-DevKitC V4 WROOM pin map with J2 and J3 connector positions, GPIO labels and restricted pins\" \/><\/a><\/figure>\n<ul>\n<li><strong>Chip pin:<\/strong> a terminal on the ESP32 IC package.<\/li>\n<li><strong>Module pad:<\/strong> a solder connection on the WROOM module.<\/li>\n<li><strong>Header position:<\/strong> a connector contact on a development board.<\/li>\n<\/ul>\n<p>Keep GPIO net names consistent between the schematic and firmware. For a custom carrier board, also check the viewing direction: a bottom-view drawing can reverse the apparent left\/right order.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"ESP32_Pinout_Reference\"><\/span>ESP32 Pinout Reference<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For a classic WROOM-based board, GPIO18, 19, 21, 22, 23, 25, 26, 27, 32 and 33 are useful starting choices for general digital I\/O, provided the board has not already assigned them to another circuit.<\/p>\n<div class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>Function<\/strong><\/td>\n<td><strong>Classic ESP32 GPIOs<\/strong><\/td>\n<td><strong>Selection rule<\/strong><\/td>\n<\/tr>\n<tr>\n<td>General digital I\/O<\/td>\n<td>18, 19, 21, 22, 23, 25, 26, 27, 32, 33<\/td>\n<td>Check peripheral conflicts and connected hardware<\/td>\n<\/tr>\n<tr>\n<td>Additional digital I\/O<\/td>\n<td>4, 13, 14, 16, 17<\/td>\n<td>13\/14 can serve JTAG; 16\/17 depend on module memory use<\/td>\n<\/tr>\n<tr>\n<td>Input-only GPIOs<\/td>\n<td>34\u201339 at chip level<\/td>\n<td>No output drive or internal pull-up\/down; 37\/38 are not exposed on the DevKitC reference headers<\/td>\n<\/tr>\n<tr>\n<td>Boot strapping<\/td>\n<td>0, 2, 5, 12, 15<\/td>\n<td>Check external pull resistors and reset-time levels<\/td>\n<\/tr>\n<tr>\n<td>Flash interface<\/td>\n<td>6\u201311 on WROOM<\/td>\n<td>Do not assign to external peripherals<\/td>\n<\/tr>\n<tr>\n<td>UART0<\/td>\n<td>TX: 1; RX: 3<\/td>\n<td>Normally used by the programming\/debug connection<\/td>\n<\/tr>\n<tr>\n<td>ADC1 exposed on DevKitC<\/td>\n<td>32, 33, 34, 35, 36, 39<\/td>\n<td>Preferred for analog sensing while Wi-Fi operates<\/td>\n<\/tr>\n<tr>\n<td>DAC outputs<\/td>\n<td>25, 26<\/td>\n<td>Classic ESP32 only; do not assume every ESP32-family chip has these DACs<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u201cGeneral I\/O\u201d does not mean every pin is suitable for every job. A pin used by an SPI display cannot simultaneously serve an unrelated sensor, and a GPIO should not directly power a relay or motor. Use an appropriate driver circuit for the load.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_Do_30-Pin_and_38-Pin_ESP32_Boards_Differ\"><\/span>How Do 30-Pin and 38-Pin ESP32 Boards Differ?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The difference is the development board\u2019s exposed connections and physical layout; it does not mean the 38-pin board has eight more usable GPIOs.<\/p>\n<p>A typical ESP32 pinout 30 pin drawing describes a specific compact DevKit-style board. The official ESP32-DevKitC V4 has two 19-position headers, including supply, ground, control and flash-related contacts. Do not transfer a wire by its position from one format to the other.<\/p>\n<p>The table below is a connector lookup for <strong>ESP32-DevKitC V4 with a WROOM module<\/strong>. Numbers are J2\/J3 connector positions from Espressif\u2019s header tables, not GPIO numbers. Confirm orientation against the board before wiring.<\/p>\n<div class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>Position<\/strong><\/td>\n<td><strong>J2 label \/ signal<\/strong><\/td>\n<td><strong>J3 label \/ signal<\/strong><\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>3V3<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>EN<\/td>\n<td>IO23<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>VP \/ GPIO36<\/td>\n<td>IO22<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>VN \/ GPIO39<\/td>\n<td>TX \/ GPIO1<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>IO34<\/td>\n<td>RX \/ GPIO3<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>IO35<\/td>\n<td>IO21<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>IO32<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>IO33<\/td>\n<td>IO19<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>IO25<\/td>\n<td>IO18<\/td>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td>IO26<\/td>\n<td>IO5<\/td>\n<\/tr>\n<tr>\n<td>11<\/td>\n<td>IO27<\/td>\n<td>IO17<\/td>\n<\/tr>\n<tr>\n<td>12<\/td>\n<td>IO14<\/td>\n<td>IO16<\/td>\n<\/tr>\n<tr>\n<td>13<\/td>\n<td>IO12<\/td>\n<td>IO4<\/td>\n<\/tr>\n<tr>\n<td>14<\/td>\n<td>GND<\/td>\n<td>IO0<\/td>\n<\/tr>\n<tr>\n<td>15<\/td>\n<td>IO13<\/td>\n<td>IO2<\/td>\n<\/tr>\n<tr>\n<td>16<\/td>\n<td>D2 \/ GPIO9 \u2014 flash<\/td>\n<td>IO15<\/td>\n<\/tr>\n<tr>\n<td>17<\/td>\n<td>D3 \/ GPIO10 \u2014 flash<\/td>\n<td>D1 \/ GPIO8 \u2014 flash<\/td>\n<\/tr>\n<tr>\n<td>18<\/td>\n<td>CMD \/ GPIO11 \u2014 flash<\/td>\n<td>D0 \/ GPIO7 \u2014 flash<\/td>\n<\/tr>\n<tr>\n<td>19<\/td>\n<td>5V<\/td>\n<td>CLK \/ GPIO6 \u2014 flash<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"Which_ESP32_Pins_Need_Special_Care\"><\/span>Which ESP32 Pins Need Special Care?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Flash connections, input-only pins, strapping pins and module-specific PSRAM connections need review before they are connected to external hardware.<\/p>\n<figure style=\"width: 100%; max-width: 600px; margin: 24px auto;\"><img decoding=\"async\" style=\"width: 100%; max-width: 600px; max-height: 400px; height: auto; object-fit: contain;\" src=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/esp32-restricted-pin-locations-v3.jpg\" alt=\"ESP32 input-only GPIO, boot strapping and flash connections highlighted at their DevKitC V4 header locations\" \/><\/figure>\n<ul>\n<li><strong>GPIO6\u201311:<\/strong> leave the WROOM flash bus alone, even when the board exposes those contacts.<\/li>\n<li><strong>GPIO34\u201339:<\/strong> use for inputs only. A floating switch input needs an external bias resistor.<\/li>\n<li><strong>GPIO0:<\/strong> holding it low during reset selects serial download mode under the appropriate boot configuration.<\/li>\n<li><strong>GPIO12:<\/strong> a high reset-time level can select 1.8 V for VDD_SDIO unless overridden by configuration. That can prevent a board using 3.3 V flash from booting.<\/li>\n<li><strong>GPIO16\/17:<\/strong> available on the WROOM-based DevKitC reference, but reserved on WROVER variants.<\/li>\n<\/ul>\n<p>GPIO4 is not one of the classic ESP32\u2019s five strapping pins. It can still be occupied by board hardware, so \u201cnot a strap\u201d is not the same as \u201cunused.\u201d Check boot behavior with the peripheral attached and powered, not only with an unloaded board.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Can_ESP32_Pins_Use_5_V\"><\/span>Can ESP32 Pins Use 5 V?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Do not apply 5 V to an ESP32 GPIO or the 3V3 rail.<\/strong> A development board\u2019s 5V power input feeds its supply circuitry; it does not change the GPIO logic voltage.<\/p>\n<ul>\n<li>Connect 3.3 V peripherals using compatible signal levels and a common ground.<\/li>\n<li>Use suitable level translation when a peripheral drives 5 V signals toward the ESP32.<\/li>\n<li>Check sensor breakout-board pull-ups: a board powered from 5 V may also pull SDA\/SCL up to 5 V.<\/li>\n<li>For DevKitC V4, use only one documented supply method at a time: USB, 5V\/GND, or regulated 3V3\/GND.<\/li>\n<\/ul>\n<p>For a custom classic ESP32 design, Espressif recommends a 3.3 V supply capable of at least 500 mA. This is supply capability, not a claim that the device always consumes 500 mA. Include peripheral demand and transient performance when selecting the regulator. A weak supply can appear to be a pinout problem when the board resets during radio activity.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Which_Pins_Should_You_Use_for_I2C_SPI_and_UART\"><\/span>Which Pins Should You Use for I2C, SPI and UART?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>GPIO21\/22 are the Generic ESP32 Arduino I2C defaults; GPIO18\/19\/23 with GPIO5 are a common VSPI mapping; GPIO1\/3 are UART0 TX\/RX. Firmware can route many peripheral signals to other eligible pins.<\/p>\n<div class=\"wp-block-table\">\n<table>\n<tbody>\n<tr>\n<td><strong>Interface<\/strong><\/td>\n<td><strong>Example mapping<\/strong><\/td>\n<td><strong>Important condition<\/strong><\/td>\n<\/tr>\n<tr>\n<td>I2C<\/td>\n<td>SDA 21, SCL 22<\/td>\n<td>Pull-ups to the compatible logic rail; defaults vary by board definition<\/td>\n<\/tr>\n<tr>\n<td>SPI \/ VSPI<\/td>\n<td>SCLK 18, MISO 19, MOSI 23, CS 5<\/td>\n<td>GPIO5 is a strap; use another configured CS if the peripheral creates a reset conflict<\/td>\n<\/tr>\n<tr>\n<td>UART0<\/td>\n<td>TX 1, RX 3<\/td>\n<td>Sharing with the USB bridge can interfere with upload or logs<\/td>\n<\/tr>\n<tr>\n<td>Additional UART example<\/td>\n<td>TX 17, RX 16<\/td>\n<td>Explicitly configure the mapping; WROOM example, not WROVER<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<figure style=\"width: 100%; max-width: 600px; margin: 24px auto;\"><a href=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/esp32-interface-connections-v3.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 100%; max-width: 600px; max-height: 400px; height: auto; object-fit: contain;\" src=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/esp32-interface-connections-v3.jpg\" alt=\"Classic ESP32 signal connection examples for I2C, SPI and UART showing GPIO assignments, signal directions and common ground\" \/><\/a><\/figure>\n<p>For a compatible 3.3 V sensor, connect VCC to 3V3, GND to GND, SDA to GPIO21 and SCL to GPIO22, then configure the same pins in firmware. The diagram shows signal connections, not physical header positions. SDA\/SCL pull-ups must be provided on the sensor board or in your circuit.<\/p>\n<p>Choose I2C pull-up resistance from bus capacitance, speed and device limits rather than treating one resistor value as universal. For UART, connect the ESP32 TX to the peripheral RX and the ESP32 RX to the peripheral TX. RS-232 and RS-485 require the appropriate transceiver; neither connects directly to GPIOs.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Which_Pins_Support_ADC_DAC_PWM_and_Touch\"><\/span>Which Pins Support ADC, DAC, PWM and Touch?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Classic ESP32 ADC1 inputs support analog sensing without the ADC2\/Wi-Fi conflict; GPIO25 and GPIO26 provide DAC outputs; PWM uses eligible output GPIOs; touch sensing uses a defined subset of pins.<\/p>\n<ul>\n<li><strong>ADC1:<\/strong> GPIO32\u201339 at chip level, with GPIO32, 33, 34, 35, 36 and 39 accessible on the DevKitC reference.<\/li>\n<li><strong>ADC2:<\/strong> GPIO0, 2, 4, 12\u201315 and 25\u201327; analog access conflicts with Wi-Fi on the classic ESP32.<\/li>\n<li><strong>DAC:<\/strong> two 8-bit channels on GPIO25 and GPIO26.<\/li>\n<li><strong>PWM:<\/strong> choose an output-capable, otherwise available GPIO and configure the LEDC peripheral.<\/li>\n<li><strong>Touch:<\/strong> GPIO0, 2, 4, 12\u201315, 27, 32 and 33 on the classic ESP32.<\/li>\n<\/ul>\n<p>ADC range depends on attenuation and calibration; a 3.3 V logic supply does not promise accurate 0\u20133.3 V analog measurement. Check the configured measurement range and the sensor\u2019s maximum output, including transients. The ADC2 restriction concerns analog conversion, not a blanket ban on using every ADC2-capable pin digitally during Wi-Fi operation.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Why_Does_an_ESP32_Stop_Booting_After_Wiring_a_Peripheral\"><\/span>Why Does an ESP32 Stop Booting After Wiring a Peripheral?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First check whether the peripheral changes a strapping level, loads the supply, drives a programming pin or touches the flash bus.<\/p>\n<ol>\n<li>Disconnect the added peripheral and verify the board boots again.<\/li>\n<li>Measure 3V3 and EN during startup. Look for supply dips rather than relying only on a steady-state meter reading.<\/li>\n<li>Check GPIO0 and other straps against the exact module\u2019s boot requirements.<\/li>\n<li>Remove external loading from GPIO1\/3 while testing firmware upload.<\/li>\n<li>Verify firmware GPIO names against the schematic; do not use header-position numbers as GPIO numbers.<\/li>\n<\/ol>\n<p>If the board works until Wi-Fi starts, investigate regulator capacity, wiring resistance and decoupling. If only analog readings fail with Wi-Fi enabled, check whether the sensor is on ADC2. These are different failure mechanisms and need different fixes.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_Changes_When_You_Put_an_ESP32_Module_on_a_Custom_PCB\"><\/span>What Changes When You Put an ESP32 Module on a Custom PCB?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A custom board must reproduce the module\u2019s required power, enable, boot and programming connections while respecting its footprint and antenna placement rules.<\/p>\n<figure style=\"width: 100%; max-width: 600px; margin: 24px auto;\"><img decoding=\"async\" style=\"width: 100%; max-width: 600px; max-height: 400px; height: auto; object-fit: contain;\" src=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/esp32-custom-pcb-layout-v3.jpg\" alt=\"Conceptual custom ESP32 PCB layout with module antenna beyond the host board edge, power decoupling and programming test access\" \/><\/figure>\n<ul>\n<li><strong>Footprint:<\/strong> match the exact module pad numbering, orientation and exposed ground connection.<\/li>\n<li><strong>Antenna:<\/strong> follow the module-specific keepout; do not place copper or components in an area the antenna drawing requires to be clear.<\/li>\n<li><strong>Programming:<\/strong> preserve access to the required UART, EN, boot control and ground signals.<\/li>\n<li><strong>Test access:<\/strong> provide measurable power rails and useful I\/O test points before routing becomes congested.<\/li>\n<li><strong>Assembly validation:<\/strong> inspect module joints and verify cold-start, firmware download and the intended peripheral operation.<\/li>\n<\/ul>\n<p>Our <a href=\"https:\/\/www.bestpcbs.com\/products\/pcba.htm\">PCB assembly services<\/a> can support the transition from prototype to assembled hardware. Define the actual test sequence with the build: successful firmware download alone does not prove sensor accuracy, radio performance or behavior with every external load connected.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"FAQ_About_ESP32_Pinout\"><\/span>FAQ About ESP32 Pinout<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Is an ESP32 pinout 38 pin diagram valid for every 38-pin board?<\/strong><\/p>\n<p>No. Matching pin count does not establish matching header order, regulator connections or onboard peripherals. Use the exact board schematic and revision.<\/p>\n<p><strong>Can I use GPIO34 to drive an LED?<\/strong><\/p>\n<p>No. GPIO34 is input-only on the classic ESP32. Choose an available output-capable GPIO and add suitable current limiting or a driver.<\/p>\n<p><strong>Are VP and VN power connections?<\/strong><\/p>\n<p>No. On the DevKitC reference, VP maps to GPIO36 and VN to GPIO39. They are input signals, not positive and negative supply terminals.<\/p>\n<p><strong>Does EN mean a normal GPIO?<\/strong><\/p>\n<p>No. EN controls the chip enable\/reset function. Pulling it low resets the chip; it is not a general application output.<\/p>\n<p><strong>Can I reuse a classic ESP32 pin map for ESP32-S3?<\/strong><\/p>\n<p>No. Use the S3-specific datasheet and development-board schematic. Similar family names do not guarantee compatible GPIO assignments or peripheral features.<\/p>\n<p><strong>Does a USB-C connector mean the ESP32 has native USB?<\/strong><\/p>\n<p>No. A classic ESP32 development board can use USB-C through a USB-to-UART bridge. The connector shape does not identify how USB communication reaches the chip.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Need_Help_Moving_Your_ESP32_Prototype_to_a_Custom_PCB\"><\/span>Need Help Moving Your ESP32 Prototype to a Custom PCB?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Bring the exact module part number, schematic and intended pin assignments into the review before PCB layout is finalized. At EBest Circuit, we can discuss fabrication, assembly and the test requirements for your custom board. Contact <a href=\"mailto:sales@bestpcbs.com\">sales@bestpcbs.com<\/a> with your design and project requirements.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Read the ESP32 pinout for classic WROOM boards, compare 30-pin and 38-pin layouts, and choose GPIOs for I2C, SPI, UART and analog inputs.<\/p>\n","protected":false},"author":623,"featured_media":37797,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[175,5789,16],"tags":[8937,8940,8941,8938,8939],"class_list":["post-37788","post","type-post","status-publish","format-standard","hentry","category-best-pcb","category-pcb-design","category-pcb-technology","tag-esp32-pinout","tag-esp32-pinout-30-pin","tag-esp32-pinout-38-pin","tag-esp32-pinout-diagram","tag-esp32-pinout-reference"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Read the ESP32 pinout for classic WROOM boards, compare 30-pin and 38-pin layouts, and choose GPIOs for I2C, SPI, UART and analog inputs.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Love PCB\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"PCB &amp; MCPCB - EBest PCB - More Technical Details &amp; News on PCB, MCPCB &amp; Ceramic PCB from EBest PCB\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"ESP32 Pinout: GPIO, Power and Interface Pin Guide\" \/>\n\t\t<meta property=\"og:description\" content=\"Read the ESP32 pinout for classic WROOM boards, compare 30-pin and 38-pin layouts, and choose GPIOs for I2C, SPI, UART and analog inputs.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2025\/08\/logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2025\/08\/logo.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-10-23T06:18:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-23T07:01:32+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Bestpcbs1\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@bestpcbs\" \/>\n\t\t<meta name=\"twitter:title\" content=\"ESP32 Pinout: GPIO, Power and Interface Pin Guide\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Read the ESP32 pinout for classic WROOM boards, compare 30-pin and 38-pin layouts, and choose GPIOs for I2C, SPI, UART and analog inputs.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@bestpcbs\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2016\/02\/logo.gif\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#blogposting\",\"name\":\"ESP32 Pinout: GPIO, Power and Interface Pin Guide\",\"headline\":\"ESP32 Pinout: GPIO, Power and Interface Pin Guide\",\"author\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/author\\\/seo\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/esp32-pinout-overview-v3.jpg\",\"width\":1536,\"height\":1024,\"caption\":\"ESP32-DevKitC V4 WROOM structural overview showing both 19-pin headers, antenna and Micro-USB orientation\"},\"datePublished\":\"2026-10-23T14:18:47+08:00\",\"dateModified\":\"2026-10-23T15:01:32+08:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#webpage\"},\"articleSection\":\"best pcb, PCB Design, PCB Technology, esp32 pinout, esp32 pinout 30 pin, esp32 pinout 38 pin, esp32 pinout diagram, esp32 pinout reference\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/category\\\/pcb-technology\\\/#listItem\",\"name\":\"PCB Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/category\\\/pcb-technology\\\/#listItem\",\"position\":2,\"name\":\"PCB Technology\",\"item\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/category\\\/pcb-technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#listItem\",\"name\":\"ESP32 Pinout: GPIO, Power and Interface Pin Guide\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#listItem\",\"position\":3,\"name\":\"ESP32 Pinout: GPIO, Power and Interface Pin Guide\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/category\\\/pcb-technology\\\/#listItem\",\"name\":\"PCB Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/#organization\",\"name\":\"PCB & MCPCB - Best Technology\",\"description\":\"More Technical Details & News on PCB, MCPCB & Ceramic PCB from EBest PCB\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/\",\"telephone\":\"+8675529091601\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/logo.png\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Bestpcbs1\",\"https:\\\/\\\/twitter.com\\\/bestpcbs\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCJsTR02i6mtLFnBBNC_i4bQ\\\/featured\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/best-pcb-technology\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/author\\\/seo\\\/#author\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/author\\\/seo\\\/\",\"name\":\"Love PCB\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a7888223b6638d2aaf515046d034707e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Love PCB\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#webpage\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/\",\"name\":\"ESP32 Pinout: GPIO, Power and Interface Pin Guide\",\"description\":\"Read the ESP32 pinout for classic WROOM boards, compare 30-pin and 38-pin layouts, and choose GPIOs for I2C, SPI, UART and analog inputs.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/author\\\/seo\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/author\\\/seo\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/esp32-pinout-overview-v3.jpg\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#mainImage\",\"width\":1536,\"height\":1024,\"caption\":\"ESP32-DevKitC V4 WROOM structural overview showing both 19-pin headers, antenna and Micro-USB orientation\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/esp32-pinout\\\/#mainImage\"},\"datePublished\":\"2026-10-23T14:18:47+08:00\",\"dateModified\":\"2026-10-23T15:01:32+08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/\",\"name\":\"PCB & MCPCB - Best Technology\",\"description\":\"More Technical Details & News on PCB, MCPCB & Ceramic PCB from EBest PCB\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"ESP32 Pinout: GPIO, Power and Interface Pin Guide","description":"Read the ESP32 pinout for classic WROOM boards, compare 30-pin and 38-pin layouts, and choose GPIOs for I2C, SPI, UART and analog inputs.","canonical_url":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#blogposting","name":"ESP32 Pinout: GPIO, Power and Interface Pin Guide","headline":"ESP32 Pinout: GPIO, Power and Interface Pin Guide","author":{"@id":"https:\/\/www.bestpcbs.com\/blog\/author\/seo\/#author"},"publisher":{"@id":"https:\/\/www.bestpcbs.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/esp32-pinout-overview-v3.jpg","width":1536,"height":1024,"caption":"ESP32-DevKitC V4 WROOM structural overview showing both 19-pin headers, antenna and Micro-USB orientation"},"datePublished":"2026-10-23T14:18:47+08:00","dateModified":"2026-10-23T15:01:32+08:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#webpage"},"isPartOf":{"@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#webpage"},"articleSection":"best pcb, PCB Design, PCB Technology, esp32 pinout, esp32 pinout 30 pin, esp32 pinout 38 pin, esp32 pinout diagram, esp32 pinout reference"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.bestpcbs.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog\/category\/pcb-technology\/#listItem","name":"PCB Technology"}},{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog\/category\/pcb-technology\/#listItem","position":2,"name":"PCB Technology","item":"https:\/\/www.bestpcbs.com\/blog\/category\/pcb-technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#listItem","name":"ESP32 Pinout: GPIO, Power and Interface Pin Guide"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#listItem","position":3,"name":"ESP32 Pinout: GPIO, Power and Interface Pin Guide","previousItem":{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog\/category\/pcb-technology\/#listItem","name":"PCB Technology"}}]},{"@type":"Organization","@id":"https:\/\/www.bestpcbs.com\/blog\/#organization","name":"PCB & MCPCB - Best Technology","description":"More Technical Details & News on PCB, MCPCB & Ceramic PCB from EBest PCB","url":"https:\/\/www.bestpcbs.com\/blog\/","telephone":"+8675529091601","logo":{"@type":"ImageObject","url":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2025\/08\/logo.png","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#organizationLogo"},"image":{"@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/Bestpcbs1","https:\/\/twitter.com\/bestpcbs","https:\/\/www.youtube.com\/channel\/UCJsTR02i6mtLFnBBNC_i4bQ\/featured","https:\/\/www.linkedin.com\/company\/best-pcb-technology"]},{"@type":"Person","@id":"https:\/\/www.bestpcbs.com\/blog\/author\/seo\/#author","url":"https:\/\/www.bestpcbs.com\/blog\/author\/seo\/","name":"Love PCB","image":{"@type":"ImageObject","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/a7888223b6638d2aaf515046d034707e?s=96&d=mm&r=g","width":96,"height":96,"caption":"Love PCB"}},{"@type":"WebPage","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#webpage","url":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/","name":"ESP32 Pinout: GPIO, Power and Interface Pin Guide","description":"Read the ESP32 pinout for classic WROOM boards, compare 30-pin and 38-pin layouts, and choose GPIOs for I2C, SPI, UART and analog inputs.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.bestpcbs.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#breadcrumblist"},"author":{"@id":"https:\/\/www.bestpcbs.com\/blog\/author\/seo\/#author"},"creator":{"@id":"https:\/\/www.bestpcbs.com\/blog\/author\/seo\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/esp32-pinout-overview-v3.jpg","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#mainImage","width":1536,"height":1024,"caption":"ESP32-DevKitC V4 WROOM structural overview showing both 19-pin headers, antenna and Micro-USB orientation"},"primaryImageOfPage":{"@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/#mainImage"},"datePublished":"2026-10-23T14:18:47+08:00","dateModified":"2026-10-23T15:01:32+08:00"},{"@type":"WebSite","@id":"https:\/\/www.bestpcbs.com\/blog\/#website","url":"https:\/\/www.bestpcbs.com\/blog\/","name":"PCB & MCPCB - Best Technology","description":"More Technical Details & News on PCB, MCPCB & Ceramic PCB from EBest PCB","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.bestpcbs.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"PCB &amp; MCPCB - EBest PCB - More Technical Details &amp; News on PCB, MCPCB &amp; Ceramic PCB from EBest PCB","og:type":"article","og:title":"ESP32 Pinout: GPIO, Power and Interface Pin Guide","og:description":"Read the ESP32 pinout for classic WROOM boards, compare 30-pin and 38-pin layouts, and choose GPIOs for I2C, SPI, UART and analog inputs.","og:url":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/","og:image":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2025\/08\/logo.png","og:image:secure_url":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2025\/08\/logo.png","article:published_time":"2026-10-23T06:18:47+00:00","article:modified_time":"2026-10-23T07:01:32+00:00","article:publisher":"https:\/\/www.facebook.com\/Bestpcbs1","twitter:card":"summary_large_image","twitter:site":"@bestpcbs","twitter:title":"ESP32 Pinout: GPIO, Power and Interface Pin Guide","twitter:description":"Read the ESP32 pinout for classic WROOM boards, compare 30-pin and 38-pin layouts, and choose GPIOs for I2C, SPI, UART and analog inputs.","twitter:creator":"@bestpcbs","twitter:image":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2016\/02\/logo.gif"},"aioseo_meta_data":{"post_id":"37788","title":"ESP32 Pinout: GPIO, Power and Interface Pin Guide","description":"Read the ESP32 pinout for classic WROOM boards, compare 30-pin and 38-pin layouts, and choose GPIOs for I2C, SPI, UART and analog inputs.","keywords":null,"keyphrases":{"focus":{"keyphrase":"esp32 pinout","score":69,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":2},"keyphraseInURL":{"score":5,"maxScore":5,"error":0},"keyphraseInIntroduction":{"score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"score":3,"maxScore":9,"error":1},"keyphraseInImageAlt":{"score":3,"maxScore":9,"error":1},"keywordDensity":{"score":0,"type":"low","maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":0,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-10-23 02:40:07","updated":"2026-10-23 08:01:04","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bestpcbs.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bestpcbs.com\/blog\/category\/pcb-technology\/\" title=\"PCB Technology\">PCB Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tESP32 Pinout: GPIO, Power and Interface Pin Guide\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.bestpcbs.com\/blog"},{"label":"PCB Technology","link":"https:\/\/www.bestpcbs.com\/blog\/category\/pcb-technology\/"},{"label":"ESP32 Pinout: GPIO, Power and Interface Pin Guide","link":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/esp32-pinout\/"}],"_links":{"self":[{"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/posts\/37788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/users\/623"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/comments?post=37788"}],"version-history":[{"count":4,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/posts\/37788\/revisions"}],"predecessor-version":[{"id":37819,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/posts\/37788\/revisions\/37819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/media\/37797"}],"wp:attachment":[{"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/media?parent=37788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/categories?post=37788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/tags?post=37788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}