Hacking Qualcomm Quick Charge 3.0

Hi, i'm trying to build a little power supply for my experiments. knowing that a phone charger can be driven from 3.6 to 12V (or 20 for some models) i acquired a silvercrest phone charger with 4 usb ports ( 5-9V) and 1 QC 3.0 port. The problem is i cant get any voltage different from 5V.

i followed this project but doesn't work

http://blog.deconinck.info/post/2017/08/09/Turning-a-Quick-Charge-3.0-charger-into-a-variable-voltage-power-supply

working on some try, with voltage dividers and manual connections i had 12v and 9v out of there, but non of arduino projects works. and i know that a QC 3.0 can select increments of 0.2V. its frustrating.

anyone have suggestions?

Find a used or buy a new desktop PC power supply. It's got lots of voltages.

It's not a solution for my objectives. The final project has a potentiometer and some buttons wired to the arduino as input for the voltage selection, and the 0.2V step is not possible with a pc power supply

What did you do, that was different from the project tutorial?

Show a schematic?

Nothing different, that is the problem

You can see the schematics on the link I posted, I tried the 2 wires setup and the 3 wires as well, none works

Yes, something different. Otherwise it would work.

Hence my question to post your schematic, and your actual code.

here is the schematic

immagine

here is the code

#include <QC3Control.h>

//Pin 4 for Data+
//Pin 5 for Data-

//See How to connect in the documentation for more details.
QC3Control quickCharge(4, 5);

void setup() {
//Optional
//quickCharge.begin();

//set voltage to 12V
quickCharge.set12V();

delay(1000);
}

void loop() {
//And you can change it on the fly
delay(1000);
quickCharge.set9V();
delay(1000);
quickCharge.set5V();
delay(1000);
quickCharge.setMilliVoltage(6000);
delay(1000);
for (int i = 0; i < 10; i++) quickCharge.decrementVoltage();
delay(1000);
quickCharge.set12V();
}

nothing happens, the charger stays on 5V. tried different charger and different ports

1 Like

:roll_eyes:
Where's your Nano? Where's your power supply for both the Nano and the Q3 charger? Where's the Q3 charger?

How about some good photos of your setup instead then.

here we go. common ground for the QC3, nano powered (at this moment) from my pc

with the posted setup and posted code, my charger gives 5V.

if i delete the loop part of the code (to force the charger to still at 12V) the charger give me 5V. but if i disconnect the white QC cable and i re insert in the board, the voltage go to 12V. so the problem is not the setup. i think the problem is code-related, like the nano dont do the handshake with my QC controller (and i dont know why he does if i disconnect and reconnect the white wire)

SOLVED.

problem was not in the setup or in the code. looking on internet to find the cables of the usb i found loots of images that said "white is data+ and green is data-" like this image

immagine

thinking about at why the handshake goes when i disconnect the "white" cable i looked more about usb pinout and i found an image who says the opposite thing. i switched the white and green cables in my setup and now works

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.