@felmue Tried this. I could not get the address change to 'stick' after a power cycle, but perhaps I'm missing something. I did this using UIFlow2.
Posts made by SB12345
-
RE: Connecting multi TOF4m units via PA.hub - weird behaviour
-
RE: Connecting multi TOF4m units via PA.hub - weird behaviour
Hello,
My first post here. Came across this thread googling.
I can recreate this problem, it has been driving me crazy. I have tried 2 different PAHubs to ensure that isn't the issue. Can confirm the same issue arises with both. I bought the PAHub as it claimed it could handle 2 devices with the same I2C address across different ports, but something strange is occurring.
I have ToF4m sensors affixed 90 deg to each other, and attached to port A of a Core2 via the PAHub.
Either ToF4m works fine when it is the only unit connected to the Core2.
When both are connected via the PAHub, the results seem to interfere with each other. Particularly, a zero reading on one sensor always leads to a zero on the other. Also, the readings go from being stable and consistent to very noisy indeed - errors of up to 1m. I do not believe this is a laser intereference issue as if I cover one sensor, and point the other to clear air with no object for 3m, I still get a reading of 0 from both sensors.
I am also unable to initiate ToF4M when connected via PaHUB2 on UIflow 2.0, and have had to revert to 1.0 to perform these tests.
This has cost me a lot of time, and sadly I am unable to offer a solution at this time but I watch this thread with interest.
Edit to add:
If I remove one of the ToF4M modules whilst the program is running, both labels continue to update with results, further leading me to believe this is an address collision issue rather than a laser interference issue.