ATOMS3 IMU - wake up device
-
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.
-
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 -
@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-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.
-
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