W
W
WITMOTION SDK
Search
K

WIT Standard Communication Protocol

WIT Standard Communication Protocol

Instructions for Command:

Command

The serial port sending command must be completed within 10S, otherwise it will be automatically locked. To avoid this situation, please do the following steps first.
  1. 1.
    Enter the unlock command(0XFF 0XAA 0X69 0X88 0XB5,0X means hexadecimal )
  2. 2.
    Enter the command that needs to modify or read the data
  3. 3.
    Save command(0XFF 0XAA 0X00 0X00 0X00)

Register

ADDR
(Hex)
ADDR
(Dec)
REGISTER NAME
FUNCTION
SERIAL
I/F
Bit15
Bit14
Bit13
Bit12
Bit11
Bit10
Bit9
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
00
00
SAVE
Save/Reboot/Reset
R/W
SAVE[15:0]
01
01
CALSW
Calibretion Mode
R/W
CALSW[3:0]
02
02
RSW
Output Content
R/W
GSA
QUATER
VELOCITY
GPS
PRESS
PORT
MAG
ANGLE
GYRO
ACC
TIME
03
03
RRATE
Output rate
R/W
RRATE[3:0]
04
04
BAUD
Baud rate
R/W
BAUD[3:0]
05
05
AXOFFSET
Acceleration X bias
R/W
AXOFFSET[15:0]
06
06
AYOFFSET
Acceleration Y bias
R/W
AYOFFSET[15:0]
07
07
AZOFFSET
Acceleration Z bias
R/W
AZOFFSET[15:0]
08
08
GXOFFSET
Angular velocity X bias
R/W
GXOFFSET[15:0]
09
09
GYOFFSET
Angular velocity Y bias
R/W
GYOFFSET[15:0]
0A
10
GZOFFSET
Angular velocity Z bias
R/W
GZOFFSET[15:0]
0B
11
HXOFFSET
Magnetic field X bias
R/W
HXOFFSET[15:0]
0C
12
HYOFFSET
Magnetic field Y bias
R/W
HYOFFSET[15:0]
0D
13
HZOFFSET
Magnetic field Z bias
R/W
HZOFFSET[15:0]
0E
14
D0MODE
D0 Pin Mode
R/W
D0MODE[3:0]
0F
15
D1MODE
D1 Pin Mode
R/W
D1MODE[3:0]
10
16
D2MODE
D2 Pin Mode
R/W
D2MODE[3:0]
11
17
D3MODE
D3 Pin Mode
R/W
D3MODE[3:0]
1A
26
IICADDR
Device address
R/W
IICADDR[7:0]
1B
27
LEDOFF
Turn off LED light
R/W
LEDOFF
1C
28
MAGRANGX
Magnetic field X calibration range
R/W
MAGRANGX[15:0]
1D
29
MAGRANGY
Magnetic field Y calibration range
R/W
MAGRANGY[15:0]
1E
30
MAGRANGZ
Magnetic field Z calibration range
R/W
MAGRANGZ[15:0]
1F
31
BANDWIDTH
Bandwidth
R/W
BANDWIDTH[3:0]
20
32
GYRORANGE
Gyro range
R/W
GYRORANGE[3:0]
21
33
ACCRANGE
Acceleration range
R/W
ACCRANGE[3:0]
22
34
SLEEP
Sleep
R/W
SLEEP
23
35
ORIENT
Installation direction
R/W
ORIENT
24
36
AXIS6
Algorithm
R/W
AXIS6
25
37
FILTK
Dynamic filtering
R/W
FILTK[15:0]
26
38
GPSBAUD
GPS Baud rate
R/W
GPSBAUD[3:0]
27
39
READADDR
Read register
R/W
READADDR[7:0]
2A
42
ACCFILT
Acceleration filtering
R/W
ACCFILT[15:0]
2D
45
POWONSEND
command start
R/W
POWONSEND[3:0]
2E
46
VERSION
Version number
R
VERSION[15:0]