Author Topic: UNITREND UT61E service pack 1, hack, improvements, new features  (Read 17636 times)

blankfield

  • Newbie
  • *
  • Posts: 30
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.

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









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);
}
From 0 to 1, from VEE to VCC.

MJLorton

  • Administrator
  • Hero Member
  • *****
  • Posts: 816
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #1 on: April 30, 2013, 06:11:48 AM »
Great stuff! Thanks for the post.
Play, discover, learn and enjoy! (and don't be scared to make mistakes along the way!)

iloveelectronics

  • Full Member
  • ***
  • Posts: 227
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #2 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?
My eBay store: http://www.99centHobbies.com
Email: franky @ 99centHobbies . com

Mr Eastwood

  • Sr. Member
  • ****
  • Posts: 271
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #3 on: April 30, 2013, 09:33:52 AM »
very nice! ;-)
Hey! Frisbee! Far out!

Billy

  • Newbie
  • *
  • Posts: 12
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #4 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.




iloveelectronics

  • Full Member
  • ***
  • Posts: 227
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #5 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.
My eBay store: http://www.99centHobbies.com
Email: franky @ 99centHobbies . com

Billy

  • Newbie
  • *
  • Posts: 12
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #6 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.


blankfield

  • Newbie
  • *
  • Posts: 30
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #7 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.
From 0 to 1, from VEE to VCC.

blankfield

  • Newbie
  • *
  • Posts: 30
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #8 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:



How it look:





And how it works:






From 0 to 1, from VEE to VCC.

SeanB

  • Administrator
  • Hero Member
  • *****
  • Posts: 965
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #9 on: May 06, 2013, 01:18:26 PM »
Very nice idea there.

MJLorton

  • Administrator
  • Hero Member
  • *****
  • Posts: 816
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #10 on: June 05, 2013, 10:04:55 AM »
Love it...simple but very effective!
Play, discover, learn and enjoy! (and don't be scared to make mistakes along the way!)

papa_vitaly

  • Newbie
  • *
  • Posts: 1
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #11 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 ?

ProBang2

  • Newbie
  • *
  • Posts: 43
  • Really! My screwdriver should be more sonic...
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #12 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
If you think, my english is bad, then you should read my french. :(

3roomlab

  • Newbie
  • *
  • Posts: 5
  • tiny island call singapore ... a "FINE" country
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #13 on: November 16, 2014, 09:54:24 PM »
i have UT61E ... the magnet hanger idea is whoop ass great
ADSL linked inside the mountains ...

Silver

  • Newbie
  • *
  • Posts: 1
Re: UNITREND UT61E service pack 1, hack, improvements, new features
« Reply #14 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. :-[ :-[ :-[