I should add that I’ve been able to detect the mux over i2c and have gotten the mux to work with another adafruit IMU. So I’m wondering if I’ve messed up something in the code or if the mux just isn’t compatible with the BlueRobotics temperature sensor?
Hopefully I provided enough information on my situation and any help is greatly appreciated, thank you.
Update: So I’ve been able to detect two Celsius Fast-Response Temperature Sensors through the tca9548a multiplexer. Additionally I’ve been able to get a reading from both and verified that it’s coming from each individual sensor. My only problem now is that I can only grab one reading from each one before I receive an error. (Cannot construct a working loop to get continuous readings)
I’m guessing a lot here (I haven’t looked closely at adafruits library), but maybe you could change this line to self._bus = bus so the constructor can receive the bus itself instead of its number.
I was able to get the sensors working but through a different method. I followed this guide and setup additional I2C buses:
I’ve since run into a new issue, however it has to do with the Adafruit LSM6DS33 IMU. I have the IMU connected to default bus 1 and the sensors connected to the created buses 3 and 4 (on the GPIO pins). I can detect the IMU but it will no longer initialize.
If you have any idea to a solution for this that would be great! Otherwise I understand if you don’t and will reach out to adafruit as well.