Geometrix
May 24, 2007, 06:40 PM
All,
I am trying to write code for a Parallax BS2 Microcontroller to read the output of a Memsic MXD2125 Accelerometer. I would like to measure dual-axis TILT (x and y axes) from -90 degrees to +90 degrees on both axes with increments of approximately .10 degrees. The BS2 can only do integer arithmetic, so if I plan to run all of the calculations in terms of 100X of the actual value (i.e. 8734=87.34 degrees, etc...).
Does anybody have any experience with these components.
Thanks,
Geometrix
I am trying to write code for a Parallax BS2 Microcontroller to read the output of a Memsic MXD2125 Accelerometer. I would like to measure dual-axis TILT (x and y axes) from -90 degrees to +90 degrees on both axes with increments of approximately .10 degrees. The BS2 can only do integer arithmetic, so if I plan to run all of the calculations in terms of 100X of the actual value (i.e. 8734=87.34 degrees, etc...).
Does anybody have any experience with these components.
Thanks,
Geometrix