We just bought the NXT Sensor Adapter for NI myRIO cause we were looking for some sort of i2C sensor multiplexer as the i2C port on myrio are very limited.
We tried putting NXT touch sensor and NXT light sensor and used the I/O monitor to read on the analog option(Below picture). It works fine.
But when we tried reading the HiTechnic compass sensor/ other i2C sensors (Core color sensor SKU:45-2018) on the I/O monitor, we cannot read the value. It shows invalid slave address. We did try connecting the sensor on the legacy port or the 6 pin headers on top but both could not work.
However when we read the sensor value with the pin plugging to the MXP pin directly, we could obtain the value. So we suspect that the problem is regarding the use of the Digilent NXT Sensor Adapter. Anyone have similar experience and know what should we do? Or anyone could provide the example code for reading the sensor values with the Digilent NXT Sensor Adapter using labview?Many thanks!
Question
Kody
Hi,
We just bought the NXT Sensor Adapter for NI myRIO cause we were looking for some sort of i2C sensor multiplexer as the i2C port on myrio are very limited.
We tried putting NXT touch sensor and NXT light sensor and used the I/O monitor to read on the analog option(Below picture). It works fine.
But when we tried reading the HiTechnic compass sensor/ other i2C sensors (Core color sensor SKU:45-2018) on the I/O monitor, we cannot read the value. It shows invalid slave address. We did try connecting the sensor on the legacy port or the 6 pin headers on top but both could not work.
However when we read the sensor value with the pin plugging to the MXP pin directly, we could obtain the value. So we suspect that the problem is regarding the use of the Digilent NXT Sensor Adapter. Anyone have similar experience and know what should we do? Or anyone could provide the example code for reading the sensor values with the Digilent NXT Sensor Adapter using labview?Many thanks!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.