Freematics OBDII accelerometer odd readings

Discussion about Data2KML and other open-source telematics utilities developed by us
markdh999
Posts: 3
Joined: Sun Mar 11, 2018 10:29 pm

Freematics OBDII accelerometer odd readings

Postby markdh999 » Wed Apr 25, 2018 12:28 am

I'm using the MegaLoggerHD sketch.
I am printing out what I believe to be the raw values from memsRead() (I have removed the /= ACC_DATA_RATIO). ACC_DATA_RATIO is set to 172???
I believe the accelerometer is set to +/-2g range.
Flat on a desk (level - as verified by an old school spirit level).
x = -380, y = -240, z = 1084 (varying slightly as to be expected).
I can rotate 180 degrees in the z plane and see :
x = -400, y = -230, z = -940

Can anyone shed any light on why x and y are not near zero?
Would I expect z to be reading nearer to 16383? I assume sensor has a 16 bit 2's complement value. +/-32767 and fit +/-2g in that range.

Thanks for any advice.

Sanchez
Posts: 1
Joined: Fri Apr 27, 2018 8:25 pm

Re: Freematics OBDII accelerometer odd readings

Postby Sanchez » Fri Apr 27, 2018 8:26 pm

Essays writing service is an exemplification of experience and polished skill. Consequently, we can give best essay service to Students of different examinations. Students of all investigations purchase articles on the web and we can give them quality https://www.bestessaywritingservice.co/


Return to “Freematics Software”

Who is online

Users browsing this forum: No registered users and 2 guests