The ESP32 Wemos development board is a versatile and powerful platform designed for a wide range of Internet of Things (IoT) applications. It features the ESP32 module, which is a dual-core processor with integrated Wi-Fi and Bluetooth capabilities. The board includes a USB connection for programming and serial communication, a battery charging circuit for mobile applications, and various pins and headers for connecting sensors, actuators, and other peripherals.
Pin Number | Function | Description |
---|---|---|
1 | 3V3 | 3.3V power supply |
2 | GND | Ground |
3 | EN | Reset pin (active low) |
4 | VP | GPIO36, ADC1_0, Sensor VP |
5 | VN | GPIO39, ADC1_3, Sensor VN |
6 | D34 | GPIO34, ADC1_6, Input only |
7 | D35 | GPIO35, ADC1_7, Input only |
8 | D32 | GPIO32, ADC1_4, XTAL_32K |
9 | D33 | GPIO33, ADC1_5, XTAL_32K |
10 | D25 | GPIO25, ADC2_8, DAC_1 |
... | ... | ... |
n | TXD0 | GPIO1, U0TXD, UART0 Transmit |
n+1 | RXD0 | GPIO3, U0RXD, UART0 Receive |
n+2 | SDA | GPIO21, I2C SDA |
n+3 | SCL | GPIO22, I2C SCL |
n+4 | 5V | 5V power supply via USB or battery |
n+5 | GND | Ground |
Note: This is a partial list of pins for illustration purposes. Please refer to the official pinout diagram for complete details.
Powering the Board:
Programming the Board:
Connecting Peripherals:
// Blink an LED connected to pin 2 on the ESP32 Wemos board
#define LED_PIN 2
void setup() {
pinMode(LED_PIN, OUTPUT); // Initialize the LED pin as an output
}
void loop() {
digitalWrite(LED_PIN, HIGH); // Turn the LED on
delay(1000); // Wait for a second
digitalWrite(LED_PIN, LOW); // Turn the LED off
delay(1000); // Wait for a second
}
Note: The above code is a simple example to get started. For more complex applications, refer to the ESP32 Wemos documentation and libraries.
Remember to always check the official documentation for the most up-to-date information on the ESP32 Wemos development board.