Skip to content

HiTechnic NXT Acceleration Tilt Sensor (NAC1040)

David Lechner edited this page Feb 16, 2014 · 2 revisions

General

This sensor uses the msensor device class.

Value
type_id 58
# Modes 2
Connection I2C/M
Vendor ID HITECHNC
Product ID Accel.

Modes

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
Values in the tables that look like ```this``` are the names of sysfs attributes or values returned by said attributes.

[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?).

Clone this wiki locally