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

Battery powering

Scheduled Pinned Locked Moved Troubleshooting
27 Posts 6 Posters 6.1k Views 4 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.
  • YveauxY Yveaux

    @Jason-Brunk what arduino ide are you using? 1.6.10 seems to have issues in combination with MySensors.

    CrankyCoderC Offline
    CrankyCoderC Offline
    CrankyCoder
    wrote on last edited by
    #6

    @Yveaux I am using 1.6.9

    Home Automation Tinkerer
    www.CrankyCoder.net

    Controller: HomeAssistant in Kubernetes
    Gateway: MQTTClientGateway
    MySensors: 2.3

    1 Reply Last reply
    0
    • F flopp

      @Jason-Brunk
      I don't use 2.0, yet, but I have a lot 1.5.1 running on battery without problem.

      Try to run your node with power from e.g. FTDI or other source, then you can see if it works and also if it sleeps.

      What I notice for some of my nodes is that it needs a new battery to work, when my CR2032 battery comes down to ~2,5 volt it stop working maybe because of the mA is to low from battery to power up NRF or ATmega.

      CrankyCoderC Offline
      CrankyCoderC Offline
      CrankyCoder
      wrote on last edited by
      #7

      @flopp Just put a fresh battery in. Checked it before hand, 3.07v

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSP:ASSIGNID:OK (ID=1)
      TSM:FPAR
      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSP:ASSIGNID:OK (ID=1)
      TSM:FPAR
      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSP:ASSIGNID:OK (ID=1)
      TSM:FPAR
      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSP:ASSIGNID:OK (ID=1)
      TSM:FPAR
      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSP:ASSIGNID:OK (ID=1)
      TSM:FPAR
      

      What capacitor size are you using on the radio? any use to put a cap on the main power/gnd between the battery and the rest of the circuit?

      Home Automation Tinkerer
      www.CrankyCoder.net

      Controller: HomeAssistant in Kubernetes
      Gateway: MQTTClientGateway
      MySensors: 2.3

      F 2 Replies Last reply
      0
      • CrankyCoderC CrankyCoder

        @flopp Just put a fresh battery in. Checked it before hand, 3.07v

        Starting sensor (RNNNA-, 2.0.0)
        TSM:INIT
        TSM:RADIO:OK
        TSP:ASSIGNID:OK (ID=1)
        TSM:FPAR
        Starting sensor (RNNNA-, 2.0.0)
        TSM:INIT
        TSM:RADIO:OK
        TSP:ASSIGNID:OK (ID=1)
        TSM:FPAR
        Starting sensor (RNNNA-, 2.0.0)
        TSM:INIT
        TSM:RADIO:OK
        TSP:ASSIGNID:OK (ID=1)
        TSM:FPAR
        Starting sensor (RNNNA-, 2.0.0)
        TSM:INIT
        TSM:RADIO:OK
        TSP:ASSIGNID:OK (ID=1)
        TSM:FPAR
        Starting sensor (RNNNA-, 2.0.0)
        TSM:INIT
        TSM:RADIO:OK
        TSP:ASSIGNID:OK (ID=1)
        TSM:FPAR
        

        What capacitor size are you using on the radio? any use to put a cap on the main power/gnd between the battery and the rest of the circuit?

        F Offline
        F Offline
        flopp
        wrote on last edited by
        #8

        @Jason-Brunk
        I am using 4,7 uF SMD mounted on the NRF.

        1 Reply Last reply
        0
        • CrankyCoderC CrankyCoder

          @flopp Just put a fresh battery in. Checked it before hand, 3.07v

          Starting sensor (RNNNA-, 2.0.0)
          TSM:INIT
          TSM:RADIO:OK
          TSP:ASSIGNID:OK (ID=1)
          TSM:FPAR
          Starting sensor (RNNNA-, 2.0.0)
          TSM:INIT
          TSM:RADIO:OK
          TSP:ASSIGNID:OK (ID=1)
          TSM:FPAR
          Starting sensor (RNNNA-, 2.0.0)
          TSM:INIT
          TSM:RADIO:OK
          TSP:ASSIGNID:OK (ID=1)
          TSM:FPAR
          Starting sensor (RNNNA-, 2.0.0)
          TSM:INIT
          TSM:RADIO:OK
          TSP:ASSIGNID:OK (ID=1)
          TSM:FPAR
          Starting sensor (RNNNA-, 2.0.0)
          TSM:INIT
          TSM:RADIO:OK
          TSP:ASSIGNID:OK (ID=1)
          TSM:FPAR
          

          What capacitor size are you using on the radio? any use to put a cap on the main power/gnd between the battery and the rest of the circuit?

          F Offline
          F Offline
          flopp
          wrote on last edited by
          #9

          @Jason-Brunk
          You can try with a cap on main pwr/gnd.

          Maybe you can measure the voltage on main pwr/gnd and see what happens when it starts?

          CrankyCoderC 1 Reply Last reply
          0
          • F flopp

            @Jason-Brunk
            You can try with a cap on main pwr/gnd.

            Maybe you can measure the voltage on main pwr/gnd and see what happens when it starts?

            CrankyCoderC Offline
            CrankyCoderC Offline
            CrankyCoder
            wrote on last edited by
            #10

            @flopp i changed batteries and made sure i don't go below 2.6v and still the furthest i get is

            TSP▒Starting sensor (RNNNA-, 2.0.0)
            TSM:INIT
            TSM:RADIO:OK
            TSP▒Starting sensor (RNNNA-, 2.0.0)
            TSM:INIT
            TSM:RADIO:OK
            
            

            Looks like it is locking up as soon as the radio is initialized.

            Home Automation Tinkerer
            www.CrankyCoder.net

            Controller: HomeAssistant in Kubernetes
            Gateway: MQTTClientGateway
            MySensors: 2.3

            F 1 Reply Last reply
            0
            • CrankyCoderC CrankyCoder

              @flopp i changed batteries and made sure i don't go below 2.6v and still the furthest i get is

              TSP▒Starting sensor (RNNNA-, 2.0.0)
              TSM:INIT
              TSM:RADIO:OK
              TSP▒Starting sensor (RNNNA-, 2.0.0)
              TSM:INIT
              TSM:RADIO:OK
              
              

              Looks like it is locking up as soon as the radio is initialized.

              F Offline
              F Offline
              flopp
              wrote on last edited by
              #11

              @Jason-Brunk
              Do you have an other NRF, if you have try with that

              1 Reply Last reply
              0
              • CrankyCoderC Offline
                CrankyCoderC Offline
                CrankyCoder
                wrote on last edited by
                #12

                yeah, this one works if i give it a 3.3v power source. But i can try my other one.

                Home Automation Tinkerer
                www.CrankyCoder.net

                Controller: HomeAssistant in Kubernetes
                Gateway: MQTTClientGateway
                MySensors: 2.3

                YveauxY F 3 Replies Last reply
                0
                • CrankyCoderC CrankyCoder

                  yeah, this one works if i give it a 3.3v power source. But i can try my other one.

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

                  @Jason-Brunk Do you know/did you change the brown-out level of your atmega? See BODLEVEL at e.g. http://cryoarchive.net/tutorials/avr-tutorials/avr-fuses-explained/
                  What Arduino hardware are we talking about?

                  http://yveaux.blogspot.nl

                  1 Reply Last reply
                  0
                  • CrankyCoderC CrankyCoder

                    yeah, this one works if i give it a 3.3v power source. But i can try my other one.

                    F Offline
                    F Offline
                    flopp
                    wrote on last edited by
                    #14
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • CrankyCoderC Offline
                      CrankyCoderC Offline
                      CrankyCoder
                      wrote on last edited by
                      #15

                      Im using a 3.3v pro mini.

                      From what I gathered BOD level only affected the power down. Would it affect the power up and radio initialization?

                      Home Automation Tinkerer
                      www.CrankyCoder.net

                      Controller: HomeAssistant in Kubernetes
                      Gateway: MQTTClientGateway
                      MySensors: 2.3

                      YveauxY 1 Reply Last reply
                      0
                      • CrankyCoderC CrankyCoder

                        yeah, this one works if i give it a 3.3v power source. But i can try my other one.

                        F Offline
                        F Offline
                        flopp
                        wrote on last edited by
                        #16

                        @Jason-Brunk said:

                        yeah, this one works if i give it a 3.3v power source. But i can try my other one.

                        Do you mean NRF?
                        NRF should work down to 1,9 volt

                        CrankyCoderC 1 Reply Last reply
                        0
                        • F flopp

                          @Jason-Brunk said:

                          yeah, this one works if i give it a 3.3v power source. But i can try my other one.

                          Do you mean NRF?
                          NRF should work down to 1,9 volt

                          CrankyCoderC Offline
                          CrankyCoderC Offline
                          CrankyCoder
                          wrote on last edited by
                          #17

                          @flopp That is correct, everything registers ok and debug shows the connections when i give it 3.3v from my usb power supply

                          Home Automation Tinkerer
                          www.CrankyCoder.net

                          Controller: HomeAssistant in Kubernetes
                          Gateway: MQTTClientGateway
                          MySensors: 2.3

                          F 1 Reply Last reply
                          0
                          • CrankyCoderC CrankyCoder

                            @flopp That is correct, everything registers ok and debug shows the connections when i give it 3.3v from my usb power supply

                            F Offline
                            F Offline
                            flopp
                            wrote on last edited by
                            #18

                            @Jason-Brunk said:

                            @flopp That is correct, everything registers ok and debug shows the connections when i give it 3.3v from my usb power supply

                            Then it can be bad battery.

                            Measure battery, should be about 3.1.

                            Connect something to the battery, like an LED, battery shall now show maybe 2.9, not lower. If it shows lower I guess the battery is almost empty.

                            1 Reply Last reply
                            0
                            • CrankyCoderC CrankyCoder

                              Im using a 3.3v pro mini.

                              From what I gathered BOD level only affected the power down. Would it affect the power up and radio initialization?

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

                              @Jason-Brunk said:

                              Im using a 3.3v pro mini.

                              How are you pwering it? Through RAW or VCC? Did you remove/disable the regulator?

                              http://yveaux.blogspot.nl

                              CrankyCoderC 1 Reply Last reply
                              1
                              • YveauxY Yveaux

                                @Jason-Brunk said:

                                Im using a 3.3v pro mini.

                                How are you pwering it? Through RAW or VCC? Did you remove/disable the regulator?

                                CrankyCoderC Offline
                                CrankyCoderC Offline
                                CrankyCoder
                                wrote on last edited by
                                #20

                                @Yveaux VCC. Yeah i pulled the regulator off

                                Home Automation Tinkerer
                                www.CrankyCoder.net

                                Controller: HomeAssistant in Kubernetes
                                Gateway: MQTTClientGateway
                                MySensors: 2.3

                                YveauxY 1 Reply Last reply
                                0
                                • CrankyCoderC CrankyCoder

                                  @Yveaux VCC. Yeah i pulled the regulator off

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

                                  @Jason-Brunk Does it run stable without the nRF? E.g. disconnect nRF and simply print something to serial.

                                  http://yveaux.blogspot.nl

                                  1 Reply Last reply
                                  0
                                  • CrankyCoderC Offline
                                    CrankyCoderC Offline
                                    CrankyCoder
                                    wrote on last edited by
                                    #22

                                    tried to do the BOD fuse update. bricked a pro mini. grabbed another one. it took the updated boot loader.

                                    if i disconnect the radio it just loops

                                    TSM:PDT
                                    TSM:INIT
                                    !TSM:RADIO:FAIL
                                    !TSM:FAILURE
                                    TSM:PDT
                                    TSM:INIT
                                    !TSM:RADIO:FAIL
                                    !TSM:FAILURE
                                    TSM:PDT
                                    TSM:INIT
                                    !TSM:RADIO:FAIL
                                    !TSM:FAILURE
                                    TSM:PDT
                                    

                                    as you would expect.

                                    If i hook the radio up i get this.

                                    Starting sensor (RNNNA-, 2.0.0)
                                    TSM:INIT
                                    TSM:RADIO:OK
                                    TSP:Á
                                    

                                    I do still need to remove the regulator and led on this one. Not sure if that's the issue. I have also tried a brand new cr2032 battery

                                    Home Automation Tinkerer
                                    www.CrankyCoder.net

                                    Controller: HomeAssistant in Kubernetes
                                    Gateway: MQTTClientGateway
                                    MySensors: 2.3

                                    1 Reply Last reply
                                    0
                                    • CrankyCoderC Offline
                                      CrankyCoderC Offline
                                      CrankyCoder
                                      wrote on last edited by
                                      #23

                                      So here is my latest. I modified the arduino pro mini. Changed the BOD fuse value and reburned the bootloader. I wired it all back up. Got it to register. I got 6 button presses where it sent the data. Now I am right back where it was.

                                      Starting sensor (RNNNA-, 2.0.0)
                                      TSM:INIT
                                      TSM:RADIO:OK
                                      TSP:ASSIGNID:OK (ID=1)
                                      TSM:FPAR
                                      Starting sensor (RNNNA-, 2.0.0)
                                      TSM:INIT
                                      TSM:RADIO:OK
                                      TSP:ASSIGNID:OK (ID=1)
                                      TSM:FPAR
                                      TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                      Starting sensor (RNNNA-, 2.0.0)
                                      TSM:INIT
                                      TSM:RADIO:OK
                                      TSP:ASSIGNID:Starting sensor (RNNNA-, 2.0.0)
                                      TSM:INIT
                                      TSM:RADIO:OK
                                      TSP:ASS▒Starting sensor (RNNNA-, 2.0.0)
                                      TSM:INIT
                                      TSM:RADIO:OK
                                      

                                      I am just not having much luck getting this to work via battery. I have a 100u capacitor on the radio.

                                      If anyone has any thoughts I am all ears. I kind of at a loss now. I am using the 2.0.0 release.

                                      Home Automation Tinkerer
                                      www.CrankyCoder.net

                                      Controller: HomeAssistant in Kubernetes
                                      Gateway: MQTTClientGateway
                                      MySensors: 2.3

                                      1 Reply Last reply
                                      0
                                      • CrankyCoderC Offline
                                        CrankyCoderC Offline
                                        CrankyCoder
                                        wrote on last edited by
                                        #24

                                        More testing update:

                                        I tried 2 AA batteries. Which would be the same voltage, just more mah. 0 Issues. Using the battery monitor with the AA batteries it shows the voltage at about 2.84v

                                        When I hook a brand new cr2032 up though, I press the button and it shows voltage is already down to 2.48v. I have the BOD disabled (I believe) per the instructions to modify the boards.txt and reburn the bootloader.

                                        The batteries I have are energizer cr2032. I would think they are ok, but they could all be junk. I have tried 4 so far.

                                        Home Automation Tinkerer
                                        www.CrankyCoder.net

                                        Controller: HomeAssistant in Kubernetes
                                        Gateway: MQTTClientGateway
                                        MySensors: 2.3

                                        m26872M 1 Reply Last reply
                                        0
                                        • CrankyCoderC CrankyCoder

                                          More testing update:

                                          I tried 2 AA batteries. Which would be the same voltage, just more mah. 0 Issues. Using the battery monitor with the AA batteries it shows the voltage at about 2.84v

                                          When I hook a brand new cr2032 up though, I press the button and it shows voltage is already down to 2.48v. I have the BOD disabled (I believe) per the instructions to modify the boards.txt and reburn the bootloader.

                                          The batteries I have are energizer cr2032. I would think they are ok, but they could all be junk. I have tried 4 so far.

                                          m26872M Offline
                                          m26872M Offline
                                          m26872
                                          Hardware Contributor
                                          wrote on last edited by
                                          #25

                                          @Jason-Brunk I would try to put in a delay of the radio startup in the sketch. Maybe there's to much or fast simultaneous power consuption initially with respect to the coincell.

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


                                          18

                                          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