ID: | 5104 |
From: | Majenko Technologies <ma...@majenko.co.uk> |
Date: | Sat, 4 Sep 2021 14:24:43 +0100 |
Subject: | Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto |
in-reply-to: | 5103 from rn...@igor2.repo.hu |
replies: | 5107 from rn...@igor2.repo.hu , 5108 from rn...@igor2.repo.hu |
--00000000000073f32a05cb2b570e Content-Type: text/plain; charset="UTF-8" Nice. I have a UI61E as my main DMM and use sigrok as a go-between between the DMM and my own programs. Maybe this can help me make my setup a little lighter. Does it support the USB interface? It's not a serial USB interface but a HID one. On Sat, Sep 4, 2021 at 2:11 PM <rnd2@igor2.repo.hu> wrote: > Hi all, > > since this list is not only about pcb-rnd but about electronics in > general, some of you may find this useful. > > I had to buy a new handheld DMM and the model I got happens to have > opto-isolated serial line and sends readouts twice a second. It's an > UT61E, based on the ES51922 DMM chip. I looked at how others read the > data on Linux, and found the usual sad stuff: > > - proprietary windows-only software, > > - a sigrok plugin that would require a whole sigrok installation just to > be able to print a voltage, > > - script implementations depending on the whole python universe and some > "get it from github" serial line lib > > I really prefer my software be as simple as possible, so I decided this > needs an "-rnd solution". The chip has a detailed datasheet so the > protocol is known. After a few hours of coding, I've released this: > > http://repo.hu/projects/ut61/ > > Main properties: > > - reentrant lib for opening the port and decoding the protocol > > - a command line utility that is very flexible on how it prints the > decoded readout on stdout > > - all implemented in plain C89 with no external dependencies > > - should run on any *NIX that has the basic termios libc API for setting > up the serial port (I normally use stty for this, but the DMM adaptor > requires DTR and RTS set up in a specific way that is just not possible > with stty). > > - permissive license (LGPL) > > - "old-style" project with author/contact info, documentation, releases > > If you have a DMM with rs232 or USB connection and it has the same chip > or you suspect it speaks the same protocol, give it a try! > > Best regards, > > Igor2 > > > -- *Matt Jenkins* Majenko Technologies https://majenko.co.uk --00000000000073f32a05cb2b570e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Nice. I have a UI61E as my main DMM and use sigrok as a go= -between between the DMM and my own programs. Maybe this can help me make m= y setup a little lighter. Does it support the USB interface? It's not a= serial USB interface but a HID one.<br></div><br><div class=3D"gmail_quote= "><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Sep 4, 2021 at 2:11 PM <= <a href=3D"mailto:rnd2@igor2.repo.hu">rnd2@igor2.repo.hu</a>> wrote:<br>= </div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b= order-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br> <br> since this list is not only about pcb-rnd but about electronics in <br> general, some of you may find this useful. <br> <br> I had to buy a new handheld DMM and the model I got happens to have <br> opto-isolated serial line and sends readouts twice a second. It's an <b= r> UT61E, based on the ES51922 DMM chip. I looked at how others read the <br> data on Linux, and found the usual sad stuff: <br> <br> - proprietary windows-only software, <br> <br> - a sigrok plugin that would require a whole sigrok installation just to <b= r> be able to print a voltage,<br> <br> - script implementations depending on the whole python universe and some <b= r> "get it from github" serial line lib<br> <br> I really prefer my software be as simple as possible, so I decided this <br= > needs an "-rnd solution". The chip has a detailed datasheet so th= e <br> protocol is known. After a few hours of coding, I've released this: <br= > <br> <a href=3D"http://repo.hu/projects/ut61/" rel=3D"noreferrer" target=3D"_bla= nk">http://repo.hu/projects/ut61/</a><br> <br> Main properties:<br> <br> - reentrant lib for opening the port and decoding the protocol<br> <br> - a command line utility that is very flexible on how it prints the <br> decoded readout on stdout<br> <br> - all implemented in plain C89 with no external dependencies<br> <br> - should run on any *NIX that has the basic termios libc API for setting <b= r> up the serial port (I normally use stty for this, but the DMM adaptor <br> requires DTR and RTS set up in a specific way that is just not possible <br= > with stty).<br> <br> - permissive license (LGPL)<br> <br> - "old-style" project with author/contact info, documentation, re= leases<br> <br> If you have a DMM with rs232 or USB connection and it has the same chip <br= > or you suspect it speaks the same protocol, give it a try!<br> <br> Best regards,<br> <br> Igor2<br> <br> <br> </blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g= mail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><b>Matt Jenkins</b><= div>Majenko Technologies</div><div><a href=3D"https://majenko.co.uk" target= =3D"_blank">https://majenko.co.uk</a></div></div></div></div></div> --00000000000073f32a05cb2b570e--
Reply subtree:
5104 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto from Majenko Technologies <ma...@majenko.co.uk>
5107 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial from rn...@igor2.repo.hu
5108 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial from rn...@igor2.repo.hu
5109 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto from Majenko Technologies <ma...@majenko.co.uk>
5110 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto from Majenko Technologies <ma...@majenko.co.uk>
5111 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto from Majenko Technologies <ma...@majenko.co.uk>
5112 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial from rn...@igor2.repo.hu
5114 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto from Majenko Technologies <ma...@majenko.co.uk>
5116 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial from rn...@igor2.repo.hu
5117 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto from Majenko Technologies <ma...@majenko.co.uk>
5113 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial from rn...@igor2.repo.hu
5115 Re: [pcb-rnd] [electronics] minilib and utility for DMM serial proto from Majenko Technologies <ma...@majenko.co.uk>