Seeed-Studio / Seeed_Arduino_AS5600

The library comes with AS5600. Through this library, we can realize read the angles 、get magnetic from a magnet underneath the sensor.
MIT License
105 stars 38 forks source link

AS5600 With I2C Multiplexer #13

Closed john- closed 2 years ago

john- commented 2 years ago

Is your feature request related to a problem? Please describe. I would like to use multiple AS5600 ICs on an Arduino-compatible microcontroller that has a single I2C bus. As the AS5600 is fixed at a single I2C address, I do not see how this would work with this project as it is currently written.

Describe the solution you'd like I would like to pass an I2C address argument to the AS5600 constructor so that multiple AS5600 can be used.

Describe alternatives you've considered

john- commented 2 years ago

After looking at this further I need to better understand how I2C multiplexers work. Based on my current knowledge this enhancement is probably not the way to approach addressing multiple AS5600 sensors.

If someone can tell me what the approach would be (or provide some guidance) I would appreciate it.