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. Gateway doesn't receive any message from node

Gateway doesn't receive any message from node

Scheduled Pinned Locked Moved Troubleshooting
25 Posts 3 Posters 156 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.
  • C ctodor

    Hi
    My setup is:

    Hardware

    GW
    Arduino Nano 5v
    RFM69
    DC-DC from 5v to 3.3v and 100uF capacitor

    Node
    Arduino ProMini 3.3v
    RFM69

    Software

    GW

    #define MY_DEBUG

    #define MY_RADIO_RFM69
    #define MY_RFM69_FREQUENCY RFM69_868MHZ
    #define MY_GATEWAY_SERIAL

    *#define MY_INCLUSION_MODE_FEATURE
    #define MY_INCLUSION_MODE_DURATION 60
    #define MY_DEFAULT_LED_BLINK_PERIOD 300

    #include <MySensors.h>*
    void setup(){}
    void presentation(){}
    void loop(){}

    Distance between GW and Node is aprox. 1m

    Node

    #define MY_NODE_ID 100

    #define MY_DEBUG
    #define MY_DEBUG_VERBOSE_RFM69
    #define MY_DEBUG_VERBOSE_RFM69_REGISTERS
    #define MY_DEBUG_VERBOSE_TRANSPORT
    #define MY_DEBUG_VERBOSE_CORE

    // Enable and select radio type attached MY_RADIO_RFM69
    #define MY_RADIO_RFM69
    #define MY_RFM69_FREQUENCY RFM69_868MHZ

    #define MY_PARENT_NODE_IS_STATIC
    #define MY_PARENT_NODE_ID 0x0

    #include <MySensors.h>
    void presentation() {
    sendSketchInfo("TestNode", "1.0");
    present(0, S_ARDUINO_NODE, "Counter");
    }

    Logs

    GW

    0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RRNGA---,FQ=16,REL=255,VER=2.3.2
    0;255;3;0;9;5 TSM:INIT
    0;255;3;0;9;7 TSF:WUR:MS=0
    0;255;3;0;9;12 TSM:INIT:TSP OK
    0;255;3;0;9;19 TSM:INIT:GW MODE
    0;255;3;0;9;22 TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;26 MCO:REG:NOT NEEDED
    0;255;3;0;14;Gateway startup complete.
    0;255;0;0;18;2.3.2
    0;255;3;0;9;30 MCO:BGN:STP
    0;255;3;0;9;37 MCO:BGN:INIT OK,TSP=1
    0;255;3;0;9;44 TSM:READY:NWD REQ
    0;255;3;0;9;49 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:

    Node

    16 MCO:BGN:INIT NODE,CP=RRNNA---,FQ=8,REL=255,VER=2.3.2
    28 TSM:INIT
    28 TSF:WUR:MS=0
    34 TSM:INIT:TSP OK
    38 TSM:INIT:STATID=100
    43 TSF:SID:OK,ID=100
    45 TSM:FPAR
    47 TSM:FPAR:STATP=0
    49 TSM:ID
    49 TSM:ID:OK
    51 TSM:UPL
    1269 !TSF:MSG:SEND,100-100-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
    3278 TSM:UPL
    4497 !TSF:MSG:SEND,100-100-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1
    6506 TSM:UPL
    7725 !TSF:MSG:SEND,100-100-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1
    9734 TSM:UPL
    10952 !TSF:MSG:SEND,100-100-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=NACK:1
    12961 !TSM:UPL:FAIL
    12963 TSM:FPAR
    12963 TSM:FPAR:STATP=0
    12967 TSM:ID
    12967 TSM:ID:OK
    12969 TSM:UPL
    14190 !TSF:MSG:SEND,100-100-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=4,st=NACK:1
    16199 TSM:UPL
    17418 !TSF:MSG:SEND,100-100-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=5,st=NACK:1
    19427 TSM:UPL
    20645 !TSF:MSG:SEND,100-100-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=6,st=NACK:1
    22657 TSM:UPL

    Any info/suggestion is highly appreciated.
    Thank you

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

    @ctodor if you have more rfm modules, try swapping them in case one of your existing modules is faulty.

    What type of antennas do you use?

    Can you verify the modules are for 868MHz (and not some other frequency)?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ctodor
      wrote on last edited by
      #3

      @mfalkvidd I've create a new GW board with all new compoents ,same behaviour.
      I'm not using an antena for the GW. The radio is RFM_69 868Mhz on both GW and node

      mfalkviddM 1 Reply Last reply
      0
      • C ctodor

        @mfalkvidd I've create a new GW board with all new compoents ,same behaviour.
        I'm not using an antena for the GW. The radio is RFM_69 868Mhz on both GW and node

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

        @ctodor no antenna at all?

        sending without an antenna can fry the radio. Permanently.
        Receiving without an antenna will be quite hard.

        See also https://www.mysensors.org/build/connect_radio#rfm69-antenna

        1 Reply Last reply
        0
        • C Offline
          C Offline
          ctodor
          wrote on last edited by
          #5

          Antena added.

          Here is the log from GW

          0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RRNGA---,FQ=16,REL=255,VER=2.3.2
          0;255;3;0;9;6 MCO:BGN:BFR
          --- before ---
          0;255;3;0;9;11 TSM:INIT
          0;255;3;0;9;17 TSF:WUR:MS=1
          0;255;3;0;9;27 TSM:INIT:TSP OK
          0;255;3;0;9;34 TSM:INIT:GW MODE
          0;255;3;0;9;37 TSM:READY:ID=0,PAR=0,DIS=0
          0;255;3;0;9;45 MCO:REG:NOT NEEDED
          0;255;3;0;14;Gateway startup complete.
          0;255;0;0;18;2.3.2
          0;255;3;0;9;66 MCO:BGN:SETUP
          0;255;3;0;9;73 MCO:BGN:INIT OK,TSP=1
          --- loop ---

          1 Reply Last reply
          0
          • Y Offline
            Y Offline
            yury
            wrote on last edited by
            #6

            which radio version do you use HCW or CW?

            #define MY_IS_RFM69HW // this is for HCW or commnet out for CW

            1 Reply Last reply
            0
            • C Offline
              C Offline
              ctodor
              wrote on last edited by
              #7

              Radio version is CW
              MY_IS_RFM69HW is not defined

              1 Reply Last reply
              0
              • C Offline
                C Offline
                ctodor
                wrote on last edited by
                #8

                Q. Is there a way to find out if the radio module is working?

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  ctodor
                  wrote on last edited by
                  #9

                  More info: I've performed some tests using the RFM69_LowPowerLab and it seems my both radio modules work on both GW and Node. I was able to send and receive messages, but the was not received on the Node side

                  mfalkviddM 1 Reply Last reply
                  0
                  • C ctodor

                    More info: I've performed some tests using the RFM69_LowPowerLab and it seems my both radio modules work on both GW and Node. I was able to send and receive messages, but the was not received on the Node side

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

                    @ctodor do you mean that when using lowpowerlab’s library, the radio module on the gateway can receive messages from the node, but the radio module on the node can not receive messages from the gateway?

                    C 1 Reply Last reply
                    0
                    • mfalkviddM mfalkvidd

                      @ctodor do you mean that when using lowpowerlab’s library, the radio module on the gateway can receive messages from the node, but the radio module on the node can not receive messages from the gateway?

                      C Offline
                      C Offline
                      ctodor
                      wrote on last edited by
                      #11

                      @mfalkvidd exactly. the GW(receiver) was not able to send the ACK. in fact, the GW isn't able to send something. probably is a HW issue.

                      1. do you have any ideea where/what should I investigate?
                      2. it is possible that radio module on the GW to be broken only on the "send side"? I'm asking because I have two different GW with the same behaviour, so definatly I do something wrong.

                      Thank you

                      mfalkviddM 1 Reply Last reply
                      0
                      • C ctodor

                        @mfalkvidd exactly. the GW(receiver) was not able to send the ACK. in fact, the GW isn't able to send something. probably is a HW issue.

                        1. do you have any ideea where/what should I investigate?
                        2. it is possible that radio module on the GW to be broken only on the "send side"? I'm asking because I have two different GW with the same behaviour, so definatly I do something wrong.

                        Thank you

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

                        @ctodor how do you differentiate between the gateway not being able to send (gateway is mute) and the node not being able to receive (node is deaf)?

                        Best way to troubleshoot is usually to swap radios until you find a combination of two radios that can communicate both ways with eachother.

                        C 2 Replies Last reply
                        0
                        • mfalkviddM mfalkvidd

                          @ctodor how do you differentiate between the gateway not being able to send (gateway is mute) and the node not being able to receive (node is deaf)?

                          Best way to troubleshoot is usually to swap radios until you find a combination of two radios that can communicate both ways with eachother.

                          C Offline
                          C Offline
                          ctodor
                          wrote on last edited by
                          #13

                          @mfalkvidd The node(sender), send a message with ack. The GW(receiver), receive the message and send the ack. The ack is never received on the node(sender) side.

                          I've made the swap: I've load the gw(receiver) code to node(sender) and vice-versa. Technically, i've made the GWa sender and the Node a receiver.
                          My GW (now a sender) is not able to send anything, or at least, the Node(now a receiver) doesn't receive anything.

                          So it seems there is a HW issue on the "send side" of the GW.

                          1 Reply Last reply
                          0
                          • mfalkviddM mfalkvidd

                            @ctodor how do you differentiate between the gateway not being able to send (gateway is mute) and the node not being able to receive (node is deaf)?

                            Best way to troubleshoot is usually to swap radios until you find a combination of two radios that can communicate both ways with eachother.

                            C Offline
                            C Offline
                            ctodor
                            wrote on last edited by
                            #14

                            @mfalkvidd the GW ia not totally mute, it sends at least the ACK, and also, the Node is not totallly deaf, it receives the ACK

                            1 Reply Last reply
                            0
                            • Y Offline
                              Y Offline
                              yury
                              wrote on last edited by
                              #15

                              @ctodor said in Gateway doesn't receive any message from node:

                              GW ia not totally mute

                              Better to have 3-rd device to play with. Preferably 3.3 V one. RFM is 3.3 volts radio. not sure if you used logic level shifters for Nano digital pins connected to radio. Also, SDR radio is handy to detect any radio emission.

                              C 1 Reply Last reply
                              0
                              • Y yury

                                @ctodor said in Gateway doesn't receive any message from node:

                                GW ia not totally mute

                                Better to have 3-rd device to play with. Preferably 3.3 V one. RFM is 3.3 volts radio. not sure if you used logic level shifters for Nano digital pins connected to radio. Also, SDR radio is handy to detect any radio emission.

                                C Offline
                                C Offline
                                ctodor
                                wrote on last edited by
                                #16

                                @yury
                                On the sende side (GW) I'm using Arduino Nano 5v and a logic shifter indeed.
                                On the receiver side (Node) I'm using a "prebuild board" purchased from tindie.
                                Btw, I think I bought from you, "easySensor" :grin: . Your devices works fine.

                                The problem is on the "sender" side, built by me. I've already built two "boards" and both have the same problem. Sending doesn't work.

                                1 Reply Last reply
                                0
                                • Y Offline
                                  Y Offline
                                  yury
                                  wrote on last edited by
                                  #17

                                  @ctodor said in Gateway doesn't receive any message from node:

                                  I bought from you, "easySensor"

                                  Yes. :+1:

                                  may be detailed photo of the device can help...

                                  1 Reply Last reply
                                  0
                                  • C Offline
                                    C Offline
                                    ctodor
                                    wrote on last edited by
                                    #18

                                    Here are the pictures:
                                    pcb2.jpeg pcb1.jpeg

                                    But my question (maybe stupid question) is: It is possible the the radio module to be broken only on the "send side"?

                                    Thank you.

                                    1 Reply Last reply
                                    1
                                    • Y Offline
                                      Y Offline
                                      yury
                                      wrote on last edited by
                                      #19

                                      @ctodor said in Gateway doesn't receive any message from node:

                                      broken only on the "send side"

                                      As @mfalkvidd said, it is possible to burn with no antenna attached but I never actually did that. RFM is quite reliable. Is Schematics available? I see you have reset pad soldered. reset should be disconnected after reset is completed.

                                      1 Reply Last reply
                                      0
                                      • C Offline
                                        C Offline
                                        ctodor
                                        wrote on last edited by ctodor
                                        #20

                                        Unfortunately no schecma available. I've create the pcb on some website (don't know if is ok to say the site name here)
                                        The reset pad is indeed soldered, but the pad is not connected to anything.
                                        NSS->LV1->HV1->D10
                                        SCK->LV2->HV2->D13
                                        MOSI->LV3->HV3->D11
                                        MISO->LV4->HV4->D12
                                        DIO0->D2

                                        Btw. I've never reset the radio module

                                        1 Reply Last reply
                                        0
                                        • Y Offline
                                          Y Offline
                                          yury
                                          wrote on last edited by
                                          #21

                                          pinout looks ok.

                                          btw This line from the Node log

                                          1269 !TSF:MSG:SEND,100-100-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1

                                          Means node cannot send OR gateway cannot receive. may be node radio is HCW somehow?
                                          mysensors lib not broken\timeouts not tweaked?

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


                                          12

                                          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