HiTechnic NXT Acceleration Tilt Sensor (NAC1040) - dlech/ev3dev GitHub Wiki
This sensor uses the msensor device class.
Value | |
---|---|
name |
ht-nxt-accel |
# Modes | 2 |
Connection | I2C/M |
Address | 0x01 (1) |
Vendor ID | HITECHNC |
Product ID | Accel. |
Mode 0 | Mode 1 | |
---|---|---|
mode |
HT-ACCL |
HT-ACCL-ALL |
Description | Single axis acceleration | Three axis acceleration |
num_values |
1 |
6 |
value0 |
Acceleration (coarse value1) | X-axis acceleration (most significant byte) |
Min | ??? | ??? |
Max | ??? | ??? |
value1 |
Y-axis acceleration (most significant byte) | |
value2 |
Z-axis acceleration (most significant byte) | |
value3 |
X-axis acceleration (least significant byte2) | |
value4 |
Y-axis acceleration (least significant byte2) | |
value5 |
Z-axis acceleration (least significant byte2) | |
units |
none | none |
dp (decimal places) |
0 |
0 |
[1] Value is 8-bit out of 10-bit total resolution.
[2] Only the 2 most significant bits are used. Actual value is MSB << 2 + LSB >> 6
or MSB << 2 + LSB & 0x03
(can someone confirm which one?).