Table of Contents

Espressif Systems ESP32

esp32-top.jpg

esp32-bottom.jpg

The Espressif Systems ESP32 is used in cheap WiFi modules. It embeds an Xtensa LX6 CPU.

Also see tasmota for various applications of this processor.

Pinout

ESP DEVKIT V1
                                            +------+
           EN                               |  15  | GPIO23                 VSPI_MOSI
RTC_GPIO0  SENSOR_VP        ADC1_CH0 GPIO36 |  14  | GPIO22                 I2C_SCL
RTC_GPIO3  SENSOR_VN        ADC1_CH3 GPIO39 |  13  | GPIO1                  UART0_TX
RTC_GPIO4  VDET1            ADC1_CH6 GPIO34 |  12  | GPIO3                  UART0_RX
RTC_GPIO5  VDET2            ADC1_CH7 GPIO35 |  11  | GPIO21                 I2C_SDA
RTC_GPIO9  XTAL_32K  TOUCH9 ADC1_CH4 GPIO32 |  10  | GPIO19                 VSPI_MISO
RTC_GPIO8  XTAL_32K  TOUCH8 ADC1_CH5 GPIO33 |  9   | GPIO18                 VSPI_CLK
RTC_GPIO6  DAC1             ADC2_CH8 GPIO25 |  8   | GPIO5                  VSPI_CS0
RTC_GPIO7  DAC2             ADC2_CH9 GPIO26 |  7   | GPIO17                 UART2_TX
RTC_GPIO17           TOUCH7 ADC2_CH7 GPIO27 |  6   | GPIO16                 UART2_RX
RTC_GPIO16 HSPI_CLK  TOUCH6 ADC2_CH6 GPIO14 |  5   | GPIO4  ADC2_CH0 TOUCH0            RTC_GPIO10
RTC_GPIO15 HSPI_MISO TOUCH5 ADC2_CH5 GPIO12 |  4   | GPIO2  ADC2_CH2 TOUCH2            RTC_GPIO12
RTC_GPIO14 HSPI_MOSI TOUCH4 ADC2_CH4 GPIO13 |  3   | GPIO15 ADC2_CH3 TOUCH3 HSPI_CS0   RTC_GPIO13
           GND                              |  2   |                        GND
           VIN                              |  1   |                        3V3
                                            +------+ 
NODEMCU ESP-32S
                                            +------+
           3V3                              |      |                        GND
           EN_RESET                         |      | GPIO23                 VSPI_MOSI
RTC_GPIO0  SENSOR_VP        ADC1_CH0 GPIO36 |      | GPIO22                 I2C_SCL
RTC_GPIO3  SENSOR_VN        ADC1_CH3 GPIO39 |      | GPIO1                  UART0_TX
RTC_GPIO4                   ADC1_CH6 GPIO34 |      | GPIO3                  UART0_RX
RTC_GPIO5                   ADC1_CH7 GPIO35 |      | GPIO21                 I2C_SDA
RTC_GPIO9            TOUCH9 ADC1_CH4 GPIO32 |      |                        GND
RTC_GPIO8            TOUCH8 ADC1_CH5 GPIO33 |      | GPIO19                 VSPI_MISO
RTC_GPIO6  DAC1             ADC2_CH8 GPIO25 |      | GPIO18                 VSPI_CLK
RTC_GPIO7  DAC2             ADC2_CH9 GPIO26 |      | GPIO5                  VSPI_CS0
RTC_GPIO17           TOUCH7 ADC2_CH7 GPIO27 |      | GPIO17                 UART2_TX
RTC_GPIO16 HSPI_CLK  TOUCH6 ADC2_CH6 GPIO14 |      | GPIO16                 UART2_RX
RTC_GPIO15 HSPI_MISO TOUCH5 ADC2_CH5 GPIO12 |      | GPIO4  ADC2_CH0 TOUCH0            RTC_GPIO10
           GND                              |      | GPIO0  ADC2_CH1 TOUCH1            RTC_GPIO11
RTC_GPIO14 HSPI_MOSI TOUCH4 ADC2_CH4 GPIO13 |      | GPIO2  ADC2_CH2 TOUCH2            RTC_GPIO12
           UART1_RX                   GPIO9 |      | GPIO15 ADC2_CH3 TOUCH3 HSPI_CS0   RTC_GPIO13
           UART1_TX                  GPIO10 |      | GPIO8
                                     GPIO11 |      | GPIO7
           VIN                              |      | GPIO6
                                            +------+

Resources

MCU data-sheet