作成 2026/6/25
作成 2026/6/25
LilyGo T-SIM7600X ESP32版 その3
①動作確認 PlatformIO:ATDebug
LilyGo SIM7600X ESP32版 README.MD翻訳のPlatformIO Quick Startを実施
###PlatformIO Quick Start
1. Install the **CH9102 USB bridge** driver for the first time.
最初の一回だけ、CH9102(USBシリアル変換チップ)のドライバーをインストールします。
* [Windows](https://www.wch-ic.com/downloads/CH343SER_ZIP.html)
* [Mac OS](https://www.wch-ic.com/downloads/CH34XSER_MAC_ZIP.html)
2. Install [Visual Studio Code](https://code.visualstudio.com/) and [Python](https://www.python.org/)
Visual Studio Code と Python をインストールします。
3. Search for the `PlatformIO` plugin in the `Visual Studio Code` extension and install it.
VS Codeの拡張機能(プラグイン)で PlatformIO を検索してインストールします。
4. After the installation is complete, you need to restart `Visual Studio Code`
インストールが完了したら、VS Codeを再起動します。
5. After restarting `Visual Studio Code`, select `File` in the upper left corner of `Visual Studio Code` -> `Open Folder` -> select the `LilyGo-Modem-Series` directory
再起動後、左上の「ファイル (File)」->「フォルダを開く (Open Folder)」から、ダウンロードした LilyGo-Modem-Series フォルダを選択して開きます。
>開き方がわからなかったので、エクスプローラで LilyGo-Modem-Seriesフォルダを開き、アドレスバーに「code .」Enter を入力しVSCodeを開くと、該当フォルダが読み込まれました。
6. Wait for the installation of third-party dependent libraries to complete
必要なライブラリ(依存関係)が自動ダウンロードされるので、完了するまで少し待ちます。
7. Click on the `platformio.ini` file, and in the `platformio` column
platformio.ini ファイルをクリックして開きます。
8. Cancel the `;` symbol in front of the line `default_envs = T-SIM7600X` and use `T-SIM7600X` as the default environment
default_envs = T-SIM7600X の行の先頭にある ; を消して、このボードをデフォルト環境に設定します。
9. Uncomment one of the lines `src_dir = xxxx` to ensure that only one line is valid. For example, to enable `src_dir = examples/ATdebug`, remove the leading `;` symbol and save the file. The ATDebug example will now be compiled.
下の方にある src_dir = xxxx(サンプルコードの指定)の行のうち、動かしたいもの1行だけの先頭の ; を消して有効にします。例えば ATdebug を試したいなら、src_dir = examples/ATdebug の ; を消して保存します。
10. Click the (✔) symbol in the lower left corner to compile
左下隅にある ✓(チェックマーク) をクリックしてコンパイル(ビルド)します。
11. Connect the board to the computer USB-C
ボードをPCのUSBポートに USB-A to USB-C ケーブル で接続します。
私的メモ>USB-C to USB-Cは電力供給に問題がある場合があるらしいので使用しないこと。
12. Click (→) to upload firmware
→(矢印マーク) をクリックして、プログラムを基板に書き込み(アップロード)します。
13. Click (plug symbol) to monitor serial output
🔌(プラグのマーク) をクリックして、シリアルモニターを開き、基板からの出力を確認します。
14. If it cannot be written, or the USB device keeps flashing, please check the **FAQ** below
もし書き込みができなかったり、USBデバイスが点滅し続けたりする場合は、下にある FAQ(よくある質問) を確認してください。
>書き込みが完了すると次のような表示が出ます。
>書き込みが完了したらReset Buttonでボードを再起動します。
>ボードが起動して入力待ちになります。
>画面に表示されませんが、at Enter と入力します。
>OKが返ってきたら成功です!
>せっかくなので次のコマンド at+simcomati を入力します。(+の記号もそのまま入力します)
>ボードの情報が返ってきます。真ん中のグレーはIMEI番号でボード固有のIDなので一応伏せてあります🫣
とりあえずこれで、最低限の動作確認完了🥰