Bird
0
0

Why is it important to use pull-up resistors on the SDA and SCL lines when connecting multiple I2C devices on the same bus?

hard🧠 Conceptual Q10 of 15
Raspberry Pi - I2C Communication

Why is it important to use pull-up resistors on the SDA and SCL lines when connecting multiple I2C devices on the same bus?

AThey isolate devices electrically from the Raspberry Pi
BThey ensure the lines return to high voltage when not driven low
CThey increase the bus speed automatically
DThey prevent devices from sharing the same address
Step-by-Step Solution
Solution:
  1. Step 1: Understand I2C line behavior

    SDA and SCL lines are open-drain, meaning devices can only pull lines low, not drive them high.
  2. Step 2: Role of pull-up resistors

    Pull-up resistors pull the lines to high voltage when no device is pulling them low, ensuring proper signal levels.
  3. Final Answer:

    They ensure the lines return to high voltage when not driven low -> Option B
  4. Quick Check:

    Pull-ups keep lines high when idle [OK]
Quick Trick: Pull-ups keep SDA and SCL lines high when idle [OK]
Common Mistakes:
MISTAKES
  • Thinking pull-ups prevent address conflicts
  • Assuming pull-ups increase bus speed
  • Believing pull-ups electrically isolate devices

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes