Automatic sensor calibration in simulink

7 次查看(过去 30 天)
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 个评论
Daniel Berger
Daniel Berger 2016-5-19
Is the Problem now solved? I have the same problem. How can i calibrate the Sensor, when i start the program?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by