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

    M5Stack Basic Core (black) recognizes GY-91 (mpu 9250, 10-DOF) sensor (Solved)

    General
    1
    2
    4.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.
    • G
      Gero Nimo
      last edited by Gero Nimo

      Hey,

      I have a M5Stack Basic Core (black). Few days ago I connected a GY-91 (10-DOF) sensor https://artofcircuits.com/product/10dof-gy-91-4-in-1-mpu-9250-and-bmp280-multi-sensor-module over I2C Grove (20 cm cable) to my M5Stack. The green light is ON on the external sensor, but I can't get the sensor to work (to read data from) with the M5Stack. I have tryed all possible libraries and code snippets you can find online regarding the MPU9250 and ESP32, but I had no success to get M5Stack working with the GY-91 sensor.

      Then I checked for the I2C addresses https://learn.adafruit.com/i2c-addresses/the-list. MPU9250 should be at 0x68 or 0x69. If you read 0x75 and you have a MPU9250, you should get "0x71" as a response and if you have a MPU9255, you should get "0x73" as a response. I get no response at all.

      Then I checked the I2C bus https://github.com/geronimoooooooo/ccpparduino/blob/master/I2Cscan().cpp to see what "devices" are connected, and all I get is "I2C device found at address 0x75"

      To me it kinda looks like the M5Stack does not recognize the GY-91 on the I2C bus. Is this possible? They can not work together?

      Has anyone had success in combining a M5Stack Basic Core with the external GY-91 (mpu9250)? Can anyone link a working library or a code snippet?

      big thx

      1 Reply Last reply Reply Quote 0
      • G
        Gero Nimo
        last edited by

        The sensor had a problem.

        Used another GY-91 and it works now.

        Scanning...
        I2C device found at address 0x68 !
        I2C device found at address 0x75 !
        I2C device found at address 0x76 !
        done

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