Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to build a simulink model with arduino hc-sr04?

1 回表示 (過去 30 日間)
Aeri
Aeri 2016 年 1 月 24 日
閉鎖済み: Aeri 2016 年 1 月 30 日
how do you connect hc-sr04 ultrasonic sensor and arduino in Matlab simulink? What block should I use to connect the trigger pin and echo pin and then generate a signal? I have the arduino support package but I dont know which block to choose and properly connects it. Any ideas would be appreciated. Thanks!
  1 件のコメント
Aeri
Aeri 2016 年 1 月 24 日
I think I found some answer to this. To those curious, I used the s-function builder with the arduino libraries. I was able to connect it but I'm still trying to generate signals. Thanks for reading

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by