Bird
0
0

After enabling I2C via sudo raspi-config, what is the expected output of i2cdetect -y 1 if a device is connected at address 0x40?

medium📝 Predict Output Q13 of 15
Raspberry Pi - I2C Communication
After enabling I2C via sudo raspi-config, what is the expected output of i2cdetect -y 1 if a device is connected at address 0x40?
AAn error message: 'command not found'
BA grid showing 'UU' at 0x40
CA grid showing '40' at 0x40
DEmpty grid with no addresses
Step-by-Step Solution
Solution:
  1. Step 1: Understand i2cdetect output format

    The command shows a grid of addresses; connected devices show their hex address.
  2. Step 2: Interpret device presence at 0x40

    If a device is at 0x40, the grid will display '40' at that position.
  3. Final Answer:

    A grid showing '40' at 0x40 -> Option C
  4. Quick Check:

    Device address shown as hex number in grid = A grid showing '40' at 0x40 [OK]
Quick Trick: Device addresses appear as hex numbers in i2cdetect grid [OK]
Common Mistakes:
MISTAKES
  • Expecting 'UU' which shows kernel driver usage, not just device presence
  • Confusing error messages with device detection
  • Thinking the grid is empty if device is connected

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes