To get started with the ESP32-C3 Mini Version 2 using the Arduino IDE, you'll need to follow these steps:
Step 1: Set up the Arduino IDE
- Download and install the latest version of the Arduino IDE from the official Arduino website (https://www.arduino.cc/en/software).
- Launch the Arduino IDE.
Step 2: Install ESP32-C3 Board Support Package
- Open the Arduino IDE.
- Go to "File" > "Preferences."
- In the "Additional Boards Manager URLs" field, enter the following URL:
https://github.com/espressif/arduino-esp32/blob/main/package_esp32c3_dev_index.json
- Click "OK" to save the preferences.
- Go to "Tools" > "Board" > "Boards Manager."
- In the "Boards Manager" window, search for "ESP32" in the search bar.
- Look for "esp32c3" in the search results and click the "Install" button to install the ESP32-C3 board support package.
Step 3: Select the ESP32-C3 Board
- Go to "Tools" > "Board" > "ESP32C3 Dev Module."
- Set the following parameters in the "Tools" menu:
- Board: "ESP32C3 Dev Module"
- Flash Frequency: "40 MHz"
- Flash Mode: "QIO"
- Flash Size: "4MB (32Mb)"
- Upload Speed: "115200"
- CPU Frequency: "80 MHz"
- Debug Level: "None"
Step 4: Connect the ESP32-C3 Mini Version 2 to your computer
- Connect your ESP32-C3 Mini Version 2 board to your computer using a USB cable.
Step 5: Upload a Sample Sketch
- Open one of the example sketches provided by the Arduino IDE to test your setup. You can find examples under "File" > "Examples" > "ESP32C3."
- Select an example sketch, such as "Blink," which blinks an LED on the board.
- Click the "Upload" button to compile and upload the sketch to your ESP32-C3 Mini Version 2.
Step 6: Verify the Upload
- After the upload is complete, the Arduino IDE will display the upload status.
- If the upload is successful, the LED on the ESP32-C3 Mini Version 2 should start blinking according to the sketch you uploaded.
Congratulations! You have successfully set up the ESP32-C3 Mini Version 2 with the Arduino IDE and uploaded a sample sketch. You can now start exploring and developing your own projects using the ESP32-C3 development board.