<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>On Using a USB Battery for a Portable Project Power Supply</title><link>/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><description>Everyone is familiar with the USB Batteries that can be used to charge a cell phone and which can themselves be charged off a any standard USB port or charger. A while back I began using one type of these batteries to power some of my small projects </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Wed, 11 Jun 2025 05:50:32 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>Hot_Spring_Soaker</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;I have a Silver XPB15031S as well. I have not used it for a long time. It appears to be dead. &lt;br /&gt;&lt;/span&gt;&lt;span&gt;When I attempt to charge it, the LED&amp;#39;s cycle red then blue nonstop. I suspect the battery inside is bad. &lt;br /&gt;I&amp;#39;d like to repair my power bank but I&amp;#39;m unsure how to disassemble. I suspect there is a screw under the label on the end opposite the USB connectors. &lt;br /&gt;Does anyone have any advice.&lt;/span&gt; I understand the need to be careful when working with a Li-Ion battery due to the risk of fire. &lt;br /&gt;Is there a way to resurrect a Li-Ion battery? I&amp;#39;ve done it with Ni-Cads by briefly zapping them with a low voltage high current source to remove shorts and charging them afterwards. &lt;br /&gt;Any guidance would be welcomed.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Sun, 19 Jul 2020 00:27:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>colporteur</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The circuit is overhead (wasted energy) on a battery supported system. How much battery life is lost due to the circuit?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I got a battery like your silver unit&amp;nbsp; in a swag bag. I wanted to know how long it would power a Pi3B+ running a GPD module. I can&amp;#39;t recall the time the Pi ran, I want to say 8 hours but I was using another battery with a higher capacity so I may have switch the values. The battery life was sufficient to turn a Pi into a portal GPS recorder. Yeah, no need to purchase something just for testing.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What would be the lost of uptime due to your circuit? I realize the keepalive is small but it is still lost energy. &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Sat, 18 Jul 2020 04:09:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>botsmaker</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Today I made one using a Picaxe 08M2 for the timing and used it to pulse a 2N4401 transistor with a 10 ohm resistor. I needed to use a battery pack to power a Arduino Uno with Logger (it wants 20 ma). Works pretty good with 10 millisec pulses every 5 seconds. After building it, I could have just added the resistor and transistor to the Arduino shield circuit itself and have the program pulse the resistor for me. With the Picaxe, only a few lines of code are required.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It seems the bigger the pack, the more load is required. I tried setting up the timing for my Powobest Solar Bank and couldn&amp;#39;t get enough current to trigger it.&amp;nbsp; Gave up on it as it would waste too much power.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Good project idea, glad you posted it.&lt;span&gt;[View:/resized-image/__size/679x900/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-5984376b-1392-4430-ac17-1582c495d83d/contentimage_5F00_188818.bmp:679:900]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Mon, 24 Feb 2020 19:33:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>koudelad</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Thank you, John, for this interesting blog post. My experience is the same - power banks are not usable as UPSes nor power supplies for low current loads.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I just realized I can test my power banks using a programmable DC load to find out the limits and cutoff times! It should work easily and automatically.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Mon, 24 Feb 2020 15:36:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>bryansy</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Has anyone have this problem with a power bank?&amp;nbsp; This is an el cheapo power bank.&amp;nbsp; I assume it senses if there is no load by cutting off power every 10 seconds and seeing if voltage goes down. If voltage goes down it restarts the buck converter.&amp;nbsp; But it goes down for as much as 40ms and thats enough to reset a cpu.&amp;nbsp; &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Fri, 08 Mar 2019 10:07:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>msmurphy</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;Thank you so much for this incredibly helpful post. You saved me $36 and taught me everything I need to use my new battery pack. Before you poke fun at me, let me explain. I&amp;#39;m not an idiot, i know how to use a battery pack without an instruction manuel, but I&amp;#39;ve had friends who said they shortened the life span of many battery operated objects by using the wrong charging method. Whether that is true or not, I can&amp;#39;t say, but I like to read and learn new things. Can you tell me what the 3 blue lights on black indicate? &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Wed, 27 Feb 2019 04:50:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>aspork42</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I got tripped up trying to use a USB battery pack as a simple UPS for a RaspberryPi project. I had about 1 week to throw together a security system with OpenHab and Z-Wave sensors; then drive from Milwaukee to Detroit to install it. I did a simple test of plugging in both sides of the battery (charge side and load side) and was able to verify that the power output was indeed, uninterrupted. However, what I didn&amp;#39;t check was if the battery was actually charging. &lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x827/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-5984376b-1392-4430-ac17-1582c495d83d/2480.contentimage_5F00_188816.jpg:620:827]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;(drywall dust in the background from the security camera install that I also did on this trip)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I set the system up and left again for Milwaukee. A day or two after getting home, the system went offline and I had to get the mother in law to bypass the battery and plug in directly to the wall. So, this particular battery pack doesn&amp;#39;t support &amp;quot;UPS Mode&amp;quot;. I have since found that there are some available that can work like this. &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Sat, 16 Feb 2019 11:06:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>dubbie</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I have been thinking about using these power packs for my projects so this has been a timely set of informative comments that is bound to be of great help to me.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Dubbie&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Fri, 15 Feb 2019 12:13:13 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>neilk</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi John&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I read this at the time you posted it, but it didn&amp;#39;t stick in my mind because I had no interest in using USB batteries and didn&amp;#39;t even own one for charging my mobile phone!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In my latest Blog I&amp;#39;ve reported on how I was tripped up trying to power a project using such a battery, because my project doesn&amp;#39;t draw enough current!! If I&amp;#39;s remembered your post, I might have bought a USB battery that worked for me!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My memory has got so bad these days!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Neil&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Mon, 15 Oct 2018 14:16:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>genebren</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Very interesting investigation and work-around.&amp;nbsp; I really enjoy seeing your process and approach in solving a problem.&amp;nbsp; Here is another solution, you could build your own USB/battery source.&amp;nbsp; In my development of WalkyII, for the Movers and Shakers project14 competition, I built my own USB/battery source.&amp;nbsp; Being used as a power source only, I never thought of adding a low current drain shut off, so that should not be a problem for your uses.&amp;nbsp; The circuit could be further optimized, but hopefully the basic elements of the circuit could be turned into something that might help you.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The schematic is within this blog: &lt;a class="jive-link-blog-small" href="/challenges-projects/project14/moversandshakers/b/blog/posts/walky-the-biped-robot---power-pack"&gt;Walky the Biped Robot - Power pack&lt;/a&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Good luck!&lt;/p&gt;&lt;p&gt;Gene&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Mon, 15 Oct 2018 06:09:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>Gough Lui</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;As an experienced power bank tester - I&amp;#39;ve come across a wide variation of types, but I haven&amp;#39;t really taken the time to test the shut-off behaviour. I have found some that:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Have high quiescent current but maintain a 5V output at all times, until the battery is depleted and it abruptly switches off. Unfortunately this type needs regular topping off with the charger or it&amp;#39;ll be flat when you come to use it. Don&amp;#39;t store it with your keys in your bag either, otherwise nasty things can happen.&lt;/li&gt;&lt;li&gt;Have microcontroller-based switching control and can be turned on/off manually with a button - some of these types have an output that is off (0v) when turned off, others are more like the latter.&lt;/li&gt;&lt;li&gt;Have integrated boost chips that turn on whenever sensing a load greater than a given current - this type has an output that is &amp;quot;battery level&amp;quot; (3-4.2v) when the boost is not engaged, thus if your circuit can work on &amp;quot;unboosted&amp;quot; Li-Ion voltage, it will continue to work. Other appliances (e.g. cheap USB lights) tend to show reduced performance (e.g. dim/slow/etc). Charging is done by basic &amp;quot;linear&amp;quot; regulator chips (e.g. TP4056) which is slow and inefficient.&lt;/li&gt;&lt;li&gt;Have integrated power-bank controllers - these tend to use one coil but can boost for output or buck for charging, just not both at the same time. Issues are similar to the above.&lt;/li&gt;&lt;li&gt;Have more intelligent Qualcomm Quick-Charge capable controllers - some are dual-way QC capable resulting in buck-converted charging and boost-converted output. For QC2.0 power banks, some tweaks on the D+ and D- lines can signal for 12V, 9V, 5V output from most power banks, whereas for QC3.0, this can be commanded in 0.2V steps between about 3.6V - 12V. These are much more expensive and more efficient, but some will have shut-off behaviour.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now that I&amp;#39;ve mentioned this - I suspect some units can&amp;#39;t be fooled by short pulse loads as they only sample the load resistor output infrequently and aren&amp;#39;t really integrating the current over time. If your pulses aren&amp;#39;t long enough to overlap with the sample time, then there&amp;#39;s basically as good as no load at all. I suspect some of the &amp;quot;microcontroller&amp;quot; based units might be fooled by changing the resistor, but at the risk of breaking overload protection/voltage regulation feedback (as some have a &amp;quot;voltage slope compensation&amp;quot; function that boosts the voltage higher under higher loads to compensate for cable drop).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But more than this, sometimes, you just need to find a model you like and settle down. The last one I used and I still use regularly is the &lt;a class="jive-link-external-small" href="http://goughlui.com/2017/11/19/review-teardown-mi-power-bank-pro-10000mah-qc3-0-plm03zm/" rel="nofollow ugc noopener" target="_blank"&gt;Xiaomi Mi Power Bank Pro&lt;/a&gt; (QC 3.0) power bank. The QC feature is quite nice for phones, but if you build&lt;a class="jive-link-external-small" href="https://github.com/vdeconinck/QC3Control" rel="nofollow ugc noopener" target="_blank"&gt; something like this&lt;/a&gt;, you can turn it into a 3.6V-12V variable power source up to 1.5A. &lt;strong&gt;Furthermore, if you read the manual, there is a low-current charge mode too&lt;/strong&gt; - double-press the power button and it locks itself into supplying 5V regardless of current load, &lt;strong&gt;but only for two hours&lt;/strong&gt;. This mode is intended for charging accessories such as Bluetooth Headsets and Smart Band Fitness Trackers which have &amp;lt;40mAh batteries and even lower charge currents. I believe some other power bank manufacturers are beginning to offer this mode.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;- Gough&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Mon, 15 Oct 2018 04:51:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>dougw</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice solution &lt;span&gt;[mention:f80b53cee57c44bc9d7c577d07d7c791:e9ed411860ed4f2ba0265705b8793d05]&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;I have some units that look exactly like your silver unit except they are black - and they stay on indefinitely - until the power button is pressed again. There is a little blue LED that illuminates when they are on - maybe it is enough of a load.&lt;/p&gt;&lt;p&gt;I have another white one (from the Dollar Store) that has no power button, when it sees a load it turns on with a 5V output - no LED. When the load is removed it tuns off.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Mon, 15 Oct 2018 04:16:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>mcb1</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Nice find and solution.&lt;/p&gt;&lt;p&gt;I have a couple of these &amp;#39;battery banks&amp;#39; and they were obtained for somethign and then put aside.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I never get to do any testing, so I suspect many of them are the same.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I wonder if you can swap your inverter (CD 40106) for a simple transistor ... and then even better make it using a small uP (ATTiny85 perhaps).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Cheers&lt;/p&gt;&lt;p&gt;mark&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: On Using a USB Battery for a Portable Project Power Supply</title><link>https://community.element14.com/technologies/test-and-measurement/b/blog/posts/on-using-a-usb-battery-for-a-portable-project-power-supply</link><pubDate>Mon, 15 Oct 2018 03:52:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5984376b-1392-4430-ac17-1582c495d83d</guid><dc:creator>fmilburn</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi John,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Nice implementation and tests.&amp;nbsp; I wonder if silver would reset its clock and work if the pulse was longer than 3 milliseconds. I will look into doing some tests of my own.&amp;nbsp; Great post!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Frank&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=5713&amp;AppID=13&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>