Unlocking 12V Quick Charge On A USB Power Bank

[Robert Nixdorf] frequently needs to use this high-end audio recorder, but it sucks dry a set of eight AA batteries in just a few hours. Obviously a longer lasting solution was required, and he started scouring the web looking for an answer. He bought a Quick Charge power bank and then hacked a Digispark to negotiate with the power bank to provide 12V output to Quick Charge his audio recorder.

Qualcomm’s Quick Charge system is designed to provide increased output voltages to reduce charging time in QC compatible devices such as mobile phones powered by their Snapdragon range of SoC’s. Depending on how the end-point negotiates with the charger, either 5V, 9V or 12V outputs are supported.

You can dig into the details in Qualcomm’s Quick Charge Patent [PDF] which shows how the system works. Quite simply, the voltage provided by the charger depends on the signals set on the D+ and D- data pins during the initial handshaking phase. [Robert] found it easy to get his QC charger to provide the required voltage by using a 3V3 voltage regulator and a resistive divider. But a more permanent solution would be needed if he wanted to use it on the field.

His parts bin revealed a Digispark board and he set about hacking it. He isolated the VUSB from the rest of his board since it would get pulled up to 12V when in use. And then replaced the existing 5V regulator with a 3V3 one. This required several bodges which he has documented on his blog. Some simple code flashed on the ATtiny85 handles all of the handshaking and sets up 12V output to run his audio recorder. A single charge on the power bank now lasts him almost 12 hours, so he’s pretty satisfied with the hack.

Quick Charge is currently at version 4 and supports USB-C and USB-PD hardware such as cables and connectors. But it seems using USB-C hardware outside of the current USB-C specifications is deprecated, with reports suggesting Google is asking OEM’s not to use Quick Charge but stick to USB-PD. Let’s hope this gets settled one way or another soon.

Thanks, [Frank] for the tip.

16 thoughts on “Unlocking 12V Quick Charge On A USB Power Bank

  1. There are other powerbank with selectable voltage output on DC 2.1/5.5mm socket that are pretty useful for this sort of situation too.

    Quick chare has one major shortcoming that will see it replaced with usb c pd modes in that quick charge uses the data lines meaning that you can’t charge fast when passing data. Big issue for things like cars where you may need to pass usb tethering or audio while charging.

        1. that is not how sparks and gas tanks work in reality AFAIK – i believe even mythbusters debunked this one-spark-explosion thing. a fuel leak can start a fire tho

  2. I want a smart charge adapter to plug into any USB 2.0 or 3.0 Type A port and have it test the port for how much current can be drawn from it. It also needs to automatically identify the device plugged into the adapter and negotiate the maximum draw between the two.

    Then I could connect a Samsung phone or tablet into chargers capable of delivering 2+ amps and make the phone believe it’s connected to one of Samsung’s insanely overpriced chargers. I have a nice Belkin high amp charger but Samsung devices refuse to pull more than 500ma from it, they act as though it’s a computer data port.

  3. It’s easy to set a QC3 supply to 12V with just two resistors and a toggle or push button switch. Here’s how: Take a 10K Ohm and a 2.2K Ohm and solder in series across the Vbus (red) to ground(black wire). The tap between the two resistors will measure about a Volt. Solder D+ (green to this tap. Then wire the D- (white) through a N.O. switch to the same tap.
    Apply adapter or power pack supply and wait 1.5 seconds to push the button. Presto, 12V @1.5! No need to hold the button, the supply stays at 12.

  4. USB power, whether QC or USB-PD are definitely the future.

    I have boxes of wall warts that I’ve forgotten which belongs to what product. I’d love to throw them out but when I need that elusive voltage and current combo again( pray oh pray the device has its power needs printed on the case), I’d hate to have tossed it like a HDD full of bitcoin.

    Travelling? One box will charge every device at whatever voltage and current it needs.
    Lose your laptop charger? No longer a trip killer. The hotel will have a compatible USB power charger left by some other traveler or just pick one up from the local store that has the needed wattage.

    Google recommends USB-PD (open standard) which can deliver 100W at 20v. More than enough for most devices (for now:P)
    I’ve even found a chip that takes away the headache of handshaking with the protocol, Just program your needs once and it’ll deliver them every time you plug in.

    Disclaimer: After much research and thought on the subject of power, I am currently building an open USB-PD based board on this chip to make every makers lives so much easier.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.