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

    Connect IMU Int pin to the esp

    M5 Stick/StickC
    2
    4
    334
    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.
    • X
      xxx_yyy
      last edited by

      Hi!
      Is it possible to disassemble & connect IMU INT pin to some GPIO?
      I'd like to add Wake On Motion to the stick and it looks like IMU supports that (checked StickCPlus libs).
      Idk why StickCPlus2 doesn't have int pin connected

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

        Hello @xxx_yyy

        IMU in M5StickCPlus2 is running from the battery and IMU INT is connected to the power on logic. So it should be possible to setup WoM, then turn ESP32 off and then upon motion IMU INT turns ESP32 back on again.

        Thanks
        Felix

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

        X 1 Reply Last reply Reply Quote 0
        • X
          xxx_yyy @felmue
          last edited by

          @felmue According to the scheme INT is not connected to anything link text

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

            Hello @xxx_yyy

            I stand corrected. My apologies. You are absolutely correct: IMU INT in M5StickCPlus2 is not connected to anything. (I was looking at the RTC INT.)

            That said - and to answer your original question - yes, it is possible to connect the IMU INT pin to an ESP32 GPIO. Please see here.

            However it would only allow to wake ESP32 from deep/light sleep, but not to turn M5StickCPlus2 back on from being powered off due to the fact that IMU is powered from 3.3 V (and not like RTC from VBAT_IN).

            Thanks
            Felix

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

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