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

    ATOMS3 IMU - wake up device

    Cores
    2
    8
    906
    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.
    • M
      myscho151
      last edited by

      Hi all kind people,

      i have AtomS3 and Nb-iot2 module. I am pretty much beginner here, but with assitance of ChatGPT my first project is alive, but have big power consumption 0,061A.

      My program: device is on and wifi and ble are off, device is waiting for first move, if move is detected then Nbiot2 turn on, connect, send webhook, turn off the screen and go to the sleep and waiting for the next move from IMU.

      But here is my problem: if i use command for deep sleep the device cannot be wake up when is moving.

      My goal is something about 6-10mA ---- in theore i want to live one month on 21700 battery.

      Can anyone please help me, how can i make the light or deep sleep on device to have lower consumption?

      I have all Stamp and Atom and Stick devices and when that will work i want make this project for StamS3.

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

        Hello @myscho151

        I don't think you can wake ESP32S3 from deep or light sleep when IMU is registering movement. Reason: the INT line of IMU in M5AtomS3 is not connected to anything. So I don't see how IMU could signal ESP32S3 to wake up.

        Thanks
        Felix

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

        M 1 Reply Last reply Reply Quote 0
        • M
          myscho151 @felmue
          last edited by

          @felmue thank you very much. Looks you understand my problem, so if i use for example AtomS3 lite or Stamp and i will use external accelerometer - i have both... is way to wake up device? Using of AtomS3 is not neccesary, but i start with this device (because display give me some feedback).

          I have this IMU units:

          https://shop.m5stack.com/products/6-axis-imu-unitmpu6886?srsltid=AfmBOopYP0BxUe1c-m8CkWPCuHO8tqyQ0TsQsLKVjlZl6HxUFQ6080gP

          https://shop.m5stack.com/products/6-dof-imu-pro-mini-unit-bmi270-bmm150-bmp280

          Because i find that one have IMU6886 and second BMI270.

          But in overall is hard for me find some more infos. Like i fight with NB-iOT2 module to make it work, but AI help me.

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

            Hello @myscho151

            unfortunately both IMU units you linked 'suffer' from the same issue as the IMU internal to M5AtomS3 - the INT line is not connected.

            Thanks
            Felix

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

            M 1 Reply Last reply Reply Quote 0
            • M
              myscho151 @felmue
              last edited by

              @felmue thank you for your time. I am noob about this, but i is big disadvantage :-( i must find some better IMU unit for this project.

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

                Hello @myscho151

                if you have access to a soldering station you could connect the INT line to a GPIO yourself. I've done that for am M5Core2 - please see here.

                Thanks
                Felix

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

                M 1 Reply Last reply Reply Quote 0
                • M
                  myscho151 @felmue
                  last edited by

                  @felmue thank you. But i see you wirite in your post that i can use my M5 Stick (the newest version) - because you write that the Stick have this connection i need?

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

                    Hello @myscho151

                    you could use an M5StickCPlus - see stock example here.

                    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