Qball's Weblog

Programmable DC Power Supply

Tags HCS 

I recently bought another Digital Power supply, going for a more professional model this time. The biggest advantage is this one does not have a fan.

EA-PS 2042-06 B

So I decided to adjust my existing program HCS to also support this power supply. I tried to make a cleaner implementation then last time. It is not as good as I want it to be, but a start. So do you have a Elektro Automatik PS 2042-06 B or a Voltcraft PPS-11360 you can control them using this tool.


Set output voltage

$ HCS_DEVICE=/dev/ttyACM0 ./build/hcs eaps voltage 6 

Read output volage

$ HCS_DEVICE=/dev/ttyACM0 ./build/hcs eaps voltage 
> 5.94

Read output current

$ HCS_DEVICE=/dev/ttyACM0 ./build/hcs eaps current 
> 1.03

Read device status

$ HCS_DEVICE=/dev/ttyACM0 ./build/hcs eaps status 
    Device information:
     Device Type:               PS 2042-06B
     Manufacturer:                       EA
     Article No. :                 39200112
     Serial Num.:                3937461928
     Software Version:   V4.02 05.12.2012ยป

    Device specifications:
     Nominal voltage:                 42.00
     Nominal current:                  6.00
     Nominal power:                  100.00
     Set voltage:                     12.00
     Set current:                      0.95
     Current voltage:                  0.00
     Current current:                  0.00

There is also an interactive mode.


comments powered by Disqus