SimulinkでArduinoと通信する際に発生する遅延について
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Arduino①から出力されたデータをシリアル通信(Instrument Control ToolboxのSerial Receiveブロックを使用)でSimulink(PC)へ読み込み、Simulink(PC)からもう一つ別のArduino②へSimulink Support Package for Arduino Hardwareのdigital outputブロックを用いて信号を送るモデルを作成しました。
しかし、Arduino①でデータを起こしてから、それをSimulinkを経由してもう一方のArduino②で信号を読み込むまでに実時間で7~8秒ほどタイムラグが発生してしまいます。原因が不明なのですが、ライムラグは0.5秒以内に納めたいと思っています。
ご存じの方がおられましたら解決策を教えていただきたいです。
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Arduino Hardware in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!