


The following two GPIO Pins are associated with DAC functionalities. The DAC has internal resistor network and uses power supply as input reference voltage. DACĮSP32 Microcontroller has two independent 8-bit Digital to Analog Converter channels to convert digital values to analog voltage signals.

With 12-bit resolution, the output Digital values will be in the range of 0 – 4093. So, ADC1 and ADC2 blocks combined together have 18 channels of 12-bit ADC. ADCĮSP32 has two 12-bit SAR Analog to Digital Converter Modules with 8-channels and 10-channels each. These pins can be used to wake ESP32 from deep sleep as external wake-up source. RTC GPIOĮSP32 has 16 RTC GPIOs, which are part of the RTC Low-Power subsystem. can be assigned to any GPIO pin through program. But other functions like PWM, SPI, UART, I 2C etc. You can configure a pin as either a GPIO or an ADC or an UART in the program.ĪDC and DAC pins are predefined and you have to use the manufacturer specified pins. ESP32 has 34 GPIO pins with each pin carrying out more than one function (only one will be active). The most commonly used peripheral is the GPIO. Let us now focus on some of the important peripherals of ESP32 and their associated pins. Now that we have seen a little bit about ESP32 Pinout. Finally, you just get one extra pin (GPIO0 – Pin 23). So, they shouldn’t be used for other purposes. In the 36-Pin version, 6 GPIO pins (GPIO6 to GPIO11) are used for SPI Flash IC. Note that the pinout of both the 30-pin and the 36-pin versions of ESP32 Development Boards are very identical except for some pins at the bottom. But if you happen to have a 36-pin ESP32 board, the following pinout will be very helpful. This version is not as popular as the 30-pin version. The following image shows the pinout of a 30-pin ESP32 DevKit Development Board.Īs you can see from the image, each pin has more than one possible functionality and while using a pin for particular task, double check its alternative functions.Īnother version of ESP32 DevKit Board comes with 36-pins. It consists of ESP-WROOM-32 as the baseboard and additionally few pins and components to easily interact with ESP32. One popular ESP32 Development Board available today is the 30-pin version shown in the above image. Use this pinout of ESP-WROOM-32 module as a reference if you are using such module in your hardware design. If you notice the previous ESP-WROOM-32 image, then the Microcontroller and other components are not visible as they placed under the RF Shield. The other short edge is left for PCB Antenna. It consists of 38-pin (14 pins on each long edge and 10 on bottom short edge). The following image show the pinout of a typical ESP-WROOM-32 Module. Let us start exploring the ESP32 Pinout by taking a look at the ESP WROOM 32 Pinout. They take the ESP-WROOM-32 Module, design a break-out board based on this module with user friendly pins, USB Port, RESET and BOOT switches etc. This is what third-party module manufacturers do. You can use this board in your hardware design (as it takes care of the complex RF section of the PCB) and make a development board or a breakout board or even a commercial product.

In addition to the ESP32 IC, the ESP-WROOM-32 also contain a 4 MB SPI Flash IC, a 40 MHz Crystal Oscillator, PCB Antenna and some discrete passive components to make a working system. One popular version of such module board is called ESP-WROOM-32. So, what Espressif Systems (the developers of ESP32) did is, they took the ESP32 IC and made a small module board with edge castellations. Since it is a QFN (Quad Flat No Leads) package, it is difficult solder the IC on to the PCB, if you are interested in making an ESP32 Board by yourself. The ESP32 Microcontroller IC is available in a 48-pin QFN package. Hence, it is important to understand the pinout of popular ESP32 boards so that you will know what pins are available for use in projects. So, some of the GPIO Pins (6 to be specific) are connected to SPI Flash IC and those pins cannot be used as regular GPIO Pins. We know that all ESP32 boards come with 4 MB of Flash Memory to store the programs. Also, not all pins of the ESP32 Microcontroller SoC will be available on a development board as some pins might be permanently tied to a dedicated function. ESP32 based boards come in a variety of shapes and sizes and pinout of each board is different to other.
