Site Tools


en:tech:ut71

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:tech:ut71 [2022/11/27 12:04] – [UT71B Interface] bullaren:tech:ut71 [2022/11/30 11:49] (current) – [Downloads] bullar
Line 1: Line 1:
-===== UT71B Interface =====+====== UT71B Interface ======
  
 The digital multimeter series UT71 from [[http://www.uni-trend.com/en/|Uni-Trend]] The digital multimeter series UT71 from [[http://www.uni-trend.com/en/|Uni-Trend]]
Line 8: Line 8:
  
 ^ Qty ^ Part ^ Cost ^ ^ Qty ^ Part ^ Cost ^
-| 1 | PL2303HX or similar {{ :tech:pl2303hx.jpg?nolink&50 | }} | 3.00 € | +| 1 | PL2303HX or similar  {{:tech:pl2303hx.jpg?nolink&50 |}} | 3.00 € | 
-| 1 | IR-Fototransistor {{:tech:fototransistor.jpg?nolink&50 | }} | 0.10 € | +| 1 | IR-Fototransistor {{:tech:fototransistor.jpg?nolink&50 |}} | 0.10 € | 
-| 1 | IR-LED {{:tech:ir_led.jpg?nolink&50 | }} | 0.10 € | +| 1 | IR-LED {{:tech:ir_led.jpg?nolink&50 |}} | 0.10 € | 
-| 1 | 4k7 {{:tech:r_0805.jpg?nolink&50 | }} | 0.10 € | +| 1 | 4k7 {{:tech:r_0805.jpg?nolink&50 |}} | 0.10 € | 
-| 1 | 1K0 {{:tech:r_0805.jpg?nolink&50 | }} | 0.10 € | +| 1 | 1K0 {{:tech:r_0805.jpg?nolink&50 |}} | 0.10 € | 
-| 1 | PCB (very small piece) {{:tech:lochraster.jpg?nolink&50 | }} | 0.50 € | +| 1 | PCB (very small piece) {{:tech:lochraster.jpg?nolink&50 |}} | 0.50 € | 
-| 1 | Housing (3D print or laser cut) {{:tech:housing.png?nolink&50 | }} | 0.50 € |+| 1 | Housing (3D print or laser cut) {{:tech:housing.png?nolink&50 |}} | 0.50 € |
  
-==== Schematic ====+===== Schematic =====
  
 {{:tech:ut71_if_schematic.png?200 |}} {{:tech:ut71_if_schematic.png?200 |}}
Line 23: Line 23:
 The TxD diode is optional and not supported by the software (yet).  The TxD diode is optional and not supported by the software (yet). 
  
-==== Housing ====+===== Housing =====
  
 {{:tech:housing.png?nolink&200 |}} {{:tech:housing.png?nolink&200 |}}
 I used a laser cut housing based on 2mm white acryl. The design was prepared with Inkscape.  I used a laser cut housing based on 2mm white acryl. The design was prepared with Inkscape. 
 Depending on the thickness of your wiring you may not need all layers. In my example I only used 4 pieces. Depending on the thickness of your wiring you may not need all layers. In my example I only used 4 pieces.
-{{:tech:ir_usb_adapter.svg.zip|SVG file}}  
  
  
-==== Assembly ====+ 
 +===== Assembly =====
  
 Cut and engrave on your laser cutter of choice. Prepare the small piece of PCB (perfboard). Glue the IR transistor (dark blue)and the IR LED. The flat part should be on the left for each. Solder the parts and the SMD resistors as shown on the picture. Last but not least connect the four wire of the PL2303HX.    Cut and engrave on your laser cutter of choice. Prepare the small piece of PCB (perfboard). Glue the IR transistor (dark blue)and the IR LED. The flat part should be on the left for each. Solder the parts and the SMD resistors as shown on the picture. Last but not least connect the four wire of the PL2303HX.   
Line 37: Line 37:
 {{:tech:img_0030.jpg?direct&400 |}} {{:tech:img_0030.jpg?direct&400 |}}
 {{:tech:img_0553.jpg?direct&200|}} {{:tech:img_0552.jpg?direct&200|}} {{:tech:img_0553.jpg?direct&200|}} {{:tech:img_0552.jpg?direct&200|}}
-==== Software ==== 
-{{ :tech:sw_main_window.png?direct&200 |}} 
  
-The S/W is written with [[https://www.xojo.com|XOJO]] to support all major OS (Windows, OS X, Linux). 
-As I have just now only a license for OS X I can't provide binaries for Windows and Linux. 
  
-The S/W has mainly the same functionality as the original one.+===== Protocol ===== 
 + 
 +The logic analyser revealed the following signal frame: 
 + 
 +{{ :tech:ut71ab_frame.png?direct&600 |UT71 frame}} 
 + 
 +As we can see the multimeter sends 11 Bytes with 2400 Baud, 7 bits and ODD parity in ASCII format every approx. 650ms. With our built hardware we are now able to use a standard UART-program to analyse the protocol further. After some long iterations (and a lot of coffees) the eleven bytes have following meaning:  
 + 
 +<code> 
 +    # Decode 11 bytes from UT71A/B/C 
 +    # ============================== 
 +    # Byte / Bit          6    5    4    3    2    1    0 
 +    # [0]    Digit 1      0    1    1    =====Digit====== 
 +    # [1]    Digit 2      0    1    1    =====Digit====== 
 +    # [2]    Digit 3      0    1    1    =====Digit====== 
 +    # [3]    Digit 4      0    1    1    =====Digit====== 
 +    # [4]    Digit 5      0    1    1    =====Digit====== 
 +    # [5]    Range        0    1    1    0    =see below= 
 +    # [6]    Unit            1    1    ====see below=== 
 +    # [7]    Coupling        1    1    0    0    DC   AC    (also DC and AC possible) 
 +    # [8]    Info            1    1    0    NEG  MAN  AUTO  (MAN or AUTO only) 
 +    # [9]    '\r'            0    0    1    1    0    1 
 +    # [10]   '\n'            0    0    1    0    1    0 
 +    # 
 +    # Digit: 0x30..0x39 = '0..9', 0x3A = ' ', 0x3B = '-', 0x3C = 'L', 0x3F = 'H' 
 +    # REL not sent 
 +    # No tansmission in HOLD state 
 +    # If NEG set at Range 15 sent value is duty cycle 
 +    # No LowBat info sent 
 +    # Storaged data not accessable 
 +</code> 
 + 
 +Depending on the chosen measuring range the ''Range'' and the ''Unit'' value lead to a corresponding multiplication factor: 
 + 
 +<code> 
 +      Unit:    0                      6                10    11    12    13   14  15   
 +Range:         mV  V         mV    Ω        °C    µA    mA    A    Pieps Diode Hz    °F     %    
 +        '0'    .01 -         .01  -      -    .1   .01   .001      .01   .0001 .001  .1     .01  
 +        '1'    -   .0001 .0001 -    .01   .001  -    .1    .01    .001 -         .01      -      
 +        '2'    -   .001  .001  -    .0001 .01      -          -    -         .0001 -    -      
 +        '3'    -   .01   .01      .001  .0001 -    -          -    -         .001  -    -      
 +        '4'    -   .1    .1    -    .01   .001  -    -          -    -         .01      -      
 +        '5'    -              .0001 .01      -          -    -         .0001 -    -      
 +        '6'    -              .001  .0001 -    -          -    -         .001  -    -      
 +        '7'    -              .01   .001  -    -          -    -         .01      -      
 +</code> 
 + 
 +===== Software ===== 
 + 
 +<WRAP group> 
 +<WRAP half column> 
 +{{ :tech:ut71_app.png?direct&300|UT71 App}} 
 +</WRAP> 
 +<WRAP half column> 
 +{{:tech:ut71_app_table.png?direct&250 |record table}} 
 +</WRAP> 
 +</WRAP> 
 + 
 +Based on the protocol information I prepared a tiny Python program to receive the measured values, plot and store them as well as export in CSV format. This allows long-term measurements of any unit. The measurement values are stored in a SQLite database and can also be easily access with Open-Source tools like [[https://sqlitebrowser.org|DB Browser for SQLite]].
  
-^ Version ^ Remark ^ OS ^ File ^ +===== Downloads =====
-| V0.10 | Initial Version | Mac OS X 10.9+ | {{:tech:ut71ab_ifp_v010.zip|}} |+
  
-==== Donate ====+  * {{:tech:ir_usb_adapter.svg.zip|Housing (SVG file)}}  
 +  * {{ :tech:ut71_app.zip| UT71 Measurement Tool (.py)}} 
 +===== Donate =====
  
 If you like my articles feel to donate a cappuccino or so... If you like my articles feel to donate a cappuccino or so...
en/tech/ut71.1669550661.txt.gz · Last modified: 2022/11/27 12:04 by bullar