J
J
Juretsky2015-11-03 18:42:11
Automation
Juretsky, 2015-11-03 18:42:11

How to disassemble Mastech MS6530 pyrometer protocol?

Non-contact infrared thermometer Mastech MS6530 has a USART connector. We connected it to a computer and read the transmitted temperature readings. We got this (the temperature values ​​\u200b\u200bfrom the device display are indicated next to it):

00 00 00 4C 99 E2 F6 FE 0E A4 62 2A 76 00 11 52 42 CA 9C FC :  22.1
00 00 00 4C 99 E2 76 FC 0A A4 C6 2A 5A FE F6 FA 52 2E 5E DA :  32.2
00 00 00 4C 99 E2 8A 06 10 7A 49 99 C8 1D 00 0A 42 16 CE FE : -11.8
00 00 00 4C 99 E2 A6 EE 0A A4 66 2A 7E F2 F6 F2 52 3E 36 F3 :  77.0

The studies followed this description a little. True, our packages are slightly different.
How to decode this data?
We need to transfer this data to the arduino and convert it to temperature values ​​there.
Here are a few more packages around room temperature:
00 00 00 4C 99 E2 C6 FE 1A A4 26 2A 4E 00 0D 56 4A 2A 9A FF
00 00 00 4C 99 E2 CE FE 1A A4 26 2A 56 00 0E 56 4A 12 99
00 00 00 4C 99 E2 D2 FE 1A A4 26 2A 5A 00 07 56 4A 1E 11
00 00 00 4C 99 E2 D6 FE 1A A4 26 2A 5E 00 07 56 4A 2A DC
00 00 00 4C 99 E2 DA FE 16 A4 26 2A 5E 00 07 52 4A C6 96 FF
00 00 00 4C 99 E2 1E FC 16 A4 26 2A 0E FE C2 FA 52 4A B6 DE FC
00 00 00 4C 99 E2 DA 16 A4 26 2A D2 FC 96 FA 52 4A EE 2A FE
00 00 00 4C 99 E2 E6 16 A4 26 2A DA FC 96 FA 52 4A B6 24 FF
00 00 00 4C 99 E2 FA 16 A4 26 2A EE FC AA FA 52 4A 32 0E
00 00 00 4C 99 E2 F6 12 A4 26 2A EA FC A6 FA 52 4A CE F2
00 00 00 4C 99 E2 E2 12 A4 26 2A DA FC 9A FA 52 4A 72 CC FC
00 00 00 4C 99 E2 D6 12 A4 26 2A CE FC 92 FA 52 4A 32 A4 FF
00 00 00 4C 99 E2 DE FE 12 A4 26 2A 5E 00 07 52 4A CE 62

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
evgeny_boger, 2015-11-03
@evgeny_boger

There is little data. You need to collect:
1) consecutive packets in the order they come. A slice of ten
2) It is necessary to collect packets with the same readings on the screen
3) there is a lot of data, and the numbers are small, then you need more information about what kind of device it is and what it can physically output. According to the link there, by the way, two numbers are written for some reason, and you write one.

L
lialname2000, 2015-11-04
@lialname2000

WE seem to get raw data at the output (like an ADC), and the formula should be anyway - after all, the pyrometer measures in C and F, and the input is always a raw value (ADC (!)).
And one more thing... to look at the data at 0.0 and 100.0 C.
}.A

A
Alexander, 2015-11-04
@NeiroNx

Have you tried asking the manufacturer? Or at the dealer www.mastech.ru/adress.htm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question