WF-WK100
WiFi Wireless
Cost-effective
Inclinometer
Bewis Sensing Technology LLC
www.bwsensing.com
Tel:
+86 189
2129 2620
2-2
Detailed commands:
Identifier
(1
byte)
Data length
(1
byte)
Address code
(4
byte)
Command
(1
byte)
Data field
(0
byte)
Checksum
(1
byte)
0x77
0x07
0x01
Response Command:
Identifier
(1
byte)
Data length
(1
byte)
Address code
(4
byte)
Command
(1
byte)
Data field
(4
byte)
Checksum
(1
byte)
0x77
0x0B
0x81
0xSXXXYYYY
Data field is a 4-byte return angle value, which is a compressed BCD code, S is the sign bit (0 positive, 1
negative) XXX is a three-digit integer value, and YYYY is a decimal value. The other axis data is the same. For
example, 10268010 means -26.801 degrees.
2-2-1 Read X axis angle
Command: 77 07 00 00 00 00 01 08
2-2-2
Read Y-axis angle
Command
:
77 07 00 00 00 00 02
09
Identifier
(1
byte)
Data length
(1
byte)
Address code
(4
byte)
Command
(1
byte)
Data field
(0
byte)
Checksum
(1
byte)
0x77
0x07
0x02
Response Command:
Identifier
(1
byte)
Data length
(1
byte)
Address code
(4
byte)
Command
(1
byte)
Data field
(4
byte)
Checksum
(1
byte)
0x77
0x0B
0x82
0xSXXXYYYY
2-2-
3
Read all data
Command
:
77 07 00 00 00 00 04 0B
Identifier
(
1
byte)
Data length
(1
byte)
Address code
(4
byte)
Command
(1
byte)
Data field
(0
byte)
Checksum
(1
byte)
0x77
0x07
0x04
Response Command:
Identifier
(1
byte)
Data length
(1
byte)
(4
byte)
Command
(1
byte)
Data field
(12
byte)
Checksum
(1
byte)
0x77
0x13
0x84
The data field is 12 Bytes, divided into four groups, namely x-axis angle, y-axis angle, temperature, and
battery power. Each group of angle 4 bytes is the compressed BCD code, the first bit is the sign bit (0 positive, 1
negative), three integer values, four decimal places; the temperature 3 bytes is the compressed BCD code, the
first bit is the sign bit (0 positive, 1 Negative), three-digit integer value, two decimal places; battery power is one
byte.
Address code