Skip to content

ddamiani/bk169X

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bk169X

A simple Python library for interacting with BK Precision 169X Series DC power supplies. Communicates with the supplies over an RS-232 connection. Also has the ability to read and update the voltage and current calibration constants of the supply in the unit's eeprom.

Example where the supply is attached to COM3:

from bk169X import control

ps = control.PowerSupply('COM3')
# set the voltage to 5 V
ps.voltage(5.0)
# turn on the supplies output
ps.on()
# readout the sense voltage, current draw, and mode (constant voltage or current)
volt, curr, mode = ps.reading()

Also includes a small IPython based terminal app bkterm for controlling/calibrating the supply interactively.

Requirements

  • Python 3.x
  • NumPy
  • PySerial
  • IPython

About

BK Precision 169X Series control and calibration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages