HiTechnic NXT Sensor Multiplexer for LEGO Mindstorms NXT
Introduction
The HiTechnic Sensor Multiplexer, (SMUX), allows you to attach up to NXT sensors to a single NXT port.
The SMUX connects to an NXT sensor port using a standard NXT wire and uses the digital I2C communications protocol. It uses separate battery box with a standard 9v battery to provide adequate power to each of the attached sensors. The SMUX supports a wide range of digital and analog sensors.
Supported HiTechnic and LEGO Sensors
| LEGO Ultrasonic Sensor |
| LEGO Light Sensor |
| LEGO Touch Sensor |
| HiTechnic Compass Sensor |
| HiTechnic Color Sensor |
| HiTechnic Gyro Sensor |
| HiTechnic IRSeeker |
| HiTechnic Acceleration Sensor |
| HiTechnic Prototype Sensor |
| HiTechnic Color Sensor V2 Sensor |
| HiTechnic IRSeeker V2 |
| HiTechnic IR Receiver |
| HiTechnic EOPD Sensor |
Programming
NXT-G
New versions of NXT-G programming blocks required to use the SMUX with the LEGO Mindstorms software. These blocks are very similar to the standard sensor blocks but allow you to specify the SMUX port your sensor is attached to in addition to the NXT port connected to the SMUX. These blocks will be available from the HiTechnic downloads page in coming weeks.
Other Programming Environments
RobotC
A suite of RobotC drivers to support the SMUX is available from the HiTechnic downloads page.
NXC
NXC support routines can be downloaded from the HiTechnic downloads page.
Sensor Multiplexer Register Layout
Address |
Type |
Contents |
00 – 07H |
chars |
Sensor version number |
08 – 0FH |
chars |
Manufacturer |
10 – 17H |
chars |
Sensor type |
18 – 1FH |
bytes |
Not used |
20H |
byte |
Command |
21H |
byte |
Status |
22H |
byte |
Channel 1 mode |
23H |
byte |
Channel 1 type |
24H |
byte |
Channel 1 I2C byte count |
25H |
byte |
Channel 1 I2C device address |
26H |
byte |
Channel 1 I2C memory address |
27H |
byte |
Channel 2 mode |
28H |
byte |
Channel 2 type |
29H |
byte |
Channel 2 I2C byte count |
2AH |
byte |
Channel 2 I2C device address |
2BH |
byte |
Channel 2 I2C memory address |
2CH |
byte |
Channel 3 mode |
2DH |
byte |
Channel 3 type |
2EH |
byte |
Channel 3 I2C byte count |
2FH |
byte |
Channel 3 I2C device address |
30H |
byte |
Channel 3 I2C memory address |
31H |
byte |
Channel 4 mode |
32H |
byte |
Channel 4 type |
33H |
byte |
Channel 4 I2C byte count |
34H |
byte |
Channel 4 I2C device address |
35H |
byte |
Channel 4 I2C memory address |
36H |
byte |
Channel 1 upper 8 bits |
37H |
byte |
Channel 1 lower 2 bits |
38H |
byte |
Channel 2 upper 8 bits |
39H |
byte |
Channel 2 lower 2 bits |
3AH |
byte |
Channel 3 upper 8 bits |
3BH |
byte |
Channel 3 lower 2 bits |
3CH |
byte |
Channel 4 upper 8 bits |
3DH |
byte |
Channel 4 lower 2 bits |
3E, 3FH |
chars |
Reserved |
40 – 4FH |
bytes |
Channel 1 I2C buffer |
50 – 5FH |
bytes |
Channel 2 I2C buffer |
60 – 6FH |
bytes |
Channel 3 I2C buffer |
70 – 7FH |
bytes |
Channel 4 I2C buffer |
Additional information about low level program including examples in both RobotC and NXC is available from the HiTechnic Downloads page and also from http://www.breigh.com/xander/HTSMUX-Tutorial-LATEST.pdf
Downloads
New with version 2.0: This block adds support for the HiTechnic Sensor Multiplexer as well as data logging with the LEGO Mindstorms 2.0 Education software.
| Description | Version | Release Date | Size | ||
| HiTechnic Acceleration Sensor Block for Mindstorms NXT Software | 2.0 | July 29th, 2010 | 420.43 KB | Download Now |
New with version 2.0: This block adds support for the HiTechnic Sensor Multiplexer as well as data logging with the LEGO Mindstorms 2.0 Education software.
| Description | Version | Release Date | Size | ||
| HiTechnic Color Sensor Block for Mindstorms NXT Software | 2.0 | July 28th, 2010 | 646.03 KB | Download Now |
New with version 2.0: This block adds support for the HiTechnic Sensor Multiplexer as well as data logging with the LEGO Mindstorms 2.0 Education software.
| Description | Version | Release Date | Size | ||
| HiTechnic Gyro Sensor Block for Mindstorms NXT Software | 2.0 | July 29th, 2010 | 430.68 KB | Download Now |
New with version 2.0: This block adds support for the HiTechnic Sensor Multiplexer.
| Description | Version | Release Date | Size | ||
| HiTechnic Compass Sensor Block for Mindstorms NXT Software | 2.0 | July 29th, 2010 | 628.16 KB | Download Now |
| Description | Version | Release Date | Size | ||
| LEGO Ultrasonic Sensor Block with support for the HiTechnic Sensor Multiplexer | 1.0 | July 30th, 2010 | 470.43 KB | Download Now |
| Description | Version | Release Date | Size | ||
| LEGO Light Sensor Block with support for the HiTechnic Sensor Multiplexer | 1.0 | July 30th, 2010 | 434.68 KB | Download Now |
| Description | Version | Release Date | Size | ||
| LEGO Touch Sensor Block with support for the HiTechnic Sensor Multiplexer | 1.0 | July 30th, 2010 | 371.63 KB | Download Now |
| Description | Version | Release Date | Size | ||
| LEGO Sound Sensor Block with support for the HiTechnic Sensor Multiplexer | 1.0 | July 30th, 2010 | 430.29 KB | Download Now |
| Description | Version | Release Date | Size | ||
| NXC driver for HiTechnic Sensor MUX | 0.4 | July 29th, 2010 | 77.23 KB | Download Now |
A suite of RobotC drivers to support HiTechnic sensors and the HiTechnic Sensor Multiplexer. These drivers make it easy to use HiTechnic sensors when programming in RobotC and allow you to maintain control over when and how RobotC accesses the sensors. These drivers are for RobotC version 2.00 or later.
Note: This is the latest version. The previous version was mistakenly referred to as 2.0.
More Info| Description | Version | Release Date | Size | ||
| RobotC Drivers for HiTechnic Sensors & SMUX | 1.5 | July 12th, 2010 | 658.09 KB | Download Now |
