MMA8452Q accelerometer

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

MMA8452Q accelerometer

1,806件の閲覧回数
achrefkok
Contributor II

Hello,

I use MMA8452Q circuit, i used the AN4071 application to configurate my accelerometer, (7.1 example steps for configuring using transient detection)

when the MMA8452Q accelerometer detect motion, my LED turn ON.

i need to turn OFF Led after 10 seconds, which register should i configure ? 

Thank You.

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,455件の閲覧回数
david_diaz
NXP Employee
NXP Employee

Hello Achref,

Thank you very much for writing.

Once you configure your accelerometer and set up the transient detection, I recommend using a timer from your master device in order to turn off the corresponding LED after 10 seconds.

In this case, I made a very simple project using the PIT (Periodic Interrupt Timer) from the KL25Z as a reference for your application. Please find it attached to this response.

I used CodeWarrior v10.6 and the FRDM-KL25Z.

 

Please let me know if you have any further questions.

Regards,

David

0 件の賞賛
返信

1,455件の閲覧回数
achrefkok
Contributor II

Hello David,

Thank you for your reply.

Could you send me again your application. there is no attached file in your response.

Regards,

0 件の賞賛
返信

1,454件の閲覧回数
david_diaz
NXP Employee
NXP Employee

Hello Achref,

I am glad to help.

Please try to download the FRDM-KL25Z_MMA8451Q_TransientDetection.zip file attached to this response.

Regards,

David

0 件の賞賛
返信