
This circuit features an ESP32-C6 microcontroller interfaced with a China ST7735S 160x128 TFT display. The ESP32-C6 controls the display via SPI communication, providing power, ground, and control signals to render graphics and text on the screen.
The XIAO ESP32-C6 is a compact and powerful microcontroller board built around the ESP32-C6 chip. It supports both Wi-Fi 6 and Bluetooth 5.0 Low Energy (BLE), making it an excellent choice for Internet of Things (IoT) applications and projects requiring robust wireless communication. Its small form factor and versatile features make it suitable for wearable devices, smart home systems, and other embedded applications.

This circuit features an ESP32-C6 microcontroller interfaced with a China ST7735S 160x128 TFT display. The ESP32-C6 controls the display via SPI communication, providing power, ground, and control signals to render graphics and text on the screen.

This circuit connects a Xiao ESP32 C3 microcontroller to an Adafruit RFM9x LoRa Radio module. The ESP32 C3 provides power to the LoRa module and interfaces with it using SPI communication (SCK, MISO, MOSI, CS) and control lines (RST, DIO0). This setup is likely intended for wireless communication using LoRa technology, with the ESP32 handling data processing and network protocol tasks.

This circuit features a Xiao ESP32 C3 microcontroller connected to a DHT11 Humidity and Temperature Sensor. The ESP32 C3 provides power to the DHT11 sensor through its VUSB pin and receives data from the sensor's DATA pin via the ESP32's D2 pin. The circuit is designed to measure environmental temperature and humidity, with the microcontroller processing and potentially communicating the sensor data.

This circuit features an ESP32C3 Supermini microcontroller connected to a LORA_RA02 module and a DHT11 temperature and humidity sensor. The ESP32C3 handles communication with the LORA module via SPI (using GPIO05, GPIO06, GPIO10, and GPIO04 for MISO, MOSI, NSS, and SCK respectively) and GPIO01 and GPIO02 for additional control signals. The DHT11 sensor is interfaced through GPIO03 for data reading, and all components share a common power supply through the 3.3V and GND pins.
The XIAO ESP32-C6 offers a range of features and specifications that make it a versatile microcontroller for various applications.
| Specification | Value |
|---|---|
| Microcontroller | ESP32-C6 |
| Wireless Connectivity | Wi-Fi 6, Bluetooth 5.0 LE |
| Operating Voltage | 3.3V |
| Input Voltage Range | 5V (via USB-C) |
| Flash Memory | 4MB |
| SRAM | 512KB |
| GPIO Pins | 11 (including multifunctional pins) |
| Communication Interfaces | UART, I2C, SPI, ADC, PWM |
| Dimensions | 21mm x 17.5mm |
| Power Consumption | Ultra-low power modes supported |
The XIAO ESP32-C6 features a total of 11 GPIO pins, which can be configured for various functions. Below is the pinout description:
| Pin Number | Pin Name | Functionality |
|---|---|---|
| 1 | 3V3 | 3.3V Power Output |
| 2 | GND | Ground |
| 3 | GPIO0 | General Purpose I/O, ADC, PWM |
| 4 | GPIO1 | General Purpose I/O, ADC, PWM |
| 5 | GPIO2 | General Purpose I/O, ADC, PWM |
| 6 | GPIO3 | General Purpose I/O, UART TX, PWM |
| 7 | GPIO4 | General Purpose I/O, UART RX, PWM |
| 8 | GPIO5 | General Purpose I/O, I2C SDA, PWM |
| 9 | GPIO6 | General Purpose I/O, I2C SCL, PWM |
| 10 | GPIO7 | General Purpose I/O, SPI MOSI, PWM |
| 11 | GPIO8 | General Purpose I/O, SPI MISO, PWM |
The XIAO ESP32-C6 is easy to integrate into your projects. Below are the steps to get started and important considerations for using the board.
Powering the Board:
Connecting Peripherals:
Programming the Board:
The following example demonstrates how to connect the XIAO ESP32-C6 to a Wi-Fi network and send data to a server:
#include <WiFi.h>
// Replace with your network credentials
const char* ssid = "Your_SSID";
const char* password = "Your_PASSWORD";
void setup() {
Serial.begin(115200); // Initialize serial communication at 115200 baud
delay(1000);
// Connect to Wi-Fi
Serial.println("Connecting to Wi-Fi...");
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("\nWi-Fi connected!");
Serial.print("IP Address: ");
Serial.println(WiFi.localIP()); // Print the device's IP address
}
void loop() {
// Add your main code here
}
Board Not Detected by Computer:
Wi-Fi Connection Fails:
Code Upload Fails:
Peripherals Not Responding:
Q: Can I power the XIAO ESP32-C6 with a battery?
A: Yes, you can use a 3.7V LiPo battery connected to the 3V3 pin, but ensure the voltage is regulated to 3.3V.
Q: Does the board support deep sleep mode?
A: Yes, the ESP32-C6 supports ultra-low power deep sleep mode for energy-efficient applications.
Q: Can I use the XIAO ESP32-C6 with MicroPython?
A: Yes, the ESP32-C6 is compatible with MicroPython. You can flash the MicroPython firmware and use it for programming.
Q: What is the maximum range of Wi-Fi and Bluetooth?
A: The range depends on environmental factors, but typically Wi-Fi can reach up to 50m indoors and 200m outdoors, while Bluetooth LE has a range of up to 100m in ideal conditions.
This concludes the documentation for the XIAO ESP32-C6. For further assistance, refer to the official datasheet or community forums.