kanflo / opendps

Give your DPS5005 the upgrade it deserves
MIT License
880 stars 124 forks source link

Compatibly with DPH3205? #11

Open felixekman opened 7 years ago

felixekman commented 7 years ago

Has anyone tried this with the DPH3205 which is the buck-boost converter version of this?

kanflo commented 7 years ago

I have none to test. Adding support should be a breeze though as the STM32 is not covered in a sandwich PCB design as with the 5005. Really helps the reverse engineering effort.

felixekman commented 7 years ago

Do you have any guidence on how one would go about starting this effort to be compatible with your software? I'm willing to put down the needed time to make it happen, just need some pointers on how to best contribute.

kanflo commented 7 years ago

You can start off with my reverse engineering effort and learn how the stock FW controls your device. You need to figure out how the buttons are connected and how the output voltage and current are set. For the DPS5005 the DAC is used for voltage and TIM2 (IIRC) for current limit.

For the voltage setting, I would dial a selection on the stock FW and then check the DAC setting using the ocd-client.py script with OpenOCD connected. For your information, the stock FW freezes from time to time when JTAG halted.

cleverfox commented 6 years ago

@felixekman Did you tried it?

gnbl commented 5 years ago

Info on DPH series:

https://lygte-info.dk/review/Power%20DPH5005-USB%20UK.html https://lygte-info.dk/review/Power%20DPH3205%20UK.html

And my own register/memory dumps (made with https://github.com/kanflo/opendps/blob/master/ocd-client.py) for STM32F100C8T6B on DPH5005, hardware V1.1 with firmware V1.6: DPH5005_HW=V1.1_FW=V1.6.zip

Grounding PA6 causes fan to start, so this appears to have similar temperature sensing as DPS5015 (see info in https://github.com/kanflo/opendps/issues/50).

opeRaptor commented 5 years ago

Are you working on a port @gnbl ? I am interested in this version as it is buck-boost.

gnbl commented 5 years ago

@opeRaptor Not since my last post and not again any time soon, so go ahead.

Harvie commented 4 years ago

Are the differences between DPS and DPH so big? If someone convinces me that he/she is capable of porting opendps to DPH i will send him DPHxxx device for free.

Wegerich commented 1 year ago

We have a DPH3205 for our community repair group. It's used by many repair volunteers so it would be amazing to have a better interface where changing current and voltage is more intuitive. Volunteers are familiar with the general idea of each tool and we have a wide range of tools so we don't train on each tool.

We use the DPH instead of RDxxxx because it's smaller and cheaper, and the DPH instead of the DPS because we can run it from a "free" 20V laptop power supply that also powers the pinecil soldering iron.