Bird
0
0

Why is it important to enable I2C interface on Raspberry Pi before reading sensor data over I2C?

hard🧠 Conceptual Q10 of 15
Raspberry Pi - I2C Communication
Why is it important to enable I2C interface on Raspberry Pi before reading sensor data over I2C?
ABecause I2C sensors need Wi-Fi to work
BBecause I2C pins are only for output by default
CBecause the I2C hardware and drivers are disabled by default
DBecause Python cannot import smbus without enabling I2C
Step-by-Step Solution
Solution:
  1. Step 1: Understand Raspberry Pi default settings

    I2C interface is disabled by default for security and power reasons.
  2. Step 2: Importance of enabling I2C

    Enabling activates hardware and kernel drivers needed for communication.
  3. Final Answer:

    Because the I2C hardware and drivers are disabled by default -> Option C
  4. Quick Check:

    I2C must be enabled to use hardware and drivers [OK]
Quick Trick: Enable I2C in Raspberry Pi settings before use [OK]
Common Mistakes:
MISTAKES
  • Thinking I2C needs Wi-Fi
  • Assuming pins are output only
  • Believing smbus import depends on I2C enabled

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes