More uninterruptible supplies

UPSOk, here’s another one for you – this time a DIRT cheap UPS (that’s my theme for this week it seems – CHEAP) – but with the caveat that MAXIMUM draw is 1 amp. Now – you may think that isn’t enough for a Raspberry Pi or whatever but headless with no ports – should be no problem I am told.

So – a little while ago I bought a variety of little USB charger PCBs and one of the least expensive at £2.40 was this one from Banggood. Others I tested have an on-off button which has to be pressed for the output to come on – OR they won’t work when charging – or BOTH – so they’re all sitting in the bin despite one having a very nice blue LCD display.

But THIS one WORKS – you can run something on the large USB connector – while CHARGING the battery (a single 3v6 Lithium battery) – and any combination – i.e. you can plug the charger in and out and the output remains constant.

production lineSo – if your requirement is for under an AMP – you might want to get a Lithium battery and one of these.  For batteries I have a boatload of these as you see in the picture on the left, from an old laptop battery – turned out when I dismantled it that ONE cell had failed and the rest were spot-on – I put them on a shelf for the day they may prove useful.  Typically they are 3v6-4v2 at maybe 4.2Ah (I have some Ultrafire batteries of that capacity)

So taking step-up efficiencies into account, if you’re looking at a fully charged battery and a gadget using half an amp, you could be looking at keeping it running for maybe 6 hours with one of these? Not bad for under £3 + battery. You COULD connect more than one battery in parallel to increase capacity – and the advert even claims that – I’ll leave that to you as I’m not an expert on parallel Lithium batteries but it seems to me that to do that they should be pretty much matched.

The unit has two surface-mounted LED lights (could also be brought out as standard LEDs to a front panel) – red for charging – blue for load.

To put this to the test: I took a flat Lithium battery that had been sitting in a drawer for months – soldered it to the charger unit and plugged in a fully laden FriendlyArm NanoPiM1 complete with HDMI, wireless keyboard and mouse – this is WAY more than anything I’d considered but good for the ultimate test.

The M1 lasted about 10 seconds before the battery gave up.  That’s pretty much what I’d expected as the battery was flat – what was to come next would be critical.

I plugged in a decent USB supply to the smaller charger unit. The red charge light came on. No output. About 20 seconds later – the blue light came on, the output fired up and the M1 powered up without issue.

As the battery was charging – the M1 was doing just fine. The charger unit was running HOT – but then that’s what I’d expect – it was having to power far more than I would normally give it AND charge up a totally flat Lithium battery. Not exactly a typical situation. But it was coping. Just to push my luck – I was intermittently pulling out the charger lead and the M1 continued to run rock-steadily. 6 hours later both lights were on but temperatures were now down to “pretty warm” with the battery at “just warm” with the battery sitting at 4.17v. I disconnected the mains charger at which point the battery voltage dropped to 4.11v.

I finished off this blog article and checked my mail, a process which took maybe 15 minutes at the end of which the battery was just fine sitting at 4.06v.  Later this morning I took the charger off momentarily and then forgot out about it – went off to do some painting – 2 hours later the battery was still at 3.8v and the NanoP1-M1 was happily sitting there.

Update: overnight I left the M1 on the unit, on charge and the charge light has still not turned to green which is interesting – yet the tests show that the battery IS very much being charged. I guess the load must be pulling the voltage to just below the point where the charger considers this a full charge. During the evening last night I disconnected the mouse, keyboard and hdmi lead. This morning, the battery is cool, the charger is cool, all is well with the M1 and the battery voltage is sitting at 4.18v

Which is more than can be said for the blog which apparently came to a halt last night due to the number of people looking in!!! All fixed now thanks to a prompt response from the service provider.

I’m impressed  - I have three of these units, but now I see how useful they are, I can see more of them on the way.


24 thoughts on “More uninterruptible supplies

  1. On the banana Pi we can connect a lithium battery for run it and the chip on banana recharge the battery when it's connected to usb so we don't need such module, the AXP288 on M2+ and TC boards can normaly do that, Here they say it can support 2.8A with a usb 3.0 compatible charger so maybe a 1 or 2 A with the standard micro usb port. Have you found something for connect a battery ? I see only a rtc battery connector, maybe 2 gpio pins can be the connector but i didn't find documentation about the power management :/

    Be careful about the Li-ion ultrafire they are most of the times recycled fake batteries, the best li-ion 18650 atm does 3,6Ah max, the NCR18650B batteries are really good for such application and they are cheapest than the li-po ( 13,29 for 4 batteries

      1. Yes it's a good deal and it's not a fake reduction, normaly they are around 15$-16$. Your modules are surly power banks modules and the parallel connection are really simple:
        Just charge each cell individually before connecte them in parallel and because they are used cells they can have different capacity, i use the Imax B6 for test it(i saved all my dead cells with this charger) but we can find also many 18650 charger/ tester on aliexpress and ebay.
        The 18650 li-ion are stronger than the Li-po and there is a lot of things about danger of unbalenced cells but from what I've read they are exaggerated(but maybe true for the first 18650 cells or fake chineses cells). This man made a video about it and explain why he doesn't balence the cells:

        1. Thanks for that Martin - just off to the pub (half a mile down a steep hill) and I'll look at the video later.. thanks for the info - the more the merrier - understanding how these things work is helpful. So what you're saying is a one-off full charge - then solder 2 together and to the charger. I have to say up to now I'm well impressed even though the board does get warm. I think I may well put all my small processor boards on these - the mains in Spain is mainly rubbish (to paraphrase - I'm sure I could have done better), at least out here in Galera it is so these little devils are a life-saver.

          1. Yes but use the cells with the closest charge/discharge time (if you don't have a li-po/ li-ion tester)because on the old laptop batteries, the cells have all differents capacity.
            I bought diffrents li-po batteries on aliexpress and they gave alsmost everytime one of these power bank chargers with the batteries(idk why) so i've many differents models and they all work with 1x +/- connectors, so i think there is no danger to solder 2 or 3 or 4 etc in parrallel it's just when they are in series it's better to use a BMS.
            I've the same temperature problem for my boosts(they are connected to 3-4v solar panels for produce 5v/5.5v, i think the problem is the current is too high for these small devices so i use two 5v boost in parallel and it's surly possible to use a biggest module like this one: (,searchweb201602_4_10037_10017_507_10032,searchweb201603_11&btsid=0c3a86e1-599b-4445-bcc7-2db002ad8f7e) The problem is i'm not at 100% we can charge the batterie and at the same time power the M1.
            But the last year i made an antonmous Esp8266 powered with a solar panel and i used a TP4056 to charge the battery and at the same time power the Esp8266 and it worked. It's a 1A max module, but it's also possible to mount 3 in parrallel for distribut the current among the modules. I found a really cheap lot here:

          2. The Tp4056 is a bad idea because i juste remembered i added to the tp4056 output a 5v step up module that mean even more modules...

          3. Or it's possible to connect the output of 2 Tp4056(so for 2x18650 or 4) in series for do 7,4v and use a buck module like the Lm2596(in aliexpress they cost around 0,69$) to have 5v, for a really cheap cost, around 1,5$ and it's a powerful module(2A technically)with a protection for each cell but the negative point is we have to build it.

    1. OI had one of those and threw it away... groan.

      An update on the little charger unit - I left my M1 running for well over an hour with no external power....I'm not 100% sure about this but I noted the Debian screen had no icons on it..turned it off and on and all was fine - I can't pinpoint what the cause was - possible the voltage went low? I'll need to check that - but again - the unit is taking more than I would expect of a headless installation so at this point I'm not treating it as an issue. The bench is also a mess which might not have helped.

      1. Regarding quality of "case" UPSes - u r right, it's a lottery, but i had nice experience.
        And for the issue with debian/no icons - probably not enough current. For example, I have a psu, which corrupts microSD on shutdown from time to time, but well it marked "5v 2a", but I bet - there is NO 2 A here at all =).

        Get a "usb doctor" - small device with lcd screen, which is plugged between actual device and powersource. It will show you real picture. If voltage drops below 4.5v (10% of 5v) - this is a root cause.

  2. I have a few of these but one thing I haven't been able to figure out is how to make them turn "on" when only battery and load connected. The only way to make it kick is to connect a power input. Once I do that, I can remove that power input and it continues to power the load from the battery. Have you had any success with this?

    1. Now I'm confused, Conor. The ones I have come on without power. As soon as you plug the load in they are working unless of course the battery is completely flat. You don't have to connect a power input. Plug in a phone or a board - and the blue light comes on and they provide power. Tested all three. You must have some variation.

  3. Great board, i am using the same board with two 3000 mAh li-lion batteries for my wifi router backup from 4 months, Which works awesome and useful in india where power cuts more. also made a portable charger which is also useful for travel.

      1. Yes i connected two 3000 mAh mobile battery packs in parallel. in actual each 3000 mAh li-ion battery pack has two 1500 mAh batteries in parallel with battery protection circuit.

        So in total it will be four 1500 mAh batteries connected in parallel with this board.

  4. I just received one of these DIY 2-cell PowerBank kits and tested with my A5 V11 Mini Router. It can supply power while charging. I have unplugged-replugged power source several times and the router did not reset even once. It is cheaper than this board (i also bought three of these) and also has an enclosure, charge status lights and a flaslight (in case you need to put it in a dark place) 😛

    1. They look good but despite the 1.5 amp output they can only handle 1 amp input so that limits the maximum current. If only they could both load and output 1.5amps - still might be useful to some - thanks for the info.

Leave a Reply

Your email address will not be published. Required fields are marked *