Both sides previous revisionPrevious revisionNext revision | Previous revision |
boards:esp32 [2020/07/15 23:17] – [Pinout] darron | boards:esp32 [2023/12/15 07:53] (current) – darron |
---|
<wrap right> | <wrap right> |
{{:boards:esp32-top.jpg?100}} | {{:boards:esp32-top.jpg?100}} |
| \\ \\ |
{{:boards:esp32-bottom.jpg?100}} | {{:boards:esp32-bottom.jpg?100}} |
</wrap> | </wrap> |
| |
The Espressif Systems ESP32 is used in cheap WiFi modules. It embeds an Xtensa LX6 CPU. | The Espressif Systems ESP32 is used in cheap WiFi modules. It embeds an Xtensa LX6 CPU. |
| |
| Also see [[tools:tasmota|tasmota]] for various applications of this processor. |
| |
=== Pinout === | === Pinout === |
| |
== ESP DEVKIT V1== | == ESP DEVKIT V1== |
| |
<code> | <code> |
EN +------+ GPIO23 VSPI_MOSI | +------+ |
RTC_GPIO0 SENSOR_VP ADC1_CH0 GPIO36 | | GPIO22 I2C_SCL | EN | 15 | GPIO23 VSPI_MOSI |
RTC_GPIO3 SENSOR_VN ADC1_CH3 GPIO39 | | GPIO1 UART0_TX | RTC_GPIO0 SENSOR_VP ADC1_CH0 GPIO36 | 14 | GPIO22 I2C_SCL |
RTC_GPIO4 ADC1_CH6 GPIO34 | | GPIO3 UART0_RX | RTC_GPIO3 SENSOR_VN ADC1_CH3 GPIO39 | 13 | GPIO1 UART0_TX |
RTC_GPIO5 ADC1_CH7 GPIO35 | | GPIO21 I2C_SDA | RTC_GPIO4 VDET1 ADC1_CH6 GPIO34 | 12 | GPIO3 UART0_RX |
RTC_GPIO9 TOUCH9 ADC1_CH4 GPIO32 | | GPIO19 VSPI_MISO | RTC_GPIO5 VDET2 ADC1_CH7 GPIO35 | 11 | GPIO21 I2C_SDA |
RTC_GPIO8 TOUCH8 ADC1_CH5 GPIO33 | | GPIO18 VSPI_CLK | RTC_GPIO9 XTAL_32K TOUCH9 ADC1_CH4 GPIO32 | 10 | GPIO19 VSPI_MISO |
RTC_GPIO6 DAC1 ADC1_CH8 GPIO25 | | GPIO5 VSPI_CS0 | RTC_GPIO8 XTAL_32K TOUCH8 ADC1_CH5 GPIO33 | 9 | GPIO18 VSPI_CLK |
RTC_GPIO7 DAC2 ADC1_CH9 GPIO26 | | GPIO17 UART2_TX | RTC_GPIO6 DAC1 ADC2_CH8 GPIO25 | 8 | GPIO5 VSPI_CS0 |
RTC_GPIO17 TOUCH7 ADC1_CH7 GPIO27 | | GPIO16 UART2_RX | RTC_GPIO7 DAC2 ADC2_CH9 GPIO26 | 7 | GPIO17 UART2_TX |
RTC_GPIO16 HSPI_CLK TOUCH6 ADC1_CH6 GPIO14 | | GPIO4 ADC2_CH0 TOUCH0 RTC_GPIO10 | RTC_GPIO17 TOUCH7 ADC2_CH7 GPIO27 | 6 | GPIO16 UART2_RX |
RTC_GPIO15 HSPI_MISO TOUCH5 ADC1_CH5 GPIO12 | | GPIO2 ADC2_CH2 TOUCH2 RTC_GPIO12 | RTC_GPIO16 HSPI_CLK TOUCH6 ADC2_CH6 GPIO14 | 5 | GPIO4 ADC2_CH0 TOUCH0 RTC_GPIO10 |
RTC_GPIO14 HSPI_MOSI TOUCH4 ADC1_CH4 GPIO13 | | GPIO15 ADC2_CH3 TOUCH3 HSPI_CS0 RTC_GPIO13 | RTC_GPIO15 HSPI_MISO TOUCH5 ADC2_CH5 GPIO12 | 4 | GPIO2 ADC2_CH2 TOUCH2 RTC_GPIO12 |
SHD/SD2 GPIO9 | | GPIO0 ADC2_CH1 TOUCH1 RTC_GPIO11 | RTC_GPIO14 HSPI_MOSI TOUCH4 ADC2_CH4 GPIO13 | 3 | GPIO15 ADC2_CH3 TOUCH3 HSPI_CS0 RTC_GPIO13 |
SWP/SD3 GPIO10 | | GPIO8 SDI/SD1 | GND | 2 | GND |
CSC/CMD GPIO11 | | GPIO7 SDO/SD0 | VIN | 1 | 3V3 |
GND | | GPIO6 SCK/CLK | +------+ |
VIN +------+ 3V3 | |
</code> | </code> |
| |
== NODEMCU ESP-32S == | == NODEMCU ESP-32S == |
| |
<code> | <code> |
3V3 +------+ GND | +------+ |
| 3V3 | | GND |
EN_RESET | | GPIO23 VSPI_MOSI | EN_RESET | | GPIO23 VSPI_MOSI |
RTC_GPIO0 SENSOR_VP ADC1_CH0 GPIO36 | | GPIO22 I2C_SCL | RTC_GPIO0 SENSOR_VP ADC1_CH0 GPIO36 | | GPIO22 I2C_SCL |
RTC_GPIO4 ADC1_CH6 GPIO34 | | GPIO3 UART0_RX | RTC_GPIO4 ADC1_CH6 GPIO34 | | GPIO3 UART0_RX |
RTC_GPIO5 ADC1_CH7 GPIO35 | | GPIO21 I2C_SDA | RTC_GPIO5 ADC1_CH7 GPIO35 | | GPIO21 I2C_SDA |
RTC_GPIO9 TOUCH9 ADC1_CH4 GPIO32 | | GPIO19 VSPI_MISO | RTC_GPIO9 TOUCH9 ADC1_CH4 GPIO32 | | GND |
RTC_GPIO8 TOUCH8 ADC1_CH5 GPIO33 | | GPIO18 VSPI_CLK | RTC_GPIO8 TOUCH8 ADC1_CH5 GPIO33 | | GPIO19 VSPI_MISO |
RTC_GPIO6 DAC1 ADC1_CH8 GPIO25 | | GPIO5 VSPI_CS0 | RTC_GPIO6 DAC1 ADC2_CH8 GPIO25 | | GPIO18 VSPI_CLK |
RTC_GPIO7 DAC2 ADC1_CH9 GPIO26 | | GPIO17 UART2_TX | RTC_GPIO7 DAC2 ADC2_CH9 GPIO26 | | GPIO5 VSPI_CS0 |
RTC_GPIO17 TOUCH7 ADC1_CH7 GPIO27 | | GPIO16 UART2_RX | RTC_GPIO17 TOUCH7 ADC2_CH7 GPIO27 | | GPIO17 UART2_TX |
RTC_GPIO16 HSPI_CLK TOUCH6 ADC1_CH6 GPIO14 | | GPIO4 ADC2_CH0 TOUCH0 RTC_GPIO10 | RTC_GPIO16 HSPI_CLK TOUCH6 ADC2_CH6 GPIO14 | | GPIO16 UART2_RX |
RTC_GPIO15 HSPI_MISO TOUCH5 ADC1_CH5 GPIO12 | | GPIO2 ADC2_CH2 TOUCH2 RTC_GPIO12 | RTC_GPIO15 HSPI_MISO TOUCH5 ADC2_CH5 GPIO12 | | GPIO4 ADC2_CH0 TOUCH0 RTC_GPIO10 |
GND | | GPIO0 ADC2_CH1 TOUCH1 RTC_GPIO11 | GND | | GPIO0 ADC2_CH1 TOUCH1 RTC_GPIO11 |
RTC_GPIO14 HSPI_MOSI TOUCH4 ADC1_CH4 GPIO13 | | GPIO15 ADC2_CH3 TOUCH3 HSPI_CS0 RTC_GPIO13 | RTC_GPIO14 HSPI_MOSI TOUCH4 ADC2_CH4 GPIO13 | | GPIO2 ADC2_CH2 TOUCH2 RTC_GPIO12 |
SHD/SD2 GPIO9 | | GPIO0 ADC2_CH1 TOUCH1 RTC_GPIO11 | UART1_RX GPIO9 | | GPIO15 ADC2_CH3 TOUCH3 HSPI_CS0 RTC_GPIO13 |
SWP/SD3 GPIO10 | | GPIO8 SDI/SD1 | UART1_TX GPIO10 | | GPIO8 |
CSC/CMD GPIO11 | | GPIO7 SDO/SD0 | GPIO11 | | GPIO7 |
VIN +------+ GPIO6 SCK/CLK | VIN | | GPIO6 |
| +------+ |
</code> | </code> |
| |
| |
| ===Resources=== |
| |
| [[https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf|MCU data-sheet]] |