1.4 Install the Arduino Nano ESP32 Board (Important)

To program the ESP32 microcontroller, you need to install the ESP32 board package in the Arduino IDE. Follow the step-by-step guide below:

Install the ESP32 Board

  1. In the Board Manager window, type Arduino ESP32 Boards in the search bar. Click the Install button to start the installation process. This will download and install the ESP32 board package.

    ../../_images/install_board1.png
  2. Congratulations! You have successfully installed the ESP32 board package in the Arduino IDE.

Upload the Code

  1. Now, connect the Arduinio Nano ESP32 to your computer using USB Type-C cable.

  2. If your ESP32 is connected to the computer, you can choose the correct port by clicking Tools -> Port.

    ../../_images/install_esp3261.png
  3. In addition, Arduino 2.0 introduced a new way to quickly select the board and port. For ESP32, it is usually not recognized automatically, so you need to click on Select other board and port.

    ../../_images/install_esp3271.png
  4. In the search box, type Arduino Nano ESP32 and select it when it appears. Then, choose the correct port and click OK.

    ../../_images/select_board.png
  5. Afterwards, you can select it through this quick access window. Note that during later use, it may happen that ESP32 is not available in the quick access window, and you will need to repeat the previous two steps.

    ../../_images/last_step_esp32.png
  6. Both methods allow you to select the correct board and port, so choose whichever is more convenient for you. Now everything is ready to upload the code to the ESP32.