Esp32 DevKitC V4
Esp32 DevKitC V4 Introduction
ESP32-DevKitC V4 is a small-sized ESP32-based development board produced by Espressif, so it is also named espressif ESP32 DevKitC V4. It‘s an upgraded version of the ESP8266 development board, faster and comes with Bluetooth 4.2 and Bluetooth Low Energy. ESP32 DevKitC V4 uses the ESP32-WROOM-32 module.so it also known as ESP32 DevKitC V4 esp-wroom-32. It is a general-purpose ESP32 DevKitC V4 WIFI+ Bluetooth + Bluetooth LE MCU module.
The core of this module is the ESP32-D0WDQ6 chip, which is scalable and self-adaptive. Two CPU cores can be control LED independently. The clock frequency can be adjusted from 80 MHz to 240 MHZ. The user can cut off the power of the CPU and use the low-power coprocessor to constantly monitor the state changes of the peripherals or whether some analog quantities exceed the threshold. Most of the ESP32 DevKitC V4 pins of the module have been drawn out, and developers can easily connect a variety of peripheral devices through jumpers according to actual needs, or plug the development board into a breadboard for use.
Espressif ESP32 DevKitC V4 also integrates a wealth of peripherals, including capacitive touch sensors, Hall sensors, low-noise sense amplifiers, SD card interface, Ethernet interface, high-speed SDIO/SPI, UART, I2S and I2C, etc. The ESP32 DevKitC V4 development board is powerful and versatile, and can be used for low-power sensor networks and demanding tasks such as speech encoding, audio streaming and MP3 decoding.
ESP32 DevKitC V4 Optional Module Comparison
In order to better meet the needs of different users, ESP32 DevKitC V4 esp-wroom-32 also supports different configurations, and the following ESP32 modules are optional:
ESP32 DevKitC V4 esp-wroom-32d
|Module||Chip||ESP32 DevKitC V4 flash size||PSRAM||Ant.|
|ESP32 DevKitC V4 esp-wroom-32d||ESP32-DOWD||4MB||no||MIFA|
ESP32 DevKitC V4 Specification
The main components, interfaces and control methods of the ESP32 DevKitC V4 development board are as follows:
ESP32 DevKitC V4 development board (onboard ESP32-WROOM-32 module)
ESP32 DevKitC V4 datasheet
|main components||basic introduction|
|ESP32-WROOM-32||ESP32 based modules. For more details, please refer to “ESP32-WROOM-32 Technical Specifications”.|
|EN||The ESP32 DevKitC V4 reset button can reset the system.|
|Boot||Download button. Press and hold the Boot button, and at the same time press the EN button (do not release the Boot button at this time) to enter the “firmware download” mode, and download the firmware through the serial port.|
|USB-to-UART bridge||Single-chip USB-UART bridge that provides transfer rates up to 3 Mbps.|
|Micro USB interface||The USB interface can be used as a power supply for the circuit board, or as a communication interface between a PC and the ESP32-WROOM-32 module.|
|5V Power On ESP32 DevKitC V4 onboard LED||This LED will be on when the board is powered (USB or external 5 V). For more information, see the schematic in the related documentation.|
|I/O connector||Most of the pins of the modules on the board have been LED out to the pin headers of the development board. Users can program ESP32 to realize PWM, ESP32 DevKitC V4 adc, DAC, I2C, I2S, ESP32 DevKitC V4 spi and other functions.|
ESP32 DevKitC V4 power supply
ESP32 DevKitC V4 power supply options
The ESP32 DevKitC V4 can choose one of the following three power supply methods:
Micro USB powered (default)
5V / GND pin power supply
3V3 / GND pin power supply
The above ESP32 DevKitC V4 power supply modes cannot be connected at the same time, otherwise the development board and/or power supply may be damaged.
ESP32 DevKitC V4 schematic
ESP32 DevKitC V4 Hardware Configuration
|Module interface||ESP32 DevKitC V4 sd card, ESP32 DevKitC V4 UART, ESP32 DevKitC V4 SPI, SDIO, ESP32 DevKitC V4 12C, LED PWM, motor PWM, ESP32 DevKitC V4 12S, IR. Pulse counter, GPIO, capacitive touch sensor, ESP32 DevKitC V4 ADC, DAC, 2-wire auto Interface (TWAIR), compatible with ISO11898-1 protocol (CAN specification 2.0)|
|On-chip sensor||Hall sensor|
|Integrated vibration||40MHZ crystal oscillator|
|Integrated SPI flash 1||4 MB|
|Working voltage/supply voltage||3.0V~3.6v|
|Working current||Average: 80mA|
|supply current||Minimum: 500mA|
|Recommended working environment temperature range||-40 °C～+85°℃|
ESP32 DevKitC V4 Development board size
ESP32 DevKitC V4 pcb
ESP32 DevKitC V4 pinout
The table below lists the names and functions of the ESP32 DevKitC V4 pins (J2 and J3) on both sides of the development board
|1||3V3||P||3.3V power supply|
|3||VP||I||GPIO36, ADC1_CH0, S_VP|
|4||VN||I||GPIO39, ADC1_CH3, S_VN|
|5||IO34||I||GPIO34, ADC1_CH6, VDET_1|
|6||IO35||I||GPIO35, ADC1_CH7, VDET_2|
|7||IO32||I/O||GPIO32, ADC1_CH4, TOUCH_CH9, XTAL_32K_P|
|8||IO33||I/O||GPIO33, ADC1_CH5, TOUCH_CH8, XTAL_32K_N|
|9||IO25||I/O||GPIO25, ADC1_CH8, DAC_1|
|10||IO26||I/O||GPIO26, ADC2_CH9, DAC_2|
|11||IO27||I/O||GPIO27, ADC2_CH7, TOUCH_CH7|
|12||IO14||I/O||GPIO14, ADC2_CH6, TOUCH_CH6, MTMS|
|13||IO12||I/O||GPIO12, ADC2_CH5, TOUCH_CH5, MTDI|
|15||IO13||I/O||GPIO13, ADC2_CH4, TOUCH_CH4, MTCK|
|16||D2||I/O||GPIO9, D2 2|
|17||D3||I/O||GPIO10, D3 2|
|18||CMD||I/O||GPIO11, CMD 2|
|13||IO4||I/O||GPIO4, ADC2_CH0, TOUCH_CH0|
|14||IO0||I/O||GPIO0, ADC2_CH1, TOUCH_CH1, Boot|
|16||IO2||I/O||GPIO2, ADC2_CH2, TOUCH_CH2|
|17||IO15||I/O||GPIO15, ADC2_CH3, TOUCH_CH3, MTDO|
|17||D1||I/O||GPIO8, D1 2|
|18||D0||I/O||GPIO7, D0 2|
|19||CLK||I/O||GPIO6, CLK 2|
P: Power; I: Input; O: Output.
ESP32 DevKitC V4 pins D0, D1, D2, D3, CMD, and CLK are used for internal communication between the ESP32 chip and the SPI flash, and are concentrated on both sides of the ESP32 DevKitC V4 development board near the USB port. Generally speaking, it is best not to connect these pins, otherwise it may affect the work of ESP32 DevKitC V4 SPI flash / ESP32 DevKitC V4 SPI RAM.
Pins GPIO16 and GPIO17 are only applicable to onboard ESP32-WROOM series and ESP32-SOLO-1 development boards, and pins GPIO16 and GPIO17 onboard ESP32-WROVER series development boards are reserved for internal use.
The ESP32 chip has 34 physical ESP32 DevKitC V4 GPIO pads. Each pad can be used as a general-purpose IO, or connected to an internal peripheral signal. The IO_MUX, RTCIO_MUX, and GPIO switch matrix are used to route signals from peripherals to GPIO pads. These modules together form the IO control of the chip. Each pad has utilization functions, refer to the attached IO_MUX Pad list and RTC pins and corresponding GPIO pads.
GPIO can be configured as ordinary input and output, but it cannot or is not recommended to use this GPIO due to function multiplexing and hardware limitations
Input-only ESP32 DevKitC V4 pins
GPIO34 to 39 are input-only pins. These ESP32 DevKitC V4 pins have no internal pull-up or pull-down resistors.
ESP32 DevKitC V4 spi flash GPIO6 to GPIO11 integrated on ESP32 DevKitC V4 esp-wroom-32 are exposed in some ESP32 dev boards. However, these pins connect to the integrated SPI flash on the ESP32 DevKitC V4 esp-wroom-32 chip and are not recommended for other uses. So, don’t use these pins in your project.
Capacitive touch GPIO
ESP32 has 10 internal capacitive touch sensors. They can sense changes in any charged substance. Therefore, they can detect changes caused by touching the ESP32 DevKitC V4 GPIO with a finger. Capacitive pins can also be used to wake ESP32 DevKitC V4 deep sleep.
Analog-to-Digital Converter (ADC)
ESP32 has 18 X 12 bit ESP32 DevKitC V4 ADC input channels (while ESP8266 has only 1 X 10 bit ADC). These are the GPIOs that can be used as ESP32 DevKitC V4 ADC and corresponding channels.
Digital to Analog Converter (DAC)
There are 2 X 8-bit DAC channels on espressif ESP32 DevKitC V4, which are used to convert digital signals into analog voltage signal output.
espressif ESP32 DevKitC V4 supports RTC GPIO. When it is in ESP32 DevKitC V4 deep sleep, the GPIOs routed to the RTC low power subsystem can be used. These RTC GPIOs can be used to wake up it from ESP32 DevKitC V4 deep sleep while the Ultra Low Power (ULP) processor is running.
Pulse width modulation
The ESP32 DevKitC V4 LED PWM controller has 16 independent channels that can be configured to generate PWM signals with different characteristics. All ESP32 DevKitC V4 pins that can be output can be used as PWM pins (GPIO34-39 cannot generate PWM).
ESP32 DevKitC V4 I2C pins
ESP32 DevKitC V4 has two I2C channels, any pin can be set as SDA or SCL.
ESP32 DevKitC V4 SPI pins
SPI and GPIO Mapping
All GPIOs can be configured as interrupts
The ESP32 chip has the following Strapping pins:
GPIO5 (must be high during startup)
GPIO12 (must be low during startup)
GPIO15 (must be high during startup)
Pins HIGH at Boot
Some ESP32 DevKitC V4 GPIOs change their state to high or output a PWM signal when ESP32 DevKitC V4 reset is initiated. This means that if the outputs are connected to these GPIOS, you may get unexpected results when the ESP32 DevKitC V4 reset or boots:
GPIO15 Enable (EN)
Enable (EN) is the enable pin for the 3.3V regulator. It’s pulled up, so connect to ground to disable the 3.3V regulator. This means, for example, that this pin can be used to connect to a button to reboot the ESP32 DevKitC V4.
This Table 19 lists the RTC pins and the corresponding ESP32 DevKitC V4 GPIO pad.
ESP32 DevKitC V4 Features
• RTC flash ESP32 DevKitC V4 memory, which is 8 KB of SRAM, can be used for data storage and accessed by the main CPU when the RTC starts up in Deep-sleep mode
• RTC slow ESP32 DevKitC V4 memory, 8 KB of SRAM, can be accessed by coprocessor in Deep-sleep mode
• 1 Kbit eFuse, of which 256 bits are dedicated to the system (MAC address and chip settings); the remaining 768 bits are reserved for user programs, which include flash encryption and chip ID.
ESP32 supports multiple external QSPI flash and static random access memory (SRAM). ESP32 also supports AES-based hardware encryption and decription functions to protect programs and data in the developer’s flash.
ESP32 DevKitC V4 example
As mentioned earlier, ESP32 DevKitC V4 is a small development board based on ESP32, which integrates WIFI + Bluetooth functions.
Most of the pins of the modules on the ESP32 DevKitC V4 board have been drawn out, and developers can easily connect various peripheral devices through jumpers according to actual needs. The ESP32 DevKitC V4 development board is especially suitable for the development of the Internet of Things. The chip of ESP32 DevKitC V4 uses Google’s open source Bluedroid Bluetooth protocol stack. It can realize the functions of IOT-related products. Such as Bluetooth audio, MP3, WIFI toys (early education machines, remote control cars), smart door locks, etc.
1. Bluetooth audio
Bluetooth audio is composed of ESP32 DevKitC V4 development board + power amplifier module + touch button + speaker, it realizes the playback function through the Bluetooth and WIFI functions of the ESP32 DevKitC V4 development board.
MP3 is composed of ESP32 DevKitC V4 development board + Micro SD card module + CM5102A decoder I2S-DAC + 0.91-inch OLED display to realize the playback function.
ESP32 DevKitC V4 Shipping List
•1 × ESP32 DevKitC V4 development board
•1 × micro USB
If you want to get ESP32 DevKitC V4 getting started, ESP32 DevKitC V4 datasheet, ESP32 DevKitC V4 pinout, ESP32 DevKitC V4 schematic, ESP32 DevKitC V4 tutorial, ESP32 DevKitC V4 case, ESP32 DevKitC V4 example, to learn how to use ESP32 DevKitC V4 programming, please contact us for more information.
In addition, we also have 8051 development board suitable for beginners, as well as STM32 series development boards with rich pins and comprehensive functions, which can control more peripherals, which can meet the different needs of users. If you have development board needs , please contact us for more detailed consultation.