MATLAB Answers

Automatic sensor calibration in simulink

5 views (last 30 days)
chfakht chfakht
chfakht chfakht on 23 Mar 2015
Commented: 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

  2 Comments

Daniel Berger
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?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by