How to set up the Arduino IDE
The first thing to do to progam the Barduino 4 is to set up the Arduino IDE. Follow this steps to do so:
- Install Arduino IDE
- You can go to the Arduino official page an download the last version of the Arduino IDE.
-
Add the Additional Boards URL
- Open the preferences menu File/Preferences
- In the Additional Boards URL's dialog add the next line:
https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json
-
Install the Boards Manager
- Click on the second Icon in the left bar menu or in Tools/Board/Board Manager and search esp32
- Install the boards esp32 by Espressif Systems
-
Select your board
- Connect your board and it may appear in the top dropdown as ESP32S3 Dev Module, select it.
- If it doesn't appear with that name, click on it and change the board to ESP32S3 Dev Module and select the port where your board is connected.
Bug
The first time you connect your board it may connect and disconnect, once you program it, it will show as connected.
-
Set the correct board parameters:
- To make it simple, change the USB CDC on Boot to Enable under Tools to make sure that the Serial will print over USB.
- To start with it, you can keep the rest of parameters as they show in the picture.
-
Program your board!
- Everything should be ready to upload a code to your new Barduino!
Warning
If you have problems uploading a code, reset the board in Boot mode. To do it, press the reset button (or plug the board) while pressing the Boot button, then release the Boot button. This will stop any code running into the ESP32S3 making it available for programming at any time. Once you upload the code it will not run automaticaly, please reset your board in normal mode again.