How to calibrate accelerometer?
Is it possible? In my Intex Aquafish it seems to be off a bit too much and I'd like to calibrate it myself.
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Is it possible? In my Intex Aquafish it seems to be off a bit too much and I'd like to calibrate it myself.
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2017-01-16 10:22:53 +0200
Seen: 204 times
Last updated: Jan 16 '17
Does Jolla wake up on ambient light?
Proximity sensor on Alien Dalvik
G-sensor malfunction [not relevant]
Proximity sensor active during phone call with headset
I2C-Gas sensor implementation idea into the other-half [duplicate]
[feature request] automatically switch display on when flip cover is opened
Idea: Tricorder other half [not relevant]
Phone doesn't enter standby while moving it quickly [answered]
Have you tested your accelerometer by CSD Tools? If not, try it. To enter CST Tools type ##310## in Phone app. Then choose Individual tests and Gyro & Accelerometer.
atlochowski ( 2017-01-16 10:55:43 +0200 )edit@atlochowski I did that and it's within acceptable bounds for that test but I would still like to calibrate it if it's somehow possible. Y-axis's acceptable bounds were -3 to 3 and that's more than I would like accept.
Ingvix ( 2017-01-16 11:03:07 +0200 )editFor everyone's information, the code for accessing CSD Tool is
Spam Hunter ( 2017-01-16 19:23:51 +0200 )edit*#*#310#*#*
not##310##
Actual calibration of an accelerometer requires very expensive equipment, but I assume you wish to check the reading in static situation. Just placing the phone on table when using the CSD tool is not necessarily very accurate. If you wish to be more certain, you can use a simple bubble level to determine the plane perpendicular to the direction of gravity more precisely.
Unfortunately, I have no precise information on the Aquafish accelerometer, but it is normal that a MEMS accelerometer may have some transverse sensitivity, which may be couple of percent. In addition there is always some noise in the signal. Any acceleration measurements normally have an error boundary which is something like ± 3...5 % at least. As a result, trying to calibrate this kind of sensors very precisely is quite pointless in most of the cases.
kkarioja ( 2017-01-17 10:17:01 +0200 )edit@kkarioja Well I guess I don't want to actually calibrate the accelerometer but to correct the values digitally in the way Vatupassi app let's you calibrate its values to 0°. Right now in order to get y-axis to 0 the top of the phone needs to be lifted to a very noticable angle and I'd like to have that a bit more approximately fixed. I was just wondering if there's any possibility for an easy fix like that.
Ingvix ( 2017-01-17 10:40:10 +0200 )edit