Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
control and query the BK Precision 1696 power supply
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

BK Precision 1696

This is a Python library for communicating with the BK Precision 1696 power supply via its serial interface. You can control the supply's parameters and take voltage/current readings.

For example:

import psup
with psup.Supply() as sup:
    volts, amps = sup.reading()
    print '%f V, %f A' % (volts, amps)

For more details, see my blog post about a setup using this library to measure the dynamic power of a smartphone.

Something went wrong with that request. Please try again.