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

    Does my M5Stack Grey have MPU9250 or MPU6886?

    M5stack Grey
    2
    2
    4.1k
    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.
    • T
      Tristar
      last edited by

      Hey,

      Is there any way to find out which sensor my M5Stack Grey has?
      Do I have a M5Stack Grey with a built-in MPU9250 or MPU6886?

      Is there a piece of code that could just print out all built-in chips?

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        Hi @Tristar

        have you tried to run the I2C scanner program? This should give you an idea of what's connected to the I2C bus.

        https://github.com/m5stack/M5Stack/tree/master/examples/Advanced/I2C_Tester

        For instance MPU6886 is at address 0x68 and when you read register 117 - WHO_AM_I you should get 0x19.

        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

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