The ESP32-C3-DevKitM-1 is a small-sized, feature-rich development board based on the ESP32-C3 RISC-V microcontroller. This board is specifically designed for Internet of Things (IoT) applications, offering both Wi-Fi and Bluetooth Low Energy (BLE) connectivity. It is an ideal choice for smart home devices, industrial automation, wearable electronics, and other wireless control systems.
Pin Number | Function | Description |
---|---|---|
1 | 3V3 | 3.3V power supply |
2 | GND | Ground |
3 | EN | Reset pin, active low |
4 | IO0 | General-purpose input/output, bootstrapping |
... | ... | ... |
n | IO21 | General-purpose input/output |
Note: This is a simplified representation. Please refer to the official datasheet for the complete pinout.
Powering the Board:
Connecting to Wi-Fi:
Programming the Board:
Interfacing with GPIO Pins:
#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() {
// Your code here
}
Note: This example demonstrates how to connect the ESP32-C3-DevKitM-1 to a Wi-Fi network. Ensure that you have the ESP32-C3 board support installed in the Arduino IDE before uploading this sketch.