398106_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

398106_en-US

398106_en-US

MMA8451Q

hello,

I have a problem and I need your help

I want to calculate the speed through the accelerometer sensor of freescale KL46Z and I want to save it to an excel file

I want a clear expliquation about the CodeWarrior and C code for this program

thank you.

Re: MMA8451Q

Hi naifar mourad,

In theory it is possible to calculate speed of an object using an accelerometer sensor.

If the acceleration of an object is known, we can get a proportional approximation of the speed data if an integration is applied.

Unfortunately we do not have any updated document with information about how to do this with the MMA8451Q/KL46Z, however, we do have an application note that mentions how to calculate velocity/speed (and positioning) using the accelerometer MMA7260 (which is no longer manufactured), but you can use this document as a reference to create your own code.

Application note: AN3397 “Implementing Positioning Algorithms Using Accelerometers”

You can also use the bare metal example project of the MMA8451Q that can be found in Freescale communities: https://community.freescale.com/docs/DOC-98836

I hope this helps.


Have a great day,
Jose Reyes

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎02-04-2026 11:30 AM
更新者: