My accelerometer is showing 1.6v at 0 degree. The voltage goes up turning it one way, and goes downwards the other way. But on 180 degee it shows 1,6v again. Is this correct? How do I know if the accelerometer is 0 degree or 180 degree when they have same output value?
You'll get more ambiguities by rotating the accelerometer around other axes. For an unequivocal detection of spatial orientation, you need not less than 3 orthogonal accelerometer channels.