Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power consumption higher compared to ArduinoLowPower library? #46

Open
SanderM2 opened this issue Sep 1, 2023 · 1 comment
Open

Power consumption higher compared to ArduinoLowPower library? #46

SanderM2 opened this issue Sep 1, 2023 · 1 comment

Comments

@SanderM2
Copy link

SanderM2 commented Sep 1, 2023

Hello,

I wanted to switch from ArduinoLowPower to Adafruit_SleepyDog because I need my device to sleep for less than 1 second (ArduinoLowPower is using the RTC differently so the resolution is 1 second at least).
While switching to Adafruit_SleepyDog did work, I noticed that my Arduino MKR WAN 1310 is now using 550uA while sleeping. With ArduinoLowPower it's sleeping at 18uA.

That's a huge difference.

Is there a way I / we can fix this in Adafruit_SleepyDog ?

@SanderM2
Copy link
Author

SanderM2 commented Sep 1, 2023

I was just looking in ArduinoLowPower code and noticed they added USBDevice.detach() in their sleep routing. So I tried adding USBDevice.detach(); in my sketch and the power dropped from 550uA to 29uA.

It's still about 10uA higher compared to ArduinoLowPower but maybe this is normal because the RTC is running in a different mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant