-
Notifications
You must be signed in to change notification settings - Fork 96
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
Incorporate complete USB power saving when not using USB #14
Comments
Perhaps we can create a development branch and include this for some testing. What do you think? |
My core lib repository already has code for most of this. |
Can you link to the relevant code? Thanks. |
Actually all the work I've done so far is in the main repository now. |
So far, this issue itself is still open though. USB sucks power from the battery constantly, and that's what this issue was meant to address. |
For anyone else who wants to tackle this is what needs to happens:
Then test to see if this actually works and lets you reflash the device. Or we could just turn off USB by default when on battery power and to reflash you have to plug your Arduboy in then turn it on. The power savings he reports for turning off USB are almost 50% (for the CPU):
|
Ref:
http://harizanov.com/2013/02/power-saving-techniques-on-the-atmega32u4/
Not only do you power USB down you also have to freeze the clock.
The text was updated successfully, but these errors were encountered: