ElluIFX / DP100-PyQt5-GUI

基于PyQt5开发的正点原子DP100数控电源上位机 GUI for Alientek DP100 digital power supply
21 stars 7 forks source link

基于PyQt5的正点原子DP100数控电源上位机

A PyQt5-based PC GUI for Aliantek DP100 digital power supply

Check ketukil's fork if you need an English gui.

功能

Features

依赖

使用了修改后的QFramelessWindow包,在lib文件夹中

release提供了打包好的exe文件,无需安装python环境

界面字体用了更纱黑体且没做fallback,记得去微软商店装一个

Dependencies

A modified QFramelessWindow package is used in the lib folder

The release provides a packaged exe file, no need to install the python environment

The interface font uses Sarasa UI and no fallback. Remember to install one in the Microsoft Store

关于二进制文件大小

Pyinstaller打包Qt程序时会自动添加不必要的Qt Plugins,导致二进制文件过大,认真修改spec文件排除不需要的dll和库可以减小到差不多30MB,但是我懒得改了,就这样

About the size of the binary file

When Pyinstaller packages Qt programs, it will automatically add unnecessary Qt Plugins, which will cause the binary file to be too large. Carefully modify the spec file to exclude unnecessary dll and libraries, which can be reduced to about 30MB, but I am too lazy to change it, so it is

Other

写着方便自己用的,没时间接受pr,有需要请自行fork

Written for my own use, no time to accept pr, please fork it yourself if you need it

Something interesting about OPP

DP100的过功率限制实际上只做了硬件UI的限制,通过API可以设置得比限制的105W更高,具体用法可以查看DP100API.py最下方的example,经过测试150W可以正常工作

The upper limit of over-power protection actually is performed only in the hardware UI, and can be bypassed by API, which can be set to higher than the limit of 105W. For details, see the example at the bottom of DP100API.py. After testing, DP100 can work well at 150W.

Screenshots

1701177770319