MJLorton Solar Power and Electronic Measurement Equipment Forum

New proof of concept ideas, projects, inventions => New proof of concept ideas, projects, inventions => Topic started by: blankfield on April 28, 2013, 03:09:35 PM

Title: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: blankfield on April 28, 2013, 03:09:35 PM
Hi all,

I did some improvements to UT61E, this mod basis on one that I've found on EEVblog forum but I decided to add some silicon into UT61E so additional fatures are controlled by pressing yellow and blue buttons for 1s this is Youtube video of final effect (http://www.youtube.com/watch?v=Q6pBOpQ8jes).

In few words new features:
*backlight for 60s (on/off)
*auto power after 15min function (on/off)
*RS232 port (on/off)
*MAX/MIN/MAXMIN function this is different like peak max peak min

Bellow all necessary materials for this modification.

Cheers
blankfield

(http://imageshack.us/a/img708/3153/scheme.jpg)

(http://imageshack.us/a/img829/8196/001dwo.jpg)

(http://imageshack.us/a/img690/5164/002xks.jpg)

(http://imageshack.us/a/img194/4953/003ebr.jpg)

Code: [Select]
#define DATALOG BIT3 //P1.3
#define BACKLIGHT BIT4 //P1.4
#define MAXMIN BIT5 //P1.5
#define DCAC BIT1//P1.1
#define VHz BIT2//P1.2
#define DCAC_OUT BIT6//P2.6
#define VHz_OUT BIT7//P2.7


/*
 * ======== Standard MSP430 includes ========
 */
#include <msp430.h>

/*
 * ======== Grace related includes ========
 */
#include <ti/mcu/msp430/Grace.h>

/*
 *  ======== main ========
 */
int main(void)
{
    Grace_init();// Activate Grace-generated configuration
    while(1){
    __bis_SR_register(LPM3_bits + GIE);
    }
}

void P1INTERRUPT(void){
IE1 &= ~(DCAC+VHz);
__delay_cycles(10000);
TACCR1=0;
TACCTL0&=~CCIFG;
TACTL |= MC_1;
switch(P1IN&(DCAC+VHz)){
case 0:
//VHz+DCAC buttons pressed
if(P1OUT&DATALOG) P1OUT &= ~(DATALOG);
else P1OUT |= (DATALOG);
__delay_cycles(20000);
break;
case 2:
//VHz button pressed
while (!(P1IN&VHz) && !(TACCTL0&CCIFG));
TACTL &= ~MC1;
if (!(TACCTL0&CCIFG)){
P2OUT &= ~(VHz_OUT);
__delay_cycles(10000);
P2OUT |= (VHz_OUT);
}
else{
P1OUT &= ~(BACKLIGHT);
__delay_cycles(10000);
P1OUT |= (BACKLIGHT);
}
break;
case 4:
//DCAC button pressed
while (!(P1IN&DCAC) && !(TACCTL0&CCIFG));
TACTL &= ~MC1;
if (!(TACCTL0&CCIFG)){
P2OUT &= ~(DCAC_OUT);
__delay_cycles(10000);
P2OUT |= (DCAC_OUT);
}
else{
P1OUT &= ~(MAXMIN);
__delay_cycles(10000);
P1OUT |= (MAXMIN);
}
break;
case 6:
//no button pressed
break;
}
TACTL &= ~(MC1 + MC0);
while(!(P1IN&(VHz+DCAC)))
IFG1 &= ~(DCAC+VHz);
IE1 |= (DCAC+VHz);
}
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: MJLorton on April 30, 2013, 06:11:48 AM
Great stuff! Thanks for the post.
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: iloveelectronics on April 30, 2013, 06:43:37 AM
Wow! Very cool! Does that have any effect on accuracy or other aspects of the meter in any way?
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: Mr Eastwood on April 30, 2013, 09:33:52 AM
very nice! ;-)
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: Billy on April 30, 2013, 12:21:44 PM
Bloody brilliant! I have one of those meters but don't use it that much because I often forget to switch meters off.

What's the significance of that code extract? Is that how you figured out how to make the modification? You didn't have to update the software in the meter, did you?

Well done.
Billy.



Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: iloveelectronics on April 30, 2013, 12:40:06 PM
I believe that code is for running on that MSP430G2211, so that it knows what do when you long press the blue and yellow button?

Bloody brilliant! I have one of those meters but don't use it that much because I often forget to switch meters off.

What's the significance of that code extract? Is that how you figured out how to make the modification? You didn't have to update the software in the meter, did you?

Well done.
Billy.
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: Billy on April 30, 2013, 05:09:04 PM
I believe that code is for running on that MSP430G2211, so that it knows what do when you long press the blue and yellow button?

Bloody brilliant! I have one of those meters but don't use it that much because I often forget to switch meters off.

What's the significance of that code extract? Is that how you figured out how to make the modification? You didn't have to update the software in the meter, did you?

Well done.
Billy.

Ah yes, of course, I see what you mean. Thanks.

Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: blankfield on May 01, 2013, 01:35:01 PM
Wow! Very cool! Does that have any effect on accuracy or other aspects of the meter in any way?

I think it's not because this modification don't interfering with analogue front-ends of meter, only digital control inputs are used. Also additional uC it's very low power and stays in sleep mode, current consumption is very low. All of this huge (in comparison ) wires were used for programming and were removed.   


I believe that code is for running on that MSP430G2211, so that it knows what do when you long press the blue and yellow button?

Bloody brilliant! I have one of those meters but don't use it that much because I often forget to switch meters off.

What's the significance of that code extract? Is that how you figured out how to make the modification? You didn't have to update the software in the meter, did you?

Well done.
Billy.

Exactly! but it's easy to port this code to other more popular mcu's like attiny2313 etc.

I have only one conclusion after this mod, at first look UT61E have a nice PCB but it's not that great. PCB is lightweight, soldermask can be easily removed and copper is thin. So at least some some soldering skills are required to make this mode for this great meter safety.
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: blankfield on May 06, 2013, 12:40:54 PM
If someone looking for cheap magnetic hanger for UT61E I have  really simple solution. All we need is only a piece of polyester tape, one rare earth magnet (my is neodymium 20x2.5mm, coin shape) and some strong glue. Cut 20 cm of tape bend i the middle and glue a magnet (if anyone feels up to it can be stapled). Insert material under battery housing and tight the screw. Thats all :)


Materials:
(http://imageshack.us/a/img854/2387/dsc00272tc.jpg)


How it look:
(http://imageshack.us/a/img507/6562/dsc00269l.jpg)

(http://imageshack.us/a/img13/9580/dsc00270ik.jpg)


And how it works:
(http://imageshack.us/a/img24/6344/dsc00256kn.jpg)

(http://imageshack.us/a/img825/9945/dsc00259ud.jpg)

(http://imageshack.us/a/img507/7246/dsc00260ni.jpg)

Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: SeanB on May 06, 2013, 01:18:26 PM
Very nice idea there.
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: MJLorton on June 05, 2013, 10:04:55 AM
Love it...simple but very effective!
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: papa_vitaly on May 29, 2014, 08:17:28 PM
Cool mods. Love it.
But I don't understand how power off works ?
Were in program you define 15 min time interval for power off ?
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: ProBang2 on July 03, 2014, 01:26:56 AM
Cool mods. Love it.
But I don't understand how power off works ?
Were in program you define 15 min time interval for power off ?

He does not need define the interall for power off. The function is already present.
Switch off the data transmission enables the auto power off (in the chip of the UT-61E).
If the data transmission is activated (default without mod), then the auto power off is disabled.

Greetings,


Hartmut
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: 3roomlab on November 16, 2014, 09:54:24 PM
i have UT61E ... the magnet hanger idea is whoop ass great
Title: Re: UNITREND UT61E service pack 1, hack, improvements, new features
Post by: Silver on January 18, 2015, 10:17:01 AM
As you've programmed the chip, can not get me to work either of these buttons, the multimeter is dead. What software did you use to program the MSP430G2211 ???? Thank You. :-[ :-[ :-[