Did you use Bud Ryersons library to scan for the newly assigned address ?
I ran the TFluna_IIC_command sketch twice to make sure the address was set properly. Then check with Buds library if it did. (don’t set a new address, only check)
Sorry think we misunderstand each other maybe ?..
Steps i did.
1-original luna detected as 0x10 with i2c-scanner.
2-used TFluna-IIC to change address by changing (Wire.write(0x1E); // For 23 change this line) to 0x12
3-read out i2c-scanner , gives 0x6F.
4-tried another luna with steps above but 0023 in line (Wire.write(0x1E); // For 23 change this line) .
5- again read out i2c-scanner , gives 0x6F.
So new problem arised.
I got all Luna’s working in I2C mode on my Pixhawk. ( Thanks to everybody here ! )
But:
When Pixhawk is connected through USB all distance data can be seen and easily adjusted.
But when the Luna’s are connected and i acces the drone by Sik Radio (915Mhz ) there is to much data going back and forth for the radio to handle.
I adjusted PC-USB -> SIK to 115200 Baud , PIX Serial 1 -> SIK to 115200 and Airspeed Air --> Ground to 128000 , so you would think this is enough…its not !.
As i already build myself a Mavlink controller and want to use it when collision detection is ready i’m a bit blocked by this air to ground data traffic yam.
Does anybody have a clue how to handle this ?.. !
-Lowering data stream Luna’s ?. How ?
-Not sending Luna data over 915 ? ( need the rest however ) How ?.
Yes, the avoidance messages can overload slow telemetry links.
As for latest experiments, I used WiFi based links based on esp-01 (as for the Pixracer) or a Companion Computer running mavlink router.
Hi all,
the TF-luna is now i2c compatible or do you still need to update the FW? I have a 3 "microquad with the VL53L1X Lidar I2c I have problems outdoors and I would like to replace it with TF-luna.
Thanks
Hi all,
i connected a TF luna instead of a VL53L1X Lidar on my quad 3 "FC omnibus nano v6 with GPS and COMPASS (i2c). The VL worked fine indoors so the connections are correct, but the TF luna is not detected. The TF Luna it is connected as the VL in i2c with RNGFND1_TYPE = 25 RNGFND1_ADDR = 16. On the TF luna I connected 1 5Vcc 2 SDA 3 SCL 4 and 5 together with GND (i2c mode).
What can I try? Thanks