-1

I have a project (still planning) with three I2C sensors: GPS, 3-axis gyro+accelerometer, and OLED. Do I connect SDA/SCL in series, or do I connect them in parallel?

2 Answers 2

3

Use the Wikipedia page on the protocol as an introduction to your learning curve on I2C. I may cite:

At the physical layer, both SCL and SDA lines are [a ...] bus design, [...]

This means that all devices connect in parallel (image from the same page, public domain):

enter image description here

Rp are pull-up resistors, Rs are optional series resistors. (Emphasis by me)

1

Connect the three I2C devices in parallel.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.