
Unit-t Ut61e Cable Usb
ut61e (Python)
This is a Python package helping you to capture and interpret data fromthe digital multimeter Uni-T UT61E. You can easily install it via pip
.
UT61 series complies with CE, ETL, and GS standards. This series is all auto range with selectable True RMS models (UT61D/E). This series has an abundant of features and is combined with high safety rating of CAT IV 600V. I got 2 UNI-T UT61E with USB cable (50€ each) With sigrok you can easily get data from many device with a single command: sigrok-cli –driver=uni-t-ut61e:conn=BUS.DEVICE -O analog –continuous Where BUS and DEVICE is replaced with the output of lsusb lsusb Bus 002 Device 002.
Tools which this package provides:
es51922
– Interprets the output of the ES51922 chip
This utility interprets data sent by the Cyrustek ES51922 chipused in the Uni-Trend digital multimeter UT61E.It reads lines from stdin, tries to interpret them as messagesfrom the chip and prints basic information on the stdout.In addition it writes a CSV file with a lot more informationto the working directory.
he2325u_hidapi
– Reads from the USB/HID adapter cable using HIDAPI
This tool tries to read from the adapter cable using the HID APIprovided by the operating system. It relies on cython-hidapi.
The tool is called after the original chip from the USB/HID cableswhich was the Hoitek HE2325U. Nowadays those cables come with anewer chip called WCH CH9325 but the way to get data out of themdidn't change.
This tool prints its output to stdout so that you can directlypipe it into es51922
.Works on Linux and Mac OS X (Windows not tested) without root access.On Linux you may have to create a udev rule in order to get accessto the /dev/hidrawX
device as a regular user.
he2325u_pyusb
– Reads from the USB/HID adapter cable using PyUSB
This tool is very much similar to he2325u_hidapi
as it alsoallows to read from the USB/HID adapter cable. It also prints itsoutput to stdout. It uses PyUSB instead of HIDAPI which in turn usesdirect libusb calls to talk to the adapter. Needs to be run as root.Works on Linux only.
Installation
This Python package is registered on PyPI with the nameut61e.To install it, simply run
Usage
To read data from the USB/HID adapter cable and interpretit as Cyrustek ES51922 information, you can do:
Requirements
You need either Python2 or Python3 to run this software.
Best kind there is.”“When did they last hang a man in this state?” asked Shadow.“How the hell should I know?” Lyesmith kept his orange-blond hair pretty much shaved. Gallows humor. Aurora borealis draughts serial killer.
If you want to run he2325u_hidapi
, you need cython-hidapi.
If you want to run he2325u_pyusb
, you need PyUSB.
To analyze output using es51922
you don't need any external modules.
Software using this Package
I also wrote a web interface for the display of the UT61E.I put it in the repository ut61e-webon Github. It relies on the tools from this package.
Alternatives
There is also a C++ based software out there which can read and interpretthe data from the digital multimeter. The older version is calleddmm_ut61e and the newer version ut61e-linux-sw, both of whichyou can find in my repository ut61e_cpp on Github.
If you run Windows, you may be better off withDMM.exe,an open source tool provided by Henrik Haftmann.
Acknowledgement
The file es51922.py was originally written by Domas Jokubauskis (1)and was reused in this project. I'm very grateful to his work andthe work of many others spent on analyzing the USB/HID interface and theprotocol, including Steffen Vogel (2) and Henrik Haftmann (3).
Licence and Authors
This software is licenced under the LGPL2+
Authors:
- Philipp Klaus (philipp.l.klaus@web.de)
- Domas Jokubauskis (domas@jokubauskis.lt)