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

High sleep power consumption compared with LowPower library #263

Open
caradag opened this issue Jul 30, 2023 · 0 comments
Open

High sleep power consumption compared with LowPower library #263

caradag opened this issue Jul 30, 2023 · 0 comments

Comments

@caradag
Copy link

caradag commented Jul 30, 2023

Using Minicore sleep function with sleep mode SLEEP_POWER_DOWN on an Atmega328P (8 MHz internal oscilator) leads in my test to a current draw of 208 uA. In contrast, using Arduino LowPower library, it is 3.6 uA.

The LowPower command used is:
LowPower.powerDown(SLEEP_FOREVER, ADC_OFF, BOD_OFF);

If, instead, I go to sleep with ADC_ON, the current is very similar to what I get with minicore sleep. Therefore, I thought that Minicore was not switching off the ADC. However, powering it off with disablePower(POWER_ALL) before sleep does not change the current draw.

Does Minicore SLEEP_POWER_DOWN keep the ADC ON? If not, what accounts for the extra power compared with LowPower library?

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