🤖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

    Scheduled Pinned Locked Moved M5 Stick/StickC
    4 Posts 2 Posters 2.9k Views
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post