Skip to main content

library for controlling Voltcraft PPS power supplies

Project description

voltcraft.pps

PyPI PyPI - Downloads MIT license GitHub issues Github Sponsors

Python module for controlling Voltcraft PPS and DPPS powersupplies.
Available at www.conrad.com (PPS) and www.conrad.com (DPPS)

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:

pip install voltcraft

There's no documentation, but the module is tiny, so please just read the voltcraft/pps.py :sparkling_heart:

It is also possible to use this module as a command-line tool

$ 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')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voltcraft-1.6.3.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

voltcraft-1.6.3-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file voltcraft-1.6.3.tar.gz.

File metadata

  • Download URL: voltcraft-1.6.3.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for voltcraft-1.6.3.tar.gz
Algorithm Hash digest
SHA256 0c33ff7fee1386c79cbc4fbbbefefccb0b5f38b1ba0e72cf981e82b3a040bc59
MD5 74649ebfa6ebcac41c61d5a8573b92e2
BLAKE2b-256 1de4e8b3c7f0340ba83aef083b41756720ba9f348742d1fc45768fac604f19c7

See more details on using hashes here.

File details

Details for the file voltcraft-1.6.3-py3-none-any.whl.

File metadata

  • Download URL: voltcraft-1.6.3-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for voltcraft-1.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e5c8576fd34db1e5679255165dd416e24a486fee371172834c5c5c7432cdd665
MD5 c0e88891084b3e681e31f8c6040ca581
BLAKE2b-256 a8d11f64efe174a9e64419b29e5a9f00cfbd3448a3eb5099b1c98c4dd58929dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page