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.7.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voltcraft-1.7.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for voltcraft-1.7.1.tar.gz
Algorithm Hash digest
SHA256 e0ba2edc7f4249e2bc48bd0f3f958479996614c3853e90081465080a9aefc9d7
MD5 698bdecf9048350c92c6a8e79bbc7f02
BLAKE2b-256 0def9c3e34ff2cb1bb193cb3791ff03613ccdf79c087ad38a1af4e63e8f5bcd2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for voltcraft-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 55786d854dc3314bcbf65be3374a126c0e3bbc3a77719f25c065da219521147f
MD5 51e4949fba82f7b285a1f55ce06391fd
BLAKE2b-256 0c7212277a9b0940c338e122a4ffefe17e31b203fed2900d3c019f0f429fa3c0

See more details on using hashes here.

Supported by

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