The ESP32 is a versatile and powerful microcontroller development board designed for a wide range of applications. It features a dual-core processor, integrated Wi-Fi and Bluetooth connectivity, and a rich set of peripherals. Common applications include Internet of Things (IoT) devices, smart home applications, wearable electronics, and complex control systems.
Pin Number | Function | Description |
---|---|---|
1-2 | GND | Ground |
3 | 3V3 | 3.3V power supply |
4 | EN | Reset pin, active low |
5 | VP | GPIO36, ADC1_CH0, Sensor VP |
6 | VN | GPIO39, ADC1_CH3, Sensor VN |
7 | IO34 | GPIO34, ADC1_CH6, input only |
8 | IO35 | GPIO35, ADC1_CH7, input only |
9 | IO32 | GPIO32, ADC1_CH4, XTAL_32K |
10 | IO33 | GPIO33, ADC1_CH5, XTAL_32K |
11 | IO25 | GPIO25, ADC2_CH8, DAC_1 |
12 | IO26 | GPIO26, ADC2_CH9, DAC_2 |
13 | IO27 | GPIO27, ADC2_CH7 |
14 | IO14 | GPIO14, ADC2_CH6, Touch sensor |
15 | IO12 | GPIO12, ADC2_CH5, Touch sensor, Bootstrapping |
16 | GND | Ground |
17 | IO13 | GPIO13, ADC2_CH4, Touch sensor |
18 | IO9 | GPIO9, SD2 |
19 | IO10 | GPIO10, SD3 |
20 | IO11 | GPIO11, SD_CMD |
21 | IO6 | GPIO6, SD_CLK |
22 | IO7 | GPIO7, SD_DATA0 |
23 | IO8 | GPIO8, SD_DATA1 |
24 | IO15 | GPIO15, ADC2_CH3, Touch sensor, MTDO |
25 | IO2 | GPIO2, ADC2_CH2, Touch sensor, TXD1 |
26 | IO0 | GPIO0, ADC2_CH1, Touch sensor, Boot |
27 | IO4 | GPIO4, ADC2_CH0, Touch sensor, LED_BUILTIN |
28 | IO16 | GPIO16, U2_RXD, HS1_DATA4 |
29 | IO17 | GPIO17, U2_TXD, HS1_DATA3 |
30 | IO5 | GPIO5, VSPICS0, HS1_DATA6 |
// Basic ESP32 Wi-Fi connection example
#include <WiFi.h>
const char* ssid = "yourSSID"; // Replace with your Wi-Fi SSID
const char* password = "yourPASSWORD"; // Replace with your Wi-Fi password
void setup() {
Serial.begin(115200);
// Connect to Wi-Fi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.println("Connecting to WiFi...");
}
Serial.println("Connected to WiFi");
}
void loop() {
// Put your main code here, to run repeatedly:
}
Note: The ESP32 is not manufactured by Arduino, but it can be programmed using the Arduino IDE with the appropriate board package installed. The manufacturer part ID "proteus 8 demonstrat" does not correspond to the ESP32 and seems to be a misunderstanding. Proteus is a software suite for electronic design automation, and "Proteus 8 Demonstration" is likely a reference to a demo version of this software.