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. RFM69 range issues

RFM69 range issues

Scheduled Pinned Locked Moved Troubleshooting
45 Posts 12 Posters 19.0k Views 11 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.
  • mamanM maman

    I configure the ESP8266 MQTT gateway using RFM69HW.

    I define as follows

    #define MY_RADIO_RFM69
    #define MY_RFM69_FREQUENCY RF69_433MHZ
    #define MY_IS_RFM69HW
    #define MY_RFM69_NETWORKID 100
    #define RF69_IRQ_PIN 4
    #define RF69_SPI_CS 15
    #define MY_RF69_IRQ_PIN RF69_IRQ_PIN
    #define MY_RF69_SPI_CS RF69_SPI_CS

    For node side, I use Promini ATMEGA328
    #define MY_NODE_ID 7
    #define MY_PARENT_NODE_ID 0
    #define MY_RADIO_RFM69
    #define MY_RFM69_FREQUENCY RF69_433MHZ
    #define MY_IS_RFM69HW
    #define MY_RFM69_NETWORKID 100
    #define RF69_IRQ_PIN 2
    #define RF69_SPI_CS 10
    #define MY_RF69_IRQ_PIN RF69_IRQ_PIN
    #define MY_RF69_SPI_CS RF69_SPI_CS

    But, the node (Promini) can not communicate with the gateway

    1487370 !TSM:FPAR:NO REPLY
    1487372 TSM:FPAR
    1487503 TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1489510 !TSM:FPAR:NO REPLY
    1489512 TSM:FPAR
    1489643 TSF:MSG:SEND,7-7-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1491650 !TSM:FPAR:FAIL
    1491652 TSM:FAIL:CNT=7
    1491654 TSM:FAIL:PDT

    Is there any hint to do ?

    YeitsoY Offline
    YeitsoY Offline
    Yeitso
    wrote on last edited by
    #41

    @maman Try to downgrade to 2.0.0 if you are using any newer lib.
    The newer libs over 2.0.0 does not work for my esp8266 mqtt gateway either.

    mamanM 1 Reply Last reply
    0
    • YeitsoY Yeitso

      @maman Try to downgrade to 2.0.0 if you are using any newer lib.
      The newer libs over 2.0.0 does not work for my esp8266 mqtt gateway either.

      mamanM Offline
      mamanM Offline
      maman
      wrote on last edited by
      #42

      @Yeitso Thanks, I will try to downgrade the mysensors library.

      Can you share the #define script that working on ATMEGA328 and ESP8266 board ?

      Thanks for your help.

      Regards,
      Maman

      1 Reply Last reply
      0
      • E executivul

        @mihai-aldea I've bought the same modules from the same supplier.
        Initially I had the same problems you mention.
        My advice: start with the simple lowpowerlab library and their sender/receiver sketches. Use some form of ground plane directly under the module, I've ended up with small pieces of metal sheet under the modules, otherwise I had no reception. Or use a diploe as pictured earlier.
        By the way try touching the antenna at different points maybe you will get reception. The antenna length must be tuned to the circuit, I ended up with 96mm for one particular 868Mhz module, either the tuning circuit is flawed or my circuit messes up the antenna tuning.
        You can also check the interrupt gets triggered or simply use polling by calling the interrupt handler function inside the receiveDone() function to be sure you don't miss received packages (I work with Mega2560 which are not configured correctly in the library for pin2/int4).
        And please use some level shifters :)

        M Offline
        M Offline
        manutremo
        wrote on last edited by
        #43

        Hi @executivul ,

        You mentioned in your post that the length of the antenna must be tuned to the circuit - would you mind sharing the process to do the tuning?

        Thanks!

        C 1 Reply Last reply
        0
        • M manutremo

          Hi @executivul ,

          You mentioned in your post that the length of the antenna must be tuned to the circuit - would you mind sharing the process to do the tuning?

          Thanks!

          C Offline
          C Offline
          Chester
          wrote on last edited by
          #44

          @manutremo said in RFM69 range issues:

          Hi @executivul ,
          You mentioned in your post that the length of the antenna must be tuned to the circuit - would you mind sharing the process to do the tuning?

          https://www.mysensors.org/build/connect_radio

          Down near the bottom of the page is the lengths of antenna needed for the three primary frequencies used by the RFM board.

          M 1 Reply Last reply
          0
          • C Chester

            @manutremo said in RFM69 range issues:

            Hi @executivul ,
            You mentioned in your post that the length of the antenna must be tuned to the circuit - would you mind sharing the process to do the tuning?

            https://www.mysensors.org/build/connect_radio

            Down near the bottom of the page is the lengths of antenna needed for the three primary frequencies used by the RFM board.

            M Offline
            M Offline
            manutremo
            wrote on last edited by
            #45

            @Chester

            I've seen that page, thanks. If you read the post I'm referring to, @executivul used some specific procedure to tune the antenna further than just using the theoretical length.

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


            16

            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