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.

回答(1 个)

William Rose
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.

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by