USB Power supplies and devices

Ever since I built my first “Pi-Hole” with a Raspberry Pi I have had problems with finding good USB cables that will provide enough power. I have also increased my inventory to almost a hundred devices that are powered from a USB connector. The quality of the cable and the length of the cable are huge factors in having reliable device. None of the devices I am using are USB-C Power Delivery compatible which means they are 5V and some of them require 3 amps of current. After trying a number of things my solution is to provide a power supply at the device that can convert 12-24V into 5V with a USB connection. (POE is an option, but at present most of my devices are NOT POE. They are wireless only and just need power source.

There are several pieces to this puzzle that took a lot of time to resolve, like years!

By far the first item I had to find was a low voltage connector.

One day last year I saw this LED connector show up on Amazon. (I’ve bought several hundred of them since.) I have NOT found a competing product! (Yet)

https://www.amazon.com/gp/product/B081JG4KR5
Pluggable LED Wire Connectors, TYUMEN 24pcs 2 Pin Amazon.com

They are NOT perfect!

  1. I had to figure out how to load the wire into them without damaging the connector.
  2. It’s actually tricky to get the wire onto all four of the IDC terminals inside it.
  3. They have a very limited wire size, 22-20 works best.
  4. They do hold together and I’ve not had an issue with the connection between them.
  5. I LOVE how small they are and how they have a good “Snap” connection.

The next item was twin lead wire that the connectors could use.

This picture is severely enlarged.

I happened on wire that was used for garage door openers. The wire is normally run to the two sensors at the bottom of the garage door opening.

It’s available in over one-hundred-foot lengths, 20AWG and inexpensive!

Most power supplies also use very similar wire that is clearly marked. (Usually black wire) They are NOT consistent on which wire is positive/negative. For my purposes I chose the dark bar wire as positive since 80% of the power supplies are similarly marked.

The third component was the USB power supply with connector.

I’ve seen these inexpensive China power supplies for years, but getting the DC to them was the more difficult problem. Now that I have a connector and wire, they are looking much more inviting.

They have varying voltage requirements and most of them provide 3 amps with a very efficient switching power supply which is sufficient for all of the devices I currently have. (They typically do not get warm.) This particular one can take 55Volts which is insane for a 15W load. (A modern golf cart is 56 volts.) The voltage drop at 2A on 100 foot of 20AWG wire is roughly 4 Volts which would still provide 16W (3A@5V) of power. Raising the voltage to 14V drops the current to 1.5A and 18V drops it even further to a little over 1A. Increasing the wire AWG proved to be a worthless venture. (Power supplies are significantly cheaper to change out.)

This wireless router can be mounted just about anywhere, and the power requirements are so low that it could be run on one of the 24AWG pairs.

Should we buy a Solar refridgerator

I have toyed with the idea of having a genuine $1,300 Dancer brand solar powered refrigerator to pile the essentials into during an extended power outage.  We currently don’t have any medicine or anything else out of the ordinary in our fridge that would warrant such an expensive purchase.  The most important decision making task was to measure how much power our current fridge draws.  In my case it was much smaller than I expected at 175 Watts.  (It was also strange that the fridge had three 40W incandescent lights which drew almost as much power as the compressor.) 

The compressor startup current (AKA Stalled Rotor Current to size the UPS), the defrost cycle heater and the normal duty cycle of the compressor to size the battery bank and define solar requirements.  The single most expensive purchase was the Triplite SU1000XLA UPS at about $600 New.  It had sufficient surge capacity to start the compressor and an external battery connection to keep it running all day.  

Next on the list was a storage battery capable to run the fridge for 24 hrs.  I used 175W x 24 (Hours) x .5 (Duty Cycle) =2100WH. 

Actual usage is 2370WH / 24V * 1.2 (Efficiency) * 2 (50% discharge) = 237AH of battery.  (12V 100AH AGM batteries are roughly $250 each)  To keep it running 24Hours/Day we need to recharge the batteries AND provide running power during the day.

Each 100W panel produces 350WH/Day on average so I need at least Five 100W panels.  Three of them will be charging the battery and two to run the refrigerator during the day (Need 3x panels during the winter.).  If we loose power because of a storm, I’ll have to run a tiny 600VA 20lb generator twice a day for 5 hours to recharge the batteries.  (~1Gl gas/Day) until the sun comes back out.

Two panels will likely cover most of the long term outages we have around here with 1500WH of Solar power for two days and more than 5880WH of stored power.  The last item on the list is the Solar Charge Controller which provides accurate battery voltages to protect them.

Because of the current situation with the COVID-19 we bought a DC powered freezer which can also be used as a fridge.

The good thing is that it is dual powered (AC/Battery) and draws about 85W half what our fridge in the kitchen draws. 85W x 6.9 Hours x 30 Days is $2.11/Month in Fridge mode and 85W x 10.8 Hours x 30 Days = $3.31 in Freezer mode. (Calculated) On battery it will consume 76AH/Day in Freezer mode. My solar panels generate about 1.5KW/Day and the Fridge consumes 918WH/Day in freezer mode. The solar panels generate power for 5 hours/Day so 19 Hours/Day will be on battery. 80% efficiency for round trip to battery and back for 19 hours will use 8.5H x 85W x 120% = 872W / Day on Battery during a sunny day and 1100WH on a cloudy day. Charge Amps for 872WH / 5 hours = 15A minimum into the battery during daylight. Storage needs to be 2 cloudy days x 50% battery discharge 4400 WH = 366AH (10 x 35AH battery) Required storage for AGM charge at 15 Amps is 150AH minimum.

After having the refrigerator for two years I finally put a temp sensor inside it. I was shocked how a warm bottle of water affected the inside temperatures. Now I am wondering if it matters where inside the fridge the warm water is placed.

How awful can a UPS be?

I recently needed a UPS that could support about 30W for several hours and after looking at the specifications of consumer grade UPS units for a couple days I became very discouraged.

The scope of my research was mostly UPS units that were under 450VA.

Conversion Efficiency: I found out that most units (Even at a reasonable 60W load.) were less than 50% efficient.  (Most were about 35%)  The most logical component for the poor efficiency was the transformer and I was shocked how inefficient they were.  (Way too small for the VA rating of most of them.)

I found a video of someone attaching a large battery to one of these small units to extend the run time and the transformer melted through the case into the carpet floor and almost caught fire.   I started recording the battery size and the run time for a 60W load from the runtime charts that were offered.  The data was horrible, I just couldn’t believe that it passed UL.  The good thing is that the larger VA rating of the UPS, the more efficient the transformer became.  It did seem unreasonable to purchase a 700VA UPS to drive a 40W load!

Battery: The battery in these consumer grade units were unbelievably small, like 4AH.  I get it, batteries are heavy and the price point is low for home units.  A 350VA UPS would need roughly 25-35 Amps from this tiny 4AH battery contained inside.  Looking at a typical battery specification, the efficiency of the battery is terrible at this high current draw.

My rules of thumb after working with UPS units for 10 years is that any UPS that supports more than 100W should have a 24V battery. (It’s actually more efficient to light a 60W light bulb with a 12V battery for some reason.)  I wrote all this up including charts and posted negative review on Amazon.  Sure enough, APC came out with a much more efficient unit (~70%) about a year later.  (No 60HZ Transformer)  The complaints posted on Amazon suggest that the high frequency design is not as reliable.  If you are wondering I have five of them and they are still in service a year later with no failures. 


The UPS I ended up using was a $40 BN450M that has no transformer and generates very little heat. (So it can run a long time, but it doesn’t have any active cooling so I had to be careful.) 

The first designs removed the board and put them in a much larger case. 

The final design removed the battery and set the UPS onto a plastic tub with several much larger batteries underneath. I did end up putting a heat sink on the battery charger component since it takes several days to recharge the battery.

They keep the cameras up for about 2 hours with much larger external batteries mostly because APC included a timing “Feature” that shuts down the UPS at 160 minutes.  I also found out that the batteries are floating at approximately 55VAC. (They need to be protected from accidental contact while the UPS is connected to commercial power.)  

Boat Anchors: UPS units in the 1000-1500VA range are reasonably efficient at 100W, but they can weigh 60-80Lbs with the batteries.  The 18AH batteries in most of them should be limited to 36Amps which yields ~800W with two in series (24V) and they produce less than half their rated capacity at that current.  I wanted roughly 100 Watts for 2-1/2 hours. (250WH delivered to the load.)  With a conversion efficiency of 70% and counting the conversion losses, I need roughly 370WH of battery power.  Two 18AH batteries have roughly 432WH of energy and 370WH will leave some charge in the battery.  Keep in mind though that two 18AH batteries exceed 30Lbs and the UPS is probably 20Lbs without the batteries.

Flying with batteries

My first adventure with flying with batteries was a trip to Germany.  I constructed a home made battery for my Netbook computer to extend the run time to many hours.  It consisted of 10 “D” size Nickel Cadmium batteries that were soldered in series with small wire.  (That way the wire would keep the current low and dissipate the energy slowly.)  The batteries were in a common Radio Shack plastic box with zip cord powering the computer.  I was able to use the computer for most of the flight to Germany.  What I hadn’t prepared for was the German security folks demanding I disassemble the battery before they would let me board my flight.  From then on I didn’t try to carry anything homemade on a commercial flight.  It it necessary that I carry 200WH of battery when traveling to third world countries where the power was unreliable.  The obvious choice was a couple  8AH 12V Sealed Lead Acid batteries.  (They were the safest battery I could carry that had sufficient power for my needs.)  According to TSA all I had to do was keep the terminals from shorting out and I could fly with them.  The safest place on a commercial aircraft is in the cabin, packing batteries in checked luggage is not preferred by the airline.  As time went by it became increasingly troublesome to have these two batteries in my bags and I would get delayed trying to explain them to TSA check point.  My final flight with them was when a female TSA supervisor insisted that I check the batteries and not carry them aboard the aircraft.  (I was unable to sway her decision so I checked them on that trip.)  I wasn’t comfortable carrying two  100WH lithium battery packs in my luggage so I bought 24 individual lithium cells that were about 10WH each.  I bought six USB battery boxes that could safely carry four individual cells each.  Believe it or not, I never had anyone question me about the USB battery packs or the 24 lithium batteries I was carrying, even when returning from a foreign country.  I was confident that if a single cell went awry that it wouldn’t heat the adjacent cell sufficiently to cause it to fail.  I was pretty sure I (Or flight attendant) could safely pull an overheating cell from the USB case in flight.  I found bicycle battery packs that I put the cells into once I got to my hotel room.  I still travel with them to this day.

There are batteries, then there are batteries!

When I was about 12 I bought a kit and constructed a “Carbon-Zinc” Dry Cell battery.  It was crude, but it worked for a short while.  The zinc casing eventually leaked and made a huge mess.  My next battery was a 12V 4AH rechargeable wet cell Nickel Cadmium battery that came from Allied Radio.  It was the center of a lot of projects for maybe the next 5 years.  (I can’t imagine how a 12Yr old managed to bring a very hazardous battery full of acid across the country from Illinois to Nevada in the late 60’s.)  My exploration of batteries took a break until 1984 when I bought my house. I knew from my job that leaving a battery on a charger 24/7 (Think Generator starter battery.)  appeared to shorten the life of these batteries.   I also knew that running them completely empty could ruin them as well.   My next purchase was four 100AH AGM batteries (5KWH) for a 48V 5KW UPS that I bought used.  I checked the UPS batteries after a couple of years and found that two of them blew the sides off of couple cells.  (You could see the plates right down to the bottom of the battery.)  These batteries were held off the floor in close proximity to each other such that they could have caused a cascading failure of 5KWH of heat. (Fire?)  I took that UPS out of service and purchased a smaller 24V 2.5KW Trip Lite Powerverter to replace it.  I paralleled, fused and physically separated the two 100AH battery banks and put them inside a 200LB cement block cocoon to prevent a cascading failure.  They are still in service today.