How to get Pressure Sensor Resistance Values
6 ビュー (過去 30 日間)
古いコメントを表示
Hi, I am trying to use Matlab to create code to get 5 thin film pressure sensors (MD30-60) to give me a resistance reading on a graph so that I can code different LED's to come on based on how much resistance there is. So far, I am getting a graph to show the values, but the graph is scrolling so fast I can't see what values it is giving. Does anyone have any advice on how I can get the resistance values, either with or without a graph?
Thank you.
0 件のコメント
回答 (1 件)
William Rose
2025 年 2 月 4 日
You have not shared any code, so I am just guessing...
Maybe you are using for loop to get the resistances and plot them in a scrolling window. The loop runs so fast that the plot is unreadable. Put a
pause(0.1) % pause time (s)
in the loop. Pausing must be enabled, which it is by default, on most systems. Experiment with different time values.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Graphics Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!