
The Vietduino Wifi BLE ESP32 is a versatile microcontroller board designed for a wide range of applications, particularly in the Internet of Things (IoT) domain. Based on the Espressif ESP32 system-on-chip (SoC), it integrates Wi-Fi and Bluetooth Low Energy (BLE) for wireless communication, making it an ideal choice for projects that require remote connectivity and data exchange.








| Pin Number | Function | Description |
|---|---|---|
| 1 | 3V3 | 3.3V power supply |
| 2 | GND | Ground |
| 3 | EN | Reset pin (active low) |
| 4-9 | GPIO 1-6 | General-purpose input/output pins |
| 10-15 | GPIO 12-17 | General-purpose input/output pins |
| 16 | VIN | Input voltage for battery or external power |
| 17 | TX0 | UART0 transmit |
| 18 | RX0 | UART0 receive |
| 19 | GPIO 21 | General-purpose input/output pin |
| 20 | GPIO 22 | General-purpose input/output pin |
| 21 | GPIO 23 | General-purpose input/output pin |
| 22 | GPIO 25 | DAC1 |
| 23 | GPIO 26 | DAC2 |
| 24 | GPIO 27 | General-purpose input/output pin |
| 25 | GPIO 32 | General-purpose input/output pin |
| 26 | GPIO 33 | General-purpose input/output pin |
| 27 | GPIO 34 (input only) | Analog input pin |
| 28 | GPIO 35 (input only) | Analog input pin |
| 29 | GPIO 36 (input only) | Analog input pin |
| 30 | GPIO 39 (input only) | Analog input pin |
Q: Can I use the Vietduino Wifi BLE ESP32 with the Arduino IDE? A: Yes, the board is compatible with the Arduino IDE. You will need to install the ESP32 board package.
Q: What is the maximum current that can be drawn from the 3.3V pin? A: The maximum current draw from the 3.3V pin should not exceed 500 mA.
Q: How do I enable Bluetooth on the Vietduino Wifi BLE ESP32? A: Bluetooth can be enabled by including the appropriate BLE libraries in your Arduino sketch and initializing the BLE mode in your code.
#include <WiFi.h>
// Replace with your network credentials
const char* ssid = "your_SSID";
const char* password = "your_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: This example demonstrates how to connect the Vietduino Wifi BLE ESP32 to a Wi-Fi network. Make sure to replace your_SSID and your_PASSWORD with your actual Wi-Fi network credentials.