MATLAB Answers


Automatic sensor calibration in simulink

Asked by chfakht chfakht on 23 Mar 2015
Latest activity Commented on by Daniel Berger on 19 May 2016
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


Is the Problem now solved? I have the same problem. How can i calibrate the Sensor, when i start the program?

Sign in to comment.

0 Answers