@willtheboss wrote:
Hey guys,
I've been playing around with the Maxbotic I2CXL sonar for a day now and can't seem to get it to talk to the pixhawk 2. Started out by connecting it to the I2C 2 port on the PH2 and configuring parameters as seen here: http://ardupilot.org/copter/docs/common-rangefinder-maxbotixi2c.html?highlight=i2c
I confirmed that I was getting 5.2V to the sonar and I can see the voltage on the SDL, pin 4, varying when powered up on the bench. I then tried to set the RNGFND_ADD to 112 as specified in the sonar's datasheet to no luck. Finally I tried the initial setup however using the RNDFND 2 parameters (I was thinking maybe with the RNDFND 2 paramters set it would look for data from the I2C 2 port) which hasnt worked. So all in all the sonar is getting power and I am reasonably sure that its taking readings however the PH2 is not talking to or can't see the sonar sensor. How do I get these devices to talk to each other? Any advice or suggestions is appreciated and thank you in advance.Cheers,
Will F
Posts: 4
Participants: 2