forked from ev3dev/ev3dev
-
Notifications
You must be signed in to change notification settings - Fork 0
HiTechnic NXT Acceleration Tilt Sensor (NAC1040)
David Lechner edited this page Feb 16, 2014
·
2 revisions
This sensor uses the msensor device class.
Value | |
---|---|
type_id |
58 |
# Modes | 2 |
Connection | I2C/M |
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?).