Badcaps.net Forum
Go Back   Badcaps Forums > Electronics Theory and Troubleshooting > Equipment Usage, Soldering, Techniques, and Reviews
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
Thread Tools
Old 12-17-2016, 10:03 PM   #741
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 15,481
Default Re: ESR meter upgrades

Quote:
Originally Posted by socketa View Post
Yeah, the penny dropped just dropped a few minutes ago.
The GM328 on that website works good but no rotary encoder/option.
post a foto or link of your unit.
stj is offline   Reply With Quote
Old 12-17-2016, 10:38 PM   #742
socketa
Badcaps Veteran
 
socketa's Avatar
 
Join Date: Jun 2014
City & State: hell
My Country: samsara
Line Voltage: 230v
I'm a: Knowledge Seeker
Posts: 259
Default Re: ESR meter upgrades

Quote:
the frequency code that you can allegedly input any frequency is very difficult to use
Before i bricked the chip, and got another one, after few minutes of practice, i found it easy to get any frequency between 1hz and 999khz - it's was just a matter of holding the button in a bit longer, and getting the knack of it (put the last number in first). And all of the frequencies displayed correctly on my multimeter, which was connected to the output
I found it easy as pie.
Easier to learn than the pentatonic scale.
Took me about 15 seconds to set a frequency of 456.789Khz
If it's easy enough to recomple it to include this feature again, that would be appreciated.
Now, all of that programming stuff is what i'd call "very difficult".
OK, photo coming soon (just need to charge camera batteries)
Your last update GM328x ESR tester (SVN700)(inverted encoder) worked perfectly, except i would have preferred to have the option to 'punch in' any frequency that i wanted.

Here's the pic
With the wrong software on the chip (just to show that the frequency generator works good)
Probably a bit off because i couldn't be bothered calibrating it - but still, pretty good.
645.321khz
http://www.badcaps.net/forum/attachm...1&d=1482044324
Attached Images
File Type: jpg psu 001.jpg (321.5 KB, 53 views)

Last edited by socketa; 12-18-2016 at 12:03 AM..
socketa is offline   Reply With Quote
Old 12-18-2016, 12:22 AM   #743
socketa
Badcaps Veteran
 
socketa's Avatar
 
Join Date: Jun 2014
City & State: hell
My Country: samsara
Line Voltage: 230v
I'm a: Knowledge Seeker
Posts: 259
Default Re: ESR meter upgrades

Here's a better Pic, the meter possibly loses accuracy on the higher ranges.
http://www.badcaps.net/forum/attachm...1&d=1482045580
6789Hz - Spot on!
Attached Images
File Type: jpg deleteme.jpg (279.3 KB, 27 views)

Last edited by socketa; 12-18-2016 at 12:23 AM..
socketa is offline   Reply With Quote
Old 12-18-2016, 12:45 AM   #744
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 15,481
Default Re: ESR meter upgrades

o.k. just wanted to check the version - it's a GM328r
stj is offline   Reply With Quote
Old 12-18-2016, 10:44 AM   #745
jondoe
Badcaps Veteran
 
Join Date: Nov 2016
City & State: A
My Country: UK
I'm a: Hobbyist Tech
Posts: 227
Default Re: ESR meter upgrades

stj - I compiled the firmware using your makefile and I get an oversized program;

Code:
AVR Memory Usage
----------------
Device: atmega328p

Program:   35092 bytes (107.1% Full)
(.text + .data + .bootloader)

Data:        454 bytes (22.2% Full)
(.data + .bss + .noinit)

EEPROM:      879 bytes (85.8% Full)
(.eeprom)
I had a similar problem with my own firmware at first until I tinkered with the Makefile. I'm assuming it won't work if it's too large! Which tool chain do you normally use? I'm using the default one with winavr.

I also noted that the supplied precompiled st7565_kit versions do not work at all (device won't power up), nor do the make files create working firmware .
jondoe is offline   Reply With Quote
Old 12-18-2016, 11:12 AM   #746
stj
Great Sage 齊天大聖
 
stj's Avatar
 
Join Date: Dec 2009
City & State: Europe
My Country: some shithole run by Israeli agents
I'm a: Professional Tech
Posts: 15,481
Default Re: ESR meter upgrades

you need an older version of gcc, i use the one that is in the arduino ide.
stj is offline   Reply With Quote
Old 12-18-2016, 11:27 AM   #747
jondoe
Badcaps Veteran
 
Join Date: Nov 2016
City & State: A
My Country: UK
I'm a: Hobbyist Tech
Posts: 227
Default Re: ESR meter upgrades

Ahh yes, so I did, thank you. I tried 3.4.5.30 and the compiled firmware is coming in at a more suitable size.

Attached is the 8mhz compile, latest version, hope that solves your display problem socketa.
Attached Files
File Type: zip mega328_GM328.zip (46.0 KB, 15 views)
jondoe is offline   Reply With Quote
Old 12-18-2016, 12:52 PM   #748
socketa
Badcaps Veteran
 
socketa's Avatar
 
Join Date: Jun 2014
City & State: hell
My Country: samsara
Line Voltage: 230v
I'm a: Knowledge Seeker
Posts: 259
Default Re: ESR meter upgrades

Thanks, that's better, but the makefile needs to have the rotary direction reversed.
Opened it in WinAVR Programmers notepad, and tried Tools> Make All
But it returned this output:
> "make.exe" all
makefile:381: ../setup.mk: No such file or directory
makefile:428: ../finish.mk: No such file or directory
make.exe: *** No rule to make target `../finish.mk'. Stop.
socketa is offline   Reply With Quote
Old 12-18-2016, 01:10 PM   #749
jondoe
Badcaps Veteran
 
Join Date: Nov 2016
City & State: A
My Country: UK
I'm a: Hobbyist Tech
Posts: 227
Default Re: ESR meter upgrades

I've commented out the following in the make file;

CFLAGS += -DCHANGE_ROTARY_DIRECTION

I assume this will now swap the direction

(forgot to update the Makefile in the zip, sorry!)
Attached Files
File Type: zip mega328_GM328.zip (46.1 KB, 8 views)

Last edited by jondoe; 12-18-2016 at 01:11 PM.. Reason: Correction.
jondoe is offline   Reply With Quote
Old 12-18-2016, 01:15 PM   #750
jondoe
Badcaps Veteran
 
Join Date: Nov 2016
City & State: A
My Country: UK
I'm a: Hobbyist Tech
Posts: 227
Default Re: ESR meter upgrades

Quote:
Originally Posted by socketa View Post
Thanks, that's better, but the makefile needs to have the rotary direction reversed.
Opened it in WinAVR Programmers notepad, and tried Tools> Make All
But it returned this output:
> "make.exe" all
makefile:381: ../setup.mk: No such file or directory
makefile:428: ../finish.mk: No such file or directory
make.exe: *** No rule to make target `../finish.mk'. Stop.
I just have Winavr, the complete source code package for the transistor tester (all of it, every sub directory) and the older tool chain copied over the top of the winavr one. That seems to do the trick.
jondoe is offline   Reply With Quote
Old 12-18-2016, 02:22 PM   #751
socketa
Badcaps Veteran
 
socketa's Avatar
 
Join Date: Jun 2014
City & State: hell
My Country: samsara
Line Voltage: 230v
I'm a: Knowledge Seeker
Posts: 259
Default Re: ESR meter upgrades

Downloaded transistor-tester-master.zip and extracted it into a folder
Downloaded avr-toolchain-installer-3.2.3.579-win32.win32.x86.exe, and that installed Amtel folder (not "over the top of the winavr one")
Opened up the makefile (from the extracted folder) with WinAVR Programmers notepad and then Tools> Make All.
No surprise, same errors as before
Obviously i've got no idea what i'm doing.

Last edited by socketa; 12-18-2016 at 03:11 PM..
socketa is offline   Reply With Quote
Old 12-18-2016, 09:03 PM   #752
socketa
Badcaps Veteran
 
socketa's Avatar
 
Join Date: Jun 2014
City & State: hell
My Country: samsara
Line Voltage: 230v
I'm a: Knowledge Seeker
Posts: 259
Default Re: ESR meter upgrades

Thanks for that, guys.
Tests OK
socketa is offline   Reply With Quote
Old 12-19-2016, 03:01 AM   #753
jondoe
Badcaps Veteran
 
Join Date: Nov 2016
City & State: A
My Country: UK
I'm a: Hobbyist Tech
Posts: 227
Default Re: ESR meter upgrades

I only started playing with these chips two weeks ago so it's been an uphill struggle getting to this point Winavr should compile without the other tool chain, but you will need to copy the contents of that folder Amtel folder over into the winavr folder if you want it to be 100%

The Makefile you're opening, is it in the mega328_GM328 folder? If not, i.e. you're opening it from the zip file, that won't work. Put the updated/custom Makefile in the mega328_GM328 folder, over writing the one in there. Then open that Makefile with winavr.

Glad the one I compiled is working for you
jondoe is offline   Reply With Quote
Old 04-01-2017, 01:39 PM   #754
vinceroger69
Badcaps Veteran
 
Join Date: Mar 2012
City & State: Nuneaton Warwickshire
My Country: uk
I'm a: Hobbyist Tech
Posts: 4,575
Default Re: ESR meter upgrades

another new style cheap esr tester
https://youtu.be/K-5zZfc1XkE
http://www.ebay.com/itm/LCR-TN-Multi...UAAOSw4A5YqGjb
vinceroger69 is offline   Reply With Quote
Old 04-20-2017, 02:20 PM   #755
gino_09
New Member
 
Join Date: Apr 2017
City & State: pd
My Country: italy
I'm a: Knowledge Seeker
Posts: 1
Default Re: ESR meter upgrades

Hi, I'm new. I bought the gm328 with tft and i saw someone displaying the colored symbols. As firmware I have to load for the color to be able to? Thanks and compliments for the great work.
gino_09 is offline   Reply With Quote
Old 04-20-2017, 02:26 PM   #756
vinceroger69
Badcaps Veteran
 
Join Date: Mar 2012
City & State: Nuneaton Warwickshire
My Country: uk
I'm a: Hobbyist Tech
Posts: 4,575
Default Re: ESR meter upgrades

Quote:
Originally Posted by gino_09 View Post
Hi, I'm new. I bought the gm328 with tft and i saw someone displaying the colored symbols. As firmware I have to load for the color to be able to? Thanks and compliments for the great work.
all the latest firmware is in this thread you just need to make sure it matches your tester and tft used
https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/

Last edited by vinceroger69; 04-20-2017 at 02:27 PM..
vinceroger69 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Badcaps.net Technical Forums 2003 - 2017
Powered by vBulletin ®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
All times are GMT -6. The time now is 01:00 AM.

Did you find this forum helpful?