Specification Sheet

BWT61CL | Datasheet v20-0630 | http://wiki.wit-motion.com/english
- 13 -
6.1.1 Acceleration Output
Data Number
Data Content
Implication
0
0x55
Header of packet
1
0x51
Acceleration pack
2
AxL
X axis acceleration low type
3
AxH
X axis acceleration high type
4
AyL
Y axis acceleration low type
5
AyH
Y axis acceleration high type
6
AzL
Z axis acceleration low type
7
AzH
Z axis acceleration high type
8
TL
Temperature low type
9
TH
Temperature high type
10
Sum
Checksum
Formula for calculating acceleration
ax=((AxH<<8)|AxL)/32768*16g(g is gravity acceleration, 9.8m/s2)
ay=((AyH<<8)|AyL)/32768*16g(g is gravity acceleration, 9.8m/s2)
az=((AzH<<8)|AzL)/32768*16g(g is gravity acceleration, 9.8m/s2)
Formula for calculating temperature
T=((TH<<8)|TL) /340+36.53
Checksum
Sum=0x55+0x51+AxH+AxL+AyH+AyL+AzH+AzL+TH+TL
Description:
1. The data is sent in hexadecimal not ASCII code.
2. Each data is transmitted in order of low byte and high byte, and the two
are combined into a signed short type data. For example, the X-axis
acceleration data Ax, where AxL is the low byte and AxH is the high byte.
The conversion method is as follows:
Assuming that Data is actual data, DataH is the high byte part, and DataL is
the low byte part, then: Data = ((short) DataH << 8) | DataL. It must be
noted here that DataH needs to be converted to a signed short data first and
then shifted, and the data type of Data is also a signed short type, so that it
can represent negative numbers.