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.
  • 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
            • CrankyCoderC Offline
              CrankyCoderC Offline
              CrankyCoder
              wrote on last edited by
              #26

              Another quick update, seems to be making progress.

              I decided to try to flash a 1mhz boot loader onto my pro mini. Then reuploaded my switch sketch. So far it's looking good. Button presses are registering as expected. 2 things I have seen.

              1. i think i need to read up some more on changing clock speed. My sleep command should wake up and report battery level once an hour. This did not happen at all through the night.
              2. now that I am running at 1mhz when i tried to connect via serial for debugging using the default baudrate it was junk. I forced the baud rate to nice and slow, and it looked like that was going to do it. but no go.

              Home Automation Tinkerer
              www.CrankyCoder.net

              Controller: HomeAssistant in Kubernetes
              Gateway: MQTTClientGateway
              MySensors: 2.3

              1 Reply Last reply
              0
              • Nca78N Offline
                Nca78N Offline
                Nca78
                Hardware Contributor
                wrote on last edited by
                #27

                Hello I gave you some tips for button cell on your other thread.
                In addition: if you are using interrupts only then your power consumption should be extremely low, I don't think it's necessary to wake up regularly to send battery level.
                If you don't do it then then you have even lower consumption because the watchdog timer is turned off, my CR2032 door/windows nodes using the sleep method from MySensors draws less than 2uA, there can be no visible change in battery level except if you leave your node in a closet for one year ;)

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


                29

                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