how can i create a block diagram of an ultrasonic sensor in simulink?

I'm trying to program raspberry pi for a water tank control project using ultrasonic sensor, i downloaded the support package but i can't find any block diagram representing an ultrasonic sensor as input for raspberry pi. any thoughts? P.s ultrasonic sensor type HC-SR04

1 件のコメント

Maha Bakir
Maha Bakir 2020 年 9 月 13 日
Did you find a solution for that? I'm stuck with the same problem..

サインインしてコメントする。

回答 (2 件)

Prasanth Sunkara
Prasanth Sunkara 2023 年 3 月 10 日

0 投票

In MATLAB R2022b, Ultrasonic sensor Simulink block was added. Please check it out.
https://mathworks.com/help/supportpkg/raspberrypi/ref/ultrasonicsensor.html

カテゴリ

質問済み:

2016 年 2 月 3 日

回答済み:

2023 年 3 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by