ESP32-S3 WiFi CSIモーション検出ファームウェア
フリーのプロンプト百科事典 Wikiprompt より
ESP32-S3 WiFi CSIモーション検出ファームウェア ESP32-S3ファームウェアを生成するプロンプト。WiFi CSIを使用して室内の動きを検出し、調整可能なしきい値でシリアル経由でJSONデータを出力する。
プロンプト内容保存
🌐
Write me an ESP32-S3 firmware that captures WiFi CSI data and detects movement in a room.
Requirements:
Connect to my home WiFi as a passive client
Capture CSI packets continuously
Calculate the variance of CSI amplitude over a 2-second window
When variance exceeds a threshold, mark the state as "motion detected"
When it drops below, mark as "still"
Output JSON over serial: timestamp, state, variance_value
Use the official esp_wifi.h CSI API.
Add comments explaining each section so I can tune the threshold later.
ログインして完全なプロンプトを表示
次で続行:
ログインすると、次に同意したことになります: 利用規約 と プライバシーポリシー
使い方
このプロンプトは coding 向けに設計されています。上の内容をコピーして、お好みの AI ツールに貼り付けてください。
最良の結果を得るには、プレースホルダー(角括弧や大文字で示された部分)を具体的な要件に置き換えてください。
ノート
0 件のコメント