ESR meter upgrades

Collapse
This is a sticky topic.
X
X
Collapse
+ More Options
Posts
 
  • Time
  • Show
Clear All
new posts
  • bmht
    Member
    • Jul 2016
    • 37
    • Venezuela

    #541
    Re: ESR meter upgrades

    BTW I'm open to do a teamviewer connection skype talk with camera so you can check all connections whatever it takes to fix this

    Belen

    Comment

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

      #542
      Re: ESR meter upgrades

      Originally posted by bmht
      I rebooted the computer and connected the arduino to another USB port and now I'm getting this using Arduino ISP as programmer.

      C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
      conf -c avrisp -P COM3 -b 19200 -B8 -p m8 -U flash:w:TransistorTester.hex \-U ee
      prom:w:TransistorTester.eep \-U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0x
      fc:m

      avrdude: AVR device initialized and ready to accept instructions

      Reading | ################################################## | 100% 0.04s

      avrdude: Device signature = 0x1e950f
      avrdude: Expected signature for ATmega8 is 1E 93 07
      Double check chip, or use -F to override this check.

      avrdude done. Thank you.
      -p m8 ???
      that's atmega8, you need to have -p m328p for atmega328picopower

      Comment

      • vinceroger69
        Badcaps Legend
        • Mar 2012
        • 6714
        • uk

        #543
        Re: ESR meter upgrades

        we are all here too learn dont worry i also was having issues using my programmer but i was learning as i was going but managed to sort it in the end its just time and patience maybe some pictures of your pcb set up with how your programming this ic will help so your are using a 16 mhz crystal and two 22pf capacitors.

        Comment

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

          #544
          Re: ESR meter upgrades

          i dont touch teamviewer - i read the license - you should too.

          it connects to a central server that keeps a complete log of what you do and what it see's
          no thanks - i'll stick with VNC

          Comment

          • bmht
            Member
            • Jul 2016
            • 37
            • Venezuela

            #545
            Re: ESR meter upgrades

            I'm open to VNC too let me install and let you know thanks jejej

            I did not knew about Teamviewer I mostly use it to help my dad when he has problems which is almost daily... He is 80 now... so it amazes me he still uses the computer..
            anyway... brb

            Comment

            • bmht
              Member
              • Jul 2016
              • 37
              • Venezuela

              #546
              Re: ESR meter upgrades

              Ok VCN installed since I'm new in this forum I believe I can not PM no one but I can over at eevblog want me to pm you there??

              Thanks

              Belen

              Comment

              • bmht
                Member
                • Jul 2016
                • 37
                • Venezuela

                #547
                Re: ESR meter upgrades

                Originally posted by vinceroger69
                just a thought with your crystal are you using 22pf capacitors as well? when your programming the ic
                With the new Crystal I'm not using 22pf capacitors just the crystal as sjt advised any would do.

                Here are some pictures of my connection either to USBASP and Arduino



                Attached Files
                Last edited by Per Hansson; 06-16-2022, 02:03 PM. Reason: Offsite images uploaded

                Comment

                • vinceroger69
                  Badcaps Legend
                  • Mar 2012
                  • 6714
                  • uk

                  #548
                  Re: ESR meter upgrades

                  Originally posted by bmht
                  With the new Crystal I'm not using 22pf capacitors just the crystal as sjt advised any would do.

                  Here are some pictures of my connection either to USBASP and Arduino


                  This is a quote of a site im learning about programming from
                  see also
                  http://www.instructables.com/id/burn...pu-bootloader/

                  1MHz ATmega328P.

                  Note that you must connect a 16MHz crystal with two 22pF capacitors.

                  If you are developing a non-UART program on a breadboard, using a regular ISP programmer (like ArduinoISP) is more convenient.

                  Using a bootloader on a breadboard requires multiple fingers pressing RESET buttons. Whereas using bootloader on the UNO is painless ---- the 'RESET' is done automagically by the DTR capacitor

                  maybe stj will advise you if you need them on your pcb your using for programming.
                  Last edited by vinceroger69; 07-23-2016, 11:49 AM.

                  Comment

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

                    #549
                    Re: ESR meter upgrades

                    i never advised not using capacitors on the crystal, infact you need a 100nf cap across the power pins too.

                    Comment

                    • bmht
                      Member
                      • Jul 2016
                      • 37
                      • Venezuela

                      #550
                      Re: ESR meter upgrades

                      My mistake I thought that any crystal would do without caps
                      Let me look at the caps I think I fryed my USBASP since I was reading the problem was due to old firmware I decided to upgrade the firmware and apparently I can not burn the fuses to it anymore I'm having the same problem as in trying to program the tester chip with the arduino.


                      Code:
                      C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                      conf -c avrisp -P COM3 -b 19200 -p m8 -U flash:w:usbasp.atmega8.2011-05-28.hex
                      
                      avrdude: AVR device initialized and ready to accept instructions
                      
                      Reading | ################################################## | 100% 0.03s
                      
                      avrdude: Device signature = 0xffffff (retrying)
                      
                      Reading | ################################################## | 100% 0.04s
                      
                      avrdude: Device signature = 0xff0000
                      avrdude: Expected signature for ATmega8 is 1E 93 07
                           Double check chip, or use -F to override this check.
                      
                      avrdude done. Thank you.
                      I'm going to look for the 22pf caps and repost
                      Last edited by Per Hansson; 07-23-2016, 12:57 PM. Reason: Added CODE tags

                      Comment

                      • vinceroger69
                        Badcaps Legend
                        • Mar 2012
                        • 6714
                        • uk

                        #551
                        Re: ESR meter upgrades

                        Originally posted by stj
                        i never advised not using capacitors on the crystal, infact you need a 100nf cap across the power pins too.
                        yes i just read that as well
                        One across the VCC and GND (Pins 7 and 8) and another across the AVCC and GND (Pins 20 and 22) (these are 100nf)
                        i think in a picture of my old esr tester someone had added those too the smd ic atmega328
                        regarding the locked fuse issue this is worth a read
                        http://www.avrfreaks.net/forum/tutso...topic&t=106325
                        Last edited by vinceroger69; 07-23-2016, 12:31 PM.

                        Comment

                        • bmht
                          Member
                          • Jul 2016
                          • 37
                          • Venezuela

                          #552
                          Re: ESR meter upgrades

                          I got it wired now as in the schematic should I try to upload the code again?





                          Comment

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

                            #553
                            Re: ESR meter upgrades

                            Hi bmht, just a note; please use code tags for the code output.
                            I edited your previous posts and added CODE tags.
                            It makes the output from avrdude much easier to read
                            "The one who says it cannot be done should never interrupt the one who is doing it."

                            Comment

                            • bmht
                              Member
                              • Jul 2016
                              • 37
                              • Venezuela

                              #554
                              Re: ESR meter upgrades

                              Caps added

                              Sorry Code tag also added

                              Code:
                              C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                              conf -c avrisp -P COM3 -b 19200 -p m8 -U flash:w:TransistorTester.hex \-U eeprom
                              :w:TransistorTester.eep \-U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m
                              
                              
                              avrdude: AVR device initialized and ready to accept instructions
                              
                              Reading | ################################################## | 100% 0.04s
                              
                              avrdude: Device signature = 0x1e950f
                              avrdude: Expected signature for ATmega8 is 1E 93 07
                                   Double check chip, or use -F to override this check.
                              
                              avrdude done. Thank you.
                              Attached Files
                              Last edited by Per Hansson; 06-16-2022, 02:04 PM. Reason: Offsite images uploaded

                              Comment

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

                                #555
                                Re: ESR meter upgrades

                                you did it again, replace m8 with m328p
                                maybe read the manual
                                Attached Files

                                Comment

                                • bmht
                                  Member
                                  • Jul 2016
                                  • 37
                                  • Venezuela

                                  #556
                                  Re: ESR meter upgrades

                                  sjt thanks again and thanks for posting the manual

                                  Code:
                                  C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                                  conf -c avrisp -P COM3 -b 19200 -p m328p -U flash:w:TransistorTester.hex \-U eep
                                  rom:w:TransistorTester.eep \-U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xf
                                  c:m
                                  
                                  avrdude: AVR device initialized and ready to accept instructions
                                  
                                  Reading | ################################################## | 100% 0.04s
                                  
                                  avrdude: Device signature = 0x1e950f
                                  avrdude: NOTE: "flash" memory has been specified, an erase cycle will be perform
                                  ed
                                       To disable this feature, specify the -D option.
                                  avrdude: erasing chip
                                  avrdude: reading input file "TransistorTester.hex"
                                  avrdude: input file TransistorTester.hex auto detected as Intel Hex
                                  avrdude: writing flash (29952 bytes):
                                  
                                  Writing | ################################################## | 100% 32.94s
                                  
                                  avrdude: 29952 bytes of flash written
                                  avrdude: verifying flash memory against TransistorTester.hex:
                                  avrdude: load data flash data from input file TransistorTester.hex:
                                  avrdude: input file TransistorTester.hex auto detected as Intel Hex
                                  avrdude: input file TransistorTester.hex contains 29952 bytes
                                  avrdude: reading on-chip flash data:
                                  
                                  Reading | ################################################## | 100% 18.59s
                                  
                                  avrdude: verifying ...
                                  avrdude: 29952 bytes of flash verified
                                  
                                  avrdude: safemode: Fuses OK (H:07, E:D9, L:62)
                                  
                                  avrdude done. Thank you.
                                  Inserted it into the tester socket and same blank LCD so I tryed to redo the fuses

                                  Code:
                                  C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                                  conf -c avrisp -P COM3 -b 19200 -p m328p -U lfuse:w:0xf7:m
                                  
                                  avrdude: AVR device initialized and ready to accept instructions
                                  
                                  Reading | ################################################## | 100% 0.04s
                                  
                                  avrdude: Device signature = 0x1e950f
                                  avrdude: reading input file "0xf7"
                                  avrdude: writing lfuse (1 bytes):
                                  
                                  Writing | ################################################## | 100% 0.03s
                                  
                                  avrdude: 1 bytes of lfuse written
                                  avrdude: verifying lfuse memory against 0xf7:
                                  avrdude: load data lfuse data from input file 0xf7:
                                  avrdude: input file 0xf7 contains 1 bytes
                                  avrdude: reading on-chip lfuse data:
                                  
                                  Reading | ################################################## | 100% 0.01s
                                  
                                  avrdude: verifying ...
                                  avrdude: 1 bytes of lfuse verified
                                  
                                  avrdude: safemode: Fuses OK (H:07, E:D9, L:F7)
                                  
                                  avrdude done. Thank you.
                                  
                                  
                                  C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                                  conf -c avrisp -P COM3 -b 19200 -p m328p -U hfuse:w:0xd9:m
                                  
                                  avrdude: AVR device initialized and ready to accept instructions
                                  
                                  Reading | ################################################## | 100% 0.04s
                                  
                                  avrdude: Device signature = 0x1e950f
                                  avrdude: reading input file "0xd9"
                                  avrdude: writing hfuse (1 bytes):
                                  
                                  Writing | ################################################## | 100% 0.01s
                                  
                                  avrdude: 1 bytes of hfuse written
                                  avrdude: verifying hfuse memory against 0xd9:
                                  avrdude: load data hfuse data from input file 0xd9:
                                  avrdude: input file 0xd9 contains 1 bytes
                                  avrdude: reading on-chip hfuse data:
                                  
                                  Reading | ################################################## | 100% 0.01s
                                  
                                  avrdude: verifying ...
                                  avrdude: 1 bytes of hfuse verified
                                  
                                  avrdude: safemode: Fuses OK (H:07, E:D9, L:F7)
                                  
                                  avrdude done. Thank you.
                                  
                                  
                                  C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                                  conf -c avrisp -P COM3 -b 19200 -p m328p -U efuse:w:0xfc:m
                                  
                                  avrdude: AVR device initialized and ready to accept instructions
                                  
                                  Reading | ################################################## | 100% 0.03s
                                  
                                  avrdude: Device signature = 0x1e950f
                                  avrdude: reading input file "0xfc"
                                  avrdude: writing efuse (1 bytes):
                                  
                                  Writing |                          | 0% 0.00s ***faile
                                  d;
                                  Writing | ################################################## | 100% 0.07s
                                  
                                  avrdude: 1 bytes of efuse written
                                  avrdude: verifying efuse memory against 0xfc:
                                  avrdude: load data efuse data from input file 0xfc:
                                  avrdude: input file 0xfc contains 1 bytes
                                  avrdude: reading on-chip efuse data:
                                  
                                  Reading | ################################################## | 100% 0.01s
                                  
                                  avrdude: verifying ...
                                  avrdude: verification error, first mismatch at byte 0x0000
                                       0x04 != 0xfc
                                  avrdude: verification error; content mismatch
                                  
                                  avrdude: safemode: efuse changed! Was fc, and is now 4
                                  Would you like this fuse to be changed back? [y/n] y
                                  If I press Y it stays like that and does nothing

                                  Thanks again
                                  I'm trying to learn here

                                  Comment

                                  • vinceroger69
                                    Badcaps Legend
                                    • Mar 2012
                                    • 6714
                                    • uk

                                    #557
                                    Re: ESR meter upgrades

                                    Originally posted by stj
                                    you did it again, replace m8 with m328p
                                    maybe read the manual
                                    thanks for the manual i will have a read.

                                    and some information i found on a forum if the fuses get locked try this Just put a 1nF cap from OSC1 to ground, and a 370 ohm resistor from OSC1 to Vcc as this resets them
                                    Last edited by vinceroger69; 07-23-2016, 03:00 PM.

                                    Comment

                                    • bmht
                                      Member
                                      • Jul 2016
                                      • 37
                                      • Venezuela

                                      #558
                                      Re: ESR meter upgrades

                                      Originally posted by vinceroger69
                                      and some information i found on a forum if the fuses get locked try this Just put a 1nF cap from OSC1 to ground, and a 370 ohm resistor from OSC1 to Vcc as this resets them
                                      Thanks let me figure out how to do that I will let you know how it turn out

                                      Belen

                                      Comment

                                      • vinceroger69
                                        Badcaps Legend
                                        • Mar 2012
                                        • 6714
                                        • uk

                                        #559
                                        Re: ESR meter upgrades

                                        Originally posted by bmht
                                        Thanks let me figure out how to do that I will let you know how it turn out

                                        Belen
                                        i think it was this post
                                        https://forum.sparkfun.com/viewtopic.php?t=12789

                                        Comment

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

                                          #560
                                          Re: ESR meter upgrades

                                          avrdude -C ../etc/avrdude.conf -c avrisp -P COM3 -b 19200 -p m328p -U efuse:w:0x04:m

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