To install it, you will need the Arduino IDE, which you can download from the Arduino Software page. In this guide, we will use the latest version of the IDE 2.
You can also use the Arduino Web Editor which comes with all Arduino boards pre-installed.
To install the board package, open the "Board Manager" from the menu to the left. Search for Nano ESP32 and install the latest version (or the version you want to use).
You should now be able to select your board in the board selector. You will need to have your board connected to your computer via the USB-C® connector at this point.
Note: You may see two versions for the Nano ESP32 available to pick in the board selector, one USB(COM21 in picture) and DFU(3-2 in picture). If you do, select the one with USB.
Congratulations, you have now successfully installed the Nano ESP32 board package via the Arduino IDE.
To compile and upload sketches, you can use the:
There are several examples available for the Nano ESP32 board, which can be accessed directly in the IDE, through File > Examples. These examples can be used directly without external libraries.
In this tutorial, we have installed the Nano ESP32 board package, using the Arduino IDE.
For any issues regarding the Arduino ESP32 board package, please refer to the arduino-esp32 Core.