5
Low Voltage
2.4V
5. Data Report
After the device is powered, it will immediately send a version package and an attribute report data that reports the current status
of the object and the raw data of infrared range.
The device sends data according to the default configuration before any other configuring.
Default Setting
Maximum time: 3600s
Minimum time: 3600s (By default, the current is detected every MinTime.)
Battery: 0x01 (0.1V)
OnDistanceThreshold :0xC409 little-endian (2500)
* Distance Threshold value is used little-endian;
When you need configure distance threshold default setting, please change to little-endian,
for example 2500(Hex) =9C4(Dec) is big-endian and 0xC409 is little-endian
Determining the status of the object
(1)
The raw data of detection of infrared ranging is greater than the OnDistanceThreshold parameter
setting value, the status would be 1, indicating the presence of the object.
(2)
The raw data of detection of infrared ranging is smaller than the OnDistanceThreshold parameter
setting value, the status would be 0, indicating the absence of the object
Threshold setting instructions
A. First of all, fix the location of the device.
B. When first detection appears no object, the device detects RawSenseData (infrared ranging
data), assuming A (2400)
C. Then detect again appears there is object, the device detects RawSenseData (infrared ranging
data), assuming B (4000)
D. The range of Threshold(X) is set: A
(
2400
)
< X < B
(
4000
)
, it would recommend to take a
value in the middle of range.
E. The RawSenseData value has no unit and is a signal value of a distance.
The closer the device is to the detected object, the larger the value; the farther the device is to the detected object, the
smaller the value.