Getting Started with Nano ESP32

A step-by-step guide to install the board package needed for the Nano ESP32.

To use the Arduino Nano ESP32 board, you will need to install the Nano ESP32 board package, which is part of the Arduino ESP32 Core.

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.

Software & Hardware Needed

You can also use the Arduino Web Editor which comes with all Arduino boards pre-installed.

Download & Install IDE

  1. First, we need to download the Arduino IDE, which can be done from the Arduino Software page.
  2. Install the Arduino IDE on your local machine.
  3. Open the Arduino IDE.

The Arduino IDE.
The Arduino IDE.

Install Board Package

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).

Install Nano ESP32 boards package.
Install Nano ESP32 boards package.

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.

Arduino Nano ESP32 board found.
Arduino Nano ESP32 board found.

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.

Compile & Upload Sketches

To compile and upload sketches, you can use the:

  • Checkmark for compiling code.
  • Right arrow to upload code.

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.

Nano ESP32 examples.
Nano ESP32 examples.

Summary

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.

Suggest changes

The content on docs.arduino.cc is facilitated through a public GitHub repository. If you see anything wrong, you can edit this page here.

License

The Arduino documentation is licensed under the Creative Commons Attribution-Share Alike 4.0 license.