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. Development
  3. Can't get RFM69 working

Can't get RFM69 working

Scheduled Pinned Locked Moved Development
27 Posts 5 Posters 11.4k 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 Offline
    C Offline
    carlierd
    wrote on last edited by
    #16

    Did you connect the gateway to a controller ? or to MYSController ? You get the gateway ready message ?

    For the sensor, you are using the sketch I upload ?
    Debug mode is enable in MyConfig.h ?

    You should have some debug messages in the console when connecting to the node.

    David.

    1 Reply Last reply
    0
    • SweebeeS Offline
      SweebeeS Offline
      Sweebee
      wrote on last edited by Sweebee
      #17

      The problem is on the uno everything seems to work fine.

      for the sensor i attached the RFM to a arduino pro mini 3.3v

      double checked the wiring, tried 2 different RFM's, tried 2 arduino pro mini's.

      uploaden the gateway to it and i get:

      0;0;3;0;9;gateway started, id=0, parent=0, distance=0
      

      but when i try to send something with the pro mini i get nothing back, while on the UNO I get:

      0;0;3;0;9;send: 0-0-10-10 s=1,c=1,t=2,pt=0,l=1,sg=0,st=fail:1
      

      So on the pro mini i get the init message, but no message when i try to send something.

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

        RFM69 or RFM69HW ?

        For RFM69HW you have to modify MyTransportRFM69.hand enable HW model on line 33.
        Replace bool isRFM69HW=falseby bool isRFM69HW=true.

        Nothing on the serial output of the pro mini ??

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fets
          wrote on last edited by
          #19

          Do you use 4.7uF capacitor ?

          1 Reply Last reply
          0
          • SweebeeS Offline
            SweebeeS Offline
            Sweebee
            wrote on last edited by Sweebee
            #20

            Yes i have the HW versions, so i replaced bool isRFM69HW=false by bool isRFM69HW=true

            added a capacitor.

            refreshed and still no feedback after sending.

            I get a serial output from the pro mini on start. but no more serial messages when i try to send a message.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              carlierd
              wrote on last edited by
              #21

              Put your arduino pro debug message to see what happens.

              You used DHT22 ?

              1 Reply Last reply
              0
              • SweebeeS Offline
                SweebeeS Offline
                Sweebee
                wrote on last edited by
                #22

                Its working now!

                Gateway doesn't work on the pro mini, but your sensor sketch is working :D

                now the next thing, i get a lot of fails:

                send: 10-10-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=fail:GHAS sensor
                send: 10-10-0-0 s=255,c=3,t=12,pt=0,l=5,sg=0,st=fail:1.1.5
                send: 10-10-0-0 s=0,c=0,t=7,pt=0,l=0,sg=0,st=fail:
                find parent
                send: 10-10-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
                send: 10-10-0-0 s=1,c=0,t=6,pt=0,l=0,sg=0,st=fail:
                send: 10-10-0-0 s=2,c=0,t=16,pt=0,l=0,sg=0,st=fail:
                send: 10-10-0-0 s=3,c=0,t=30,pt=0,l=0,sg=0,st=fail:
                [Setup duration: 7385 ms]
                send: 10-10-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,st=fail:0.0
                send: 10-10-0-0 s=1,c=1,t=0,pt=7,l=5,sg=0,st=fail:0.0
                send: 10-10-0-0 s=2,c=1,t=37,pt=2,l=2,sg=0,st=fail:9
                find parent
                send: 10-10-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
                send: 10-10-0-0 s=3,c=1,t=38,pt=7,l=5,sg=0,st=fail:3.30
                send: 10-10-0-0 s=255,c=3,t=0,pt=1,l=1,sg=0,st=fail:100
                0.0 degC   0.0 %   9 lx   3.30 v   [4851 ms]
                

                but the gateway receives everything fine?

                22:13:05.403 [pimatic-mysensors] debug: <- Presented Node  [ '10', '0', '0', '0', '7', '' ]
                22:13:05.451 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
                22:13:05.497 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
                22:13:05.538 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
                22:13:05.980 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
                22:13:06.115 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
                22:13:06.246 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
                22:13:07.594 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=1,c=0,t=6,pt=0,l=0,sg=0:
                22:13:07.594 [pimatic-mysensors] debug: <- Presented Node  [ '10', '1', '0', '0', '6', '' ]
                22:13:07.635 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=1,c=0,t=6,pt=0,l=0,sg=0:
                22:13:07.639 [pimatic-mysensors] debug: <- Presented Node  [ '10', '1', '0', '0', '6', '' ]
                22:13:07.680 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=1,c=0,t=6,pt=0,l=0,sg=0:
                22:13:07.680 [pimatic-mysensors] debug: <- Presented Node  [ '10', '1', '0', '0', '6', '' ]
                22:13:07.729 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=2,c=0,t=16,pt=0,l=0,sg=0:
                22:13:07.729 [pimatic-mysensors] debug: <- Presented Node  [ '10', '2', '0', '0', '16', '' ]
                22:13:07.774 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=2,c=0,t=16,pt=0,l=0,sg=0:
                22:13:07.775 [pimatic-mysensors] debug: <- Presented Node  [ '10', '2', '0', '0', '16', '' ]
                22:13:07.815 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=2,c=0,t=16,pt=0,l=0,sg=0:
                22:13:07.816 [pimatic-mysensors] debug: <- Presented Node  [ '10', '2', '0', '0', '16', '' ]
                22:13:07.864 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=3,c=0,t=30,pt=0,l=0,sg=0:
                22:13:07.865 [pimatic-mysensors] debug: <- Presented Node  [ '10', '3', '0', '0', '30', '' ]
                22:13:07.909 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=3,c=0,t=30,pt=0,l=0,sg=0:
                22:13:07.909 [pimatic-mysensors] debug: <- Presented Node  [ '10', '3', '0', '0', '30', '' ]
                22:13:07.950 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=3,c=0,t=30,pt=0,l=0,sg=0:
                22:13:07.954 [pimatic-mysensors] debug: <- Presented Node  [ '10', '3', '0', '0', '30', '' ]
                22:13:10.060 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=0,c=1,t=1,pt=7,l=5,sg=0:0.0
                22:13:10.105 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=0,c=1,t=1,pt=7,l=5,sg=0:0.0
                22:13:10.150 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=0,c=1,t=1,pt=7,l=5,sg=0:0.0
                22:13:10.244 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=1,c=1,t=0,pt=7,l=5,sg=0:0.0
                22:13:10.289 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=1,c=1,t=0,pt=7,l=5,sg=0:0.0
                22:13:10.342 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=2,c=1,t=37,pt=2,l=2,sg=0:9
                22:13:10.383 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=2,c=1,t=37,pt=2,l=2,sg=0:9
                22:13:10.428 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=2,c=1,t=37,pt=2,l=2,sg=0:9
                22:13:10.477 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
                22:13:10.522 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
                22:13:10.563 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
                22:13:10.903 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
                22:13:11.038 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
                22:13:11.174 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;send: 0-0-10-10 s=255,c=3,t=8,pt=1,l=1,sg=0,st=fail:0
                22:13:12.583 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=3,c=1,t=38,pt=7,l=5,sg=0:3.30
                22:13:12.628 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=3,c=1,t=38,pt=7,l=5,sg=0:3.30
                22:13:12.673 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=3,c=1,t=38,pt=7,l=5,sg=0:3.30
                22:13:12.722 [pimatic-mysensors] debug: <- I_LOG_MESSAGE  0;0;3;0;9;read: 10-10-0 s=255,c=3,t=0,pt=1,l=1,sg=0:100
                
                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  carlierd
                  wrote on last edited by
                  #23

                  It's perhaps due to the signing feature ...

                  May be you should disable it for the moment.

                  Disable the feature in MyConfig.h and replace the gateway constructor by:

                  MySensor gw(transport, hw /*, signer*/, RADIO_RX_LED_PIN, RADIO_TX_LED_PIN, RADIO_ERROR_LED_PIN);
                  
                  1 Reply Last reply
                  0
                  • SweebeeS Offline
                    SweebeeS Offline
                    Sweebee
                    wrote on last edited by Sweebee
                    #24

                    Thanks! it working great now.

                    Why does signing not work? Because of the controller? or is this handled by the gateway?

                    Edit: Oh it was disabled on the gateway, now it works :)

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      carlierd
                      wrote on last edited by
                      #25

                      Good news !!

                      If you enable signing, don't forget to change MY_HMAC_KEYin MyConfig.h !

                      David.

                      1 Reply Last reply
                      0
                      • SweebeeS Offline
                        SweebeeS Offline
                        Sweebee
                        wrote on last edited by Sweebee
                        #26

                        I'm trying to create my gateway with a arduino nano. Attached everything and on the serial output I get:

                        0;0;3;0;9;gateway started, id=0, parent=0, distance=0
                        0;0;3;0;14;Gateway startup complete.
                        

                        But nothing happens when i try to send something.

                        When I try to send something with a sensor it gets fail:

                        send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,st=fail:1.5.1
                        send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0
                        sensor started, id=1, parent=0, distance=0
                        send: 1-1-0-0 s=1,c=1,t=16,pt=2,l=2,sg=0,st=fail:1
                        

                        On a arduino uno it works fine. But the gateway won't work on a pro mini or a nano?

                        1 Reply Last reply
                        0
                        • SweebeeS Offline
                          SweebeeS Offline
                          Sweebee
                          wrote on last edited by
                          #27

                          I tried the samples from the RFM69 library and they all work fine on any arduino.

                          Maybe someone can upload their library and some RFM69 mysensors samples that are working?

                          1 Reply Last reply
                          0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          62

                          Online

                          12.0k

                          Users

                          11.2k

                          Topics

                          113.4k

                          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