Exercise: I2C

5.12. Exercise: I2C#

Note

This exercise assumes you have completed Exercise: Wiring Diagrams.

Question 1

Answer the following:

  • Recreate the wiring diagram below in Wokwi using the MPU6050.

    ../../_images/exercise_i2c_q1.png
Solution

The solution is in the provided image.

Question 2

Answer the following:

  • On the same I2C bus, add a DS1307 RTC module.

Solution
../../_images/exercise_i2c_q2.png
Question 3

Answer the following:

  • Can two sensors of the same type exist on the same I2C bus?

  • Why or why not?

Solution

Solution is locked