Re: Need Advice on SENSORS for a project
That's an interesting sensor. It has a ratiometric output. See section 2.2 for straight line equation. But this seems to get high errors above 30 degrees (I think maybe that's why they dont list higher values). For more accuracy, they recommend the arcsine equation.
The http://www.sparkfun.com/products/8656 is the only sensor I know of that outputs in degrees, and its very pricey.
Here are a couple ways to get tilt:
Lookup table example: http://www.picbasic.co.uk/forum/showthread.php?t=16609
atan2 example: http://www.picbasic.co.uk/forum/cont...-axis-g-sensor (sorry, its not documented very well)
http://www.scalerobotics.com
Bookmarks