Automatic sensor calibration in simulink
3 views (last 30 days)
Show older comments
Hi all, i'm reading data from a sensor attached to an arduino mega using a s-function to get the data directly from arduino to simulink ... but when the sensor is not moving it give me a value around zero so in every execution of the model i must calibrate the sensor .. So i was wondering if i can set automatic calibration in simulink to calibrate automatically the sensor , for example in the first 5 minutes so that i will not need to set the offset every time
thanks a lot
2 Comments
Daniel Berger
on 19 May 2016
Is the Problem now solved? I have the same problem. How can i calibrate the Sensor, when i start the program?
Answers (0)
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!