10-axis IMU module communication protocol

10-axis IMU module communication protocolInstructions for use:Register tableProtocol formatRead formatTime outputAcceleration outputAngular velocity outputAngle outputMagnetic field outputPort status outputAir pressure altitude outputLatitude and longitude outputGPS data outputQuaternion outputGPS positioning accuracy outputRead register return valueWrite formatSAVE(save/reboot/factory reset)CALSW(Calibration Mode)RSW(output content)RRATE(output rate)BAUD(Serial port baud rate)AXOFFSET~HZOFFSET(Bias settings)D0MODE~D3MODE(port mode setting)IICADDR(device address)LEDOFF(turn off the LED)MAGRANGX~MAGRANGZ(magnetic field calibration range)BANDWIDTH(bandwidth)GYRORANGE(gyroscope range)ACCRANGE(accelerometer range)SLEEP(sleep)ORIENT(installation orientation)AXIS6(algorithm)FILTK(K value filter)GPSBAUD(GPS baud rate)READADDR(read register)ACCFILT(acceleration filter)POWONSEND(power-on output)VERSION(version number)YYMM~MS(on-chip time)AX~AZ(acceleration)GX~GZ(angular velocity)HX~HZ(magnetic field)Roll~Yaw(angle)TEMP(temperature)D0Status~D3Status(port status)PressureL~HeightH(pressure altitude)LonL~LatH(latitude and longitude)GPSHeight~GPSVH(GPS data)q0~q3(quaternion)SVNUM~VDOP(GPS positioning accuracy)DELAYT(alarm signal delay)XMIN~XMAX(X-axis angle alarm threshold)BATVAL(voltage)ALARMPIN(alarm pin mapping)YMIN~YMAX(Y-axis angle alarm threshold)GYROCALITHR(Gyro Still Threshold))ALARMLEVEL(angle alarm level)GYROCALTIME(Gyroscope Auto Calibration Time)TRIGTIME(alarm continuous trigger time))KEY(unlock)WERROR(gyro change value)TIMEZONE(GPS时区)WZTIME(angular velocity continuous still time)WZSTATIC(angular velocity integral threshold)MODDELAY(485 data response delay)XREFROLL~YREFPITCH(angle zero reference value))NUMBERID1~NUMBERID6((device number))

Instructions for use:

The serial port sending command must be completed within 10S , otherwise it will be automatically locked. To avoid automatic locking, the following steps can be performed first.

  1. Enter unlock command
  2. Enter commands that need to modify or read data
  3. Save command

Register table

ADDR(Hex)ADDR(Dec)REGISTER NAMEFUNCTIONSERIAL I/FBit15Bit14Bit13Bit12Bit11Bit10Bit9Bit8Bit7Bit6Bit5Bit4Bit3Bit2Bit1Bit0
0000SAVEsave/reboot/factory resetR/WSAVE[15:0]               
0101CALSWCalibration modeR/W            CALSW[3:0]   
0202RSWoutput contentR/W     GSAQUATERVELOCITYGPSPRESSPORTMAGANGLEGYROACCTIME
0303RRATEoutput rateR/W            RRATE[3:0]   
0404BAUDSerial port baud rateR/W            BAUD[3:0]   
0505AXOFFSETAcceleration X BiasR/WAXOFFSET[15:0]               
0606AYOFFSETAcceleration Y BiasR/WAYOFFSET[15:0]               
0707AZOFFSETAcceleration Z BiasR/WAZOFFSET[15:0]               
0808GXOFFSETAngular velocity X BiasR/WGXOFFSET[15:0]               
0909GYOFFSETAngular velocity Y BiasR/WGYOFFSET[15:0]               
0A10GZOFFSETAngular velocity Z BiasR/WGZOFFSET[15:0]               
0B11HXOFFSETMagnetic Field X BiasR/WHXOFFSET[15:0]               
0C12HYOFFSETMagnetic Field Y BiasR/WHYOFFSET[15:0]               
0D13HZOFFSETMagnetic Field Z BiasR/WHZOFFSET[15:0]               
0E14D0MODED0 Pin modeR/W            D0MODE[3:0]   
0F15D1MODED1 Pin modeR/W            D1MODE[3:0]   
1016D2MODED2 Pin modeR/W            D2MODE[3:0]   
1117D3MODED3 Pin modeR/W            D3MODE[3:0]   
1A26IICADDRDevice addressR/W        IICADDR[7:0]       
1B27LEDOFFTurn off the LED lightsR/W               LEDOFF
1C28MAGRANGXMagnetic Field X Calibration RangeR/WMAGRANGX[15:0]               
1D29MAGRANGYMagnetic Field Y Calibration RangeR/WMAGRANGY[15:0]               
1E30MAGRANGZMagnetic Field Z Calibration RangeR/WMAGRANGZ[15:0]               
1F31BANDWIDTHBandwidthR/W            BANDWIDTH[3:0]   
2032GYRORANGEGyroscope rangeR/W            GYRORANGE[3:0]   
2133ACCRANGEAcceleration rangeR/W            ACCRANGE[3:0]   
2234SLEEPHibernateR/W               SLEEP
2335ORIENTInstallation directionR/W               ORIENT
2436AXIS6algorithmR/W               AXIS6
2537FILTKDynamic filteringR/WFILTK[15:0]               
2638GPSBAUDGPS baud rateR/W            GPSBAUD[3:0]   
2739READADDRread registerR/W        READADDR[7:0]       
2A42ACCFILTacceleration filterR/WACCFILT[15:0]               
2D45POWONSENDcommand startR/W            POWONSEND[3:0]   
2E46VERSIONversion numberRVERSION[15:0]               
3048YYMMYear MonthR/WMOUTH[15:8]YEAR[7:0]              
3149DDHHDay HourR/WHOUR[15:8]DAY[7:0]              
3250MMSSMinute SecondR/WSECONDS[15:8]MINUTE[7:0]              
3351MSMillisecondR/WMS[15:0]               
3452AXAcceleration XRAX[15:0]               
3553AYAcceleration YRAY[15:0]               
3654AZAcceleration ZRAZ[15:0]               
3755GXAngular velocity XRGX[15:0]               
3856GYAngular velocity YRGY[15:0]               
3957GZAngular velocity ZRGZ[15:0]               
3A58HXMagnetic Field XRHX[15:0]               
3B59HYMagnetic Field YRHY[15:0]               
3C60HZMagnetic Field ZRHZ[15:0]               
3D61Rollroll angleRRoll[15:0]               
3E62PitchPitch angleRPitch[15:0]               
3F63YawHeadingRYaw[15:0]               
4064TEMPtemperatureRTEMP[15:0]               
4165D0StatusD0 pin stateRD0Status[15:0]               
4266D1StatusD1 pin stateRD1Status[15:0]               
4367D2StatusD2 pin stateRD2Status[15:0]               
4468D3StatusD3 pin stateRD3Status[15:0]               
4569PressureLAir pressure low 16 bitsRPressureL[15:0]               
4670PressureHAir pressure high 16 bitsRPressureH[15:0]               
4771HeightLHeight lower 16 bitsRHeightL[15:0]               
4872HeightHHigh low high 16 bitsRHeightH[15:0]               
4973LonLLongitude lower 16 bitsRLonL[15:0]               
4A74LonHLongitude high 16 bitsRLonH[15:0]               
4B75LatLLatitude lower 16 bitsRLatL[15:0]               
4C76LatHLatitude high 16 bitsRLatH[15:0]               
4D77GPSHeightGPS AltitudeRGPSHeight[15:0]               
4E78GPSYAWGPS heading angleRGPSYAW[15:0]               
4F79GPSVLGPS ground speed low 16 bitsRGPSVL[15:0]               
5080GPSVHGPS ground speed high 16 bitsRGPSVH[15:0]               
5181q0Quaternion 0Rq0[15:0]               
5282q1Quaternion 1Rq1[15:0]               
5383q2Quaternion 2Rq2[15:0]               
5484q3Quaternion 3Rq3[15:0]               
5585SVNUMnumber of satellitesRSVNUM[15:0]               
5686PDOPPosition accuracyRPDOP[15:0]               
5787HDOPHorizontal accuracyRHDOP[15:0]               
5888VDOPvertical accuracyRVDOP[15:0]               
5989DELAYTAlarm signal delayR/WDELAYT[15:0]               
5A90XMINX-axis angle alarm minimum valueR/WXMIN[15:0]               
5B91XMAXX-axis angle alarm maximum valueR/WXMAX[15:0]               
5C92BATVALSupply voltageRBATVAL[15:0]               
5D93ALARMPINAlarm Pin MappingR/WX-ALARM[15:12]X+ALARM[11:8]Y-ALARM[7:4]Y+ALARM[3:0]            
5E94YMINY-axis angle alarm minimum valueR/WYMIN[15:0]               
5F95YMAXY-axis angle alarm maximum valueR/WYMAX[15:0]               
6197GYROCALITHRGyro Still ThresholdR/WGYROCALITHR[15:0]               
6298ALARMLEVELAngle alarm levelR/W            ALARMLEVEL[3:0]   
6399GYROCALTIMEGyro auto calibration timeR/WGYROCALTIME[15:0]               
68104TRIGTIMEAlarm continuous trigger timeR/WTRIGTIME[15:0]               
69105KEYunlockR/WKEY[15:0]               
6A106WERRORGyroscope change valueRWERROR[15:0]               
6B107TIMEZONEGPS time zoneR/W        TIMEZONE[7:0]       
6E110WZTIMEAngular velocity continuous rest timeR/WWZTIME[15:0]               
6F111WZSTATICAngular velocity integral thresholdR/WWZSTATIC[15:0]               
74116MODDELAY485 data response delayR/W                
79121XREFROLLRoll angle zero reference valueRXREFROLL[15:0]               
7A122YREFPITCHPitch angle zero reference valueRYREFPITCH[15:0]               
7F127NUMBERID1Device ID 1-2RID2[15:8]ID1[7:0]              
80128NUMBERID2Device ID 3-4RID4[15:8]ID3[7:0]              
81129NUMBERID3Device ID 5-6RID6[15:8]ID5[7:0]              
82130NUMBERID4Device ID 7-8RID8[15:8]ID7[7:0]              
83131NUMBERID5Device ID 9-10RID10[15:8]ID9[7:0]              
84132NUMBERID6Device ID 11-12RID12[15:8]ID11[7:0]              

Protocol format

Read format

Protocol Headdata contentData lower 8 bitsData high 8 bitsData lower 8 bitsData high 8 bitsData lower 8 bitsData high 8 bitsData high 8 bitsData high 8 bitsSUMCRC
0x55TYPE【1】DATA1L[7:0]DATA1H[15:8]DATA2L[7:0]DATA2H[15:8]DATA3L[7:0]DATA3H[15:8]DATA4L[7:0]DATA4H[15:8]SUMCRC【2】

【1】TYPE(data content):

TYPERemark
0x50Time
0x51Acceleration
0x52Angular velocity
0x53Angle
0x54Magnetic field
0x55Port status
0x56Barometric altitude
0x57Latitude and longitude
0x58Ground speed
0x59Quaternion
0x5AGPSpositioning accuracy
0x5FRead

【2】SUMCRC(data sum check):

SUMCRC=0x55+TYPE+DATA1L+DATA1H+DATA2L+DATA2H+DATA3L+DATA3H+DATA4L+DATA4H

SUMCRC is a char type, taking the lower 8 bits of the checksum

Time output

0x550x50YYMMDDHHMNSSMSLMSHSUM
           
NameDescribeRemark
YYYear 
MMMoon 
DDDay 
HHHour 
MNMinute 
SSsecond 
MSLms lower 8 bitsMillisecond calculation formula: ms=((MSH<<8)|MSL)
MSHms high 8 bits 
SUMchecksumSUM=0x55+0x50+YY+MM+DD+HH+MN+SS+MSL+MSH

Acceleration output

0x550x51AxLAxHAyLAyHAzLAzHTLTHSUM
           
NameDescribeRemark
AxLAcceleration X low 8 bitsAcceleration X=((AxH<<8)|AxL)/32768*16g(g is the acceleration of gravity, preferably 9.8m/s2)
AxHAcceleration X high 8 bits 
AyLAcceleration Y low 8 bitsAcceleration Y=((AyH<<8)|AyL)/32768*16g(g is the acceleration of gravity, preferably 9.8m/s2)
AyHAcceleration Y high 8 bits 
AzLAcceleration Z low 8 bitsAcceleration Z=((AzH<<8)|AzL)/32768*16g(g is the acceleration of gravity, preferably 9.8m/s2)
AzHAcceleration Z high 8 bits 
TLTemperature low 8 bitsTemperature calculation formula:Temperature=((TH<<8)|TL) /100 ℃
THTemperature high 8 bits 
SUMchecksumSUM=0x55+0x51+AxL+AxH+AyL+AyH+AzL+AzH+TL+Th

Angular velocity output

0x550x52WxLWxHWyLWyHWzLWzHVolLVolHSUM
           
NameDescribeRemark
WxLAngular velocity X low 8 bitsAngular velocity X=((WxH<<8)|WxL)/32768*2000°/s
WxHAngular velocity X high 8 bits 
WyLAngular velocity Y low 8 bitsAngular velocity Y=((WyH<<8)|WyL)/32768*2000°/s
WyHAngular velocity Y high 8 bits 
WzLAngular velocity Z low 8 bitsAngular velocity Z=((WzH<<8)|WzL)/32768*2000°/s
WzHAngular velocity Z high 8 bits 
VolLVoltage low 8 bits(Non-Bluetooth Products,the data is invalid) Voltage calculation formula:
voltage=((VolH<<8)|VolL) /100 ℃
VolHVoltage high 8 bits 
SUMchecksumSUM=0x55+0x52+WxL+WxH+WyL+WyH+WzL+WzH+VolH+VolL

Angle output

0x550x53RollLRollHPitchLPitchHYawLYawHVLVHSUM
           
NameDescribeRemark
RollLRoll angle X low 8 bitsRoll angle X=((RollH<<8)|RollL)/32768*180(°)
RollHRoll angle X high 8 bits 
PitchLPitch angle Y low 8 bitsPitch angle Y=((PitchH<<8)|PitchL)/32768*180(°)
PitchHPitch angle Y high 8 bits 
YawLYaw angle Z low 8 bitsYaw angle Z=((YawH<<8)|YawL)/32768*180(°)
YawHYaw angle Z high 8 bits 
VLVersion number low 8 bitsVersion number calculation formula:
Version number=(VH<<8)|VL
VHVersion number high 8 bits 
SUMchecksumSUM=0x55+0x53+RollH+RollL+PitchH+PitchL+YawH+YawL+VH+VL

Magnetic field output

0x550x54HxLHxHHyLHyHHzLHzHTLTHSUM
           
NameDescribeRemark
HxLMagnetic field X lower 8 bitsMagnetic field X=((HxH<<8)|HxL)
HxHMagnetic field X high 8 bits 
HyLMagnetic field Y lower 8 bitsMagnetic field Y=((HyH <<8)|HyL)
HyHMagnetic field Y high 8 bits 
HzLMagnetic field Z lower 8 bitsMagnetic field Z=((HzH<<8)|HzL)
HzHMagnetic field Z high 8 bits 
TLTemperature low 8 bitsTemperature calculation formula:
temperature=((TH<<8)|TL) /100 ℃
THTemperature high 8 bits 
SUMchecksumSUM=0x55+0x54+HxH+HxL+HyH+HyL+HzH+HzL+TH+TL

Port status output

0x550x55D0LD0HD1LD1HD2LD2HD3LD3HSUM
           
NameDescribeRemark
D0LD0 status lower 8 bitsD0 state=((D0H<<8)|D0L)
D0HD0 state high 8 bits 
D1LD1 status lower 8 bitsD1 state = ((D1H<<8)|D1L)
D1HD1 status high 8 bits 
D2LD2 status lower 8 bitsD2 state=((D2H<<8)|D2L)
D2HD2 status upper 8 bits 
D3LD3 status lower 8 bitsD3 state = ((D3H<<8)|D3L)
D3HD3 status upper 8 bits 
SUMchecksumSUM=0x55+0x54+D0L+D0H+D1L+D1H+D2L+D2H+D3L+D3H

illustrate:

U=DxStatus/1024*Uvcc

 

Air pressure altitude output

0x550x56P0P1P2P3H0H1H2H3SUM
           
NameDescribeRemark
P0Air Pressure [7:0]Air pressure=(P3<<24)|(P2<<16)|(P1<<8)|P0(Pa)
P1Air Pressure [15:8] 
P2Air pressure [23:16] 
P3Air pressure [31:24] 
H0height[7:0]Height=(H3<<24)|(H2<<16)|(H1<<8)|H0(cm)
H1Height [15:8] 
H2Height [23:16] 
H3Height [31:24] 
SUMchecksumSUM=0x55+0x56+P0+P1+P2+P3+H0+H1+H2+H3

Latitude and longitude output

0x550x57Lon0Lon1Lon2Lon3Lat0Lat1Lat2Lat3SUM
           
namedescribeRemark
Lon0Longitude [7:0]Longitude=(Lon3<<24)|(Lon2<<16)|(Lon1<<8)|Lon0
Lon1Longitude [15:8] 
Lon2Longitude [23:16] 
Lon3Longitude [31:24] 
Lat0Latitude[7:0]Latitude=(Lat3<<24)|(Lat2<<16)|(Lat1<<8)|Lat0
Lat1Latitude[15:8] 
Lat2Latitude [23:16] 
Lat3Latitude [31:24] 
SUMchecksumSUM=0x55+0x57+Lon0+Lon1+Lon2+Lon3+Lat0+Lat1+Lat2+Lat3

illustrate:

dd=Lon[31:0]/10000000;

dd=Lat[31:0]/10000000;

The longitude/latitude fraction can be calculated like this:

mm.mmmmm=(Lon[31:0]%10000000)/100000; (% means remainder operation)

mm.mmmmm=(Lat[31:0]%10000000)/100000; (% means remainder operation)

GPS data output

0x550x58GPSHeightLGPSHeightHGPSYawLGPSYawHGPSV0GPSV1GPSV2GPSV3SUM
           
namedescribeRemark
GPSHeightLGPS Altitude [7:0]GPS Height=((GPSHeightH<<8)|GPSHeightL)/10(m)
GPSHeightHGPS altitude [15:8] 
GPSYawLGPS heading [7:0]GPS heading angle=((GPSYawH<<8)|GPSYawL)/100(°)
GPSYawHGPS heading [15:8] 
GPSV0GPS Ground Speed [7:0]GPS ground speed = ((GPSV3<<24)|(GPSV2<<16)|(GPSV1<<8)|GPSV0)/1000(km/h)
GPSV1GPS ground speed [15:8] 
GPSV2GPS ground speed [23:16] 
GPSV3GPS ground speed [31:24] 
SUMchecksumSUM=0x55+0x58+GPSHeightL+GPSHeightH+GPSYawL+GPSYawH+GPSV0+GPSV1+GPSV2+GPSV3

Quaternion output

0x550x59Q0LQ0HQ1LQ1HQ2LQ2HQ3LQ3HSUM
           
NameDescribeRemark
Q0LQuaternion 0 low 8 bitsq0=((Q0H<<8)|Q0L)/32768
Q0HQuaternion 0 high 8 bits 
Q1LQuaternion 1 lower 8 bitsq1=((Q1H<<8)|Q1L)/32768
Q1HQuaternion 1 high 8 bits 
Q2LQuaternion 2 lower 8 bitsq2=((Q2H<<8)|Q2L)/32768
Q2HQuaternion 2 high 8 bits 
Q3LQuaternion 3 lower 8 bitsq3=((Q3H<<8)|Q3L)/32768
Q3HQuaternion 3 high 8 bits 
SUMchecksumSUM=0x55+0x59+Q0L+Q0H+Q1L +Q1H +Q2L+Q2H+Q3L+Q3H

GPS positioning accuracy output

0x550x5ASNLSNHPDOPLPDOPHHDOPLHDOPHVDOPLVDOPHSUM
           
NameDescribeRemark
SNLSatellite number low 8 bitsNumber of GPS satellites=((SNH<<8)|SNL)
SNH8-bit high number of satellites 
PDOPLPosition positioning accuracy is low 8 bitsPosition positioning accuracy=((PDOPH<<8)|PDOPL)/100
PDOPHPosition positioning accuracy is high 8 bits 
HDOPLHorizontal positioning accuracy is 8 bits lowerHorizontal positioning accuracy=((HDOPH<<8)|HDOPL)/100
HDOPHHigh 8-bit horizontal positioning accuracy 
VDOPLVertical positioning accuracy is 8 bits lowerVertical positioning accuracy=((VDOPH<<8)|VDOPL)/100
VDOPHHigh vertical positioning accuracy of 8 bits 
SUMchecksumSUM=0x55+0x5A+SNL+SNH+PDOPL+PDOPH+HDOPL+HDOPH+VDOPL+VDOPH

Read register return value

0x550x5FREG1LREG1HREG2LREG2HREG3LREG3HREG4LREG4HSUM
           
NameDescribeRemark
REG1LRegister 1 low 8 bitsREG1[15:0]=((REG1H<<8)|REG1L)
REG1HRegister 1 high 8 bits 
REG2LRegister 2 low 8 bitsREG2[15:0]=((REG2H<<8)|REG2L)
REG2HRegister 2 high 8 bits 
REG3LRegister 3 low 8 bitsREG3[15:0]=((REG3H<<8)|REG3L)
REG3HRegister 3 high 8 bits 
REG4LRegister 4 low 8 bitsREG4[15:0]=((REG4H<<8)|REG4L)
REG4HRegister 4 high 8 bits 
SUMchecksumSUM=0x55+0x5F+REG1L+REG1H+REG2L+REG2H+REG3L+REG3H+REG4L+REG4H

E.g:

Write format

protocol headerprotocol headerregisterData lower 8 bitsData high 8 bits
0xFF0xAAADDRDATAL[7:0]DATAH[15:8]

SAVE(save/reboot/factory reset)

Register Name: SAVE Register Address: 0 (0x00)
Read and write direction: R/W Default value: 0x0000
  
BitNAMEFUNCTION
15:0SAVE[15:0]save: 0x0000 reboot: 0x00FF factory reset: 0x0001
E.g:FF AA 00 FF 00(reboot)  

CALSW(Calibration Mode)

Register Name: CALSW Register Address: 1 (0x01
Read and Write Direction: R/W Default Value: 0x0000
  
BitNAMEFUNCTION
15:4  
3:0CAL[3:0]Set calibration mode:
0000(0x00): Normal working mode
0001 (0x01): Auto add-up calibration
0011 (0x03): Height reset
0100 (0x04): Heading angle reset
0111 (0x07): Magnetic Field Calibration (Spherical Fitting)
1000 (0x08): Set the angle reference to
1001 (0x09): Magnetic Field Calibration (Dual Plane Mode)
E.g:FF AA 01 04 00(Heading angle reset)  

RSW(output content)

Register Name: RSW Register Address: 2 (0x02)
Read and Write Direction: R/W Default Value: 0x001E
  
BitNAMEFUNCTION
15:11  
10GSA (0x5A)0: off 1: on
9QUATER (0x59)0: off 1: on
8VELOCITY (0x58)0: off 1: on
7GPS (0x57)0: off 1: on
6PRESS (0x56)0: off 1: on
5PORT (0x55)0: off 1: on
4MAG (0x54)0: off 1: on
3ANGLE (0x53)0: off 1: on
2GYRO (0x52)0: off 1: on
1ACC (0x51)0: off 1: on
0TIME (0x50)0: off 1: on
E.g:FF AA 02 3E 00(Set to output only acceleration, angular velocity, angle, magnetic field, port status)  

RRATE(output rate)

Register Name: RRATE Register Address: 3 (0x03)
Read and Write Direction:R/W Default Value: 0x0006
  
BitNAMEFUNCTION
15:4  
3:0RRATE[3:0]Set output rate: 0001(0x01): 0.2Hz
0010(0x02):0.5Hz
0011(0x03): 1Hz
0100(0x04): 2Hz
0101(0x05): 5Hz
0110(0x06): 10Hz
0111(0x07): 20Hz
1000(0x08): 50Hz
1001(0x09): 100Hz
1011(0x0B): 200Hz
1011(0x0C):Single return
1100 (0x0D): no return
E.g:FF AA 03 03 00(Set output rate 1Hz)  

BAUD(Serial port baud rate)

Register Name: BAUD
Register Address: 4 (0x04)
Read and write direction: R/W Default value: 0x0002
  
BitNAMEFUNCTION
15:4  
3:0BAUD[3:0]Set serial port baud rate: 0001(0x01): 4800bps 0010(0x02): 9600bps 0011(0x03): 19200bps 0100(0x04): 38400bps 0101(0x05): 57600bps
0110(0x06): 115200bps 0111(0x07): 230400bps
1000(0x08): 460800bps(Only supported by WT931/JY931/HWT606/HWT906)1001(0x09): 921600bps(Only supported by WT931/JY931/HWT606/HWT906)
e.g:FF AA 04 06 00
(Set serial port baud rate115200)
  

AXOFFSET~HZOFFSET(Bias settings)

Register Name: AXOFFSET~HZOFFSET
Register Address: 5~13 (0x05~0x0D)
Read and write direction: R/W Default value: 0x0000
  
BitNAMEFUNCTION
15:0AXOFFSET[15:0]Acceleration X-axis Bias, actual acceleration Bias =AXOFFSET[15:0]/10000(g)
15:0AYOFFSET[15:0]Acceleration Y-axis Bias, actual acceleration Bias =AYOFFSET[15:0]/10000(g)
15:0AZOFFSET[15:0]Acceleration Z-axis Bias, actual acceleration Bias =AZOFFSET[15:0]/10000(g)
15:0GXOFFSET[15:0]Angular velocity X-axis Bias, actual angular velocity Bias =GXOFFSET[15:0]/10000(°/s)
15:0GYOFFSET[15:0]Angular velocity Y-axis Bias, actual angular velocity Bias =GYOFFSET[15:0]/10000(°/s)
15:0GZOFFSET[15:0]Angular velocity Z-axis Bias, actual angular velocity Bias =GZOFFSET[15:0]/10000(°/s)
15:0HXOFFSET[15:0]Magnetic field X-axis Bias
15:0HYOFFSET[15:0]Magnetic field Y-axis Bias
15:0HZOFFSET[15:0]Magnetic field Z-axis Bias
eg:FF AA 05 E8 03(Set acceleration X axis Bias 0.1g),0x03E8=1000,1000/10000=0.1(g)  

D0MODE~D3MODE(port mode setting)

Register name: D0MODE~D3MODE
Register address: 14~17 (0x0E~0x11)
Read and write direction: R/W
Default value: 0x0000
  
BitNAMEFUNCTION
3:0D0MODE[3:0]Set D0 port mode
0000(0x00): analog input (default) 0001(0x01): digital input
0010(0x02): output digital high level 0011(0x03): output digital low level
3:0D1MODE[3:0]Set D1 port mode
0000(0x00): analog input (default)
0001(0x01): digital input
0010(0x02): output digital high level
0011(0x03): output digital low level
0101(0x05): set relative attitude
3:0D2MODE[3:0]Set D2 port mode
0000(0x00): analog input (default)
0001(0x01): digital input
0010(0x02): output digital high level
0011(0x03): output digital low level
3:0D3MODE[3:0]Set D3 port mode
0000(0x00): analog input (default)
0001(0x01): digital input
0010(0x02): output digital high level
0011(0x03): output digital low level
eg:FF AA 0E 03 00(set D0 to output digital low level mode)  

IICADDR(device address)

Register Name: IICADDR
Register Address: 26 (0x1A)
Read and Write Direction: R/W Default Value: 0x0050
  
BitNAMEFUNCTION
15:8  
7:0IICADDR[7:0]Set the device address, use 0x01~0x7F for I2C and Modbus communication
eg:FF AA 1A 02 00(set the device address to 0x02)  

LEDOFF(turn off the LED)

Register Name: LEDOFF
Register Address: 27 (0x1B)
Read and Write Direction: R/W Default Value: 0x0000
  
BitNAMEFUNCTION
15:1  
0LEDOFF1: Turn off the LED
0: Turn on the LED
eg:FF AA 1B 01 00(Turn off the LED)  

MAGRANGX~MAGRANGZ(magnetic field calibration range)

Register Name: MAGRANGX~MAGRANGZ
Register Address: 28~30 (0x1C~0x1E)
Read and Write Direction: R/W Default Value: 0x01F4
  
BitNAMEFUNCTION
15:0MAGRANGX[15:0]Magnetic field calibration X-axis range
15:0MAGRANGY[15:0]Magnetic Field Calibration Y-axis Range
15:0MAGRANGZ[15:0]Magnetic field calibration Z-axis range
eg:FF AA 1C F4 01(Set the magnetic field calibration X-axis range to 500)  

BANDWIDTH(bandwidth)

Register Name: BANDWIDTH
Register Address: 31 (0x1F)
Read and Write Direction: R/W Default Value: 0x0004
  
BitNAMEFUNCTION
15:4  
3:0BANDWIDTH[3:0]Set bandwidth
0000(0x00): 256Hz 0001(0x01): 188Hz 0010(0x02): 98Hz
0011(0x03): 42Hz0100(0x04): 20Hz0101(0x05): 10Hz0110(0x06): 5Hz
eg:FF AA 1F 01 00(Set bandwidth 188Hz)  

GYRORANGE(gyroscope range)

Register Name: GYRORANGE
Register Address: 32 (0x20)
Read and Write Direction: R/W Default Value: 0x0003
  
BitNAMEFUNCTION
15:4  
3:0GYRORANGE[3:0]Set gyroscope range 0011(0x03): 2000°/s default 2000°/s, fixed and cannot be set
eg:FF AA 20 03 00(set the gyro range to 2000°/s)  

ACCRANGE(accelerometer range)

Register Name: ACCRANGE Register Address: 33 (0x21)
Read and Write Direction: R/W Default Value: 0x0000
  
BitNAMEFUNCTION
15:4  
3:0ACCRANGE[3:0]Set the accelerometer range 0000(0x00): ±2g0011(0x03): ±16g This parameter cannot be set, the product’s internal adaptive acceleration range, when the acceleration exceeds 2g, it will automatically switch to 16g
eg:FF AA 21 00 00(set the accelerometer range to 16g)  

SLEEP(sleep)

Register Name: SLEEP Register Address: 34 (0x22)
Read and Write Direction: R/W Default Value: 0x0000
  
BitNAMEFUNCTION
15:1  
0SLEEPSet sleep 1 (0x01): sleep any serial port data, can wake up
eg:FF AA 22 01 00(set sleep)  

ORIENT(installation orientation)

Register name: ORIENT Register address: 35 (0x23)
Read and write direction: R/W Default value: 0x0000
  
BitNAMEFUNCTION
15:1  
0ORIENTSet the installation direction 0 (0x00): horizontal installation
1 (0x01): vertical installation (the Y-axis arrow of the coordinate axis must be upward)
eg:FF AA 23 01 00(set vertical installation)  

AXIS6(algorithm)

Register Name: AXIS6 Register Address: 36 (0x24)
Read and Write Direction: R/W Default Value: 0x0000
  
BitNAMEFUNCTION
15:1  
0AXIS6Setting algorithm 0 (0x00): 9-axis algorithm (magnetic field solution navigation angle, absolute heading angle)
1 (0x01): 6-axis algorithm (integral solution navigation angle, relative heading angle)
eg:FF AA 24 01 00(set 6-axis algorithm mode)  

FILTK(K value filter)

Register Name: FILTK Register Address: 37 (0x25)
Read and Write Direction: R/W Default Value: 0x001E
  
BitNAMEFUNCTION
15:0FILTK[15:0]Range: 1~10000, the default is 30 (it is not recommended to modify, once modified, if the angle does not meet the requirements, please modify it to 30) The smaller the FILTK[15:0], the stronger the seismic performance and the weaker the real-time performance FILTK[15:0 ] is larger, the seismic performance is weakened, and the real-time performance is enhanced.
eg:FF AA 25 1E 00(set K value filter to 30)  

GPSBAUD(GPS baud rate)

Register Name: GPSBAUD Register Address: 38 (0x26)
Read and Write Direction: R/W Default Value: 0x0002
  
BitNAMEFUNCTION
15:4  
3:0GPSBAUD[3:0]Set GPS baud rate: 0001(0x01): 4800bps0010(0x02): 9600bps0011(0x03): 19200bps0100(0x04): 38400bps0101(0x05): 57600bps0110(0x06): 115200bps0111(0x07): 230400bps
eg:FF AA 26 02 00((set GPS baud rate 9600)  

READADDR(read register)

Register Name: READADDR Register Address: 39 (0x27)
Read and Write Direction: R/W Default Value: 0x00FF
  
BitNAMEFUNCTION
15:8  
7:0READADDR[7:0]Read register range: Please refer to "Register Table"
eg: Send: FF AA 27 34 00 (read acceleration X-axis 0x34) Return: 55 5F AXL AXH AYL AYH AZL AZH GXL GXH SUM For details, please refer to "Read Register Return Value" in the "Read Format" chapter  

ACCFILT(acceleration filter)

Register Name: ACCFILT
Register Address: 42 (0x2A) Read and Write Direction: R/W Default Value: 0x01F4
  
BitNAMEFUNCTION
15:0ACCFILT[15:0]Range: 1~10000, the default is 500 (it is not recommended to modify, once modified, if the angle does not meet the requirements for use, please modify it to 500) The smaller the ACCFILT[15:0], the stronger the seismic performance and the weaker the real-time performance ACCFILT[15:0] ] is larger, the seismic performance is weakened, and the real-time performance is enhanced. This parameter is an empirical value, which needs to be adjusted according to different environments. In the tractor environment, ACCFILT[15:0] can be adjusted to 100, because the tractor shakes seriously, it needs to be improved Seismic performance
eg:FF AA 2A F4 01(set acceleration filter 500)  

POWONSEND(power-on output)

Register Name: POWONSEND
Register Address: 45 (0x2D)
Read and Write Direction: R/W
Default Value: 0x0001
  
BitNAMEFUNCTION
15:4  
3:0POWONSEND[3:0]Set command start:
0000(0x00): Turn off the power-on data output
0001(0x01): Turn on the power-on data output
eg:FF AA 2D 00 00(turn on power-on data output)  

VERSION(version number)

Register Name: VERSION
Register Address: 46 (0x2E)
Read and Write Direction: R Default Value: None
  
BitNAMEFUNCTION
15:0VERSION[15:0]Different products, different version numbers
eg: Send:FF AA 27 2E 00
(read version number, 0x27 means read, 0x2E is version number register)
Return: 55 5F VL VH XX XX XX XX XX XX SUMVERSION[15:0]=(short)(((short)VH<<8)|VL)
  

YYMM~MS(on-chip time)

Register name: YYMM~MS Register address: 48~51 (0x30~0x33)
Read and write direction: R/W Default value: 0x0000
  
BitNAMEFUNCTION
15:8YYMM[15:8]moon
7:0YYMM[7:0]year
15:8DDHH[15:8]hour
7:0DDHH[7:0]day
15:8MMSS[15:8]second
7:0MMSS[7:0]Minute
15:0MS[15:0]millisecond
eg:FF AA 30 16 03 (set the year, month 22-03) FF AA 31 0C 09 (set the day and hour 12-09) FF AA 32 1E 3A (set the minute and second 30:58) FF AA 33 F4 01 (set the millisecond 500 )
eg: send: FF AA 27 30 00 (read version number, 0x27 means read, 0x30 is year month register) return: 55 5F YYMM[7:0] YYMM[15:8] DDHH[7:0] DDHH [15:8] MMSS[7:0] MMSS[15:8] MS[7:0] MS[15:8] SUM
  

AX~AZ(acceleration)

Register name: AX~AZ Register address: 52~54 (0x34~0x36)
Read and write direction: R Default value: 0x0000
  
BitNAMEFUNCTION
15:0AX[15:0]Acceleration X=AX[15:0]/32768*16g (g is the acceleration of gravity, preferably 9.8m/s2)
15:0AY[15:0]Acceleration Y=AY[15:0]/32768*16g (g is the acceleration of gravity, preferably 9.8m/s2)
15:0AZ[15:0]Acceleration Z=AZ[15:0]/32768*16g (g is the acceleration of gravity, preferably 9.8m/s2)
read 3 acceleration:50 03 00 34  
   

GX~GZ(angular velocity)

Register name: GX~GZ Register address: 55~57 (0x37~0x39)
Read and write direction: R Default value: 0x0000
  
BitNAMEFUNCTION
15:0GX[15:0]Angular velocity
X=GX[15:0]/32768*2000°/s
15:0GY[15:0]Angular velocity
Y=GY[15:0]/32768*2000°/s
15:0GZ[15:0]Angular velocity
Z=GZ[15:0]/32768*2000°/s

HX~HZ(magnetic field)

Register name: HX~HZ Register address: 58~60 (0x3A~0x3C)
Read and write direction: R Default value: 0x0000
  
BitNAMEFUNCTION
15:0HX[15:0]Magnetic field X=HX[15:0] (unit: LSB)
15:0HY[15:0]Magnetic field Y=HY[15:0] (unit: LSB
15:0HZ[15:0]Magnetic field Z=HZ[15:0] (unit: LSB)

Roll~Yaw(angle)

Register name: Roll~Yaw Register address: 61~63 (0x3D~0x3F)
Read and write direction: R Default value: 0x0000
  
BitNAMEFUNCTION
15:0Roll[15:0]Roll angle
X=Roll[15:0]/32768*180°
15:0Pitch[15:0]Pitch angle
Y=Pitch[15:0]/32768*180°
15:0Yaw[15:0]Heading angle
Z=Yaw[15:0]/32768*180°

TEMP(temperature)

Register Name: TEMP Register Address: 64 (0x40)
Read and Write Direction: R Default Value: 0x0000
  
BitNAMEFUNCTION
15:0TEMP[15:0]temperature=TEMP[15:0]/100℃

D0Status~D3Status(port status)

Register name: D0Status~D3Status Register address: 65~68 (0x41~0x44)
Read and write direction: R Default value: 0x0000
  
BitNAMEFUNCTION
15:0D0Status[15:0]D0 state value
15:0D1Status[15:0]D1 state value
15:0D2Status[15:0]D2 state value
15:0D3Status[15:0]D3 state value

PressureL~HeightH(pressure altitude)

Register name: PressureL~HeightH
Register address: 69~72 (0x45~0x48)
Read and write direction: R Default value: 0x0000
  
BitNAMEFUNCTION
15:0PressureL[15:0]Pressure=
((int)PressureH[15:0]<<16)|PressureL15:0
15:0PressureH[15:0] 
15:0HeightL[15:0]height=
((int)HeightH[15:0]<<16)|HeightL15:0
15:0HeightH[15:0] 

LonL~LatH(latitude and longitude)

Register name: LonL~LatH Register address: 73~76 (0x49~0x4C)
Read and write direction: R Default value: 0x0000
  
BitNAMEFUNCTION
15:0LonL[15:0]Lon[31:0]=((int)LonH[15:0]<<16)|LonL15:0
15:0LonH[15:0] 
15:0LatL[15:0]Lat[31:0]=((int)LatH[15:0]<<16)|LatL15:0
15:0LatH[15:0] 
The NMEA8013 standard stipulates that the longitude output format of GPS is ddmm.mmmmm (dd is degrees, mm.mmmmm is minutes), and the decimal point is removed when the longitude/latitude is output.

so the degrees of longitude/latitude can be calculated like this:
dd=Lon[31:0 ]/10000000;dd=Lat[31:0]/10000000.

The fraction of longitude/latitude can be calculated like this:
mm.mmmmm=(Lon[31:0]%10000000)/100000;(% means remainder operation)mm. mmmmm=(Lat[31:0]%10000000)/100000; (% means remainder operation)
  

 

GPSHeight~GPSVH(GPS data)

Register name: GPSHeight~GPSVH
Register address: 77~80 (0x4D~0x50
Read and write direction: R
Default value: 0x0000
  
BitNAMEFUNCTION
15:0GPSHeight[15:0]GPS Altitude=GPSHeight[15:0]/10(m)
15:0GPSYAW[15:0]GPS heading=GPSYAW[15:0]/100(°)
15:0GPSVL[15:0]GPS ground speed=(((int)GPSVH[15:0]<<16)|GPSVL[15:0])/1000(km/h)
15:0GPSVH[15:0] 

q0~q3(quaternion)

Register name: q0~q3 Register address: 81~84 (0x51~0x54)
Read and write direction: R Default value: 0x0000
  
BitNAMEFUNCTION
15:0q0[15:0]Quaternion 0=q0[15:0]/32768
15:0q1[15:0]Quaternion 1=q1[15:0]/32768
15:0q2[15:0]Quaternion 2=q2[15:0]/32768
15:0q3[15:0]Quaternion 3=q3[15:0]/32768

SVNUM~VDOP(GPS positioning accuracy)

Register name: SVNUM~VDOP Register address: 85~88 (0x55~0x58)
Read and write direction: R Default value: 0x0000
  
BitNAMEFUNCTION
15:0SVNUM[15:0]Number of GPS satellites
= SVNUM[15:0]
15:0PDOP[15:0]Position positioning longitude
=PDOP[15:0]/100
15:0HDOP[15:0]Horizontal positioning longitude
=HDOP[15:0]/100
15:0VDOP[15:0]Vertical positioning longitude
=VDOP[15:0]/100

DELAYT(alarm signal delay)

Register Name: DELAYT
Register Address: 89 (0x59)
Read and Write Direction: R/W Default Value: 0x0000
  
BitNAMEFUNCTION
15:0DELAYT[15:0]Unit: ms
When an alarm occurs at an angle, the port will generate a corresponding alarm signal. When the alarm disappears, the alarm signal will continue to delay DELAYT[15:0] before disappearing.
eg:FF AA 59 E8 03(set the alarm signal delay to 1000ms)  

XMIN~XMAX(X-axis angle alarm threshold)

Register name: XMIN~XMAX
Register address: 90~91 (0x5A~0x5B)
Read and write direction: R/W
Default value: 0x0000
  
BitNAMEFUNCTION
15:0XMIN[15:0]Set the X-axis angle alarm minimum value X-axis angle alarm minimum value
=XMIN[15:0]*180/32768(°)
15:0XMAX[15:0]Set the maximum value of X-axis angle alarm X-axis angle alarm maximum value
=XMAX[15:0]*180/32768(°)
eg:FF AA 5A 72 FC (set -5 degrees)
0xFC72=-910,-910 180/32768=-5FF AA 5B 8E 03
(set 5 degrees)
0x038E=910,910*180/32768=5
5x axis at - There is no alarm between 5° and 5°. Once the range is exceeded, an alarm will occur.
  

BATVAL(voltage)

Register Name: BATVAL Register Address: 92 (0x5C)
Read and Write Direction: R Default Value: 0x0000
  
BitNAMEFUNCTION
15:0BATVAL[15:0]voltage =BATVAL[15:0]/100 ℃

ALARMPIN(alarm pin mapping)

Register Name: ALARMPIN Register Address: 93 (0x5D)
Read and Write Direction: R/W Default Value: 0x4365
  
BitNAMEFUNCTION
15:12X-ALARM[15:12]0001(0x01): D00010(0x02): D10011(0x03): D20100(0x04): D30101(0x05): SCL0110(0x06): SDA
11:8X+ALARM[11:8]0001(0x01): D00010(0x02): D10011(0x03): D20100(0x04): D30101(0x05): SCL0110(0x06): SDA
7:4Y-ALARM[7:4]0001(0x01): D00010(0x02): D10011(0x03): D20100(0x04): D30101(0x05): SCL0110(0x06): SDA
3:0Y+ALARM[3:0]0001(0x01): D00010(0x02): D10011(0x03): D20100(0x04): D30101(0x05): SCL0110(0x06): SDA
eg:
Set X-alarm signal output at D3 port Set X+ alarm signal output at D1 port Set Y- alarm signal output at SCL port Set Y+ alarm signal output at SCL port Send: FF AA 5D 55 42
  

YMIN~YMAX(Y-axis angle alarm threshold)

Register name: YMIN~YMAX Register address: 94~95 (0x5E~0x5F)
Read and write direction: R/W Default value: 0x0000
  
BitNAMEFUNCTION
15:0YMIN[15:0]Set the Y-axis angle alarm minimum value Y-axis angle alarm minimum value
=YMIN[15:0]*180/32768(°)
15:0YMAX[15:0]Set the maximum value of Y-axis angle alarm Y-axis angle alarm maximum value
=YMAX[15:0]*180/32768(°)
eg:FF AA 5E 72 FC(set -5 degrees),0xFC72=-910,-910180/32768=-5FF AA 5F 8E 03(set 5 degrees),0x038E=910,910180/32768=5
Y axis at - There is no alarm between 5° and 5°. Once the range is exceeded, an alarm will occur.
  

GYROCALITHR(Gyro Still Threshold))

Register Name: GYROCALITHR Register Address: 97 (0x61)
Read and Write Direction: R/W Default Value: 0x0000
  
BitNAMEFUNCTION
15:0GYROCALITHR[15:0]Set the gyroscope static threshold: Gyro static threshold
=GYROCALITHR[15:0]/1000(°/s)
eg:
Set the static threshold of the gyroscope to 0.05°/sFF AA 61 32 00
When the angular velocity change is less than 0.05°/s and lasts for the time of "GYROCALTIME", the sensor recognizes that it is static and automatically resets the angular velocity less than 0.05°/s to zero The setting rule of the static threshold of the gyroscope can be determined by reading the value of the "WERROR" register. The general setting rule is: GYROCALITHR=WERROR*1.2, unit: °/s
This register needs to be used in conjunction with the GYROCALTIME register.
  

ALARMLEVEL(angle alarm level)

Register Name: ALARMLEVEL
Register Address: 98 (0x62)
Read and Write Direction: R/W Default Value: 0x0000
  
BitNAMEFUNCTION
15:4  
3:0ALARMLEVEL[3:0]Set the alarm level:
0000(0x00): low level alarm (when not alarming, high level, when alarming, low level)
0001(0x01): high level alarm (when not alarming, low level, when alarming , high level)
eg: Set high level alarm FF AA 62 01 00  

GYROCALTIME(Gyroscope Auto Calibration Time)

Register Name: GYROCALTIME
Register Address: 99 (0x63)
Read and Write Direction: R/W
Default Value: 0x03E8
  
BitNAMEFUNCTION
15:0GYROCALTIME[15:0]Set gyroscope auto-calibration time
eg: Set the automatic calibration time of the gyroscope to 500msFF AA 63 F4 01
When the angular velocity change is less than "GYROCALITHR" and lasts for 500ms, the sensor recognizes that the sensor is stationary and automatically resets the angular velocity less than 0.05°/s to zero. This register needs to be combined with GYROCALITHR Register usage
  

TRIGTIME(alarm continuous trigger time))

Register Name: TRIGTIME
Register Address: 104 (0x68)
Read and Write Direction: R/W
Default Value: 0x0000
  
BitNAMEFUNCTION
15:0TRIGTIME[15:0]Set the alarm continuous trigger time
Eg: Set the alarm continuous trigger time to 500ms FF AA 68 F4 01
When the angle alarm occurs, the alarm signal will not be output immediately, and the alarm signal can be output only when the angle alarm lasts for 500ms. This register is used to filter out alarms caused by malfunctions
  

KEY(unlock)

Register name: KEY
Register address: 105 (0x69)
Read and write direction: R/W
Default value: 0x0000
  
BitNAMEFUNCTION
15:0KEY[15:0]Unlock register: When performing a write operation, you need to set this register first
Eg: Unlock, write 0xB588 to this register (other values are invalid)
FF AA 69 88 B5
  

WERROR(gyro change value)

Register Name: WERROR
Register Address: 106 (0x6A) Read and Write Direction: R Default Value: 0x0000
  
BitNAMEFUNCTION
15:0WERROR[15:0]Gyroscope change value=WERROR[15:0]/1000*180/3.1415926(°/s) When the sensor is stationary, the "GYROCALITHR" register can be set by changing this register

TIMEZONE(GPS时区)

Register Name: TIMEZONE Register Address:107 (0x6B)
Read and Write Direction: R/W
Default Value: 0x0014
  
BitNAMEFUNCTION
15:8  
7:0TIMEZONE[7:0]Set GPS time zone:
00000000(0x0000): UTC-12 00000001(0x0001): UTC-11
00000010(0x0002): UTC-10 00000011(0x0003): UTC-9
00000100(0x0004): UTC-8 00000101(0x0005): UTC-7
00000110(0x0006): UTC-6 00000111(0x0007): UTC-5
00001000(0x0008): UTC-4 00001001(0x0009): UTC-3
00001010(0x000A): UTC-2 00001011(0x000B): UTC-1
00001100(0x000C): UTC 00001101(0x000D): UTC+1
00001110(0x000E): UTC+2 00001111(0x000F): UTC+3
00010000(0x0010): UTC+4 00010001(0x0011): UTC+5
00010010(0x0012): UTC+6 00010011(0x0013): UTC+7
00010100(0x0014): UTC+8(Default East 8)
00010101(0x0015): UTC+9 00010110(0x0016): UTC+10 00010111(0x0017): UTC+11 00011000(0x0018): UTC+12
eg: FF AA 6B 15 00 (set GPS time zone to East 9)  

WZTIME(angular velocity continuous still time)

Register Name: WZTIME
Register Address: 110 (0x6E)
Read and Write Direction: R/W
Default Value: 0x01F4
  
BitNAMEFUNCTION
15:0WZTIME[15:0]Angular velocity continuous rest time
eg:Set the continuous static time of angular velocity to 500ms FF AA 6E F4 01,
When the angular velocity is less than "WZSTATIC" and lasts for 500ms, the angular velocity output is 0, and the Z-axis heading angle is not integrated. This register needs to be used in conjunction with the "WZSTATIC" register
  

WZSTATIC(angular velocity integral threshold)

Register Name: WZSTATIC
Register Address: 111 (0x6F)
Read and Write Direction: R/W
Default Value: 0x012C
  
BitNAMEFUNCTION
15:0WZSTATIC[15:0]Angular velocity integration threshold
=WZSTATIC[15:0]/1000(°/s)
eg:Set the angular velocity integration threshold to 0.5°/s
FF AA 6F F4 01
When the angular velocity is greater than 0.5°/s, the Z-axis heading angle starts to integrate the acceleration. When the angular velocity is less than 0.5°/s, the setting of the register "WZTIME" continues. When the angular velocity output is 0, and the Z-axis heading angle is not integrated, this register needs to be used in conjunction with the "WZTIME" register
  

MODDELAY(485 data response delay)

Register Name: MODDELAY
Register Address: 116 (0x74)
Read and Write Direction: R/W
Default Value: 0x0BB8
  
BitNAMEFUNCTION
15:0MODDELAY[15:0]Set 485 data response delay, default 3000, unit: us
eg:Set 485 data response delay 1000usFF AA 74 E8 03 When the sensor receives the Modbus read command, the sensor delays 1000us and returns data This register only supports Modbus version of the sensor  

XREFROLL~YREFPITCH(angle zero reference value))

Register Name: XREFROLL~YREFPITCH
Register Address: 121~122 (0x79~0x7A)
Read and Write Direction: R/W
Default Value: 0x00000
  
BitNAMEFUNCTION
15:0XREFROLL[15:0]Roll angle zero reference value
=XREFROLL[15:0]/32768*180(°)
15:0YREFPITCH[15:0]Pitch angle zero reference
=YREFPITCH[15:0]/32768*180(°)
eg:The current roll angle is 2°, set the roll angle zero, subtract 2°, then XREFROLL[15:0]=2*32768/180=364=0x016CFF AA 79 6C 01  

NUMBERID1~NUMBERID6((device number))

Register Name: NUMBERID1~NUMBERID6
Register Address: 127~132 (0x7F~0x84)
Read and Write Direction: R
Default Value: None
  
BitNAMEFUNCTION
15:0NUMBERID1[15:0] 
15:0NUMBERID2[15:0] 
15:0NUMBERID3[15:0] 
15:0NUMBERID4[15:0] 
15:0NUMBERID5[15:0] 
15:0NUMBERID6[15:0] 
Equipment label:WT4200000001