Go Down

Topic: Powering Arduino from a power bank (Read 50533 times) previous topic - next topic

ppeterlin

Hello everybody,

I seem to have run into a problem with powering Arduino from a power bank (external USB battery). Arduino seems to be running fine for 30 s, then the power bank switches off. This happens with two power banks: Yoobao YB-659 (maximal discharge current 1 A) and Maxell MPC-R5200BK (maximal discharge current 2 A). My setup consists of an Arduino Uno, a data logging shield, a temperature/humidity sensor, and an LCD display (whithout the background lighting); all in all, it should be WAY beyond 1 A. Both power banks can successfully charge a cell phone, a e-book reader etc. What is going on?

My guess is that in addition to maximal discharge current, power banks also have some minimal discharge current, and shut off if the discharge current is below this threshold. They treated my Arduino as "leakage" and shut off. Does this make sense to anybody? Can somebody recommend a solution? Ideally, updating a firmware of the power bank... :)

Thank you in advance,
Primoz

DrAzzy

Yes, that's what's happening.

I doubt you'll be able to update firmware; I think there's more hope for a hardware hack.
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

Paul__B

My guess is that in addition to maximal discharge current, power banks also have some minimal discharge current, and shut off if the discharge current is below this threshold. They treated my Arduino as "leakage" and shut off.
Yep.  That's exactly what the manual says - though not in so many words.

So why?

Well, the "power bank" contains a 3.6V lithium battery, so to put out regulated 5V, it contains a power up-converter.  The power converter is not perfectly efficient so it uses some power to operate even if there is no load, and of course, you are running the indicator LEDs.  To prevent the power converter itself and the LEDs from discharging the battery, it does not turn on at all until you press the "Power" button, and if it detects that it is not being used significantly for 5 seconds, it turns itself off to prevent discharge.




cattledog

Low load turn off is a "feature" or many battery chargers. Some of them have an "always on" setting.

There are several threads I have found which document using a pulsed load to keep the battery pack running. http://www.dorkbotpdx.org/blog/paul/battery_pack_load

This solution did not work with a charger I had, and it is dependent upon the charger you have.

stormizer

I have the same issue and endup with this simple circuit.
What it does is basically giving a short burst of to fool the powerbank every something second.
https://www.dorkbotpdx.org/blog/paul/battery_pack_load

This particular arrangement works for my XiaoMi PowerBank (20A).
Total power drawn is roughly 3.5mAh (per hour), so its not too bad.
Assuming it runs at 5v (from the USB)... 0.0035Ah x 5v = 0.0175Wh
If you run it for 24 hours.. 0.0175Wh x 24 = 0.42Wh
Assuming the powerbank only holds 15A (x3.7v = 55Wh) ...
this circuit will finish the battery in about 4 months.

workhard

stormizer Thank you very much! I've been looking for this for a year!
What do you think: does the circuit below require the same endup that you did?

From left to right:
1) 5V 1A Micro USB 18650 Lithium Battery Charging Board Charger Module+Protection Dual Functions TP4056 (as Ali says)
2) 18650,3.7 V Battery
3) Mobile booster ( 3.7 to 5V DC-DC step up, as far as I undertsand)
Thank you!

septillion

No, the booster has no off mode. (How would you turn it on without a button?)
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

workhard

septillion, Hi! The circuit above has been borrowed from here
Do you mean by "button" ON\OFF power switch?

septillion

For example. Or a push button like most power banks etc. But the boost converter has non of that. It's as simple as power in = power out.

Same goes for the charger/protection board. As long as the battery has enough power (aka, not empty) and there is no short circuit / overload there is power at the output.
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

workhard

septillion, thank you!
What is the best place for an ON/OFF switch here? Is it between 1 and 2, or 2 and 3?)
1) Micro USB 18650 Lithium Battery Charger Module+Protection Dual Function.

2) 18650,3.7 V Battery

3) Mobile booster ( 3.7 to 5V DC-DC).
Thanks

septillion

Between 1 and 3. Those charger/protection modules don't draw jack so no need to disconnect the battery from it. This way you can still charge the project when the switch is off.
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

workhard

septillion, I'm grateful to you for answering all my questions! Now I have to order all this stuff to try it out.
 

wrybread

Old thread I know, but I finally found a power pack that doesn't turn off automatically. All the ones made by TalentCell. This one for example:

https://www.amazon.com/gp/product/B00ME3ZH7C/ref=oh_aui_detailpage_o09_s00?ie=UTF8&psc=1

I should mention that I've only tested the one in that link, but I believe they all stay on permanently. Very refereshing after fighting auto power off for so long.

BabyGeezer

is it just me, or is it strange that people want to use a power bank as a power source ?!

just because they both "provide electrical power" doesn't mean that they are the same thing.

it's all down to how they are designed to be USED !
(the bank is a portable unit to *recharge* your battery - the power *source*)

look at it this way - would you think of taking a battery charger, solder cables to it's positive and negative terminals, and then try to power something with it ?!?!
Attach your images to be viewed directly - THIS WAY;
https://forum.arduino.cc/index.php?topic=519037.0

septillion

What's so strange about it? It's convenient (except for the auto power off). And there is nothing charger about a power bank, it's just a 5V voltage source. All the charging magic needs to be done in the device connected. That's why a power bank isn't called mobile charger ;) And yes, the name USB charger / phone charger when you mean this is misleading / "wrong". It's simply a USB power source.
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

Go Up