Automatic sensor calibration in simulink

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 件のコメント

chfakht chfakht
chfakht chfakht 2015 年 3 月 23 日
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 件)

カテゴリ

ヘルプ センター および File ExchangeArduino Hardware についてさらに検索

製品

質問済み:

2015 年 3 月 23 日

コメント済み:

2016 年 5 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by