How to get Pressure Sensor Resistance Values

4 visualizaciones (últimos 30 días)
Brian
Brian el 3 de Feb. de 2025
Respondida: William Rose el 4 de Feb. de 2025
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.

Respuestas (1)

William Rose
William Rose el 4 de Feb. de 2025
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.

Categorías

Más información sobre Graphics Performance en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by