Go Down

Topic: Multiple I2C devices on a single port? (Read 479 times) previous topic - next topic


Is it alright to connect multiple I2C devices (i.e., accelero, gyro, magneto and pressure sensors) to one I2C Port on AT328?
?•? ?Á??l ?•?


Yes.  They should all have different I2C addresses so you can talk to them separately.  There are 127 addresses available.

Some devices let you change them from their default address so you can have more than one of the same model device on the I2C bus.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp


Yes, in fact that's the whole point of a bus like I2C.

There are various physical limits to the number of devices and wire lengths, but as John said.

What do you have in mind?

Rob Gray aka the GRAYnomad www.robgray.com

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131