EEVblog Electronics Community Forum
Electronics => Projects, Designs, and Technical Stuff => Topic started by: lambcutlet on March 09, 2018, 05:56:57 pm
-
Hi,
I just wanted to share a program I made for the DPS5005
https://github.com/lambcutlet/DPS5005_pyGUI (https://github.com/lambcutlet/DPS5005_pyGUI)
(https://github.com/lambcutlet/DPS5005_pyGUI/raw/master/images/gui_screenshot_image_2.png)
The DPS5005 is controlled via its serial port, default 9600 baud.
The interface is simple and should be self explanatory.
Begin by connecting to the serial port, the chart will then update as data is collected.
The program has 3 operating modes:
- PSU - Power Supply mode, set Voltage & Current
- NiMH/NiCad - Nickel based battery charge, Peak detect style of charging
- Li-Ion/Lipo charging - Lithium based battery charge, Constant Current Constant Voltage CCCV
Please use charging modes with caution. Both styles of charging have only 1 termination method therefore if incorrect values are used batteries could be overcharged and things could go horribly wrong.
Another feature, the output can be controlled automatically with the use of a 'CSV' file to perform time based voltage & current control. An example is on the github page.
Options for use with other DPSxxxx power supplies. A file called 'dps5005_limits.ini' provides safety thresholds as Min & Max values and Decimal point positions. It can be configured for other units without manipulating the main python code. This is untested by me as I only have a DPS5005.