ESR meter upgrades

Collapse
This is a sticky topic.
X
X
 
  • Time
  • Show
Clear All
new posts
  • stj
    Great Sage 齊天大聖
    • Dec 2009
    • 30919
    • Albion

    #741
    Re: ESR meter upgrades

    Originally posted by socketa
    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.

    Comment

    • socketa
      Asbelowsoabove
      • Jun 2014
      • 658
      • samsara

      #742
      Re: ESR meter upgrades

      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
      https://www.badcaps.net/forum/attach...1&d=1482044324
      Attached Files
      Last edited by socketa; 12-18-2016, 01:03 AM.

      Comment

      • socketa
        Asbelowsoabove
        • Jun 2014
        • 658
        • samsara

        #743
        Re: ESR meter upgrades

        Here's a better Pic, the meter possibly loses accuracy on the higher ranges.
        https://www.badcaps.net/forum/attach...1&d=1482045580
        6789Hz - Spot on!
        Attached Files
        Last edited by socketa; 12-18-2016, 01:23 AM.

        Comment

        • stj
          Great Sage 齊天大聖
          • Dec 2009
          • 30919
          • Albion

          #744
          Re: ESR meter upgrades

          o.k. just wanted to check the version - it's a GM328r

          Comment

          • jondoe
            Badcaps Veteran
            • Nov 2016
            • 547
            • UK

            #745
            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 .

            Comment

            • stj
              Great Sage 齊天大聖
              • Dec 2009
              • 30919
              • Albion

              #746
              Re: ESR meter upgrades

              you need an older version of gcc, i use the one that is in the arduino ide.

              Comment

              • jondoe
                Badcaps Veteran
                • Nov 2016
                • 547
                • UK

                #747
                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

                Comment

                • socketa
                  Asbelowsoabove
                  • Jun 2014
                  • 658
                  • samsara

                  #748
                  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.

                  Comment

                  • jondoe
                    Badcaps Veteran
                    • Nov 2016
                    • 547
                    • UK

                    #749
                    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
                    Last edited by jondoe; 12-18-2016, 02:11 PM. Reason: Correction.

                    Comment

                    • jondoe
                      Badcaps Veteran
                      • Nov 2016
                      • 547
                      • UK

                      #750
                      Re: ESR meter upgrades

                      Originally posted by socketa
                      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.

                      Comment

                      • socketa
                        Asbelowsoabove
                        • Jun 2014
                        • 658
                        • samsara

                        #751
                        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, 04:11 PM.

                        Comment

                        • socketa
                          Asbelowsoabove
                          • Jun 2014
                          • 658
                          • samsara

                          #752
                          Re: ESR meter upgrades

                          Thanks for that, guys.
                          Tests OK

                          Comment

                          • jondoe
                            Badcaps Veteran
                            • Nov 2016
                            • 547
                            • UK

                            #753
                            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

                            Comment

                            • vinceroger69
                              Badcaps Legend
                              • Mar 2012
                              • 6714
                              • uk

                              #754
                              Re: ESR meter upgrades

                              another new style cheap esr tester
                              https://youtu.be/K-5zZfc1XkE
                              http://www.ebay.com/itm/LCR-TN-Multi...UAAOSw4A5YqGjb

                              Comment

                              • gino_09
                                New Member
                                • Apr 2017
                                • 1
                                • italy

                                #755
                                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.

                                Comment

                                • vinceroger69
                                  Badcaps Legend
                                  • Mar 2012
                                  • 6714
                                  • uk

                                  #756
                                  Re: ESR meter upgrades

                                  Originally posted by gino_09
                                  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, 02:27 PM.

                                  Comment

                                  • Per Hansson
                                    Super Moderator
                                    • Jul 2005
                                    • 5895
                                    • Sweden

                                    #757
                                    Re: ESR meter upgrades

                                    Hey stj, tried to compile the latest SVN version using your makefile for GM328x
                                    But the file becomes too big in the latest SVN.
                                    I'm using CentOS7 and avr-gcc v4.8.2
                                    Is there something not so useful that I can remove from the Makefile to get the size down a bit?

                                    SVN700 build:
                                    Code:
                                    16 MHz operation configured.
                                    AVR Memory Usage
                                    ----------------
                                    Device: atmega328p
                                    
                                    Program:  32592 bytes (99.5% Full)
                                    (.text + .data + .bootloader)
                                    
                                    Data:    206 bytes (10.1% Full)
                                    (.data + .bss + .noinit)
                                    
                                    EEPROM:   922 bytes (90.0% Full)
                                    (.eeprom)
                                    SVN740 Build:
                                    Code:
                                    16 MHz operation configured.
                                    AVR Memory Usage
                                    ----------------
                                    Device: atmega328p
                                    
                                    Program:  32892 bytes (100.4% Full)
                                    (.text + .data + .bootloader)
                                    
                                    Data:    206 bytes (10.1% Full)
                                    (.data + .bss + .noinit)
                                    
                                    EEPROM:   916 bytes (89.5% Full)
                                    (.eeprom)
                                    "The one who says it cannot be done should never interrupt the one who is doing it."

                                    Comment

                                    • vinceroger69
                                      Badcaps Legend
                                      • Mar 2012
                                      • 6714
                                      • uk

                                      #758
                                      Re: ESR meter upgrades

                                      Originally posted by Per Hansson
                                      Hey stj, tried to compile the latest SVN version using your makefile for GM328x
                                      But the file becomes too big in the latest SVN.
                                      I'm using CentOS7 and avr-gcc v4.8.2
                                      Is there something not so useful that I can remove from the Makefile to get the size down a bit?

                                      SVN700 build:
                                      Code:
                                      16 MHz operation configured.
                                      AVR Memory Usage
                                      ----------------
                                      Device: atmega328p
                                      
                                      Program:  32592 bytes (99.5% Full)
                                      (.text + .data + .bootloader)
                                      
                                      Data:    206 bytes (10.1% Full)
                                      (.data + .bss + .noinit)
                                      
                                      EEPROM:   922 bytes (90.0% Full)
                                      (.eeprom)
                                      SVN740 Build:
                                      Code:
                                      16 MHz operation configured.
                                      AVR Memory Usage
                                      ----------------
                                      Device: atmega328p
                                      
                                      Program:  32892 bytes (100.4% Full)
                                      (.text + .data + .bootloader)
                                      
                                      Data:    206 bytes (10.1% Full)
                                      (.data + .bss + .noinit)
                                      
                                      EEPROM:   916 bytes (89.5% Full)
                                      (.eeprom)
                                      will this be the latest firmware for the testers we built earlier in this thread? if so if possible do you mind sharing the 8 and 16 mhz versions so i can upgrade my testers as im still using the firmware from earlier in the thread thanks .

                                      Comment

                                      • stj
                                        Great Sage 齊天大聖
                                        • Dec 2009
                                        • 30919
                                        • Albion

                                        #759
                                        Re: ESR meter upgrades

                                        i'll see if i can get that machine up & running at the weekend,
                                        i was going to set it up this week, but a visual inspection (as you do) showed bad psu caps - so i had to pull it apart.

                                        post the makefile.

                                        Comment

                                        • Per Hansson
                                          Super Moderator
                                          • Jul 2005
                                          • 5895
                                          • Sweden

                                          #760
                                          Re: ESR meter upgrades

                                          It's your makefile from the last ZIP: "GM328x ESR tester (SVN700).zip" that you posted here:
                                          https://www.badcaps.net/forum/showpo...&postcount=730
                                          And I did use your "make_frequency.c" file too, otherwise the file becomes even larger.
                                          (My aim was not not use it, and switch back to the "standard" frequency input way too...)

                                          Originally posted by vinceroger69
                                          will this be the latest firmware for the testers we built earlier in this thread? if so if possible do you mind sharing the 8 and 16 mhz versions so i can upgrade my testers as im still using the firmware from earlier in the thread thanks .
                                          Of course, but need to know what I can remove from the firmware as the latest build results in a too large firmware...
                                          Last edited by Per Hansson; 07-28-2017, 12:43 PM.
                                          "The one who says it cannot be done should never interrupt the one who is doing it."

                                          Comment

                                          Related Topics

                                          Collapse

                                          • chth96
                                            Is it possible to test small ceramic disc capacitor with analogue meter?
                                            by chth96
                                            I read EBOOK of Testing Electronic Component and found that

                                            "In order to test the small blue resin coated ceramic disk capacitor which has 104 50v specification,it is possible to test this small ceramic capacitor by making use of analogue meter.
                                            Set to times 10Kohm that has 12v output from the probe to check disorder of ceramic capacitor.
                                            It is not uncommon that testing result of digital capacitance meter is okay,But It show shorted reading when you check it with analogue meter."

                                            Is it really possible to test small ceramic disc capacitor with analogue...
                                            03-09-2024, 10:03 PM
                                          • sam_sam_sam
                                            Modification of a Fluke multi meter that uses three AA batteries to use a 14500 lithium ion battery
                                            by sam_sam_sam
                                            I have had with regular AA batteries that leak this meter is expensive new I already replaced the battery battery clips once and the same thing happened again and I am tried of so it is getting modified to accommodate lithium ion batteries that are the same size excluding the positive terminal and removing the battery clips I will have enough room for the BMS protection board

                                            I going to put 3 lithium ion battery in parallel with the BMS protection board and a way to charge the battery externally and heat shrink the battery pack and use a JST connector so I easily remove the battery...
                                            12-31-2023, 06:04 AM
                                          • jorpec
                                            Changing the scale of an analog meter
                                            by jorpec
                                            Hi

                                            I want to change the scale of an analog meter, to monitor the charge of an li-ion single cell, so the needle at the end would point 4.2 volts and the 0 on the meter would point 2.5 volts or so, i tried to add diodes or a zener in series with the meter but the changes of the ambient temperature also changes the voltage value on the meter
                                            I wonder how i can accomplish this so the meter would be precise at any temperature ?

                                            Thnaks
                                            01-23-2023, 10:37 AM
                                          • sam_sam_sam
                                            How an incandescent light and a ESR meter ** friend**have a machine blowing fuses
                                            by sam_sam_sam
                                            About a month ago we had a transformer jumper wire that burned in two different places between two transformers caused over $200 thousand dollars worth of damage to VFD drives at least 10 of them and a memory card and quite a few power supply as well

                                            Now we have most of the equipment that got damaged back up and running except a feeder that has issues and we are waiting for some parts for

                                            Now we also have another piece of equipment that was blowing fuses on the 110 volt controller switch circuit with the “E” stops and one switching power (24 volt) supply and a transformer...
                                            12-14-2023, 07:45 PM
                                          • irepair559
                                            ps4 1215 model Changed port and encoder still no video?
                                            by irepair559
                                            hi guys so i have this ps4 fat 1215 i believe ( the one with the ps4 pro/slim newer encoder ic ) so i replaced hdmi and 2 blown filters and still no pic so i replaced encoder and still no pic. i made sure port is solid even checked with a breakout hdmi and tested ground and data lines.. Filters are all good , though 2 of the newer ones are larger then the original ones i dont know if that matters ?
                                            Made sure under the scope encoder pins all look solid went over with fine tip and solder again. Idk but this thing is stressing me out..
                                            ps4 seems to boot fine blue light then solid...
                                            01-01-2023, 12:41 AM
                                          • Loading...
                                          • No more items.
                                          Working...