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. Hardware
  3. Problem with Serial Gateway equipped with RFM69W and 1st sensor

Problem with Serial Gateway equipped with RFM69W and 1st sensor

Scheduled Pinned Locked Moved Hardware
4 Posts 2 Posters 1.2k Views 2 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.
  • moumout31M Offline
    moumout31M Offline
    moumout31
    wrote on last edited by
    #1

    Hello,

    I'm french, so my english might be strange sometimes...

    I use RFM69W to communicate between Arduino Nano Serial Gateway and prototype sensor, based on Arduino Duemilanove.
    As it's written in the title it doesn't work.

    You can see here below the gateway log:

    0;255;3;0;9;MCO:BGN:INIT GW,CP=RRNGA--,VER=2.1.1
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSF:WUR:MS=0
    0;255;3;0;9;TSM:INIT:TSP OK
    0;255;3;0;9;TSM:INIT:GW MODE
    0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;MCO:REG:NOT NEEDED
    0;255;3;0;14;Gateway startup complete.
    0;255;0;0;18;2.1.1
    0;255;3;0;11;Thermostat Meuble NAS-Box
    0;255;3;0;12;1.0
    0;0;0;0;6;
    0;1;0;0;3;
    0;2;0;0;6;
    0;3;0;0;6;
    0;255;3;0;9;MCO:BGN:STP
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    

    And herebelow, the sensor log:

    0 MCO:BGN:INIT REPEATER,CP=RRNRA--,VER=2.1.1
    3 MCO:BGN:BFR
    5 TSM:INIT
    6 TSF:WUR:MS=0
    8 TSM:INIT:TSP OK
    9 TSM:FPAR
    139 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2146 !TSM:FPAR:NO REPLY
    2148 TSM:FPAR
    2278 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4285 !TSM:FPAR:NO REPLY
    4287 TSM:FPAR
    4417 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6424 !TSM:FPAR:NO REPLY
    6426 TSM:FPAR
    6556 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8563 !TSM:FPAR:FAIL
    8564 TSM:FAIL:CNT=1
    8566 TSM:FAIL:PDT
    

    Of course, both have the same MySensors library version (2.1.1, also tested with 2.1.0 and 2.0.0).
    47uF capacitor has been added between 3.3V and GND in sensor and gateway.
    3.3V is provided by Arduino Nano in gateway and Arduino Duemilanove in sensor.
    In order to adapt arduino voltage, an "8 Channel I2C IIC Logic Level Converter Module Bi-Directional for Arduino" bought on eBay is used to convert 5V <=> 3.3V for RFM69W I/O.

    I've browsed forum topics find on Google, but nothing works.
    Of course, I've started by following the page "Debugging Sensors and the Gateway"

    I've just made a strange observation, when I connect the sensor and the gateway on my computer USB, if I connect or disconnect the gateway USB from my computer, the LED "L" on my arduino duemilanove (sensor) blinks several times before recovering its initial state.

    Could you help me please ?

    If I can give you more informations, do not hesitate.

    Thanks in advance for your help !

    mfalkviddM 1 Reply Last reply
    1
    • moumout31M moumout31

      Hello,

      I'm french, so my english might be strange sometimes...

      I use RFM69W to communicate between Arduino Nano Serial Gateway and prototype sensor, based on Arduino Duemilanove.
      As it's written in the title it doesn't work.

      You can see here below the gateway log:

      0;255;3;0;9;MCO:BGN:INIT GW,CP=RRNGA--,VER=2.1.1
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      0;255;3;0;9;TSM:INIT:TSP OK
      0;255;3;0;9;TSM:INIT:GW MODE
      0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
      0;255;3;0;9;MCO:REG:NOT NEEDED
      0;255;3;0;14;Gateway startup complete.
      0;255;0;0;18;2.1.1
      0;255;3;0;11;Thermostat Meuble NAS-Box
      0;255;3;0;12;1.0
      0;0;0;0;6;
      0;1;0;0;3;
      0;2;0;0;6;
      0;3;0;0;6;
      0;255;3;0;9;MCO:BGN:STP
      0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
      

      And herebelow, the sensor log:

      0 MCO:BGN:INIT REPEATER,CP=RRNRA--,VER=2.1.1
      3 MCO:BGN:BFR
      5 TSM:INIT
      6 TSF:WUR:MS=0
      8 TSM:INIT:TSP OK
      9 TSM:FPAR
      139 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2146 !TSM:FPAR:NO REPLY
      2148 TSM:FPAR
      2278 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      4285 !TSM:FPAR:NO REPLY
      4287 TSM:FPAR
      4417 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      6424 !TSM:FPAR:NO REPLY
      6426 TSM:FPAR
      6556 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      8563 !TSM:FPAR:FAIL
      8564 TSM:FAIL:CNT=1
      8566 TSM:FAIL:PDT
      

      Of course, both have the same MySensors library version (2.1.1, also tested with 2.1.0 and 2.0.0).
      47uF capacitor has been added between 3.3V and GND in sensor and gateway.
      3.3V is provided by Arduino Nano in gateway and Arduino Duemilanove in sensor.
      In order to adapt arduino voltage, an "8 Channel I2C IIC Logic Level Converter Module Bi-Directional for Arduino" bought on eBay is used to convert 5V <=> 3.3V for RFM69W I/O.

      I've browsed forum topics find on Google, but nothing works.
      Of course, I've started by following the page "Debugging Sensors and the Gateway"

      I've just made a strange observation, when I connect the sensor and the gateway on my computer USB, if I connect or disconnect the gateway USB from my computer, the LED "L" on my arduino duemilanove (sensor) blinks several times before recovering its initial state.

      Could you help me please ?

      If I can give you more informations, do not hesitate.

      Thanks in advance for your help !

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

      @moumout31 welcome to the MySensors community, and thanks for the detailed description.

      How far is between the gateway and the sensor? If it is less than 2m, try to increase the distance. If it is >10m, try to decrease the distance.

      From the logs we can see that both nodes are happy with the radio connection, so everything seems to be correctly wired.
      The gateway does not "hear" the message from the node, which is a bit strange.

      1 Reply Last reply
      0
      • moumout31M Offline
        moumout31M Offline
        moumout31
        wrote on last edited by
        #3

        Thanks for your answer. For tests the sensor and the gateway are separated by nearly 4m... I tried to move them but it doesn't work.

        1 Reply Last reply
        0
        • moumout31M Offline
          moumout31M Offline
          moumout31
          wrote on last edited by
          #4

          Hello,

          I also precise that first I didn't use a level shifter to reduce 5V Arduino to 3,3V for RFM69W pins. Thus when I tried again, I used new RFM69W chips.

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


          24

          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