Skip to content

MKR ZERO powering issue with battery #491

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

Closed
logicaprogrammabile opened this issue Jan 28, 2020 · 4 comments
Closed

MKR ZERO powering issue with battery #491

logicaprogrammabile opened this issue Jan 28, 2020 · 4 comments

Comments

@logicaprogrammabile
Copy link

logicaprogrammabile commented Jan 28, 2020

Hello
by powering the mkrzero board with a 3.7v (3.0Ah) lipo battery, the ON LED is lightly powered. in the data sheet it is specified that the led ON is off when I use the battery.
This does not happen. This compromises the use of board in low-power applications.
Could anyone check this out?

@mweetman3
Copy link

I looked into this issue. The LED is slightly powered throught the USB protection circuit. The SAMD has ~40K internal pull up resistors to 3v3 on the USB P & N lines. Some of this current leaks through the USB protection device & end up on the VUSB supply. The current through the LED is around 40uA.
You can test this theory by shorting the USB P & N lines to GND. The LED then goes completely out.

@sslupsky
Copy link

When you want to run in low power, you need to first detach the USB to turn it off.

USBDevice.detach();

@mweetman3
Copy link

Thanks for that. I thought I had tried all the detach options!
This does indeed stop the LED from lighting, & saves 0.63mA from the battery current.
Going back to USB power, you simply need to:-
USBDevice.attach();
Serial.begin(115200);
Also to reconnect USB, you need to be aware of:-
#352
THANKS again for the tip.

@logicaprogrammabile
Copy link
Author

logicaprogrammabile commented Mar 24, 2020

i have tested the tip and i have seen the code turn the led off.
i have tested the code in two mkrzero boards and the led go off.
thank you for the tip

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

3 participants