First off, I'm not a programmer.
I am trying to collect data from a bunch identical of I2C sensors that all have the same address. The hardware consists of my laptop connected to an Adafruit FT232H USB to I2C bridge followed by a sparkfun 8-channel I2C mux (TCA9548A).
I have successfully communicated to a BMP280 I2C sensor from my laptop to the BMP280 sensor through the FT232H just make sure I can make this work. But I'm having a lot of trouble communicating with the 8-channel mux.
I have installed the sparkfun-qwiic-i2c and sparkfun-qwiic-tcs9548a libraries on my laptop but I don't thing everything is there.
Has anyone done something similar to this before? Can you give me some code examples to follow?
Any help would be appreciated.
Help with adafruit FT232H with sparkfun 8-channel I2C mux
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- AnthonyOfGor
- Posts: 2
- Joined: Wed Nov 23, 2022 4:22 pm
- adafruit_support_carter
- Posts: 29168
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Help with adafruit FT232H with sparkfun 8-channel I2C mux
Instead of the sparkfun libs, try this approach.
First, follow this guide for the main setup with the FT232H:
https://learn.adafruit.com/circuitpytho ... ith-ft232h
Then install the BMP280 CircuitPython library using pip:
https://github.com/adafruit/Adafruit_Ci ... hon_BMP280
as well as the TCA9548 CircuitPython library:
https://github.com/adafruit/Adafruit_Ci ... n_TCA9548A
Then checkout this guide for the general approach for using the TCA with multiple sensors:
https://learn.adafruit.com/working-with ... 2c-devices
First, follow this guide for the main setup with the FT232H:
https://learn.adafruit.com/circuitpytho ... ith-ft232h
Then install the BMP280 CircuitPython library using pip:
https://github.com/adafruit/Adafruit_Ci ... hon_BMP280
as well as the TCA9548 CircuitPython library:
https://github.com/adafruit/Adafruit_Ci ... n_TCA9548A
Then checkout this guide for the general approach for using the TCA with multiple sensors:
https://learn.adafruit.com/working-with ... 2c-devices
Please be positive and constructive with your questions and comments.