Pcratch IoT デバイスに boot.py と言う名前のファイルを作成し、以下のコードをコピペしてください。
Capacitive Soil Moisture Sensor(静電容量式土壌水分センサ)とPcratch IoT を以下のように接続します。
センサ Pcratch IoT
黒 ---------- ー
黄 ---------- A1
赤 ---------- +
ESP32 環境ロガー管理ツール(きたコン側のWebアプリ):
https://jcodeorg.github.io/esp32-ble-logger/
Pcratch IoT側のファームウェア:
https://github.com/jcodeorg/esp32-ble-logger/tree/main/firmware