I just bought an accelerometer from one of your reseller
and trying to use in on my balancing robot project.
I called them to ask my question but they did not have any knowledge to help me on this issue.
I’m new to this accelerometer but having some experience coding in
microchip c30. My controller board having dsPIC30F4011 on board.
The problem I’m facing is
I got unbalance reading from the accelerometer.
following is the reading I got (10 Bit ADC Value unsigned integer)
When the Board is level on the floor (0degree)
Flip 90 degree on X axis and Y axis
and in the opposite direction (-90 degree)
X -90 = 248 X 0 = 470 X 90 = 729 from 0 to 90 range = 259 and from 0 to -90 range = 222
Y -90 = 284 Y 0 = 558 Y 90 = 783 from 0 to 90 range = 225 and from 0 to -90 range = 274
According to the data-sheet it’s should not have or very few differences on both 0 to 90 and -90 to 0
I compare the reading with my another accelerometer with MMA7331L on board (4/12 g)
the reading are exactly balance i.e. range from 0 to 90 is the same as from -90 to 0
Please help me identify why I having an unbalance reading while another board connected to the same controller board and the same program is getting balance reading.