Author Topic: AMPX1 Process Calibrator Multimeter  (Read 340 times)

0 Members and 1 Guest are viewing this topic.

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3759
  • Country: au
AMPX1 Process Calibrator Multimeter
« on: October 10, 2019, 11:33:52 am »
Here is some code to dump the USB output of the "INSANE A 0.02% Process Meter for $9? WTF" multimeter describes in Dave's #1248 blog.

It is a modified version of the code from this site:

https://sourceforge.net/projects/qm1571-multimeter/files/

It gives a continuous output like this:

+2.496 V DC, AUTO
+2.496 V DC, AUTO
+2.496 V DC, AUTO
+2.496 V DC, AUTO
+2.496 V DC, AUTO

You have to edit it for the correct COM port. This one is set to COM3, but check Device Manager for the correct port. For Linux, you will have to change it to something like '/dev/ttyUSB0'.

It should work with Python 2 and 3, but I tested it on Python 3.7.

Richard
« Last Edit: October 10, 2019, 12:11:25 pm by amspire »
 
The following users thanked this post: BravoV, thm_w, Xenoamor, Kosmic

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3759
  • Country: au
Re: AMPX1 Process Calibrator Multimeter
« Reply #1 on: October 10, 2019, 12:08:59 pm »
Found a couple of typo's. Here is an updated version.

If the code from the multimeter is messed up, you get an output like this:

-018.0 mV DC, AUTO
-018.0 mV DC, AUTO
? 17.2f.3d.40.55.67.7f.8f.9d.a0.b8.c0.c0.e8
-018.0 mV DC, AUTO
-018.0 mV DC, AUTO

In this case, there were two 0xC0's and the 0xD0 was missing.
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3759
  • Country: au
Re: AMPX1 Process Calibrator Multimeter
« Reply #2 on: October 10, 2019, 01:18:27 pm »
This program also works to capture the serial output of the AMPX1:
http://www.postcogito.org/Kiko/UtSixtyEDecoder.html#Features

This means that it should be possible to get Sigrok to work, but I haven't worked out how to use it yet. Sigrok-cli can see the Silabs CP2101 on the COM3 port, but when I run this:

sigrok-cli -d uni-t-ut60e:conn=COM3  -C P1 --continuous -O analog

it complains about no HID-PID. There should be a way to use the com port, but the documentation is very meagre.

Any sigrok experts out there?
« Last Edit: October 10, 2019, 01:20:18 pm by amspire »
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 1585
  • Country: us
Re: AMPX1 Process Calibrator Multimeter
« Reply #3 on: October 11, 2019, 08:54:43 am »
Cool.  Marked. 
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf