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

    M5Stack Gray Development Kit: IMU - SD Karte

    Deutsches Forum
    2
    3
    6.9k
    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.
    • J
      jsh
      last edited by

      Hallo!
      Hat jemand bereits Erfahrung im Umgang mit dem verbauten IMU des M5Stacks? Ich würde gerne die Daten des IMU aufnehmen und dann auf einer SD-Karte abspeichern, um später erneut diese aufzurufen zu können, um sie weiter zu bearbeiten.

      Über eine Antwort würde ich mich freuen!

      Gruß Jan

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

        @jsh after install ESP32 board and M5Stack lib in Arduino IDE. you could find the ESP32 SD example and IMU example. in the example list.

        1 Reply Last reply Reply Quote 0
        • J
          jsh
          last edited by

          @m5stack
          Thank you for the answer!
          The example for the IMU works.
          The SD(esp32) example does not work on my M5Stack. So far I haven't found a way to save the data (using the command M5.IMU.getAccelData(&accX,&accY,&accZ);) to an SD card. Do I have to convert my data into a string to save it in a txt file or can I save the data directly as float variables?
          I also wanted to know if there is a command to display the acceleration data directly as a graph on the M5Stack display (and not just the value)?

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