

The XIAO-ESP32-S3 is a compact microcontroller board developed by ESP32, featuring the powerful ESP32-S3 chip. This board is specifically designed for IoT (Internet of Things) applications, offering built-in Wi-Fi and Bluetooth Low Energy (BLE) capabilities. Its small form factor and versatile features make it an excellent choice for projects requiring wireless connectivity, such as smart home devices, wearable electronics, and remote monitoring systems.








The XIAO-ESP32-S3 is packed with features that make it suitable for a wide range of applications. Below are its key technical specifications:
| Specification | Details |
|---|---|
| Microcontroller | ESP32-S3 (Xtensa® 32-bit LX7 dual-core processor) |
| Clock Speed | Up to 240 MHz |
| Flash Memory | 8 MB |
| SRAM | 512 KB |
| Wireless Connectivity | Wi-Fi 802.11 b/g/n (2.4 GHz), Bluetooth 5.0 LE |
| GPIO Pins | 11 (including ADC, I2C, SPI, UART, PWM) |
| Operating Voltage | 3.3V |
| Input Voltage Range | 5V (via USB-C) |
| Power Consumption | Ultra-low power consumption in deep sleep mode |
| Dimensions | 21 x 17.5 mm |
The XIAO-ESP32-S3 features a total of 11 GPIO pins, which can be configured for various functions. Below is the pinout description:
| Pin | Name | Function | Description |
|---|---|---|---|
| 1 | 3V3 | Power | 3.3V output for powering external components |
| 2 | GND | Ground | Ground connection |
| 3 | GPIO0 | Digital I/O, ADC, PWM | General-purpose I/O, analog input, or PWM output |
| 4 | GPIO1 | Digital I/O, ADC, PWM | General-purpose I/O, analog input, or PWM output |
| 5 | GPIO2 | Digital I/O, I2C SDA | General-purpose I/O or I2C data line |
| 6 | GPIO3 | Digital I/O, I2C SCL | General-purpose I/O or I2C clock line |
| 7 | GPIO4 | Digital I/O, UART TX | General-purpose I/O or UART transmit |
| 8 | GPIO5 | Digital I/O, UART RX | General-purpose I/O or UART receive |
| 9 | GPIO6 | Digital I/O, SPI MOSI | General-purpose I/O or SPI data out |
| 10 | GPIO7 | Digital I/O, SPI MISO | General-purpose I/O or SPI data in |
| 11 | GPIO8 | Digital I/O, SPI SCK | General-purpose I/O or SPI clock |
Powering the Board:
Connecting Peripherals:
Programming the Board:
Below is an example of using the XIAO-ESP32-S3 to read data from a temperature sensor and send it over Wi-Fi:
#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
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: Print the IP address
Serial.println(WiFi.localIP());
delay(5000); // Wait 5 seconds before printing again
}
Wi-Fi Connection Fails:
Board Not Recognized by Computer:
Code Upload Fails:
By following this documentation, you can effectively utilize the XIAO-ESP32-S3 for your IoT and wireless connectivity projects.