Specification Sheet

Table Of Contents
WT901 | Datasheet v20-0702 | http://wiki.wit-motion.com/english
- 14 -
5.1.7 Atmospheric Pressure and Height Output
0x55
0x56
P0
P1
P2
P3
H0
H1
H2
H3
SUM
Calculated formula
Atmospheric pressure P = (( P3<<24)| ( P2<<16)| ( P1<<8)| P0 (Pa)
Height H = (( H3<<24)| ( H2<<16)| ( H1<<8)| H0(cm)
Checksum
Sum=0x55+0x54+P0+P1+P2+P3+H0+H1+H2+H3
Note:This only applies to devices with barometer(WT901B, HWT901B,
BWT901BCL, WTGAHRS1, WTGAHRS2)
5.1.8 Longitude and Latitude Output
0x55
0x57
Lon0
Lon 1
Lon 2
Lon 3
Lat0
Lat 1
Lat 2
Lat 3
SUM
Calculated formula
Longitude Lon = ((Lon 3<<24)| (Lon 2<<16)| (Lon 1<<8)| Lon 0
In NMEA0183 standard , GPS output format is ddmm.mmmmm (dd for the
degree, mm.mmmmm is after decimal point ), the module removes the
decimal point during output, so the degree of longitude can be calculated as
follows:
dd=Lon/100000000;
mm.mmmmm=(Lon%10000000)/100000(% calculate Remainder)
Latitude Lat = ((Lat 3<<24)| (Lat 2<<16)| (Lat 1<<8)| Lat 0 (cm)
In NMEA0183 standard , GPS output format is ddmm.mmmmm (dd for the
degree, mm.mmmmm is after the decimal point ), the module removes the
decimal point during output, so the degree of latitude can be calculated as
follows::
dd=Lat/100000000;
mm.mmmmm=(Lat%10000000)/100000;(% calculate Remainder)
Checksum:
Sum=0x55+0x54+ Lon 0+ Lon 1+ Lon 2+ Lon 3+ Lat 0+ Lat 1+ Lat 2+ Lat 3
Note: This only applies to devices with GPS module(WTGAHRS1, WTGAHRS2)