This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What is lowest power consumption template code for nrf52840 dongle

I am a beginner trying to get a device to operate optimally under a battery. Where can I find a starter code template that would shutdown/disable everything, putting the device in its lowest power consumption profile so I can build from there? Instead of playing with disabling things, I was trying to start with everything off and enable what I need. I checked the examples in the SDK and all of them, even the power management ones, show a 6mA consumption.

Parents Reply
  • Based on advice I created this simple code:

    int main(void)
    {
    
        while(true){
            __WFE();
        }
    
    }



    The measurement got way better than 6ma. It went to 0.46ma. However, this
    seems still pretty high. With a 1000mah battery I would get a maximum of 63 days
    (2 months) by having the CPU doing nothing. I keep hearing we can make these things
    last for 2 years. for this to happen I would need to bring this down to 0.046ma,
    that is 10 times less consumption. How is that possible if I am getting much more
    with a sleeping CPU?

Children
Related