Skip to content

Remote control Korad KWR103 programmable DC power supplies via serial/USB or Ethernet

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

weinshec/kwr103

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KWR103

Remote control Korad KWR103 type programmable DC power supplies via serial/USB or ethernet/UDP.

Installation

Choose from the following options

  • Download the pre-compiled binary matching your target platform from the Releases page

  • Build the binary from source by cloning this repository and run cargo build --release

Usage

For library usage, please refer to the documention at docs.rs

For command line usage, please refer to the built-in help

❯ kwr103 help
Remote control Korad KWR103 programmable DC power supplies

Usage: kwr103 [OPTIONS] <COMMAND>

Commands:
  voltage  Set the output voltage
  current  Set the output current
  output   Turn power supply output 'on' or 'off'
  status   Show current output voltage and current
  info     Show system information
  dhcp     Turn DHCP 'on' or 'off'
  help     Print this message or the help of the given subcommand(s)

Options:
      --device <DEVICE>  Specify device for serial connection [example: /dev/ttyACM0]
      --ip <IP>          Specify IP address for ethernet connection [example: 192.168.1.195]
      --port <PORT>      UDP port for ethernet connected devices [default: 18190]
      --baud <BAUD>      Serial baud rate [default: 115200]
      --id <ID>          Optional RS485 device ID
  -h, --help             Print help
  -V, --version          Print version

Example usage:

❯ kwr103 status
Output: Off, Voltage[V]: 0.000, Current[A]: 0.000

❯ kwr103 output on
❯ kwr103 status
Output: On, Voltage[V]: 42.000, Current[A]: 0.131

Acknowledgments

The development of this crate is heavily inspired by Nicoretti/ka3005p

About

Remote control Korad KWR103 programmable DC power supplies via serial/USB or Ethernet

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages