accelerometer programming

Yea, no personals, keep it here so others can see your progress.

@raschemmel
By themselves, they don't that is why I calibrate mine and use the map function to change the values from the accelerometer to degrees of motion. A gyro would be better thou.

I know that when I tilt my accelerometer, the X axis spits out (240,460) in the serial monitor and when it gets to a certain point, it starts going down from 460 or back up to 240, so that is the set range. The Y axis, when tilted left to right will output (240, 680) and I know it relates to 0-180 because of the way I tilt it. The Z axis is similar to the Y axis, but the values are slightly different.
So X has a range of 90 degrees, and Y,Z have a range of 180 degrees.

It is quite accurate.

However, not all accelerometers are the same, so kutenda would need to provide the ranges of the XYZ axis', then change that to degrees of motion and then make the statements that (s)he is looking for.