- ID: mb704x
- Name: I2C MaxSonar WR Ultrasonic Ranger
- Other Names: MB7040 MB7047 MB7247
- Category: sound
- Manufacturer: maxbotix
- Connection: i2c
- Link: http://www.maxbotix.com/Ultrasonic_Sensors/I2C_Distance_Sensors.htm
This driver was tested with the MB704x MaxSonar-WR Ultrasonic Ranger using the long distance, weather resistant horn. Depending on your sensor type and horn, tanges from 20cm to 750cm are possible.
Initialize a device context.
Specify which the I2C bus to use. The default is 0.
Specify the I2C address to use. The default is 112.
Query the device for a range reading. The range will be reported in centimeters (cm).
Measured range, -1 on error. The range is reported in centimeters (cm).