The ESP32-C3-DevKitC-02 is a development board manufactured by Espressif, featuring the ESP32-C3 microcontroller. This microcontroller includes both Wi-Fi and Bluetooth connectivity, making it an ideal choice for IoT applications and prototyping. The board is designed to provide a simple and efficient way to develop and test applications that require wireless communication.
Specification | Value |
---|---|
Microcontroller | ESP32-C3 |
Wi-Fi | 802.11 b/g/n |
Bluetooth | Bluetooth 5.0 LE |
Operating Voltage | 3.3V |
Flash Memory | 4MB |
SRAM | 400KB |
GPIO Pins | 22 |
ADC Channels | 6 |
UART | 2 |
SPI | 2 |
I2C | 2 |
PWM Channels | 6 |
Operating Temperature | -40°C to 85°C |
Pin Number | Pin Name | Description |
---|---|---|
1 | 3V3 | 3.3V Power Supply |
2 | GND | Ground |
3 | GPIO0 | General Purpose I/O |
4 | GPIO1 | General Purpose I/O |
5 | GPIO2 | General Purpose I/O |
6 | GPIO3 | General Purpose I/O |
7 | GPIO4 | General Purpose I/O |
8 | GPIO5 | General Purpose I/O |
9 | GPIO6 | General Purpose I/O |
10 | GPIO7 | General Purpose I/O |
11 | GPIO8 | General Purpose I/O |
12 | GPIO9 | General Purpose I/O |
13 | GPIO10 | General Purpose I/O |
14 | GPIO11 | General Purpose I/O |
15 | GPIO12 | General Purpose I/O |
16 | GPIO13 | General Purpose I/O |
17 | GPIO14 | General Purpose I/O |
18 | GPIO15 | General Purpose I/O |
19 | GPIO16 | General Purpose I/O |
20 | GPIO17 | General Purpose I/O |
21 | GPIO18 | General Purpose I/O |
22 | GPIO19 | General Purpose I/O |
#include <WiFi.h>
// Replace with your network credentials
const char* ssid = "your_SSID";
const char* password = "your_PASSWORD";
void setup() {
// Initialize serial communication
Serial.begin(115200);
// Connect to Wi-Fi
WiFi.begin(ssid, password);
// Wait for connection
while (WiFi.status() != WL_CONNECTED) {
delay(1000);
Serial.println("Connecting to WiFi...");
}
// Print the IP address
Serial.println("Connected to WiFi");
Serial.print("IP Address: ");
Serial.println(WiFi.localIP());
}
void loop() {
// Add your main code here, to run repeatedly
}
Wi-Fi Connection Issues:
Programming Errors:
GPIO Pin Malfunction:
By following this documentation, users can effectively utilize the ESP32-C3-DevKitC-02 for their IoT and prototyping projects, ensuring optimal performance and reliability.