🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Reading data from MPU with M5Stick V on MaixPy

    M5Stick V
    2
    3
    5.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alisson Brito
      last edited by

      Hi guys,

      Do you have some example using MPU on a M5Stick V with MaixPY? The examples I found return error when trying to write memory with command: "write_i2c(MPU6886_PWR_MGMT_1, 0x00)". The error message is:
      File "<stdin>", line 44, in <module>
      File "<stdin>", line 41, in write_i2c
      OSError: [Errno 5] EIO

      1 Reply Last reply Reply Quote 0
      • m5stackM
        m5stack
        last edited by

        you could find the MPU6886 example in this page:

        https://docs.m5stack.com/#/en/related_documents/M5StickV-Maixpy

        1 Reply Last reply Reply Quote 0
        • A
          Alisson Brito
          last edited by

          When I try to run the code I have the following message:

          Traceback (most recent call last):
          File "<stdin>", line 59, in <module>
          File "<stdin>", line 32, in MPU6866_init
          File "<stdin>", line 28, in write_i2c
          OSError: [Errno 5] EIO

          Do you know what it could be?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post