Skip to content

Remote control of PSU via serial terminal connection through Python.

Notifications You must be signed in to change notification settings

znibb/PowerSupplyRemoteControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerSupplyRemoteControl

Remote control of PSU via serial terminal connection through Python.

Usage

from PowerSupply import LABPS3005DN
psu = LABPS3005DN("/dev/USB0")
psu.setVoltage(5)
psu.setOutput(True)

Supported devices

  1. Velleman LABPS3005DN

Velleman LABPS30005DN

Function Usage Returns
getID Get PSU ID String
getCurrent Get current limit Float
getVoltage Get voltage setpoint Float
getRealCurrent Get actual output current Float (2.2)
getRealVoltage Get actual voltage output Float (1.3)
getStatus Get status flags String
getFlagCV Check Constant Voltage glag Boolean
getFlagOutput Check output active flag Boolean
getFlagOCP Check Over Current Protection flag Boolean
setCurrent Set new current limit N/A
setVoltage Set new voltage setpoint N/A
setOutput Set output state N/A

About

Remote control of PSU via serial terminal connection through Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages