Skip to content
/ dmr5200 Public

A small library and utility to read data from a Circuit-Test DMR-5200 multimeter.

License

Notifications You must be signed in to change notification settings

awm/dmr5200

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DMR-5200 Interface Library

This is a simple library to read and format data from the serial interface on a Circuit-Test DMR-5200 digital multimeter. The connection settings and data format for the meter are described in Section 8 of the DMR-5200 manual.

The included dmr5200 script illustrates how to use the library, and can be used as a simple tool to generate CSV formatted readings from a connected multimeter.

The library assumes that the multimeter has already been put into RS-232 mode using the procedure described in Section 8 of the manual.

Installation

To install the library, first install pyserial and setuptools, and then run

python setup.py install

dmr5200 Script Usage

dmr5200 <serial_port> <request_interval>

Where serial_port is the serial device that the multimeter is connected to, and request_interval is the floating point polling interval in seconds. The meter generally takes a second or two to process and respond to each request, so setting an interval below about 2 seconds will have little effect.

The command

dmr5200 /dev/ttyUSB0 5

will take a reading every 7 seconds or so (allowing for the meter processing time) from the meter connected to /dev/ttyUSB0 and write it as a comma separated record to stdout.

The CSV format is as follows:

function,value,units,timestamp

and the first line printed has the comma separated column headings.

About

A small library and utility to read data from a Circuit-Test DMR-5200 multimeter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages