Showing posts with label Smart Cable. Show all posts
Showing posts with label Smart Cable. Show all posts

Friday, June 18, 2021

USB-C PD "Magic Cable" version II

Jim Fisher AJ3DI from the Phil-Mont Mobile Radio Club asked me back in May if I'd do a presentation on my USB-C Power Delivery system for QRP radios, since my original article (posted here and published in QRP-ARCI's QRP Quarterly, July, 2020) was published in a recent issue of The Blurb, the PMRC monthly newsletter. How could I say no to the Jedi Master? The presentation went extremely well a week ago on June 9th. 

You can see the slide deck I used here: 

    http://phil-mont.org/presos/ng3pQRP_FieldUseWithPD.pdf

And you can watch the Zoom/2m Repeater meeting, complete with the presentation, at: 

    http://phil-mont.org/presos/NG3PJune2021.mp4

While preparing for the presentation, found out that the original PD Buddy Sink board by Clara Hobbs I bought from Tindie.com was no longer available, so I did some shopping on Amazon to find some replacements. I'd used some other PD sink boards, that I detailed in another article on this blog about the subject, but didn't really find anything I liked well enough to make a cable using one. 

What I mostly found earlier this year were sink boards that would cycle through a series of configuration settings when you pressed a small tactile button on the PC board, a method I did NOT particularly like. It was far too easy to wind up sending too much power to the radio, since there was no actual feedback to tell you what setting the board was on. You'd have to test it with a DVM every time, which is very impractical. I have a tiny PokitMeter brand micro-DVM/single-channel oscilloscope the size of a keychain fob, that works in tandem with an app on my phone that I could use to easily test the voltage selected, but it really wasn't what I wanted to do. So I waited. My patience would be rewarded.

It was, and a little more so! I found that the PD sink (or trigger) boards had gone through a major evolution during that time, resulting in two major shifts in the boards now available: They're now extremely tiny, and they no longer rely on a button-press or serial terminal programming to select the output. Under most circumstances, you'll want a static voltage/amperage setting, and in my circumstance, that's precisely true. I want to set my sink boards to 12 volts at the maximum current available. So I was very pleased when I discovered that there were now PD sink boards barely larger than the USB-C jack it bore! 

There are two main varieties: 

A) Boards that can be solidly set for a particular voltage by jumpering PCB pads with a solder blob, and... (https://www.amazon.com/gp/product/B08LDJBN8P)

B) Boards pre-set for a specific voltage at the factory and sold as an option at purchase. Such as 12 volts... (https://www.amazon.com/gp/product/B08NFKV2LD)

I bought some of each type. Some of the jumper-controlled boards provided the whole gamut of supported PD voltages. I got some of the universal boards that can be jumpered for 5,9,12,15, and 20 volts (the red ones, above), a couple that provided 9v and 12v, and I got a 5-pack of the blue board above, that could be ordered for any single voltage desired. I chose 12v, obviously. ALL of the above boards will provide up to 5A of current, even though the maximum current for Power Delivery is 3A. That's fine with me!

I made a "proof of concept" cable using a  5.5 x 2.4 mm coaxial plug with screw terminals, attaching the contacts to a wire pigtail that I soldered to one of the 12v/5A sink boards. It worked, but the quick-connect coaxial plug I used had too large a central pin size, so it would drop out when nudged. 

This was unacceptable, so I attached the pigtail to a longer piece of the same thin zip cord with a proper 5.5 x 2.1mm right-angle DC coaxial plug. I was still experimenting, so I just used solder-seal butt splices to replace the mismatched plug with the screw terminals. It looked awful, with electrical tape still insulating the board and covering the solder seal splice job. But this one worked reliably and solidly, not losing contact if jostled. 

Now it was time to make the actual Magic Cable II. I removed the electrical tape from the sink board, desoldered the wires I'd attached, and cleaned the pads with solder wick. Some isopropyl alcohol made short work of any remaining flux. Then I shortened the wires coming from the good plug to about 10" long, stripped and tinned the ends, and soldered them to the pads on the PD sink board. I gave it a single wrap with electrical tape as a precaution, then I slipped on a piece of marine-grade, glue-lined heat shrink tubing and used my hot air rework pencil to shrink it and seal it around the board and the wire. I tested the result, and it works perfectly.

I also found a short but very heavy-duty USB-C/USB-C jumper cable. This cable is stubby, only about 6" long, but is flat with thick conductors under a reinforced "FlexCore" outer cover. It'll take maximum PD power and data, rated for 100W (20V @ 5A) and 10 GBPS of data transfer. I only intend it for power, so I chose a cable that'll take the 12V for a QRP radio without any question.

The radio I used for the test is my HobbyPCB IQ32, an all-band, all-mode 5W SDR transceiver. I have a small steel plate on the lower left corner of the faceplate, where my tiny Supmotor paddles reside. The base of these paddles is a very strong neodymium magnet. It's the smallest set of paddles I own, the body being only an inch on a side, and the fingerpieces sticking out another inch. The only paddle I have that rivals it would be my NOARC "Te-Ne-Ke" (Teeny Key), that's about the size of a pack of gum. This paddle comes in a little steel can, embedded in foam, including the paddle (with magnet base), a stick-on steel plate, a hex wrench to adjust the tension, and a 3.5mm jumper wire. It's a very comfortable paddle to use, despite the size, and it is easy to adjust for as light or as heavy a touch as you want.

I tested the setup with 3 different PD USB-C power banks: A 10Ah Monoprice "Obsidian" PD power bank and two 20 Ah RavPower "Pioneer" PD power banks, one an older model with a digital readout showing power level, and a newer model with fewer ports that uses LEDs to indicate remaining power. I will be testing with other radios and some other PD power banks later. I've also ordered more of the 12V sink boards and some 5.5 x 2.1mm DC coaxial power pigtails, since I'm lazy and don't like soldering small connectors. This will let me make a few spare Magic Cable II's in case I ruin or lose one, and leave me some sink boards to install in radios I'll build in the future. I'm looking forward to being able to just plug a USB-C cable directly into a QRP rig!

A note on the availability of the power banks I typically use: This month, all of the RavPower power banks are unavailable from Amazon, as Amazon has stopped carrying several brands, of which RavPower is one. Others they stopped carrying were Aukey, TaoTronics, Vava, and Mpow, all subsidiaries of Chinese company Guangdong SACA Precision Manufacturing. The reason cited was that these brands have been allegedly engaging in a practice of giving gifts in exchange for good reviews, which is against Amazon's sellers' agreement. The Monoprice Obsidian bank I used is no longer available, but it was discontinued. (Monoprice is owned by Amazon, in case you didn't know that.) You may still be able to buy the RavPower devices from other sources, including the RavPower website -- though some of them were simply linked to Amazon pages for sale. I expect RavPower, and the other sites removed, will be changing their ordering so they no longer point to Amazon.

For more information on the delisted brands, visit:

https://screenrant.com/amazon-ravpower-vava-taotronics-product-reviews-stopped-why-explained/

https://www.theverge.com/2021/6/16/22536976/amazon-ravpower-battery-charger-removed-amazon

https://www.ibtimes.com/amazon-confirms-removal-ravpower-following-report-brands-violation-3228356

Thursday, May 21, 2020

A Different Power Source for Field Ham Radio Operating

Smart Cable connected to PD supply and QCX transceiver

We're coming up on a confluence of two things: Nice weather, and relaxing of the Covid-19 lockdowns in much of the United States. This means more hams leaving their home shacks and taking their operating to the field. For some, this means climbing mountains and doing SOTA activations. For others, this means hiking on trails, and doing POTA activations. For yet others, this means gearing up for Field Day, or doing HF Pack operating, with a manpack station on their back. But no matter what they actually choose to do in the field and why, all of them have a similar need.

They need to power their gear.

This can be a really complex issue. It has a lot of factors, like what radio the person plans to use, what its power requirements are, how many watts do they want to transmit with, how much does the radio draw during receive, will they have access to mains current at any point, if not, will they have gear to recharge their power source, will they be on foot, are they operating from a vehicle...the list goes on and on. But again, there's a need that intersects all of these issues.

They need the power source to be as flexible as possible, and to provide the maximum in available power for as long as possible, but as small and lightweight as practical.

When you're getting to your operating position by backpacking, every ounce and every cubic inch counts. So you want your power source to be small and light, yet you need it to provide enough power to fulfill your goal.

The default position seems to be: figure out how much juice you'll need for the duty cycle you expect, the power consumption your equipment will require, how much weight you can carry for the requisite distance, and what you can do to replenish that power in the field if you have to. It pretty much falls to: carry a lead-acid gel-cell, or a lithium-ion source with similar storage capability. If possible, carry some means of charging it, which usually means "solar panel".

A lead-acid gel-cell with 5-10 amp-hours (Ah) of available juice is fairly inexpensive, between $2.00-$3.50 per Ah (Amazon prices) depending on brand and what the seller says it's for. Some use cases have higher price points, because it's a more or less "elite" use case. You can get a lead-acid 12V 9Ah gel-cell for around $25. But lead-acid batteries are heavy and bulky. If you plan to charge one in the field, it requires a special charger, or your charging device needs to have an output suitable for charging lead-acid batteries. They have a limited lifespan, and can be damaged or destroyed by drawing their voltage down too far before recharging, requiring replacement. Then you have a hazardous material to clean up, as your typical trash service won't take them. They're cheap, but can be a hassle. If you're willing to accept the hassle, though, you can get them very inexpensively.

Some radios, such as the Elecraft KX3, can be upgraded with an internal battery tray. The recommended battery for it is a set of Nickel-Metal Hydride AA cells. The rig will charge them, but ONLY NiMH batteries, the charging process is slow, and if you draw the batteries down too far, may damage the batteries so they no longer take a charge. They're lighter than lead-acid, but provide less power, and have special charging needs.

Lithium-Ion batteries tend to be lightweight, have a fairly high efficiency, and while more expensive, have a longer lifespan, requiring replacement less often. But they require a special charger, can take a long time to charge, and are considered to be a very hazardous material. Lithium-ion batteries have been known to explode or catch fire while charging, while in use, or following some kind of damage from incidental accidents, such as dropping. There are heavy restrictions on shipping them, and over a certain size cannot be taken on an airplane in carry-on baggage. The best chemistry for lithium batteries are the relatively recent Lithium Iron Phosphate (LiFePO4) variety. They're lighter, have an even longer useful lifespan, can be drawn down further without damage, and the chemistry isn't as explosive or prone to fire as other lithium-based cells. But they're expensive, running $8-12 per amp-hour.

The least expensive brand I know of are Talentcell brand. They even have small battery packs, at minimum 12v at around 3A, but some models having 9v and even 5v USB outputs. The 12v and 9v are coaxial jacks, and the units have power switches, power level indicators, and can be charged while in operation. My only complaint about these devices is that they're single-taskers -- they are designed for a limited set of tasks, such as running LED lighting, or IP cameras.

What I had in mind was something of a multi-tasker. Something you could use for powering ham radios, or perhaps other gear as well. I've been looking at the little USB power banks for years, wishing there was a way to operate ham radios from them, but the power and voltage available on them was too low. But now...there's USB-C, and a new protocol for output power on USB-C, the Power Delivery standard.

PD is a handshaking protocol, whereby a device will communicate with a power delivery device and tell it how much power it needs to operate. PD can provide a whole host of values, from 5v at 50mA, to 20v at 5A, with reasonable steps between. It can specify a range of acceptable values, in case the supply device doesn't support the precise value required, but DOES provide something close. The key to the whole thing is a small circuit called a "sink". There are a number of them becoming popular online.

The "PD Buddy Sink" by Clara Hobbs is the first I encountered, on the maker site Tindie. It's a board a little smaller than an inch on a side, with a USB-C socket on one side, and either bare solder pads or screw terminals on the other. To specify the power setting, you connect to the board via a terminal program such as PuTTY over the USB-C connection, and issue the appropriate commands. Then you can write the result to the internal memory of the board and reboot it. The board will retain the setting until you change it. Another board, the ZY12PDN "Type-C USB-C PD2.0 3.0 to DC USB decoy fast charge trigger Poll detector 100W MA", as named on Amazon, is very similar, but instead will cycle between available values when a button is pressed. It's a slightly smaller and less expensive board than the PD Buddy Sink. The Buddy Sink costs $30 on Tindie, while the ZY12PDN costs between $13-18 on Amazon, depending on configuration.

PD Buddy Sink by Clara Hobbs
ZY12PDN Board - Amazon
There is a Thingiverse project for a 3d printed case for the PD Buddy Sink in two configurations, one to accomodate a simple wire going to the output pads, and another where a pair of Anderson Power Pole connectors are incorporated into the case, allowing it to be connected to any device that supports Power Poles. But the first one I built, I used a small project box, and ran a two-conductor wire into the end opposite the USB-C connector. I thinned the lid directly over the LED power light, so I could see when the board is on and responding. Eventually, I'll put a small hole over the board's reset button, so I can put it in programming mode.

But why go with a cable? Why not put the Buddy Sink board inside the radio itself, with a slot for the USB-C plug? Because a Buddy Sink board is $30, that's why! With a smart Power Delivery cable, I can support a whole collection of 12v QRP radios with the same board setting (12v, 2.5A). With a Y-adapter, I can even supply power to both my KX3 and PX3, though I really wish it had more current. To use a sink in each radio would be a very expensive solution, though it would of course work. It also wouldn't be necessary to leave a way to reprogram the board, since it would only need to supply one range of values, the one necessary to power that radio, and no other. But this is a far more flexible solution, and a far cheaper one!

Now that the smart cable is out of the way, what about the OTHER end?

There are a number of Power Delivery options for power banks and chargers. I bought a 45W GaN (Gallium Nitride) PD wall charger as a backup for my USB-C Chromebook, but found that it also charged PD power banks quite adequately and quickly. Since it is a PD device, it can also provide mains power to the PD smart cable, and is smaller than a deck of cards. The battery banks I purchased are a 10000mAH model and a 26,800mAH model, both by RAVPower. Both will supply around 30W of power, and will power any of my QRP radios at full output, including the KX3 at 10W.

They may not be able to supply as much juice at 12v/2.5A as a dedicated 12v battery, but they also don't weigh nearly as much or take up nearly as much space as a 12v battery. I have a Talentcell 12Ah LiFePO4 battery that weighs about 2 1/2 pounds. The RAVPower 10000mAh PD bank weighs about 6 ounces. The 26,800mAh PD bank weighs about 15 ounces. They also cost much less. The 10Ah model cost about $20, the 26.8Ah, about $50. The 12Ah battery cost around $100, and appears to be no longer available from Talentcell. By my calculations, the 26,800mAh bank should provide around 8,250mAh at 12v, and the 10,000mAh bank, around 3,000mAh.

RAVPower PD 26,800mAh Power Bank, Buddy Sink Cable,
and QRP-Labs QCX 40m Xcvr - 7 hour test
To give a real-world test to this technology, I charged the 26.8Ah RAVPower pack completely, then connected it via the PD smart cable to my 40m QCX transceiver. I was able to run it, with intermittent transmitting, for 7 hours before I personally got too tired to continue the test. The power bank had only reduced its available power by a single indicator light, roughly 25% of its total. Now, it's certain that if I'd spent that time ragchewing, it would have consumed much more power, as 5w out takes a lot more juice, but I'm not a ragchewer on CW as yet. For casual use, this seems like an adequate power supply for the size and weight. For a device that only provides 8.25Ah at 12v, it seems quite efficient, powering a 5w transceiver for 7 hours with only a 1/4 reduction in capacity. With greater transmission time, this would certainly be a greater draw on the power bank, but even if it were 1/2 or 3/4 discharged, that's an 8-hour day's worth of continuous operating in a battery bank 1/4 the size of the 12Ah Talentcell I have.

It's also a multi-tasker. It can charge my phone via the USB-A port while operating the QCX. It can charge my USB-C Chromebook. It can charge other USB devices, such as my watch, or the flashlight I wear on a chain around my neck. It can charge my Baofeng BF-T1 Mini 70cm handy-talkie. It can charge my electrolytic water purifier, which equates to 150 liters of purified water. It can run a USB LED lamp, or my TS100 soldering iron. Except for the soldering iron, I'd need an adapter to use the 12v battery on any of those other devices.

I also have more options to charge it back up. I have a solar panel set, also by RAVPower, which can charge either of the PD power banks. I also have two different thermoelectric generators, that provide USB level power from a strong heat source. I can make hot water for drinks or freeze-dried food while charging the power banks. If my car is available, I can recharge the banks from my lighter socket, a source that isn't clean or stable enough to power the radios directly. I can use the GaN charger to recharge the banks, or I can run the radios from that charger with the smart cable while I have access to mains power. It's all very compact and lightweight, making it easier to transport into the field, such as when hiking on a trail or climbing a mountain. (I'm disabled, so my hiking and climbing days are over, but I still go to parks to operate, on picnic tables convenient to nearby parking!)  Talentcell put a battery management board inside the case for the large battery, so it can be charged from a charger for a lead-acid battery, but that would still require AC mains power to use!

Power Delivery is still a very new power bank technology, but it appears to be getting more popular. I think it'll be easier in the long run to use such multi-tasking power bank options to run portable ham radio gear than to lug about heavier and less convenient power sources as the technology improves over time. I have a new PD power bank on order, also by RAVPower, a 20,000mAh model with a digital power meter, so I can better gauge how much of the power bank's capacity is being consumed during use.

UPDATE:
From some questions I've received since posting this, I have a couple of points to add.

  • If your power bank has a low-drain timeout feature (it shuts off if the device you connect doesn't draw enough current), it will NOT turn off if your radio doesn't draw a lot in receive mode. The power bank is not seeing the RADIO'S consumption level, it's seeing the handshake from the sink board, which does not automatically turn off if the draw is "too low".
  • There is no oscillator noise from the sink board because it is not boosting 5v from the power bank to 12v. The board is requesting 12v from the power bank, and the power bank is supplying it under the USB-C PD standard. So there's no oscillator boosting the voltage, hence, no noise from the sink board.
  • You need to use a USB-C Power Delivery power bank for this. Qualcomm fast-charge is a different standard, and will not work. There will be a "PD" logo on the power bank if it is supported, and should say it is Power Delivery in the documentation. Here is a document explaining the PD standard: http://www.ti.com/interface/usb/type-c-and-power-delivery/getting-started.html


73,
Gwen Patton, NG3P

Links to items:

PD Buddy Sink: https://www.tindie.com/products/clarahobbs/pd-buddy-sink/
ZY12PDN Sink: https://www.amazon.com/gp/product/B07T2858G6
RAVPower 10Ah: https://www.amazon.com/gp/product/B07Y9QYCDC
RAVPower 20Ah: https://www.amazon.com/gp/product/B07TF73QZS
RAVPower 26.8Ah: https://www.amazon.com/gp/product/B01LRQDAEI
Inateck 45W GaN Charger: https://www.amazon.com/gp/product/B0719KV9PH
3d Printed PD Buddy Sink Case: https://www.thingiverse.com/thing:2847318



This article Copyright © 2020, by Gwendolyn S. Patton. This article may be reprinted in Amateur Radio publications without prior permission, so long as it is reproduced in its entirety, with author credit preserved, and a link back to this page. Derivative works and edited versions require express written permission from Gwendolyn S. Patton. Send inquiries to NG3P@arrl.net.