How to get Pressure Sensor Resistance Values
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
William Rose
le 4 Fév 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.
0 commentaires
Voir également
Catégories
En savoir plus sur Graphics Performance dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!