Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. keithJ
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by keithJ

    • RE: Adafruit RFM69HCW and Arduino Nano

      @mfalkvidd

      I cant recall why i had the manual reset now, but know it was from a post with related issues with the RFM69.
      I have removed it and also tried moving it to before() but no luck.

      My current GW Code is :

      #define MY_DEBUG                                                                    
      #define MY_RADIO_RFM69                                                              
      #define MY_IS_RFM69HW                                                               
      #define MY_RFM69_NEW_DRIVER
      #define MY_RFM69_FREQUENCY RFM69_433MHZ                                            
      
      #define RFM69_INT     3   
      #define MY_RFM69_CS_PIN      4 
      #define MY_RFM69_RST_PIN     2  
      #define LED           13
                                                 
      #define MY_GATEWAY_SERIAL                                                          
      #include <MySensors.h>
      
      void setup()                                                                        
      {  
      }
      
      void loop()                                                                        
      {    
      }
      

      And the repeater node is:

      // Enable debug prints to serial monitor
      #define MY_DEBUG
      
      // Enable and select radio type attached
      #define MY_RADIO_RFM69                                                              
      #define MY_IS_RFM69HW                                                               
      #define MY_RFM69_NEW_DRIVER
      #define MY_RFM69_FREQUENCY RFM69_433MHZ                                            
      
      #define RFM69_INT 3   
      #define MY_RFM69_CS_PIN 4 
      #define MY_RFM69_RST_PIN  2  
      #define LED 13
      
      // Enabled repeater feature for this node
      #define MY_REPEATER_FEATURE
      #include <MySensors.h>
      
      void setup()
      {
      }
      
      void loop()
      {
      }
      
      

      The result is that the GW outputs the following (and then does nothing else) :

      10:50:48.729 -> 0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RPNGA---,FQ=16,REL=255,VER=2.3.2
      10:50:48.729 -> 0;255;3;0;9;5 MCO:BGN:BFR
      10:50:48.729 -> 0;255;3;0;9;27 TSM:INIT
      10:50:48.729 -> 0;255;3;0;9;29 TSF:WUR:MS=0
      10:50:48.763 -> 0;255;3;0;9;38 TSM:INIT:TSP OK
      10:50:48.763 -> 0;255;3;0;9;40 TSM:INIT:GW MODE
      10:50:48.763 -> 0;255;3;0;9;44 TSM:READY:ID=0,PAR=0,DIS=0
      10:50:48.763 -> 0;255;3;0;9;48 MCO:REG:NOT NEEDED
      10:50:48.763 -> 0;255;3;0;14;Gateway startup complete.
      10:50:48.763 -> 0;255;0;0;18;2.3.2
      10:50:48.763 -> 0;255;3;0;9;52 MCO:BGN:STP
      10:50:48.763 -> 0;255;3;0;9;58 MCO:BGN:INIT OK,TSP=0
      10:50:48.763 -> 0;255;3;0;9;62 TSM:READY:NWD REQ
      10:50:51.288 -> 0;255;3;0;9;2565 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      

      and the repeater node gives:

      10:51:36.661 ->  
      10:51:36.661 ->  __  __       ____
      10:51:36.661 -> |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
      10:51:36.661 -> | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
      10:51:36.661 -> | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
      10:51:36.696 -> |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
      10:51:36.696 ->         |___/                      2.3.2
      10:51:36.696 -> 
      10:51:36.696 -> 16 MCO:BGN:INIT REPEATER,CP=RPNRA---,FQ=16,REL=255,VER=2.3.2
      10:51:36.696 -> 27 MCO:BGN:BFR
      10:51:36.731 -> 49 TSM:INIT
      10:51:36.731 -> 50 TSF:WUR:MS=0
      10:51:36.731 -> 57 TSM:INIT:TSP OK
      10:51:36.731 -> 59 TSM:FPAR
      10:51:37.239 -> 561 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      10:51:39.230 -> 2568 !TSM:FPAR:NO REPLY
      10:51:39.230 -> 2570 TSM:FPAR
      10:51:41.764 -> 5072 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      10:51:43.783 -> 7080 !TSM:FPAR:NO REPLY
      10:51:43.783 -> 7083 TSM:FPAR
      10:51:46.286 -> 9585 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      10:51:48.302 -> 11592 !TSM:FPAR:NO REPLY
      10:51:48.302 -> 11594 TSM:FPAR
      10:51:50.829 -> 14096 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      10:51:52.822 -> 16103 !TSM:FPAR:FAIL
      10:51:52.822 -> 16104 TSM:FAIL:CNT=1
      10:51:52.822 -> 16106 TSM:FAIL:DIS
      10:51:52.822 -> 16108 TSF:TDI:TSL
      10:52:02.876 -> 26112 TSM:FAIL:RE-INIT
      10:52:02.876 -> 26114 TSM:INIT
      10:52:02.876 -> 26121 TSM:INIT:TSP OK
      10:52:02.876 -> 26123 TSM:FPAR
      10:52:03.387 -> 26625 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      10:52:05.404 -> 28633 !TSM:FPAR:NO REPLY
      10:52:05.404 -> 28635 TSM:FPAR
      10:52:07.934 -> 31137 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      10:52:09.942 -> 33144 !TSM:FPAR:NO REPLY
      10:52:09.942 -> 33146 TSM:FPAR
      10:52:12.432 -> 35648 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      10:52:14.449 -> 37655 !TSM:FPAR:NO REPLY
      10:52:14.449 -> 37657 TSM:FPAR
      10:52:16.984 -> 40159 ?TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      10:52:19.000 -> 42166 !TSM:FPAR:FAIL
      10:52:19.000 -> 42167 TSM:FAIL:CNT=2
      10:52:19.000 -> 42169 TSM:FAIL:DIS
      10:52:19.000 -> 42171 TSF:TDI:TSL
      

      Using the log parser this would suggest that the transport is ready and the gateway is running, but that the repeater node cant find the parent?

      The radios are sitting on the same desk, and i see 0;255;3;0;9;807 RFM69:CSMA:RSSI=0 repeatedly when #define MY_DEBUG_VERBOSE_RFM69 is set.

      So this must be a power issue?

      posted in Troubleshooting
      keithJ
      keithJ
    • RE: Adafruit RFM69HCW and Arduino Nano

      @scalz said in Adafruit RFM69HCW and Arduino Nano:

      MY_RFM69_IRQ_PIN

      👍

      I changed the IRQ define and its now working!

      i really appreciate the help, thank you.

      posted in Troubleshooting
      keithJ
      keithJ
    • RE: MY_GATEWAY_MQTT_CLIENT

      OMG!!! i feel such a fool!

      Spent a good hour searching - and immediately after posting the above - realised the ethernet cable was unplugged!!!!

      facepalm!

      😊

      posted in Troubleshooting
      keithJ
      keithJ