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 not connecting in IDE Serial Monitor but does stand alone

Node not connecting in IDE Serial Monitor but does stand alone

Scheduled Pinned Locked Moved Troubleshooting
12 Posts 3 Posters 2.2k 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.
  • PetjepetP Offline
    PetjepetP Offline
    Petjepet
    wrote on last edited by Petjepet
    #2

    No suggestions?
    In addition: in both situations the node (Nano) is powered by the PC (usb). The node is connecting to the gateway but as soon Arduino IDE Serial Monitor is started (node restarts) the node won't connect to the gateway anymore responding with FAIL (keeping trying).
    Debugging is an issue now.

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

      Have you tried an older ide version? Or on another computer?

      1 Reply Last reply
      0
      • PetjepetP Petjepet

        No suggestions?
        In addition: in both situations the node (Nano) is powered by the PC (usb). The node is connecting to the gateway but as soon Arduino IDE Serial Monitor is started (node restarts) the node won't connect to the gateway anymore responding with FAIL (keeping trying).
        Debugging is an issue now.

        FotoFieberF Offline
        FotoFieberF Offline
        FotoFieber
        Hardware Contributor
        wrote on last edited by
        #4

        @Petjepet

        However when the node is powered without using the IDE Serial Monitor it is working properly.

        Does the problem only exist, when you open the serial monitor?

        Or does it appear as soon as you attach the node via serial to the computer?

        What is your hardware (arduion type, radio type, serial connection...) and wiring setup?

        PetjepetP 1 Reply Last reply
        0
        • FotoFieberF FotoFieber

          @Petjepet

          However when the node is powered without using the IDE Serial Monitor it is working properly.

          Does the problem only exist, when you open the serial monitor?

          Or does it appear as soon as you attach the node via serial to the computer?

          What is your hardware (arduion type, radio type, serial connection...) and wiring setup?

          PetjepetP Offline
          PetjepetP Offline
          Petjepet
          wrote on last edited by
          #5

          @gohan No I didn't want to downgrade my EDI ending up in having library issues.

          @FotoFieber I have the node attached via USB to my PC. All works fine.
          I open the Arduino IDE having the sketch, as already running on the node, open to edit. All works fine.
          I now start the Serial Monitor. The node restarts and I see this:

          0 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
          3 TSM:INIT
          4 TSF:WUR:MS=0
          11 TSM:INIT:TSP OK
          13 TSM:INIT:STATID=100
          15 TSF:SID:OK,ID=100
          17 TSM:FPAR
          53 TSF:MSG:SEND,100-100-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          2061 !TSM:FPAR:NO REPLY
          2063 TSM:FPAR
          2099 TSF:MSG:SEND,100-100-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          4107 !TSM:FPAR:NO REPLY
          4109 TSM:FPAR
          4145 TSF:MSG:SEND,100-100-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          6153 !TSM:FPAR:NO REPLY
          6155 TSM:FPAR
          6191 TSF:MSG:SEND,100-100-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          8199 !TSM:FPAR:FAIL
          8200 TSM:FAIL:CNT=1
          8202 TSM:FAIL:PDT
          18205 TSM:FAIL:RE-INIT
          18207 TSM:INIT
          18214 TSM:INIT:TSP OK
          18216 TSM:INIT:STATID=100
          18219 TSF:SID:OK,ID=100
          18221 TSM:FPAR
          18257 TSF:MSG:SEND,100-100-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          20267 !TSM:FPAR:NO REPLY
          20269 TSM:FPAR
          20305 TSF:MSG:SEND,100-100-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          22313 !TSM:FPAR:NO REPLY
          22316 TSM:FPAR
          22352 TSF:MSG:SEND,100-100-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          24360 !TSM:FPAR:NO REPLY
          24363 TSM:FPAR
          24399 TSF:MSG:SEND,100-100-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          26407 !TSM:FPAR:FAIL
          26408 TSM:FAIL:CNT=2
          26411 TSM:FAIL:PDT
          

          Continuing to RE-INIT.

          Closing the IDE does not solve anything. I first need to unplug the USB and plug it in again and the node is working again.

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

            ok, but don't you have another computer to try?

            PetjepetP 1 Reply Last reply
            0
            • gohanG gohan

              ok, but don't you have another computer to try?

              PetjepetP Offline
              PetjepetP Offline
              Petjepet
              wrote on last edited by
              #7

              @gohan said in Node not connecting in IDE Serial Monitor but does stand alone:

              ok, but don't you have another computer to try?

              No.
              What makes you think it is computer related?

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

                I am just trying to exclude all possible causes since the problem you are having only happens when connecting to pc. You could also try an older AVR board definition and recompile the node (that's should be easy to try)

                PetjepetP 1 Reply Last reply
                1
                • gohanG gohan

                  I am just trying to exclude all possible causes since the problem you are having only happens when connecting to pc. You could also try an older AVR board definition and recompile the node (that's should be easy to try)

                  PetjepetP Offline
                  PetjepetP Offline
                  Petjepet
                  wrote on last edited by
                  #9

                  @gohan I understand. But when running ok it is also connected to the PC (using power of the same USB port but not running IDE Serial Monitor) so I guess the PC itself is not the issue.

                  Since it seems a communication issue I just added a decoupling capacitor of 4.7µF on the radio power supply.
                  Now the node connected after 5 attempts.
                  I guess using the serial monitor generates some noise on the USB influencing the 3.3V output of the Nano making the radio instable.

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

                    it is actually clearly stated in the guides to use a capacitor on the radio.

                    PetjepetP 1 Reply Last reply
                    0
                    • gohanG gohan

                      it is actually clearly stated in the guides to use a capacitor on the radio.

                      PetjepetP Offline
                      PetjepetP Offline
                      Petjepet
                      wrote on last edited by
                      #11

                      @gohan I know it is suggested only when experiencing bad reception issues:

                      Connecting a Decoupling-Capacitor

                      If you experience bad reception or if transmitted data never reaches destination, try adding a decoupling capacitor of 4.7µ - >47µF (the exact size usually doesn't matter) across the radio's 3.3V and GND.

                      But I didn't have issues, only when using the Arduino IDE Serial Monitor and only with this specific node.
                      Until now I only had one in the Gateway radio. All other nodes work without except for the Weather Station node because this is running on a solar cel with rechargeable battery on a larger distance. In this one I also extended the NRF24L01 radio antenna.

                      Problem seems solved. Thanks for helping out.

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

                        That happens because the voltage regulator from usb isn't able to supply enough current during transmission while when on battery probably it had sufficiently stable voltage for transmitting correctly.

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


                        15

                        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