Quick Start Guide ESP-C3-12F

by d_i_r_k in Circuits > Arduino

4395 Views, 1 Favorites, 0 Comments

Quick Start Guide ESP-C3-12F

NodeMCU.jpg

This guide explains how to setup the Arduino IDE to program the NodeMCU-ESP-C3-12F-Kit.

Supplies

NodeMCU.jpg

NodeMCU-ESP-C3-12F-Kit, available from Banggood: (https://www.banggood.com/3PCS-Ai-Thinker-ESP-C3-12F-Kit)

USB cable with micro USB connector

Configure the Arduino IDE - References

Arduino Preferences - Add Board.png

Click [File] – [Preferences].

Click the button to add an additional board manager.

Add the following line:

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json


Configure the Arduino IDE - Board Manager

Arduino - Board Manager.png

Click [Tools] – [Board: xxxxx] – [Board manager].

In the search-box, enter “esp32”.

Click on the [Install] button for the esp32 from Espressif Systems.

Restart the Arduino IDE.

Configure the Arduino IDE - Select Board

Arduino - Select Board.png

Click [Tools] – [Board: xxxx] – [Arduino ESP32] and select “ESP32C3 Dev Module”.

Click [Tools] – [Port: COMx] and select the communication port belonging to the module.

Click [Tools] – [Upload Speed: 921600] and change to 115200.

Leave the other settings as they are.

Serial Monitor

Arduino Preferences - Preferences.png

Starting the monitor will result in the board to be unresponsive. This is due to the CTS and RTS levels of the serial interface. Disabling the control lines prevents the board to become unresponsive. Edit the file “boards.txt” from the definition of the board. The file is located in the following directory, where xxxxx is the user name: “C:\Users\xxxxx\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.2”

To get to this location, click on the “Preferences” to open the file explorer, then click trough to the above location.

Change the following lines (lines 35 and 36):

esp32c3.serial.disableDTR=false

esp32c3.serial.disableRTS=false

to

esp32c3.serial.disableDTR=true

esp32c3.serial.disableRTS=true

Load/create a Sketch

Arduino - Load Sketch.png

Create a new sketch, or select a sketch from the examples:

Click [File] – [Examples] – [WiFi] – [WiFiScan].

Upload the Sketch

NodeMCU ESP-C3-12F-kit.jpg
Arduino - Serial Monitor.png

Before the upload starts, push the “Boot” button and keep it down. Push and hold the “Reset” button. Release the “Boot” button. Release the “Reset” button. This sets the board in programming mode. Check for the board to be ready from the serial monitor: the message “waiting for download” should be displayed.

Click [Sketch] – [Upload] to upload the sketch.