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 RFM69 on Arduino nano...

Problem with RFM69 on Arduino nano...

Scheduled Pinned Locked Moved Hardware
8 Posts 4 Posters 3.9k 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.
  • fcflopesF Offline
    fcflopesF Offline
    fcflopes
    wrote on last edited by
    #1

    Hi all,

    Since this is my first post I would like to congratulate all mysensors community for the fantastic work.

    I've been running some prototypes of sensor nodes using standalone ESP8266 as node/gateway with no major problems.
    But now, I've ordered some RFM69 modules to start building a sensor network and I'm having trouble getting mysensors to work in a particular combination: Arduino Nano and RFM69HCW (Adafruit 5v safe breakout).

    Using test sketches from the RFM69 library everything works fine (on the other end I have an 3.3v arduino pro mini with a RFM69 module) but from mysensors I only get this output:

    0;255;3;0;9;MCO:BGN:INIT GW,CP=RRNGA--,VER=2.0.1-beta
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;!TSM:INIT:TSP FAIL
    0;255;3;0;9;TSM:FAIL:CNT=1
    0;255;3;0;9;TSM:FAIL:PDT
    0;255;3;0;9;TSM:FAIL:RE-INIT
    0;255;3;0;9;TSM:INIT

    I've tried to replace the default RFM69 driver with the version from LowPower Labs with no success.

    The strange is that the very same code uploaded to an arduino pro mini works fine.

    What can it be?

    sundberg84S 1 Reply Last reply
    0
    • fcflopesF fcflopes

      Hi all,

      Since this is my first post I would like to congratulate all mysensors community for the fantastic work.

      I've been running some prototypes of sensor nodes using standalone ESP8266 as node/gateway with no major problems.
      But now, I've ordered some RFM69 modules to start building a sensor network and I'm having trouble getting mysensors to work in a particular combination: Arduino Nano and RFM69HCW (Adafruit 5v safe breakout).

      Using test sketches from the RFM69 library everything works fine (on the other end I have an 3.3v arduino pro mini with a RFM69 module) but from mysensors I only get this output:

      0;255;3;0;9;MCO:BGN:INIT GW,CP=RRNGA--,VER=2.0.1-beta
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;!TSM:INIT:TSP FAIL
      0;255;3;0;9;TSM:FAIL:CNT=1
      0;255;3;0;9;TSM:FAIL:PDT
      0;255;3;0;9;TSM:FAIL:RE-INIT
      0;255;3;0;9;TSM:INIT

      I've tried to replace the default RFM69 driver with the version from LowPower Labs with no success.

      The strange is that the very same code uploaded to an arduino pro mini works fine.

      What can it be?

      sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #2

      @fcflopes - Power?

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • fcflopesF Offline
        fcflopesF Offline
        fcflopes
        wrote on last edited by fcflopes
        #3

        I also suspected that so I've powered the module from another power supply (and connected all the grounds).

        Still the same result.

        I still can't figure is why this only happens with MySensors... Test sketches run ok...

        sundberg84S 1 Reply Last reply
        0
        • fcflopesF fcflopes

          I also suspected that so I've powered the module from another power supply (and connected all the grounds).

          Still the same result.

          I still can't figure is why this only happens with MySensors... Test sketches run ok...

          sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #4

          @fcflopes - ok, sorry im not into RFM but maybe @scalz know more?

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Alpoy
            wrote on last edited by
            #5

            @fcflopes did you ever figure this one out? I'm having the same problem on an UNO.
            I'm using a RFM69HCW from Adafruit, which works fine with the Radiohead/Adafruit test lib but I only get TSP FAIL when using a mysensor serial GW sketch.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              DavidZH
              wrote on last edited by
              #6

              If the message says: TSP FAIL there is no communication between your Arduino and the RFM, you need to check your wires, which is strange as you have success with that other lib. Have you commented the right #defines before the include <mysensors.h>?

              A 1 Reply Last reply
              0
              • D DavidZH

                If the message says: TSP FAIL there is no communication between your Arduino and the RFM, you need to check your wires, which is strange as you have success with that other lib. Have you commented the right #defines before the include <mysensors.h>?

                A Offline
                A Offline
                Alpoy
                wrote on last edited by
                #7

                @DavidZH
                I finally figured it out, after some forum digging. Check https://forum.mysensors.org/topic/5806/solved-adafruit-rfm69hcw-breakout-doesnt-respond.

                These things should be sticky'ed somewhere, would have saved me a lot of time ;-)

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  DavidZH
                  wrote on last edited by
                  #8

                  Ah! I never thought of that. Nice to see it's solved! And I think you're right, this kind of info should be made available for easy access.

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


                  5

                  Online

                  11.7k

                  Users

                  11.2k

                  Topics

                  113.0k

                  Posts


                  Copyright 2019 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