switchdoclabs / SDL_Pi_AM2315

Pure Python software for the SwitchDoc Labs AM2315 / Python 3
MIT License
5 stars 7 forks source link

TCA9548A Multiplexer and AM2315 Sensor #4

Open monacles opened 3 years ago

monacles commented 3 years ago

I've been having trouble connecting the AM2315 sensor to my Raspberry Pi via a TCA9548A multiplexer. The current library works great when the sensor is directly connected to the native I2C bus of the Pi but I'm curious how I can pass a channel from the TCA9548A to AM2315 class for it to communicate with the Pi? I eventually want to connect multiple humidity sensors up and they all have the same I2C address hence the multiplexer. Any help with this would be greatly appreciated. Thanks!

12yep commented 3 years ago

Hello, TCA9548A multiplexer and AM2315 work fine with Adafruit_CircuitPython_AM2320