8
5.1 ActiveThreshold and InActiveThreshold
Formula
Active Threshold=
Critical value ÷
9.8
÷
0.0625
* The gravitational acceleration at standard atmospheric pressure is 9.8 m/s
2
* The scale factor of the threshold is 62.5 mg
Active Threshold
Active Threshold can be changed by ConfigureCmd
Active Threshold range is
0x0003-0x00FF
(default is 0x0003);
Deactive time
Deactivetime can be changed by ConfigureCmd
Deactivetime range is
0x03-0xFF
(default is 0x05)
Example
Assuming that the critical value is set to be 10m/s
2
, the Active Threshold would be set
10/9.8/0.0625=16.32
Active Threshold would be set integer as 16.
5.2 Offset calibration
The accelerometer is a mechanical structure that contains components that can move freely.
These moving parts are very sensitive to mechanical stress, far beyond solid-state electronics.
The 0g offset or offset is an important accelerometer indicator because it defines the baseline used to measure acceleration.
After installing R718EA, turn on the device and wait for the device join the network 1 minute, the device will automatically
offset the calibration.
If the device installation position moves, you need to power off the device 1 minute and restart turn on.
5.3 Example of data configuration
FPort
:
0x07
Bytes
1
1
Var(Fix =9 Bytes)
CmdID
DeviceType
NetvoxPayLoadData
CmdID
– 1 bytes
DeviceType
– 1 byte – Device Type of Device
NetvoxPayLoadData
– var bytes (Max=9bytes)