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


                      22

                      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