Home > Equipment, Linux, Software > Uni-T UT61D for Linux

Uni-T UT61D for Linux


I recenetly purchased a digital multimeter called Uni-T UT61D.
It’s a fairly nice model with decent precision and a build quality that feels good. It’s auto-ranging and measures a little bit of everything. It’s a real improvement to my old basic device and this one also has auto power-off which was a requirement for my new DMM. I’m so tired of putting new batteries in the old one whenever I forget to turn it off (which is all the time). It’s also good to have access to two DMM’s at the same time.

The UT61D has also got a serial interface that connects the DMM to a computer via RS232 or USB. This seemed like a cool feature but of course there were no drivers or applications included for Linux so I started to scan the web for solutions. I could have used a Windows computer but where’s the challenge in that?
Some guys have figured out and written tools for the UT61A, UT61B, UT61C & UT61E which are similar but none seemed to have done much work with the 61D.

he2325u printing raw data from the UT61D

he2325u printing raw data from the UT61D


I could find one driver that after some tweaking extracted data over USB. It was the he2325u by Rainer Wetzel.
His package also included a parser and a plotter that could be used to process the raw data coming out of the he2325u software.
They didn’t work with the 61D because they were written for 61E which has an entirely different protocol.

However the protocol for the B, C, D models is identical. I found a few apps that should work with these models but they were all using RS232 and not the USB HID connection that I wanted to use.


After going through my options I decided to modify one of them so that instead of reading data from RS232 it would read from stdin so that I could pipe data from he2325u to it and use it as a pure parser. The one I settled with was a perl script called dmmut61b which was written by H.P. Stroebel. It had a nice feature set and was easy to modify. Mr Stroebel was also helpful during later troubleshooting because unfortunately it turned out that I was loosing some information somewhere and in the end that turned out to be because the he2325u software wasn’t fully compatible with the B,C,D models protocol. It was masking out bits that contained the micro prefix for μF and μA so they turned up like F and A instead.
With that fixed it finally worked as I wanted.

dmmut61bcd parsing data from he2325u

dmmut61bcd parsing data from he2325u

I have collected modified tools, scripts and source code in an archive in case anyone else needs it: ut61d.zip
The he2325u binary in that archive is my modified version that is working well on my 32-bit Ubuntu 12.04 setup.


Protocols documented by Henrik Haftmann
dmm61b by H.P. Stroebel
he2325u by Rainer Wetzel
Uni-Trend documentation
How to get the USB PID device running in Linux

Categories: Equipment, Linux, Software
  1. Jörgen Söderlund
    2012-08-08 at 19:04

    The ones who uses W7 (Ultimate) meets same problems with USB functionality, as for example i have W7Ultimate and bought recently the UT61D with usb adapter, when i plugged in the adapter the response i get from windows is “USB device is not reconized” and that´s that! I have been searching the net for a solution but it seem far fetched to find any. I´ve tried several solutions but i can´t get the USB Hub to reconize the usb cable. I must be doing something very wrong as some of UT61D owners out there obviously get it to work? A usb solution for a windows 7 is preciated. Or i have to settle for RS232 connectivity!

    • 2012-08-08 at 20:59

      I don’t see that problem in Windows 7 and I’ve tried both x86 and x64 versions of Windows 7 with SP1.
      When I plug the device into a Windows 7 computer it is searching for and installing a driver from Windows Update.
      The device installed is a standard HID device called USB Input Device and is sorted under the Human Interface Devices class.
      PNP Hardware ID: USB\VID_1A86&PID_E008

  2. Jörgen Söderlund
    2012-08-26 at 05:56

    In the properties for the “Unknown Device” i get code 43 (This device has been stopped), at one time when i ran the autoupdate for the driver i got a hit with one driver but it failed to install. And when i run it now it says i got the appropiate driver already. (Catch 22???) and i tried to look in the list of general drivers this one you speak of isn’t there???
    My system consist of W7 Ultimate, Intel I5,8 GB ram, ASUS 530TI PCIE16, Cardreader, SATA drives 2 HDD & 1 DVDRW, Soundblaster XiFi Fatal 1TY with frontpanel. (in case of some of these can interfer with the USB) Although i have a lot of usb devices attached as WIFI, Printer, Internet via windows mobile, wireless mouse and keyboard but i don’t think this is the problem, my other portable devices work? as my MP4 watch, usb flashmems asf. the problem lies in the ability to install the driver, you don’t know of any standalone driver that might work to replace the existing “Unknown Device” i have searched for one but haven’t had any luck so far!

    • 2012-08-26 at 13:26

      I don’t have any ideas of alternate drivers for Windows. Sorry!

  3. Jörgen Söderlund
    2012-08-31 at 09:15

    Thanx anyway for all your help! but i have given up on usb, i went with the rs232 interface instead, and it works like a charm. Dough it’s not as fast as USB but it serves me well enough.
    With kind regards

  4. 2013-02-23 at 15:29

    Hi, I just bought one of these toys today and thanks to this post I made it work like a charm in my laptop. This is wonderful. However, I didn’t manage to make it work in any of my Raspberry Pi’s. The code and the driver are fine. I compile and run the tool. But it never manages to read. The reason seems to be on the suspend.HE2325U.sh which points to ${dat}/power/level file and, well, it happens that the Raspberry Pi do not have such file. It says:

    sudo ./suspend.HE2325U.sh
    ./suspend.HE2325U.sh: 6: ./suspend.HE2325U.sh: cannot create /sys/bus/usb/devices/1-1.3/power/level: Directory nonexistent

    Do you happen to know any alternative way to suspend the device so it can be used in the Raspberry Pi?

    • 2013-02-24 at 10:27

      I have no idea. Sorry.

  5. Thomas Frössman
    2014-08-17 at 22:11

    Thanks! I just started to modify this package somewhat: https://github.com/thomasf/uni-trend-ut61d

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: