Hi, I have been searching all over for a fix to this, and I can’t seem to make anything work.
I am trying to make a program with an arduino nano connected over serial, that are supposed to gather data from 8 SHT85 sensors. All of them have the same I2C address, which is the entire reason of the TCA9548A. I am gonna link the code and right now all it does is gather the data from 1 sensor at a time and print it in a serial terminal.
Everything is working fine when only two sensors are connected. However, when I go beyond 3 or 4 sensors, the program just stops working. I have managed to find out that it still receives serial input, but don’t send anything back…
I have pretty come to a stop and would love some new ideas to get over this speedbumb.
As it stands right now I have been over several approaches and landed on a switch case setup where only the I2C bus that I need data from in that specific moment is called.
Arduino: regular NANO, can’t put in anymore links. modelnumber: A000005
Hope you can help.