Alternate xPy powering from USB/Battery using Expansion Board 3
-
Dear all,
I was wondering if there is a way to "dynamically" alternate the power source for an xPy.Imagine a setup consisting of an xPy mounted on Expansion Board 3, and the board is powered simultaneously from USB and a LiPo battery.
Then, would it be possible to force the following operation scenarios:
- xPy is powered solely from USB and battery is just being charged through the surplus USB current;
- xPy is powered solely from the LiPo battery and USB power is being cut-off.
The only hint I get is from the Expansion Board documentation:
To use the battery, pull P8/G15 high (connect to 3v3), but I am not sure what this implies...Cheers!
-
@agotsis Have you tried it? I don’t know about the expansion board, but on the Pysense which has a lot of common components that’s just the way it works: if USB is connected it will use it as a power source and charge a LiPo battery if there is one connected, and if USB is disconnected it will continue to run from the LiPo.
-
@jcaron I tried and indeed seems to be ok. I remembered from an old post tha this was not supported, but probably this is something from the old expansion board 2.0/lopy1 era.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login