| Author |
Message |
star882

Joined: 11 Aug 2005
Posts: 282
|
Posted:
Thu Sep 13, 2007 3:31 am |
  |
Can someone decode this? I'm trying to write my own data acquisition software for a multimeter. But first, I have to reverse engineer it!
Here are some hex dumps
60Hz:
11 27 3d 47 5e 67 7d 8f 9d a0 b0 c0 d2 e8
0Hz:
11 27 3d 4f 5d 67 7d 87 9d a0 b0 c0 d2 e8
1Mohm:
13 20 35 4f 5d 67 7d 87 9d a0 b2 c4 d0 e8
0.988kohm:
13 27 3d 4b 5f 67 7f 83 9f a2 b0 c4 d0 e8
98.2ohm:
13 27 3d 43 5f 67 7f 89 9f a0 b0 c4 d0 e8
0v:
17 27 3d 4f 5d 67 7d 87 9d a0 b0 c0 d4 e8
5.27v:
17 27 3d 43 5e 6d 7b 81 95 a0 b0 c0 d4 e8
-5.27v:
17 2f 3d 43 5e 6d 7b 81 95 a0 b0 c0 d4 e8 |
_________________ HDTV the way it should be: http://www.mariposahd.tv |
|
  |
 |
ry.david

Joined: 05 Aug 2005
Posts: 697
Location: Hard to Explain
|
Posted:
Thu Sep 13, 2007 4:33 pm |
  |
I like pointing out the obvious:
It looks like the first byte is the mode the multimeter is in, and the second byte the scale it is set to.
Could the last byte be part of a xsum since they are the same through all of the dumps? |
|
|
   |
 |
star882

Joined: 11 Aug 2005
Posts: 282
|
Posted:
Thu Sep 13, 2007 6:57 pm |
  |
|
  |
 |
sailpix

Joined: 14 Apr 2005
Posts: 620
Location: wait...wait..no, keep going...ok there.
|
Posted:
Thu Sep 13, 2007 9:26 pm |
  |
I tend to agree with ry.david's guess that the 1st byte is the measurement mode (freq, resistance, voltage, etc.)
I don't agree that the last byte is a checksum. Based on the +/- 5.27V readings, there isn't a separate checksum byte, since those just differ in an early byte and are, otherwise, identical.
I think that the final E8 byte is a termination/sample-separator byte.
Beyond that, you'll need more data to fully decode stuff. Another approach - seen in the 1st link you posted - is to look at each sample as ASCII. Perhaps that shows you something? |
_________________ - sailpix _/) _/) |
|
  |
 |
star882

Joined: 11 Aug 2005
Posts: 282
|
Posted:
Thu Sep 13, 2007 9:52 pm |
  |
|
  |
 |
ry.david

Joined: 05 Aug 2005
Posts: 697
Location: Hard to Explain
|
Posted:
Thu Sep 13, 2007 11:23 pm |
  |
Could you hook it up to a variable power supply and get many different samples to compare with? That would make the voltage side a little easier, and probably once you figure that out, then it will probably carry over to resistance and freq. |
|
|
   |
 |
star882

Joined: 11 Aug 2005
Posts: 282
|
Posted:
Fri Sep 14, 2007 3:28 am |
  |
I got an idea: how about download the original program and try inputting your own data to see how it works? To start, it uses 2400 8N1 from what a serial sniffer could tell. |
_________________ HDTV the way it should be: http://www.mariposahd.tv |
|
  |
 |
|
|