This year, our robotics team decided to use ultrasonic distance sensors for detecting when our robot is close to walls instead of optical ones (the optical distance sensors worked poorly, because our field wall is transparent). As the only ultrasonic distance sensor Modern Robotics makes is the Range Finder, which didn't suite our needs, we decided to use the MaxBotix MB1242 sensor (http://www.maxbotix.com/Ultrasonic_Sensors/MB1242.htm). It claims to be I2C compatible, and the documentation (https://www.maxbotix.com/documents/I..._Datasheet.pdf) gives instruction about how to communicate over I2C.
Our trouble with the sensor comes when we try to communicate with it via the Modern Robotics Core Device Discovery utility. After plugging the device into the Core Device Interface, we're able to see it in the I2C device list like any other I2C sensor. However, the CDD utility gives us 'Address', 'Register', and 'Value' fields, and we don't know what to write in the 'Register' slot to be able to communicate with the device.
So, for those with some I2C experience, we would love some help figuring out how we can communicate with our sensor. If anyone else has also tried to communicate with a non-Modern Robotics I2C device, that info would be helpful as well. Thanks!
Our trouble with the sensor comes when we try to communicate with it via the Modern Robotics Core Device Discovery utility. After plugging the device into the Core Device Interface, we're able to see it in the I2C device list like any other I2C sensor. However, the CDD utility gives us 'Address', 'Register', and 'Value' fields, and we don't know what to write in the 'Register' slot to be able to communicate with the device.
So, for those with some I2C experience, we would love some help figuring out how we can communicate with our sensor. If anyone else has also tried to communicate with a non-Modern Robotics I2C device, that info would be helpful as well. Thanks!
Comment