1.3 ESP32にMicroPythonをインストールする(重要)

  1. MicroPythonの公式ウェブサイトから MicroPython firmware for the ESP32 をダウンロードし、その後で最新バージョンのファームウェアをダウンロードします。

    ../../_images/dowload_micropython_uf2.png
  2. Micro USBケーブルを使用して、ESP32 WROOM 32Eをコンピューターに接続します。

    ../../_images/plugin_esp32.png
  3. Thonny IDEの右下隅をクリックし、ポップアップメニューから 「MicroPython(ESP32).COMXX」 を選択し、 「Configure interpreter」 を選択します。

    ../../_images/install_micropython1.png
  4. 新しいポップアップウィンドウで 「Install or Update MicroPython」 をクリックします。

    ../../_images/install_micropython2.png
  5. 正しいポートと先ほどダウンロードしたファームウェアを選択し、 「Install」 をクリックします。

    ../../_images/install_micropython3.png
  6. インストールが成功した後、このページを閉じることができます。

    ../../_images/install_micropython4.png
  7. Thonnyのホームページに戻ると、赤いエラープロンプトの代わりにMicroPythonのバージョンとESP32関連のプロンプトが表示されます。

    ../../_images/install_micropython5.png