The Xiao ESP32 C3 is a highly integrated microcontroller board designed by Seeed Studio, featuring the Espressif ESP32-C3 chip. This board is tailored for Internet of Things (IoT) applications due to its compact size, low power consumption, and wireless communication capabilities. It is an ideal choice for projects that require Wi-Fi and/or Bluetooth connectivity in a small form factor.
Pin Number | Function | Description |
---|---|---|
1 | 3V3 | 3.3V power supply |
2 | GND | Ground |
3 | ADC/DAC/GPIO | Analog-to-Digital/Digital-to-Analog Converter |
4 | GPIO | General Purpose Input/Output |
5 | GPIO | General Purpose Input/Output |
... | ... | ... |
n | USB-C | USB-C interface for power and programming |
Note: The full pinout diagram is available in the manufacturer's datasheet.
#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: The above code is a simple example to connect the Xiao ESP32 C3 to a Wi-Fi network. Ensure that you have the correct board and port selected in the Arduino IDE.
For more detailed information, refer to the Seeed Studio documentation and datasheets provided with the Xiao ESP32 C3.