I am running a simple data-acquisition program with the micromod artemis on a datalogger carrierboard.
I disabled all led's, and I am measuring the current drawn form the battery.
= I take 1 sample per second from I2C (qwiic) sensor (SHT 85) , and after that, goto deepsleep, until wakeup for the next measurement. After 100 measurements, I store the values on sd-card.
= I find 2,5 mA during deepsleep wich is rather high I think. (ADC off)
I am using the command: am_hal_sysctrl_sleep(AM_HAL_SYSCTRL_SLEEP_DEEP); // Sleep forever
Turning off G0, G1 and G2 (in various combinations ) leads to much higher battery current (~ 25 mA).
How can I reduce the power? I cant find a real world low-power example (taking measurement, sleeping and storing to sdcard). Help is much appreciated.