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. Node only works on USB not on battery

Node only works on USB not on battery

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 912 Views 3 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.
  • lorimoL Offline
    lorimoL Offline
    lorimo
    wrote on last edited by
    #1

    My node shows a curious behavior. It's based on a pro mini 3.3V, a DHT22 and a NRF24L01.
    When switching on the battery, the node goes into a boot loop showing up the red LED repeatedly.

    If connected via an FTDI Board to USB it boots up, connects to the gateway and shows up in my domoticz. Then the Sensor data come in correctly as from the other nodes.

    So I think this could not come from the code, it must be something with the wiring. In both cases i find the correct 3.3V on all places. There are no shortcuts i could find. From the FTDI board I need to connect GND, CTS, VCC and DTR for the node to work.

    The battery pack (2x 1.2V 750mAh ) is connected to GND and VCC over a Step-up power converter.

    Any suggestions where to search for the reason?
    Thanks

    mfalkviddM 1 Reply Last reply
    0
    • lorimoL lorimo

      My node shows a curious behavior. It's based on a pro mini 3.3V, a DHT22 and a NRF24L01.
      When switching on the battery, the node goes into a boot loop showing up the red LED repeatedly.

      If connected via an FTDI Board to USB it boots up, connects to the gateway and shows up in my domoticz. Then the Sensor data come in correctly as from the other nodes.

      So I think this could not come from the code, it must be something with the wiring. In both cases i find the correct 3.3V on all places. There are no shortcuts i could find. From the FTDI board I need to connect GND, CTS, VCC and DTR for the node to work.

      The battery pack (2x 1.2V 750mAh ) is connected to GND and VCC over a Step-up power converter.

      Any suggestions where to search for the reason?
      Thanks

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

      @lorimo connect the node to ftdi and the battery at the same time, but don’t connect Vcc on the ftdi. That will let you see the debug log (with MY_DEBUG defined), which will probably help figure out what is happening.

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

        Did you put a capacitor on the booster output? Led flashing fast constantly it could also be a bootloader problem so you could try any other open bootloader (I have been told that minicore works well)

        lorimoL 1 Reply Last reply
        0
        • mfalkviddM mfalkvidd

          @lorimo connect the node to ftdi and the battery at the same time, but don’t connect Vcc on the ftdi. That will let you see the debug log (with MY_DEBUG defined), which will probably help figure out what is happening.

          lorimoL Offline
          lorimoL Offline
          lorimo
          wrote on last edited by
          #4

          @mfalkvidd the main error seems to be (with description from log parser)

          51 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          Sent Message
          Sender: 3
          Last Node: 3
          Next Node: 255
          Destination: 255
          Sensor Id: 255
          Command: INTERNAL
          Message Type:I_FIND_PARENT_REQUEST
          Payload Type: P_STRING
          Payload Length: 0
          Signing: 0
          Failed uplink counter: 0
          Status: OK (OK=success, NACK=no radio ACK received)
          Payload:
          6152 !TSM:FPAR:NO REPLY
          No potential parents replied to find parent request
          6154 TSM:FPAR
          Transition to Find Parent state

          But this does not help me, because still it works fine if powered direct from FTDI.

          1 Reply Last reply
          0
          • gohanG gohan

            Did you put a capacitor on the booster output? Led flashing fast constantly it could also be a bootloader problem so you could try any other open bootloader (I have been told that minicore works well)

            lorimoL Offline
            lorimoL Offline
            lorimo
            wrote on last edited by
            #5

            @gohan the LED does not flash fast. It goes on for a couple of seconds and is off for about half a minute.
            I didn't add a capacitor, is that really necessary? What capacity do you recommend?

            mfalkviddM 1 Reply Last reply
            0
            • lorimoL lorimo

              @gohan the LED does not flash fast. It goes on for a couple of seconds and is off for about half a minute.
              I didn't add a capacitor, is that really necessary? What capacity do you recommend?

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

              @lorimo See https://www.mysensors.org/build/connect_radio for more information about the need for stable power.

              lorimoL 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

                @lorimo See https://www.mysensors.org/build/connect_radio for more information about the need for stable power.

                lorimoL Offline
                lorimoL Offline
                lorimo
                wrote on last edited by
                #7

                @mfalkvidd OK I'll try that. But as expected, there is no suitable capacitor left over in my box.

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


                32

                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