

The Vietduino ESP32, manufactured by MakerEdu.vn (Part ID: ESP32), is a powerful and versatile microcontroller board built around the ESP32 chip. It features integrated Wi-Fi and Bluetooth connectivity, making it an ideal choice for Internet of Things (IoT) applications. With its dual-core processor, extensive GPIO options, and robust performance, the Vietduino ESP32 is suitable for a wide range of projects, from smart home devices to industrial automation.








The Vietduino ESP32 offers a rich set of features and capabilities. Below are its key technical specifications:
| Specification | Details |
|---|---|
| Microcontroller | ESP32 (dual-core Xtensa LX6 processor) |
| Clock Speed | Up to 240 MHz |
| Flash Memory | 4 MB (varies by model) |
| SRAM | 520 KB |
| Connectivity | Wi-Fi 802.11 b/g/n, Bluetooth v4.2 + BLE |
| Operating Voltage | 3.3V |
| Input Voltage Range | 5V (via USB) or 7-12V (via VIN pin) |
| GPIO Pins | 34 (multipurpose, including ADC, DAC, PWM, I2C, SPI, UART) |
| ADC Channels | 18 (12-bit resolution) |
| DAC Channels | 2 |
| PWM Channels | 16 |
| Communication Interfaces | UART, SPI, I2C, I2S, CAN, Ethernet MAC |
| Power Consumption | Ultra-low power consumption in deep sleep mode (as low as 10 µA) |
| Dimensions | 58 mm x 25 mm |
The Vietduino ESP32 has a variety of pins for different functionalities. Below is the pinout description:
| Pin Name | Type | Description |
|---|---|---|
| VIN | Power Input | External power input (7-12V) |
| 3V3 | Power Output | 3.3V regulated output |
| GND | Ground | Ground connection |
| GPIO0-GPIO39 | GPIO | General-purpose input/output pins (multipurpose: ADC, DAC, PWM, etc.) |
| EN | Reset | Enable pin to reset the microcontroller |
| TXD0, RXD0 | UART | Default UART communication pins |
| SCL, SDA | I2C | I2C communication pins (clock and data) |
| MOSI, MISO, SCK | SPI | SPI communication pins (Master Out Slave In, Master In Slave Out, Clock) |
| A0-A17 | ADC | Analog-to-digital converter pins (12-bit resolution) |
| DAC1, DAC2 | DAC | Digital-to-analog converter pins |
Powering the Board:
Programming the Board:
Connecting Peripherals:
Uploading Code:
Below is an example of how to use the Vietduino ESP32 to read a temperature sensor and send the data over Wi-Fi:
#include <WiFi.h> // Include the Wi-Fi library
// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_PASSWORD";
void setup() {
Serial.begin(115200); // Initialize serial communication
WiFi.begin(ssid, password); // Connect to Wi-Fi
// Wait for connection
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to Wi-Fi...");
}
Serial.println("Connected to Wi-Fi");
}
void loop() {
// Example: Read a sensor value (replace with actual sensor code)
int sensorValue = analogRead(34); // Read from GPIO34 (ADC1 channel)
Serial.print("Sensor Value: ");
Serial.println(sensorValue);
delay(1000); // Wait for 1 second
}
Board Not Detected by Computer:
Code Upload Fails:
Wi-Fi Connection Issues:
GPIO Pin Not Working:
Q: Can I use 5V sensors with the Vietduino ESP32?
A: The GPIO pins operate at 3.3V. Use a level shifter to safely interface with 5V sensors.
Q: How do I reset the board?
A: Press the "EN" button on the board to reset the microcontroller.
Q: What is the maximum Wi-Fi range?
A: The range depends on environmental factors but typically extends up to 50 meters indoors and 200 meters outdoors.
Q: Can I use the Vietduino ESP32 with MicroPython?
A: Yes, the ESP32 supports MicroPython. Flash the MicroPython firmware to the board to get started.