Accelerometer Configuration: Difference between revisions
No edit summary |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 20: | Line 20: | ||
=== Step 1: Set Device Orientation === | === Step 1: Set Device Orientation === | ||
SET CUORIENTATION:<orientation number> <br> | |||
Orientation Number:<br> | |||
1 = GPS antenna facing sky, wire pointing towards passenger <br> | |||
2 = GPS antenna facing passenger, wire pointing down<br> | |||
3 = GPS antenna facing sky, wire pointing to right side<br> | |||
4 = GPS antenna facing passenger, wire pointing to right side<br> | |||
'''Command Format:''' | '''Command Format:''' | ||
<pre> | <pre> | ||
SET CUORIENTATION:<orientation number> | SET CUORIENTATION:<orientation number> | ||
</pre> | </pre> | ||
| Line 32: | Line 37: | ||
SET CUORIENTATION:1 | SET CUORIENTATION:1 | ||
</pre> | </pre> | ||
'''Expected Response:''' | '''Expected Response:''' | ||
<pre> | <pre> | ||
| Line 62: | Line 66: | ||
Error : 0 | Error : 0 | ||
</pre> | </pre> | ||
=== Step 2: Enable or Disable Accelerometer === | === Step 2: Enable or Disable Accelerometer === | ||
| Line 73: | Line 77: | ||
'''Meaning:''' | '''Meaning:''' | ||
* 0 → | * 0 → Disable | ||
* 1 → | * 1 → Enable | ||
'''Example:''' | '''Example:''' | ||
| Line 112: | Line 116: | ||
Error : 0 | Error : 0 | ||
</pre> | </pre> | ||
=== Step 3: Save Configuration === | === Step 3: Save Configuration === | ||
After all the above commands, use the mandatory save command: | After all the above commands, use the mandatory save command: | ||
<pre> | <pre> | ||
SET CUMR:2 | |||
</pre> | |||
=== Step 4: Verify Data on Server === | === Step 4: Verify Data on Server === | ||
Latest revision as of 17:05, 28 August 2025
Configuration Guide
📘 What is an Accelerometer?
An accelerometer is an internal sensor that detects motion, vibration & tilt. It measures acceleration forces and is used to detect:
- Harsh acceleration
- Harsh braking
- Harsh cornering
⚙️ Purpose of Accelerometer Configuration
Enabling and configuring the accelerometer allows the device to:
- Generate event-based alerts (e.g., harsh braking, harsh turns)
To configure the accelerometer correctly, the device must be placed on a flat surface (level = 0°). There are 4 supported orientations in Transight devices. You must declare the orientation during setup.
Step 1: Set Device Orientation
SET CUORIENTATION:<orientation number>
Orientation Number:
1 = GPS antenna facing sky, wire pointing towards passenger
2 = GPS antenna facing passenger, wire pointing down
3 = GPS antenna facing sky, wire pointing to right side
4 = GPS antenna facing passenger, wire pointing to right side
Command Format:
SET CUORIENTATION:<orientation number>
Example:
SET CUORIENTATION:1
Expected Response:
IMEI: 862942074896044 Command: SET CUORIENTATION:1 Response: ACCELERO_ORIENTATION: 1 Error : 0
Verification Command:
GET CUORIENTATION
Expected Response:
IMEI: 862942074896044 Command: GET CUORIENTATION Response: ACCELERO_ORIENTATION: 1 Error : 0
Step 2: Enable or Disable Accelerometer
Command Format:
SET CUACCELENABLE:<0/1>
Meaning:
- 0 → Disable
- 1 → Enable
Example:
SET CUACCELENABLE:1
Expected Response:
IMEI: 862942074896044 Command: SET CUACCELENABLE:1 Response: ACCELERO_ENABLE_STATUS: 1 Error : 0
Verification Command:
GET CUACCELENABLE
Expected Response:
IMEI: 862942074896044 Command: GET CUACCELENABLE Response: ACCELERO_ENABLE_STATUS: 1 Error : 0
Step 3: Save Configuration
After all the above commands, use the mandatory save command:
SET CUMR:2
Step 4: Verify Data on Server
- Check the packets sent by the device to the server.
- Ensure all accelerometer-related alerts (e.g., harsh braking, harsh turning) are being received correctly.