https://github.com/ap--/voltcraft
Python module for voltcraft powersupplies
https://github.com/ap--/voltcraft
python voltcraft
Last synced: 10 months ago
JSON representation
Python module for voltcraft powersupplies
- Host: GitHub
- URL: https://github.com/ap--/voltcraft
- Owner: ap--
- License: mit
- Created: 2012-08-28T14:32:13.000Z (almost 14 years ago)
- Default Branch: main
- Last Pushed: 2025-08-04T18:01:30.000Z (11 months ago)
- Last Synced: 2025-08-04T21:34:05.195Z (11 months ago)
- Topics: python, voltcraft
- Language: Python
- Homepage:
- Size: 126 KB
- Stars: 13
- Watchers: 1
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# voltcraft.pps
[](https://pypi.org/project/voltcraft/)
[](https://pypi.org/project/voltcraft/)
[](http://opensource.org/licenses/MIT)
[](https://github.com/ap--/voltcraft/issues)
[](https://github.com/sponsors/ap--)
Python module for controlling Voltcraft PPS and DPPS powersupplies.
Available at [www.conrad.com (PPS)](https://www.conrad.com/search?search=voltcraft%20pps)
and [www.conrad.com (DPPS)](https://www.conrad.com/search?search=voltcraft%20dpps)
```python
from voltcraft.pps import PPS
supply = PPS(port="/dev/ttyUSB0", reset=True) # in Windows change string to COMx (eg COM4)
supply.voltage(10.0)
supply.current(2.0)
supply.output(1)
```
Install via:
```console
pip install voltcraft
```
There's no documentation, but the module is tiny, so please just read the [voltcraft/pps.py](voltcraft/pps.py) :sparkling_heart:
It is also possible to use this module as a command-line tool
```shell
$ py -m voltcraft COM3
MODEL=DPPS3230
IMAX=31.5
VMAX=32.2
IMULT=10.0
limits=(32.2, 31.5)
reading=(14.01, 2.13, 'CV')
$ py -m voltcraft COM3 off
$ py -m voltcraft COM3 read
reading=(3.14, 0.0, 'CV')
$ py -m voltcraft COM3 read
reading=(1.7, 0.0, 'CV')
```