How to plot a real time bar graph on axes in Matlab GUI from the signal of Ultranonic Proximity sensor connected to A0 of Arduino?
2 ビュー (過去 30 日間)
古いコメントを表示
The ultrasonic proximity sensor signal is connected to A0 of arduino. I want to plot a bar graph that will plot only the y-axis as the level of the tank on the axes in Matlab GUI. Please help me.
0 件のコメント
回答 (1 件)
Subin Kuttappan Stellal Mary
2017 年 7 月 12 日
Hi Yooichi,
There are multiple ways to achieve this :
MATLAB IO provides a way to establish a server-client connection between Arduino and host machine to send/receive data. The received data can be visualized using plot functions in MATLAB as mentioned in this link.
Using External mode communication between host machine and Arduino, the data read from the sensor can be visualized using a Scope block in Simulink.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!