Shop OBEX P1 Docs P2 Docs Learn Events
Question about Hitachi H48C Tri-Axis Accelerometer Module — Parallax Forums

Question about Hitachi H48C Tri-Axis Accelerometer Module

jbelle7435jbelle7435 Posts: 1
edited 2010-02-16 18:26 in General Discussion
My name is Phil and new to this forum. I have been working with this accelerometer for the past month and have two questions.

For the given formula to calculate the gravity per axis:
G=(Vaxis - Vref)x.0022

The Demonstration program outputs G's of
X(4.5)
Y(4.5)
Z(5.5)

I noticed it was displaying Vtref as 1 instead of the 2045 given in the program. The correct math but with the wrong Vref value. To fix this I modified my Vref = 2045 further down in the code and solved the error.

www.parallax.com/Portals/0/Downloads/docs/prod/acc/HitachiH48C3AxisAccelerometer.pdf


1. Should I have to modify my code so I can get the results shown?
2. What is the reason why the Vaxis values change when I do not even move the accelerometer(static)


Post Edited (jbelle7435) : 2/16/2010 6:50:03 PM GMT
Sign In or Register to comment.