Giter Site home page Giter Site logo

kiprim-dc310s's Introduction

Serial Commands for KIPRIM DC310S Voltage/Current Supply

I recently purchased a KIPRIM Power Supply DC310S and reverse engineered the following commands for USB serial control.

Feel free to contribute additional commands via pull request.

EDIT: It appears to be a rebranded version of OWON SPE3103. A documentation of serial commands is available.

Serial Connection Settings

Setting Value
baud rate 115200
data bits 8
parity bit none
stop bit 1

Read/Get Commands

Get commands are tailed with a line feed (0x0a). While the official software appears to apply upper-case for the first three letters, commands appear to be case insensitive.

Returns are ASCII tailed with CR LF (0x0d 0x0a).

Invalid commands appear to return ERR.

Command Return Description
*idn? KIPRIM,<model, eg.DC310S>,<serial no.>,FV:Vx.x.x get manufacturer, model, serial no, firmware version
output? ON or OFF get if power supply is active
measure:current? (x)x.xxx get measured current
measure:voltage? (x)x.xxx get measured voltage
current? (x)x.xxx get set current
voltage? (x)x.xxx get set voltage
current:limit?
curr:lim?
(x)x.xxx get measured current
voltage:limit?
volt:lim?
(x)x.xxx get measured voltage

Write/Set Commands

Get commands are tailed with a line feed (0x0a). While the official software appears to apply upper-case for the first three letters, commands appear to be case insensitive.

ToDo: Not sure if there is any return for valid/invalid set commands. At the moment, I don't see any.

Command Description
output <0/1> set power supply off/on
current (x)x.xxx set current
voltage (x)x.xxx set voltage
current:limit (x)x.xxx set current limit
voltage:limit (x)x.xxx set voltage limit

Untested commands from OWON pdf (TODO)

  • measure:power?
  • *RST

kiprim-dc310s's People

Contributors

maximweb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.