1.4 Upload the Libraries (Important)

In some projects, you will need additional libraries. So here we upload these libraries to ESP32 first, and then we can run the code directly later.

  1. Download the relevant code from the link below.

  2. Connect the ESP32 WROOM 32E to your computer using a Micro USB cable.

    ../../_images/plugin_esp32.png
  3. Open Thonny IDE and click on the “MicroPython (ESP32).COMXX” interpreter in the bottom right corner.

    ../../_images/sec_inter.png
  4. In the top navigation bar, click View -> Files.

    ../../_images/th_files.png
  5. Switch the path to the folder where you downloaded the code package before, and then go to the esp32-starter-kit-main\micropython\libs folder.

    ../../_images/th_path.png
  6. Select all the files or folders in the libs/ folder, right-click and click Upload to, it will take a while to upload.

    ../../_images/th_upload.png
  7. Now you will see the files you just uploaded inside your drive MicroPython device.

    ../../_images/th_done.png