Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (14 sloc) 0.686 kb

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:
    sup.voltage(1.3)
    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.

Jump to Line
Something went wrong with that request. Please try again.