{"id":20210639,"url":"https://github.com/nicoretti/ka3005p","last_synced_at":"2025-09-05T12:31:20.676Z","repository":{"id":40557448,"uuid":"280833403","full_name":"Nicoretti/ka3005p","owner":"Nicoretti","description":"Command line tool to remote control Korad, Tenma, RS, Velleman, Stamos, power supplies and other clones.","archived":false,"fork":false,"pushed_at":"2024-07-01T12:15:16.000Z","size":4962,"stargazers_count":24,"open_issues_count":9,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-24T23:06:38.095Z","etag":null,"topics":["hacktoberfest","ka3000","ka3005p","konrad","korad","power-supply","pyo3","python","remote-control","rs","serial","stamos","tenma","velleman"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nicoretti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-19T09:31:36.000Z","updated_at":"2024-10-22T13:41:16.000Z","dependencies_parsed_at":"2024-05-01T14:12:51.271Z","dependency_job_id":"b5964ae6-5688-4272-a4bc-af082fac4742","html_url":"https://github.com/Nicoretti/ka3005p","commit_stats":{"total_commits":91,"total_committers":6,"mean_commits":"15.166666666666666","dds":"0.43956043956043955","last_synced_commit":"7fde4479a9db63753e5b8a99cc1eee5b551edb10"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicoretti%2Fka3005p","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicoretti%2Fka3005p/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicoretti%2Fka3005p/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicoretti%2Fka3005p/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nicoretti","download_url":"https://codeload.github.com/Nicoretti/ka3005p/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232040060,"owners_count":18464038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","ka3000","ka3005p","konrad","korad","power-supply","pyo3","python","remote-control","rs","serial","stamos","tenma","velleman"],"created_at":"2024-11-14T05:48:50.543Z","updated_at":"2025-01-01T01:17:08.993Z","avatar_url":"https://github.com/Nicoretti.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Rust](https://github.com/Nicoretti/ka3005p/workflows/Rust/badge.svg)\n[![Crates.io](https://img.shields.io/crates/v/ka3005p.svg)](https://crates.io/crates/ka3005p)\n[![documentation](https://docs.rs/ka3005p/badge.svg)](https://docs.rs/ka3005p)\n![Crates.io](https://img.shields.io/crates/d/ka3005p)\n![GitHub](https://img.shields.io/github/license/Nicoretti/ka3005p)\n\n# KA3005P\nCommand line tool to control power supplies created by Korad, Tenma, RS, Velleman, Stamos, (and other clones) via their serial interface.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src='TenmaPSU.jpg' width=\"75%\" height=\"75%\"\u003e\n\u003c/p\u003e\n\n\n## Usage\nExample (Getting Help):\n```bash\n\u003e ka3005p -h\nka3005p 0.2.2\nControls a KA3005P bench power supply through its serial interface\n\nUSAGE:\n    ka3005p [OPTIONS] \u003cSUBCOMMAND\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -d, --device \u003cdevice\u003e    Manually select power supply serial device\n\nSUBCOMMANDS:\n    beep           Enable/Disable Beep\n    current        Set the current of the ouput or config\n    help           Prints this message or the help of the given subcommand(s)\n    interactive    Read commands from stdin and execute them\n    list           list possible power supply devices\n    load           Loads config settings of specified no\n    ocp            Enable/Disable over current protection\n    ovp            Enable/Disable over voltage protection\n    power          Turns on or off the ouput of the power supply\n    save           Saves current pannel settings to specified config\n    status         Return status inforation about the power spply\n    voltage        Set the voltage of the ouput or config\n```\n\n```bash\n# Get the current status of the power supply. Note the power supply is automatically detected\n\u003e ka3005p status\nVoltage: 12.00, Current: 0.304, Channel1: CV, Channel2: CV, Lock: Off, Beep: On, Output: On\n\n\u003e ka3005p power off\n\u003e ka3005p status\nVoltage: 12.00, Current: 0.305, Channel1: CV, Channel2: CV, Lock: Off, Beep: On, Output: Off\n\n\u003e ka3005p voltage 12.1\n\u003e ka3005p status\nVoltage: 12.10, Current: 0.303, Channel1: CV, Channel2: CV, Lock: Off, Beep: On, Output: Off\n\n# If you need to manually specify the power supply e.g. If you have multiple plugged in\n\u003e ka3005p -d /dev/ttyUSB0 status\nVoltage: 12.10, Current: 0.302, Channel1: CV, Channel2: CV, Lock: Off, Beep: On, Output: Off\n```\n\n## Installation\n1. Grab the latest binaries from the [Releases](https://github.com/JackNewman12/ka3005p/releases)\n2. Run the binary!\n3. Optionally copy to your bin folder for system wide access\n```bash\nmv ka3005p-x86_64-unknown-linux-musl /usr/bin/ka3005p\n```\n## Building\nBuilding of the musl versions should be as simple as\n```bash\ngit clone git@github.com:Nicoretti/ka3005p.git\ncd ka3005p\ncargo build --release --target x86_64-unknown-linux-musl\n```\n\nIf you wish to build the gnu versions you will need to download the libudev dependency. \n```bash\nsudo apt install libudev-dev\n```\n\n## Known working power supplies\nIf this tool works for you please add your device to this list:\n* Korad KA3005P\n* Tenma 72-2540\n* RS PRO RS6005p\n\n## Interactive Mode\nUsing the interactive mode you can send continues stream of commands to the power supply.\nThis can be used e.g. to apply an automated voltage ramp.\n\n```bash\n\u003e python3 ramp.py -f 10 -t 20 -p 10 | ka3005p interactive\n```\n\nFor more details check out the `ramp.py` script in `scripts/ramp.py`.\n\n# License\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or\n  http://www.apache.org/licenses/LICENSE-2.0)\n\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoretti%2Fka3005p","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicoretti%2Fka3005p","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoretti%2Fka3005p/lists"}