i’ve got a Navio2 connected to a Raspberry Pi 3B+ and trying to connect two TFMini Plus to it with limited success.
I’ve changed the address of the TFMini Plus (using Bud Ryerson Arduino TFMPI2C_changeI2C) to 20 and the second one to 25. It gets recognized using i2cdetect -y 1 on the Raspberry Pi
In QGroundcontrol
First TFMini Plus
RNGFND1_ADDR: 20
RGNFND1_TYPE: 25
RNGFND1_GNDCLEAR: 10
RNGFND1_MAX_CM: 1200
RNGFND1_MIN_CM: 10
RNGFND1_ORIENT: Forward
Second TFMini Plus
RNGFND2_ADDR: 25
RGNFND2_TYPE: 25
RNGFND2_GNDCLEAR: 10
RNGFND2_MAX_CM: 1200
RNGFND2_MIN_CM: 10
RNGFND2_ORIENT: Down
No readout from both sensors. They are both connected through an i2c hub and i switched the SDA and SCL wires to correspond with the Navio2 pinout. (which works as they get detected by i2cdetect)
Show all I2C addresses in Decimal and Hex.
Scanning...
I2C device found at address 020 (0x14 HEX).
First I2C address found: 20.
Enter new address from 1 to 127 decimal (not Hex):
Additional note , the unit looking down is handled as a range finder (sonar range) the unit looking forward is handled as a proximity sensor , so you have to set proximity type as rangefinder (type 4) and you can see the range by invoking the “radar” in Mission Planner (crtl-f and select proximity).