User Tools

Site Tools


tutorials:wireless:esp:esp32:esp32_io_information

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:wireless:esp:esp32:esp32_io_information [2019/05/07 03:06]
modtronix
tutorials:wireless:esp:esp32:esp32_io_information [2019/09/13 00:10] (current)
modtronix
Line 10: Line 10:
 ====== Pinouts & GPIO Pins ====== ====== Pinouts & GPIO Pins ======
  
-^ ESP32 Pin ^ Analog ^ DAC/T ^ Serial ^ NodeMCU ^ Wrover ^ Note ^ +^ ESP32 Pin ^ Analog ^ DAC/T ^ Serial ​^ Modtronix esp32MX ​^ NodeMCU ^ Wrover ^ Note ^ 
-| GPIO0  | ADC2-1 ​ | Touch 1 |         ​| User/​Firmware ​Button ​\\ to 0V |     | Default **Pull-Up**. Bootloader Mode=0, Run Mode=1 | +| GPIO0  | ADC2-1 ​ | Touch-1 |           | **NOT available**,​ used by\\ Bootloader and PHY | User/​Firmware\\ ​Button ​to 0V |     | Default **Pull-Up**. Bootloader Mode=0, Run Mode=1 | 
-| GPIO1  |         ​| ​        | TX0     ​| USB TX |     ​| On the ESP32-NodeMCU,​ this pin is used for the USB to Serial converter TX pin    | +| GPIO1  |         ​| ​        | TX0       ​**Available** if USB comm not used.\\ ​USB TX.USB TX        |  ​| On the ESP32-NodeMCU,​ this pin is used for the USB to Serial converter TX pin    | 
-| GPIO2  | ADC2-2 ​ | Touch 2 |         ​| LED, 1=ON     | Default **Pull-Down**. Must be 0 to enter Bootloader Mode (when GPIO0=0). | +| GPIO2  | ADC2-2 ​ | Touch-2 |           | **Available** if SD not used.\\ SD Card. 47k PU| LED, 1=ON     |  ​| Default **Pull-Down**. Must be 0 to enter Bootloader Mode (when GPIO0=0). | 
-| GPIO3  |         ​| ​        | RX0     ​| USB RX |     ​| On the ESP32-NodeMCU,​ this pin is used for the USB to Serial converter RX pin    | +| GPIO3  |         ​| ​        | RX0       ​**Available** if USB comm not used.\\ ​USB RX via jumper. ​USB RX        |  ​| On the ESP32-NodeMCU,​ this pin is used for the USB to Serial converter RX pin    | 
-| GPIO4  | ADC2-0 ​ | Touch 0 |         ​    ​    ​|     |  +| GPIO4  | ADC2-0 ​ | Touch-0 |           ​**Available** to user.               |  ​|     |  
-| GPIO5  |         ​| ​        | VSPI-SS ​       ​    ​| Default **Pull-up**,​ use to determine timing of SDIO Slave. | +| GPIO5  |         ​| ​        | VSPI-SS ​  ​**Available** by default,\\ LED via Jumper ​              |  ​| Default **Pull-up**,​ use to determine timing of SDIO Slave. | 
-| GPIO12 | ADC2-5 ​ | Touch 5 | MISO        ​    ​| Default **Pull-down**. If 1 at PU, sets flash = 1.8V, else standard 3.3V. **MUST be 0** at PU for 3.3V board! | +| GPIO12 | ADC2-5 ​ | Touch-5 | MISO      **Available** to user.               ​ | **JTAG** TDI - Default **Pull-down**. If 1 at PU, sets flash = 1.8V, else standard 3.3V. **MUST be 0** at PU for 3.3V board! | 
-| GPIO13 | ADC2-4 ​ | Touch 4 | MOSI        ​    ​    ​+| GPIO13 | ADC2-4 ​ | Touch-4 | MOSI      **Available** to user.               ​ | **JTAG** TCK    ​
-| GPIO14 | ADC2-6 ​ | Touch 6 | CLK     ​    ​    ​    ​+| GPIO14 | ADC2-6 ​ | Touch-6 | CLK       ​**Available** if SD not used.\\ SD Card.              ​ | **JTAG** TMS    ​
-| GPIO15 | ADC2-3 ​ | Touch 3 | SS          ​    ​| Default **Pull-up**. If 0 at PU, silences boot messages printed by the ROM bootloader.| +| GPIO15 | ADC2-3 ​ | Touch-3 | SS        **Available** if SD not used.\\ SD Card.              ​ | **JTAG** TDO - Default **Pull-up**. If 0 at PU, silences boot messages printed by the ROM bootloader.| 
-| GPIO16 |         ​| ​        | RX2     ​    ​    ​| **NOT AVAILABLE** on Wrover, used for PSRAM CS ! | +| GPIO16 |         ​| ​        | RX2       ​**Available** to user.               |  ​| **NOT AVAILABLE** on Wrover, used for PSRAM CS ! | 
-| GPIO17 |         ​| ​        | TX2     ​    ​    ​| **NOT AVAILABLE** on Wrover, used for PSRAM CLK ! | +| GPIO17 |         ​| ​        | TX2       ​**Available** to user.               |  ​| **NOT AVAILABLE** on Wrover, used for PSRAM CLK ! | 
-| GPIO18 |         ​| ​        | VSPI-CLK ​  ​    ​    ​|     | +| GPIO18 |         ​| ​        | VSPI-CLK ​ **NOT available**,​ used by PHY               |  ​|     | 
-| GPIO19 |         ​| ​        | VSPI-MISO ​     ​    ​|     | +| GPIO19 |         ​| ​        | VSPI-MISO | **NOT available**,​ used by PHY               |  ​|     | 
-| GPIO21 |         ​| ​        | I2C-SDA |     ​    ​|     | +| GPIO21 |         ​| ​        | I2C-SDA ​  ​**NOT available**,​ used by PHY               |  ​|     | 
-| GPIO22 |         ​| ​        | I2C-SCL |     ​    ​|     | +| GPIO22 |         ​| ​        | I2C-SCL ​  ​**NOT available**,​ used by PHY               |  ​|     | 
-| GPIO23 |         ​| ​        | VSPI-MOSI ​     ​    ​|     | +| GPIO23 |         ​| ​        | VSPI-MOSI | **NOT available**,​ used by PHY               |  ​|     | 
-| GPIO25 | ADC2-8 ​ | DAC 1   ​| ​        ​    ​    ​|     | +| GPIO25 | ADC2-8 ​ | DAC 1   ​| ​          ​**NOT available**,​ used by PHY               |  ​|     | 
-| GPIO26 | ADC2-9 ​ | DAC 2   ​| ​        ​    ​    ​|     | +| GPIO26 | ADC2-9 ​ | DAC 2   ​| ​          ​**NOT available**,​ used by PHY               |  ​|     | 
-| GPIO27 | ADC2-7 ​ | Touch 7 |         ​    ​    ​|     | +| GPIO27 | ADC2-7 ​ | Touch-7 |           ​**NOT available**,​ used by PHY               |  ​|     | 
-| GPIO32 | ADC1-4 ​ | Touch 9 |         ​    ​    ​| XTAL32 | +| GPIO32 | ADC1-4 ​ | Touch-9 |           ​I2C SCL, can also be\\ **used for user I2C**               |  ​| XTAL32 | 
-| GPIO33 | ADC1-5 ​ | Touch 8 |         ​    ​    ​| XTAL32 | +| GPIO33 | ADC1-5 ​ | Touch-8 |           ​I2C SCL, can also be\\ **used for user I2C**               |  ​| XTAL32 | 
-| GPIO34 | ADC1-6 ​ |         ​| ​        ​    ​    ​| **Input Only!** No PU or PW! | +| GPIO34 | ADC1-6 ​ |         ​| ​          ​**Available** by default,\\ User Button via Jumper ​              |  ​| **Input Only!** No PU or PW! | 
-| GPIO35 | ADC1-7 ​ |         ​| ​        ​    ​    ​| **Input Only!** No PU or PW! | +| GPIO35 | ADC1-7 ​ |         ​| ​          ​**Available** to user.\\ ​ Input only               |  ​| **Input Only!** No PU or PW! | 
-| GPIO36 | ADC1-0 ​ |         ​| ​        ​    ​    ​| **Input Only!** No PU or PW! | +| GPIO36 | ADC1-0 ​ |         ​| ​          ​**Available** to user.\\ ​ Input only               |  ​| **Input Only!** No PU or PW! | 
-| GPIO39 | ADC1-3 ​ |         ​| ​        ​    ​    ​| **Input Only!** No PU or PW! |+| GPIO39 | ADC1-3 ​ |         ​| ​          ​**Available** to user.\\ ​ Input only               |  ​| **Input Only!** No PU or PW! |
  
 ===== Other Pins that are not available ===== ===== Other Pins that are not available =====
Line 137: Line 137:
 ===== Buttons and LEDs ===== ===== Buttons and LEDs =====
 The following pins are used for Buttons and LEDs on common ESP32 based boards: The following pins are used for Buttons and LEDs on common ESP32 based boards:
 +
 +===== JTAG Pins =====
 +Pins 12 to 15 are also used for JTAG functions. If JTAG debugging is required, these pins should be used in such a way that they will be
 +available for the JTAG programmer/​debugger.
  
 ===== ESP32 Strapping Pins ===== ===== ESP32 Strapping Pins =====
tutorials/wireless/esp/esp32/esp32_io_information.1557212770.txt.gz · Last modified: 2019/05/07 03:06 by modtronix