Description
We will learn how to configure the necessary tools to start using the ESP-C3-12F.
Tools
- Arduino IDE
- ESP-3C-12F
Install Arduino IDE
Installing Arduino IDE is like installing any program on Windows, GNU/Linux and MAC, you can download it from here Software | Arduino.
Configuring Arduino IDE
The first step is to add the repository where our dev board is located, for that we open the preferences:
Once inside, we enter the following link in the field "Additional boards URL manager" https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json:
https://dl.espressif.com/dl/package_esp32_index.json
This link is the correct, the last one sometimes gave a error related with esptool.exe,:)
We click "OK" and now it is time to install our dev board in the board manager, we do that by clicking on the "Board Manager" option:
In the opened section, look for "esp32" and click on install:
If everything went well, you should see this message in the terminal:
Once the installation of the board is finished, select "ESP32-C3":
or, if you are using the beta version of the IDE, click on the drop-down list of boards >select another board and port:
Search for C3 and select the port your development board is connected to and click OK:
Now change the upload speed to 115200:
Configure the serial monitor:
Open the IDE's advanced preferences by opening the following file: C:\Users user\AppData\Local\Arduino15\preferences.txt :
Change the following lines (possibly 35 and 36) from:
esp32c3.serial.disableDTR=false
esp32c3.serial.disableRTS=false
To:
esp32c3.serial.disableDTR=true
esp32c3.serial.disableRTS=true
If they are not in the file add them and save the file.
Load your first program
To load your first program, it is necessary to put the board in load mode, this is done in the following way, before the loading starts, press the "Boot" button and keep it pressed. Press and hold the "Reset" button. Release the "Boot" button. Release the "Reset" button. This puts the board in programming mode. Check that the board is ready from the serial monitor: the message "waiting for download" should appear.
It is necessary to change the baud rate to the speed our board works with, which is 115200:
Click on [Sketch] - [Upload] to upload the sketch.
Top comments (0)