8 Commands and responses
8.6.3 Acceleration calibration values
The acceleration portion of the acceleration/magnetometer module has a set of values when the SQM-LU-DL-V is posi-
tioned in the six possible level directions (three axis, each facing upwards and downwards). Calibration is performed by
resting the SQM-LU-DL-V on a level surface and recording the three accelerometer readings (
A
X
, A
Y
, A
Z
), this step is
repeated for each of the 6 possible axis directions. The UDM program can help to gather and record these readings into
the SQM-LU-DL-V.
Getting Acceleration calibration values
The format for getting acceleration calibration values is: “
v3,
p
x
” ; where
p
is a position value between 1-6. See table
8.39 for the response.
Setting Acceleration calibration values
The format for saving values acceleration calibration values is: “
v3,
p
, 12345,-12345, 12345x
” ; where
p
is a position
value between 1-6. Characters are position dependent, fields are x, y, z. See table 8.39 for the response.
Table 8.39: Response of getting or setting the acceleration calibration values
Position
Example value
Description
0
v3,4,
Confirmation of command. This example shows position 4 from a
possible 1-6.
1
12345,
AC
X
; acceleration calibration value of
X
axis at position
p
. 6 digits
with trailing comma. First digit space indicates positive value.
2
-12345,
AC
Y
; acceleration calibration value of
Y
axis at position
p
. 6 digits
with trailing comma. First digit space indicates positive value.
3
-00045
AC
Z
; acceleration calibration value of
Z
axis at position
p
. 6 digits.
First digit space indicates positive value.
Carriage return (0x0d), Line feed (0x0a).
An example response to “
v3,1x
” or “
v3,1,-00418, 00193, 17078x
” is:
v3,1,-00418, 00193, 17078
8.6.4 Magnetic calibration values
The magnetic portion of the acceleration/magnetometer module has a set of values when the SQM-LU-DL-V is facing
the strongest flux lines in six possible directions.
Calibration is done by rotating the SQM-LU-DL-V in all directions to obtain maximum positive and maximum negative
values on all 3 axis (
±
M
X
,
±
M
Y
,
±
M
Z
). The UDM program can be used to record these peak values which can be sent
to the SQM-LU-DL-V for permanent storage in its EEPROM.
Getting magnetic calibration values
The command for getting magnetic calibration values is “
v4x
”. See table 8.40 for the response:
Setting Acceleration calibration values
The command for setting magnetic calibration values is: “
v4,...x
” (Ex.
‘‘v4,-03102,-03226,-02937, 03502, 03556,
03246x"
). See table 8.40 for the response:
84
Unihedron SQM-LU-DL-V Operator’s Manual -
20211013
Содержание SQM-LU-DL-V
Страница 2: ......
Страница 104: ...14 Glossary 104 Unihedron SQM LU DL V Operator s Manual 20211013...