ノート

Arduino 双軸太陽追跡コードジェネレーター

フリーのプロンプト百科事典 Wikiprompt より

Coin Shot ☁️

2026年5月29日

Arduino 双軸太陽追跡コードジェネレーター Arduinoスケッチを生成するためのプロンプト。LDRセンサーとサーボを使用した二軸太陽追跡装置向けで、特定のピン割り当てと制御ロジックを含む。

プロンプト内容保存

🌐
Write me an Arduino sketch for a dual-axis solar tracker. Hardware: 4 LDRs on pins A0, A1, A2, and A3. A0 is top-left. A1 is top-right. A2 is bottom-left. A3 is bottom-right. 1 horizontal servo on pin 9. 1 vertical servo on pin 10. Logic: Average top vs bottom LDRs. Tilt the vertical servo toward the brighter side. Average left vs right LDRs. Rotate the horizontal servo toward the brighter side. Add a small tolerance so the servos don't jitter. Constrain horizontal servo between 10 and 170 degrees. Constrain vertical servo between 10 and 80 degrees. Output one complete sketch I can paste into Arduino IDE.

ログインして完全なプロンプトを表示

次で続行:

ログインすると、次に同意したことになります: 利用規約 と プライバシーポリシー

使い方

このプロンプトは coding 向けに設計されています。上の内容をコピーして、お好みの AI ツールに貼り付けてください。

最良の結果を得るには、プレースホルダー(角括弧や大文字で示された部分)を具体的な要件に置き換えてください。

参考資料

カテゴリ:coding| twitter| arduino| solar-tracker

ノート