Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Sudden extreme battery drain [SOLVED]

Sudden extreme battery drain [SOLVED]

Scheduled Pinned Locked Moved Troubleshooting
32 Posts 6 Posters 4.2k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Strixx
    wrote on last edited by
    #19

    So. Forgot to get back.
    But it was the Arduino it self that had gone bad. I switched the Arduino to a new, and everything was back to normal.

    bjacobseB 1 Reply Last reply
    1
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #20

      I had reports about switching to a different bootloader (like minicore) solved similar issues, as the stock bootloader sometimes doesn't like the sleep state

      S 1 Reply Last reply
      0
      • S Strixx

        So. Forgot to get back.
        But it was the Arduino it self that had gone bad. I switched the Arduino to a new, and everything was back to normal.

        bjacobseB Offline
        bjacobseB Offline
        bjacobse
        wrote on last edited by
        #21

        @strixx
        so did you change the IC ATmega328P or was it the whole Arduino board?
        if it's the whole Arduino board, then Sundbergs suggestion that a cap is faulty quite likely the error

        quote Sundber84: "
        sundberg84 Hardware Contributor 2 months ago

        @strixx if you removed sensors like suggested above and you still have a high mA you should try to change the pro-mini. It could be a failing capacitor leaking."

        S 1 Reply Last reply
        0
        • bjacobseB bjacobse

          @strixx
          so did you change the IC ATmega328P or was it the whole Arduino board?
          if it's the whole Arduino board, then Sundbergs suggestion that a cap is faulty quite likely the error

          quote Sundber84: "
          sundberg84 Hardware Contributor 2 months ago

          @strixx if you removed sensors like suggested above and you still have a high mA you should try to change the pro-mini. It could be a failing capacitor leaking."

          S Offline
          S Offline
          Strixx
          wrote on last edited by
          #22

          @bjacobse
          Changed the whole board. I have it laying here in my workshop, but haven't got the time yet to investigate more.
          It's shore sounds like @sundberg84 was right about a leaking capacitor.

          1 Reply Last reply
          0
          • gohanG gohan

            I had reports about switching to a different bootloader (like minicore) solved similar issues, as the stock bootloader sometimes doesn't like the sleep state

            S Offline
            S Offline
            Strixx
            wrote on last edited by
            #23

            @gohan Well. I could try that. But it sounds strange to me that it will all the sudden change behavior. It was running fine without battery drain for a couple of weeks, and then all the sudden started draining the batteries.

            1 Reply Last reply
            0
            • gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #24

              I had a pro mini running fine for months in my outdoor solar sensor but I had to replace it as it was no longer working, with led flashing all the time. Later I managed to recover it by replashing bootloader and sketch again.

              S 1 Reply Last reply
              0
              • gohanG gohan

                I had a pro mini running fine for months in my outdoor solar sensor but I had to replace it as it was no longer working, with led flashing all the time. Later I managed to recover it by replashing bootloader and sketch again.

                S Offline
                S Offline
                Strixx
                wrote on last edited by
                #25

                @gohan Ok. Then I will try your suggestion. I will first have to learn how to replace the bootloader.. :-)

                bjacobseB 1 Reply Last reply
                0
                • S Strixx

                  @gohan Ok. Then I will try your suggestion. I will first have to learn how to replace the bootloader.. :-)

                  bjacobseB Offline
                  bjacobseB Offline
                  bjacobse
                  wrote on last edited by
                  #26

                  @strixx
                  Yes please try to update the bootloader first- I think it's quite interesting for the rest of us what is the actual rootcause
                  I don't use the stock bootlader in any Arduino codes, but instead an optiboot from GertSanders (as optiboot have enabled the WTD/watchdog)
                  https://forum.mysensors.org/topic/3261/various-bootloader-files-based-on-optiboot-6-2

                  S 1 Reply Last reply
                  0
                  • bjacobseB bjacobse

                    @strixx
                    Yes please try to update the bootloader first- I think it's quite interesting for the rest of us what is the actual rootcause
                    I don't use the stock bootlader in any Arduino codes, but instead an optiboot from GertSanders (as optiboot have enabled the WTD/watchdog)
                    https://forum.mysensors.org/topic/3261/various-bootloader-files-based-on-optiboot-6-2

                    S Offline
                    S Offline
                    Strixx
                    wrote on last edited by
                    #27

                    @bjacobse So it's time for a new raid with this project. I have been trying to read up on how to change bootloader. And if I understand it correct I need a programmer. And I only have a FTDI for uploading my code to my arduinos.
                    But somewhere I found that I can use a Arduino Uno instead.

                    So is this correct? If I buy a Uno will I be able to change to the new bootloader?

                    mfalkviddM 1 Reply Last reply
                    0
                    • S Strixx

                      @bjacobse So it's time for a new raid with this project. I have been trying to read up on how to change bootloader. And if I understand it correct I need a programmer. And I only have a FTDI for uploading my code to my arduinos.
                      But somewhere I found that I can use a Arduino Uno instead.

                      So is this correct? If I buy a Uno will I be able to change to the new bootloader?

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #28

                      @strixx you can use almost any Arduino. Instructions are available at https://www.arduino.cc/en/Tutorial/ArduinoISP

                      S 1 Reply Last reply
                      0
                      • mfalkviddM mfalkvidd

                        @strixx you can use almost any Arduino. Instructions are available at https://www.arduino.cc/en/Tutorial/ArduinoISP

                        S Offline
                        S Offline
                        Strixx
                        wrote on last edited by
                        #29

                        @mfalkvidd Thanks! Don't think I found that page before. Found a lot of pages about this subject but not this page. But if I understand it correct I still need to buy a new Arduino. I only have a big supply of Pro Minis. No other models.

                        mfalkviddM 1 Reply Last reply
                        0
                        • S Strixx

                          @mfalkvidd Thanks! Don't think I found that page before. Found a lot of pages about this subject but not this page. But if I understand it correct I still need to buy a new Arduino. I only have a big supply of Pro Minis. No other models.

                          mfalkviddM Offline
                          mfalkviddM Offline
                          mfalkvidd
                          Mod
                          wrote on last edited by
                          #30

                          @strixx a Pro Mini should work. It has the same mcu (atmega328) as the Uno, and pins 10-13 are available.

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            Strixx
                            wrote on last edited by
                            #31

                            So I have been reading up alot. And yesterday I finally managed to upload a new bootloader to this ProMini. It was the optiboot that @bjacobse linked to. All worked fine without any errors.

                            But I must have been doing something wrong, because I am not able to upload any sketch to the Arduino after that. I only get not in sync errors.

                            Unfortunately I don't have time to continue on this until late next week...

                            YveauxY 1 Reply Last reply
                            0
                            • S Strixx

                              So I have been reading up alot. And yesterday I finally managed to upload a new bootloader to this ProMini. It was the optiboot that @bjacobse linked to. All worked fine without any errors.

                              But I must have been doing something wrong, because I am not able to upload any sketch to the Arduino after that. I only get not in sync errors.

                              Unfortunately I don't have time to continue on this until late next week...

                              YveauxY Offline
                              YveauxY Offline
                              Yveaux
                              Mod
                              wrote on last edited by
                              #32

                              @strixx make sure you flash the correct bootloader for the crystal frequency of your pro mini (3.3V 8Mhz vs 5V 16MHz) and select the correct pro mini target in the Arduino IDE. Any errors will cause baudrate deviation in the serial bootloader communication, causing sync errors.

                              http://yveaux.blogspot.nl

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              19

                              Online

                              11.7k

                              Users

                              11.2k

                              Topics

                              113.1k

                              Posts


                              Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • MySensors
                              • OpenHardware.io
                              • Categories
                              • Recent
                              • Tags
                              • Popular