Difference between revisions of "HYELEC MS8236"

From sigrok
Jump to navigation Jump to search
(→‎Protocol: Digits)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox multimeter
{{Infobox multimeter
| image          = [[File:HYELEC_MS8236.png|180px]]
| image          = [[File:Sigrok_logo_no_text_transparent_512.png|180px]]
| name            = HYELEC MS8236
| name            = HYELEC MS8236
| status          = planned
| status          = planned
| source_code_dir =  
| source_code_dir =  
| counts          = 6000
| counts          = 6000
| categories      = CAT III (1000V)
| categories      = CAT III (1000V) / CAT IV (600V)
| connectivity    = USB
| connectivity    = USB
| measurements    = voltage, resistance, diode, capacitance, frequency, current, hFE, temperature
| measurements    = voltage, resistance, diode, capacitance, frequency, current, hFE, temperature
| features        = autorange, true-rms, data hold, delay hold, min/max, relative, bargraph, backlight
| features        = autorange, true-rms, data hold, delay hold, min/max, relative, bargraph, backlight
| website        =  
| website        = [http://www.hy-elec.com/En/Default.aspx hy-elec.com]
}}
}}


The '''HYELEC MS8236''' is a 6000 counts, CAT III (600V) handheld digital multimeter with USB connectivity.
The '''HYELEC MS8236''' is a 6000 counts, CAT III (1000V) / CAT IV (600V) handheld digital multimeter with USB connectivity.


See [[HYELEC MS8236/Info]] for more details (such as '''lsusb -v''' output) about the device.
See [[HYELEC MS8236/Info]] for more details (such as '''lsusb -v''' output) about the device.
Line 18: Line 18:
== Hardware ==
== Hardware ==


* '''Main IC''': Hycontek HY11P14
* '''8-bit MCU with 4x40 LCD driver and 18-bit ADC''': [http://www.hycontek.com/e-page2-HY11P.html Hycontek HY11P14] ([http://www.hycontek.com/attachments/MSP/DS-HY11P14_EN.pdf datasheet], [http://www.hycontek.com/attachments/MSP/UG-HY11S14_EN.pdf user's guide])
* '''USB to serial IC''': CH340G
* '''USB to serial IC''': [http://www.wch.cn/product/CH340.html WCN CH340G] ([http://www.wch.cn/downfile/79 datasheet])


== Photos ==
== Photos ==
Line 26: Line 26:


<gallery>
<gallery>
File:Hyelec ms8236 pcb top.jpg|<small>PCB, top</small>
File:Hyelec ms8236 pcb bottom.jpg|<small>PCB, bottom</small>
File:Hyelec ms8236 interface.jpg|<small>USB interface</small>
</gallery>
</gallery>
TODO.


'''USB cable:'''
'''USB cable:'''
Line 47: Line 49:
{| border="0" style="font-size: smaller" class="alternategrey sigroktable"
{| border="0" style="font-size: smaller" class="alternategrey sigroktable"
|-
|-
! Bit 7
! Bit 7 !! Bit 6 !! Bit 5 !! Bit 4 !! Bit 3 !! Bit 2 !! Bit 1 !! Bit 0
! Bit 6
|-
! Bit 5
| DP || A || B || C || D || E || F || G
! Bit 4
|}
! Bit 3
! Bit 2
! Bit 1
! Bit 0


|-
'''Example''': In the protocol a byte of '''0x3F''' ('''0 0111111''') represents the digit '''9''' on the LCD, where the decimal point is '''not''' displayed  (bit 7 is not set). All other bits except for bit 6 (segment A, see above) are set, i.e. the respective LCD segments are displayed.
| DP
 
| A
The meter have an NCV icon but the function is not documented on the manual, I wasn't able to trigger it, it's probably not implemented.
| B
Everything with a (?) after is doubtful or impossible to confirm.
| C
 
| D
Protocol consists of 22 bytes:
| E
 
| F
Bytes 1 to 6: Always AA 55 52 24 01 10 . Probably some kind of header to test if transmission is ok, as the protocol doesn't have any kind of CRC.
| G
 
Bytes 7 to 10: Next four bits are the big LCD numbers, from right to left, in the format already specified by uwe_ on the wiki.
 
Byte 11: 00000000 -> Diode icon
        |||||||---> AC
        ||||||----> DC
        |||||-----> -  
        ||||------> - (yeah, both bits set to 1 when displaying "minus")
        |||-------> "Progess bar cue" -the bar with the 0 - 10 - 20 - ...
        ||--------> Continuity tester "sound" icon
        |---------> Battery
 
Bytes 12 to 18: that "progress bar on the top". Dunno what's its use, probably we can ignore it
 
Byte 19: 00000000 -> More progress bar thingy
        |||||||---> More progress bar thingy
        ||||||----> More progress bar thingy
        |||||-----> More progress bar thingy
        ||||------> Wait... (?) (Never shown on the PC but as it is a LCD protocol probably goes mapped here internally even if it never get transmited to the PC)
        |||-------> Auto
        ||--------> HOLD (?) (USB transmission seems to stop when Hold is activated)
        |---------> REL
 
Byte 20: 00000000 -> USB Icon (Of course, always on)
        |||||||---> MAX
        ||||||----> - (between MAX and MIN)
        |||||-----> MIN
        ||||------> N/A (?)
        |||-------> %
        ||--------> hFE
        |---------> N/A (?)


|}
Byte 21: 00000000 -> C
        |||||||---> F (temp)
        ||||||----> N/A (?)
        |||||-----> N/A (?)
        ||||------> m (in the Farads line)
        |||-------> u (in the Farads line)
        ||--------> n (in the Farads line)
        |---------> F (Farads)
Byte 22: 00000000 -> u (in the A line)
        |||||||---> m (in the A line)
        ||||||----> A
        |||||-----> V (in diode meter mode)
        ||||------> M (in the Ohms line)
        |||-------> k (in the Ohms line)
        ||--------> Ohms
        |---------> Hz


'''Example''': In the protocol a byte of '''0x3F''' ('''0 0111111''') represents the digit '''9''' on the LCD, where the decimal point is '''not''' displayed  (bit 7 is not set). All other bits except for bit 6 (segment A, see above) are set (i.e. the LCD segment is displayed).


== Resources ==
== Resources ==


* [http://www.hycontek.com/attachments/MSP/DS-HY11P14_EN.pdf MCU datasheet]
* [http://de.aliexpress.com/wholesale?SearchText=hyelec+ms8236 Random aliexpress.com sellers]
* [http://www.hycontek.com/attachments/MSP/UG-HY11S14_EN.pdf MCU user guide]
* [https://www.youtube.com/watch?v=ATL0LDTqyQQ Disassembly video]
* [https://www.youtube.com/watch?v=ATL0LDTqyQQ Disassembly video]



Latest revision as of 22:03, 15 October 2015

HYELEC MS8236
Sigrok logo no text transparent 512.png
Status planned
Counts 6000
IEC 61010-1 CAT III (1000V) / CAT IV (600V)
Connectivity USB
Measurements voltage, resistance, diode, capacitance, frequency, current, hFE, temperature
Features autorange, true-rms, data hold, delay hold, min/max, relative, bargraph, backlight
Website hy-elec.com

The HYELEC MS8236 is a 6000 counts, CAT III (1000V) / CAT IV (600V) handheld digital multimeter with USB connectivity.

See HYELEC MS8236/Info for more details (such as lsusb -v output) about the device.

Hardware

Photos

Multimeter:

USB cable:

Standard USB to miniUSB.

Protocol

TODO.

The device's LCD segments are layed out as follows:

  G  
   
C F
   
  B  
   
A E
   
  D  

To the left of each LCD digit there is another segment which represents a dot / decimal point (DP).

An LCD segment is represented in the protocol as follows:

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
DP A B C D E F G

Example: In the protocol a byte of 0x3F (0 0111111) represents the digit 9 on the LCD, where the decimal point is not displayed (bit 7 is not set). All other bits except for bit 6 (segment A, see above) are set, i.e. the respective LCD segments are displayed.

The meter have an NCV icon but the function is not documented on the manual, I wasn't able to trigger it, it's probably not implemented. Everything with a (?) after is doubtful or impossible to confirm.

Protocol consists of 22 bytes:

Bytes 1 to 6: Always AA 55 52 24 01 10 . Probably some kind of header to test if transmission is ok, as the protocol doesn't have any kind of CRC.

Bytes 7 to 10: Next four bits are the big LCD numbers, from right to left, in the format already specified by uwe_ on the wiki.

Byte 11: 00000000 -> Diode icon

        |||||||---> AC
        ||||||----> DC
        |||||-----> - 
        ||||------> - (yeah, both bits set to 1 when displaying "minus")
        |||-------> "Progess bar cue" -the bar with the 0 - 10 - 20 - ...
        ||--------> Continuity tester "sound" icon
        |---------> Battery

Bytes 12 to 18: that "progress bar on the top". Dunno what's its use, probably we can ignore it

Byte 19: 00000000 -> More progress bar thingy

        |||||||---> More progress bar thingy
        ||||||----> More progress bar thingy
        |||||-----> More progress bar thingy
        ||||------> Wait... (?) (Never shown on the PC but as it is a LCD protocol probably goes mapped here internally even if it never get transmited to the PC)
        |||-------> Auto
        ||--------> HOLD (?) (USB transmission seems to stop when Hold is activated)
        |---------> REL


Byte 20: 00000000 -> USB Icon (Of course, always on)

        |||||||---> MAX
        ||||||----> - (between MAX and MIN)
        |||||-----> MIN
        ||||------> N/A (?)
        |||-------> %
        ||--------> hFE
        |---------> N/A (?)


Byte 21: 00000000 -> C

        |||||||---> F (temp)
        ||||||----> N/A (?)
        |||||-----> N/A (?)
        ||||------> m (in the Farads line)
        |||-------> u (in the Farads line)
        ||--------> n (in the Farads line)
        |---------> F (Farads)

Byte 22: 00000000 -> u (in the A line)

        |||||||---> m (in the A line)
        ||||||----> A
        |||||-----> V (in diode meter mode)
        ||||------> M (in the Ohms line)
        |||-------> k (in the Ohms line)
        ||--------> Ohms
        |---------> Hz


Resources