Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
hi guys i am having a issue to communicate more than I2C one slave in one to one configuration ( attiny 1616 to ssd 1312 ) is no problem at all but when the time i try to communicate with multiple slaves ( attiny 1616 to ssd 312 to bq76905) it come into problem may i know how to handle multiple I2C slave in attiny 1616 microcontroller firmware ?
Interfacing multiple i2c is tricky sometimes because ur devices will have a unique i2c addresses and then you have perform operations. To draw inspiration I suggest you watch this video <https://www.youtube.com/watch?v=Ejrh1vNeDhA>. If you’re good at Arduino then you’ll make it work with ATtiny. Additionally, there are I2C multiplexers available like the TCA9548A 8-Channel I2C Multiplexer which can simplify connecting multiple I2C devices. Hope this helps you along the way.
CONTRIBUTE TO THIS THREAD