
Watson Industries, Inc
AHRS-S305 Rev J 03/22/2018
23
Shift lower & upper bytes left once (to remove 1 bit space a top of high byte):
Convert from hexadecimal to decimal counts:
X Accel
Y Accel
Z Accel
X angular rate
Y angular rate
Z angular rate
0
64616
62392
1636
63076
9008
Correct bank, elevation, and angular rates for the sign
If >32767 then subtract 65536 from the data
X Accel
Y Accel
Z Accel
X angular rate
Y angular rate
Z angular rate
0
-920
-3144
1636
-2460
9008
Convert to units: counts x scale factor
For Bank & Elevation:
Scale factor is: 180 ˚ / 32768 counts
For Heading:
Scale factor is: 360 ˚ / 65536 counts
For Accelerations:
Scale factor is 10g / 32768 counts
For Angular Rates: Scale factor is: (200 ˚/sec) / 32768 counts
X Accel
Y Accel
Z Accel
X angular rate
Y angular rate
Z angular rate
0.0000g
-0.2808g
-0.9595g
9.985 ˚/sec
-15.015 ˚/sec
54.980 ˚/sec
X Accel
Y Accel
Z Accel
X Rate
Y Rate
Z Rate
0x00
0x00
0xFC
0x68
0xF3
0xB8
0x06
0x64
0xF6
0x64
0x23
0x30