Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use Vietduino Wifi BLE ESP32: Examples, Pinouts, and Specs

Image of Vietduino Wifi BLE ESP32Design with Vietduino Wifi BLE ESP32 in Cirkit Designer

Introduction

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.

Explore Projects Built with Vietduino Wifi BLE ESP32

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of ESP32-Based Multi-Sensor Health Monitoring System with Bluetooth Connectivity: A project utilizing Vietduino Wifi BLE ESP32 in a practical application
ESP32-Based Multi-Sensor Health Monitoring System with Bluetooth Connectivity

This circuit features an ESP32-WROOM-32UE microcontroller as the central processing unit, interfacing with a variety of sensors and modules. It includes a MAX30100 pulse oximeter and heart-rate sensor, an MLX90614 infrared thermometer, an HC-05 Bluetooth module for wireless communication, and a Neo 6M GPS module for location tracking. All components are powered by a common voltage supply and are connected to specific GPIO pins on the ESP32 for data exchange, with the sensors using I2C communication and the modules using UART.

Open Project in Cirkit Designer
Image of ESP32-Based Environmental Monitoring System with Motion Detection: A project utilizing Vietduino Wifi BLE ESP32 in a practical application
ESP32-Based Environmental Monitoring System with Motion Detection

This circuit features an ESP32 microcontroller on a baseboard that interfaces with a PIR sensor for motion detection, a DHT22 sensor for measuring temperature and humidity, and a BH1750 sensor for detecting ambient light levels. The ESP32 is configured to communicate with the BH1750 using I2C protocol, with GPIO22 and GPIO21 serving as the SCL and SDA lines, respectively. Power is supplied to the sensors from the ESP32's voltage output pins, and sensor outputs are connected to designated GPIO pins for data acquisition.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

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

Usage Instructions

How to Use the Component in a Circuit

  1. Powering the Board: Connect a 5V power supply to the VIN pin or use the micro USB port.
  2. Connecting I/O: Utilize the GPIO pins for interfacing with sensors, actuators, and other peripherals.
  3. Programming: Use the Arduino IDE or other development environments to upload code to the board.

Important Considerations and Best Practices

Troubleshooting and FAQs

Common Issues Users Might Face

Solutions and Tips for Troubleshooting

FAQs

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.

Example Code for Arduino UNO

#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.