Using the Accelerometer on the FRDM-KL25 Board in KDS

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

Using the Accelerometer on the FRDM-KL25 Board in KDS

Using the Accelerometer on the FRDM-KL25 Board in KDS

Accelerometer in KDS

 

Description:

 

This is a small project made in KDS using the accelerometer on a FRDM-KL25Z128M4 board.

The program outputs the 3D position of the board to a terminal, such as Tera Term at 9600 baud.

PWMs are also used, their intensity is dependent on the offset from the zero position.

The red LED intensity increases with X offset.

The blue LED intensity increases with Y offset.

Simply press any key to begin data output.

 

Sections of code taken from http://mcuoneclipse.com/2012/09/21/tutorial-accelerating-the-kl25z-freedom-board/

 

Issues:

 

There seem to be 'dead zones' while the board is tilted towards a corner.

The terminal will not output anything while in a 'dead zone'.

 

There will be a constant flicker of the LED even when the board is flat.

This is due to the accelerometer occasionally outputting 1 even when the board is static.

ラベル(1)
添付
評価なし
バージョン履歴
最終更新日:
‎06-26-2014 09:26 AM
更新者: