<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Adafruit RFM69HCW and Arduino Nano]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have two Adafruit RFM69HCW breakout boards connected to 5V Nano's and they are communicating well using the Radiohead examples shown <a href="https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts/using-the-rfm69-radio" rel="nofollow ugc">here</a> .  However they do not work with mysensors.</p>
<p dir="auto">I am trying to setup a serial gateway with the following:</p>
<pre><code>#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_DEBUG_VERBOSE_RFM69                                                      
#define MY_DEBUG_VERBOSE_RFM69_REGISTERS                                            
#define MY_GATEWAY_SERIAL                                                           

#include &lt;MySensors.h&gt;

void setup()                                                                        // Setup locally attached sensors
{
  Serial.println("Adafruit RFM69HWC Gateway v1.0 : setup");

 // manual reset
  digitalWrite(MY_RFM69_RST_PIN, HIGH);
  delay(10);
  digitalWrite(MY_RFM69_RST_PIN, LOW);
  delay(10);
}

void presentation()                                                                    
{    sendSketchInfo("Holly House Adafruit RFM69HWC Gateway",  "1.0");               
}

void loop()                                                                        
{    
}
</code></pre>
<p dir="auto">The serial log for the above results in <a href="https://pastebin.com/bAT0dRdL" rel="nofollow ugc">this</a>.</p>
<p dir="auto">And if i comment out the #define MY_RFM69_NEW_DRIVER  i get the following:</p>
<pre><code>14:18:16.049 -&gt; 0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RRNGA---,FQ=16,REL=255,VER=2.3.2
14:18:16.286 -&gt; 0;255;3;0;9;205 TSM:INIT
14:18:16.286 -&gt; 0;255;3;0;9;207 TSF:WUR:MS=0
14:18:16.320 -&gt; 0;255;3;0;9;259 !TSM:INIT:TSP FAIL
14:18:16.320 -&gt; 0;255;3;0;9;262 TSM:FAIL:CNT=1
14:18:16.320 -&gt; 0;255;3;0;9;265 TSM:FAIL:DIS
14:18:16.320 -&gt; 0;255;3;0;9;267 TSF:TDI:TSL
14:18:26.327 -&gt; 0;255;3;0;9;10270 TSM:FAIL:RE-INIT
14:18:26.533 -&gt; 0;255;3;0;9;10473 TSM:INIT
14:18:26.601 -&gt; 0;255;3;0;9;10525 !TSM:INIT:TSP FAIL
14:18:26.601 -&gt; 0;255;3;0;9;10528 TSM:FAIL:CNT=2
14:18:26.601 -&gt; 0;255;3;0;9;10531 TSM:FAIL:DIS
14:18:26.601 -&gt; 0;255;3;0;9;10534 TSF:TDI:TSL
14:18:36.599 -&gt; 0;255;3;0;9;20537 TSM:FAIL:RE-INIT
14:18:36.802 -&gt; 0;255;3;0;9;20740 TSM:INIT
14:18:36.837 -&gt; 0;255;3;0;9;20792 !TSM:INIT:TSP FAIL
14:18:36.837 -&gt; 0;255;3;0;9;20795 TSM:FAIL:CNT=3
14:18:36.837 -&gt; 0;255;3;0;9;20798 TSM:FAIL:DIS
14:18:36.871 -&gt; 0;255;3;0;9;20801 TSF:TDI:TSL
14:18:46.854 -&gt; 0;255;3;0;9;30804 TSM:FAIL:RE-INIT
14:18:47.060 -&gt; 0;255;3;0;9;31007 TSM:INIT
14:18:47.094 -&gt; 0;255;3;0;9;31059 !TSM:INIT:TSP FAIL
14:18:47.128 -&gt; 0;255;3;0;9;31063 TSM:FAIL:CNT=4
14:18:47.128 -&gt; 0;255;3;0;9;31066 TSM:FAIL:DIS
14:18:47.128 -&gt; 0;255;3;0;9;31069 TSF:TDI:TSL
</code></pre>
<p dir="auto">Where should i start in troubleshooting why the radios don't work with mysensors?</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.mysensors.org/topic/11291/adafruit-rfm69hcw-and-arduino-nano</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 11:44:51 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/11291.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Jul 2020 13:21:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Adafruit RFM69HCW and Arduino Nano on Wed, 29 Jul 2020 10:37:25 GMT]]></title><description><![CDATA[<p dir="auto">Enjoy :)</p>
]]></description><link>https://forum.mysensors.org/post/106891</link><guid isPermaLink="true">https://forum.mysensors.org/post/106891</guid><dc:creator><![CDATA[scalz]]></dc:creator><pubDate>Wed, 29 Jul 2020 10:37:25 GMT</pubDate></item><item><title><![CDATA[Reply to Adafruit RFM69HCW and Arduino Nano on Wed, 29 Jul 2020 10:33:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/scalz" aria-label="Profile: scalz">@<bdi>scalz</bdi></a> said in <a href="/post/106880">Adafruit RFM69HCW and Arduino Nano</a>:</p>
<blockquote>
<p dir="auto">MY_RFM69_IRQ_PIN</p>
</blockquote>
<p dir="auto">:+1:</p>
<p dir="auto">I changed the IRQ define and its now working!</p>
<p dir="auto">i really appreciate the help, thank you.</p>
]]></description><link>https://forum.mysensors.org/post/106890</link><guid isPermaLink="true">https://forum.mysensors.org/post/106890</guid><dc:creator><![CDATA[keithJ]]></dc:creator><pubDate>Wed, 29 Jul 2020 10:33:20 GMT</pubDate></item><item><title><![CDATA[Reply to Adafruit RFM69HCW and Arduino Nano on Tue, 28 Jul 2020 22:52:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/keithj" aria-label="Profile: keithJ">@<bdi>keithJ</bdi></a><br />
it sounds like you have a problem with IRQ mapping. If bad irq mapping, then no irq is triggered and it can't receive any reply.</p>
<p dir="auto">it could be your RFM69_INT define, which is not a MySensors define afaik. So I guess it uses MySensors default mapping</p>
<p dir="auto">Instead, try to use this define : MY_RFM69_IRQ_PIN</p>
<p dir="auto">You don't need to handle rst pin in before(), as MySensors driver already does it when it's defined.</p>
<p dir="auto">I use new rfm69 driver (different than lowpowerlab driver), and no problem, even when modules are close on same desk. In that case, TX power level will auto adjust to use as less power as possible.</p>
]]></description><link>https://forum.mysensors.org/post/106880</link><guid isPermaLink="true">https://forum.mysensors.org/post/106880</guid><dc:creator><![CDATA[scalz]]></dc:creator><pubDate>Tue, 28 Jul 2020 22:52:24 GMT</pubDate></item><item><title><![CDATA[Reply to Adafruit RFM69HCW and Arduino Nano on Tue, 28 Jul 2020 20:26:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/keithj" aria-label="Profile: keithJ">@<bdi>keithJ</bdi></a> MySensors uses a rfm69 library from lowpowerlab, but I don't see why it should make a big difference. I don't have experience troubleshooting rfm69, but hopefully someone else can pitch in.</p>
]]></description><link>https://forum.mysensors.org/post/106876</link><guid isPermaLink="true">https://forum.mysensors.org/post/106876</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Tue, 28 Jul 2020 20:26:17 GMT</pubDate></item><item><title><![CDATA[Reply to Adafruit RFM69HCW and Arduino Nano on Tue, 28 Jul 2020 19:36:13 GMT]]></title><description><![CDATA[<p dir="auto">Yes, its good to see TSP OK :-)</p>
<p dir="auto">I've separated them to around 4m and unfortunately its made no difference, and they work fine using the RadioHead example when they are only 100mm apart.</p>
<p dir="auto">One thing...  if i connect the rst pin of the radio to pin2 of the arduino - and set #MY_RFM69_RST_PIN  2   - the RSSI values are 0.</p>
<p dir="auto">If i change the rst pin to another pin, for example pin 5 on the arduino and set #MY_RFM69_RST_PIN  5 - the RSSI values are  -32.</p>
<p dir="auto">The RSSI value on the gateway is in the -90's.</p>
<p dir="auto">Im struggling to understand why they communicate immediately, reliably, and within close proximity when i use the RH code, but fail when i include mysensors?</p>
]]></description><link>https://forum.mysensors.org/post/106874</link><guid isPermaLink="true">https://forum.mysensors.org/post/106874</guid><dc:creator><![CDATA[keithJ]]></dc:creator><pubDate>Tue, 28 Jul 2020 19:36:13 GMT</pubDate></item><item><title><![CDATA[Reply to Adafruit RFM69HCW and Arduino Nano on Tue, 28 Jul 2020 12:52:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/keithj" aria-label="Profile: keithJ">@<bdi>keithJ</bdi></a> try moving the devices further apart (at least 2m/6ft). The signal may bee to strong for the gateway to receive.</p>
<p dir="auto">Removing the manual reset was good. You’re getting <code>TSM:INIT:TSP OK</code> now, instead if fail.</p>
]]></description><link>https://forum.mysensors.org/post/106859</link><guid isPermaLink="true">https://forum.mysensors.org/post/106859</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Tue, 28 Jul 2020 12:52:57 GMT</pubDate></item><item><title><![CDATA[Reply to Adafruit RFM69HCW and Arduino Nano on Tue, 28 Jul 2020 10:09:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mfalkvidd" aria-label="Profile: mfalkvidd">@<bdi>mfalkvidd</bdi></a></p>
<p dir="auto">I cant recall why i had the manual reset now, but know it was from a post with related issues with the RFM69.<br />
I have removed it and also tried moving it to before() but no luck.</p>
<p dir="auto">My current GW Code is :</p>
<pre><code>#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 &lt;MySensors.h&gt;

void setup()                                                                        
{  
}

void loop()                                                                        
{    
}
</code></pre>
<p dir="auto">And the repeater node is:</p>
<pre><code>// 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 &lt;MySensors.h&gt;

void setup()
{
}

void loop()
{
}

</code></pre>
<p dir="auto">The result is that the GW outputs the following (and then does nothing else) :</p>
<pre><code>10:50:48.729 -&gt; 0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RPNGA---,FQ=16,REL=255,VER=2.3.2
10:50:48.729 -&gt; 0;255;3;0;9;5 MCO:BGN:BFR
10:50:48.729 -&gt; 0;255;3;0;9;27 TSM:INIT
10:50:48.729 -&gt; 0;255;3;0;9;29 TSF:WUR:MS=0
10:50:48.763 -&gt; 0;255;3;0;9;38 TSM:INIT:TSP OK
10:50:48.763 -&gt; 0;255;3;0;9;40 TSM:INIT:GW MODE
10:50:48.763 -&gt; 0;255;3;0;9;44 TSM:READY:ID=0,PAR=0,DIS=0
10:50:48.763 -&gt; 0;255;3;0;9;48 MCO:REG:NOT NEEDED
10:50:48.763 -&gt; 0;255;3;0;14;Gateway startup complete.
10:50:48.763 -&gt; 0;255;0;0;18;2.3.2
10:50:48.763 -&gt; 0;255;3;0;9;52 MCO:BGN:STP
10:50:48.763 -&gt; 0;255;3;0;9;58 MCO:BGN:INIT OK,TSP=0
10:50:48.763 -&gt; 0;255;3;0;9;62 TSM:READY:NWD REQ
10:50:51.288 -&gt; 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:
</code></pre>
<p dir="auto">and the repeater node gives:</p>
<pre><code>10:51:36.661 -&gt;  
10:51:36.661 -&gt;  __  __       ____
10:51:36.661 -&gt; |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
10:51:36.661 -&gt; | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
10:51:36.661 -&gt; | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
10:51:36.696 -&gt; |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
10:51:36.696 -&gt;         |___/                      2.3.2
10:51:36.696 -&gt; 
10:51:36.696 -&gt; 16 MCO:BGN:INIT REPEATER,CP=RPNRA---,FQ=16,REL=255,VER=2.3.2
10:51:36.696 -&gt; 27 MCO:BGN:BFR
10:51:36.731 -&gt; 49 TSM:INIT
10:51:36.731 -&gt; 50 TSF:WUR:MS=0
10:51:36.731 -&gt; 57 TSM:INIT:TSP OK
10:51:36.731 -&gt; 59 TSM:FPAR
10:51:37.239 -&gt; 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 -&gt; 2568 !TSM:FPAR:NO REPLY
10:51:39.230 -&gt; 2570 TSM:FPAR
10:51:41.764 -&gt; 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 -&gt; 7080 !TSM:FPAR:NO REPLY
10:51:43.783 -&gt; 7083 TSM:FPAR
10:51:46.286 -&gt; 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 -&gt; 11592 !TSM:FPAR:NO REPLY
10:51:48.302 -&gt; 11594 TSM:FPAR
10:51:50.829 -&gt; 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 -&gt; 16103 !TSM:FPAR:FAIL
10:51:52.822 -&gt; 16104 TSM:FAIL:CNT=1
10:51:52.822 -&gt; 16106 TSM:FAIL:DIS
10:51:52.822 -&gt; 16108 TSF:TDI:TSL
10:52:02.876 -&gt; 26112 TSM:FAIL:RE-INIT
10:52:02.876 -&gt; 26114 TSM:INIT
10:52:02.876 -&gt; 26121 TSM:INIT:TSP OK
10:52:02.876 -&gt; 26123 TSM:FPAR
10:52:03.387 -&gt; 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 -&gt; 28633 !TSM:FPAR:NO REPLY
10:52:05.404 -&gt; 28635 TSM:FPAR
10:52:07.934 -&gt; 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 -&gt; 33144 !TSM:FPAR:NO REPLY
10:52:09.942 -&gt; 33146 TSM:FPAR
10:52:12.432 -&gt; 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 -&gt; 37655 !TSM:FPAR:NO REPLY
10:52:14.449 -&gt; 37657 TSM:FPAR
10:52:16.984 -&gt; 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 -&gt; 42166 !TSM:FPAR:FAIL
10:52:19.000 -&gt; 42167 TSM:FAIL:CNT=2
10:52:19.000 -&gt; 42169 TSM:FAIL:DIS
10:52:19.000 -&gt; 42171 TSF:TDI:TSL
</code></pre>
<p dir="auto">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?</p>
<p dir="auto">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.</p>
<p dir="auto">So this must be a power issue?</p>
]]></description><link>https://forum.mysensors.org/post/106858</link><guid isPermaLink="true">https://forum.mysensors.org/post/106858</guid><dc:creator><![CDATA[keithJ]]></dc:creator><pubDate>Tue, 28 Jul 2020 10:09:51 GMT</pubDate></item><item><title><![CDATA[Reply to Adafruit RFM69HCW and Arduino Nano on Tue, 28 Jul 2020 09:41:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yveaux" aria-label="Profile: Yveaux">@<bdi>Yveaux</bdi></a></p>
<p dir="auto">I assume the wiring is ok because the radios work with the RadioHead example?</p>
<p dir="auto">The mysensors configure file has defaults for rf24 and an Ethernet gateway etc, but doesn't the gateway code i'm using override this?</p>
]]></description><link>https://forum.mysensors.org/post/106857</link><guid isPermaLink="true">https://forum.mysensors.org/post/106857</guid><dc:creator><![CDATA[keithJ]]></dc:creator><pubDate>Tue, 28 Jul 2020 09:41:04 GMT</pubDate></item><item><title><![CDATA[Reply to Adafruit RFM69HCW and Arduino Nano on Mon, 27 Jul 2020 18:03:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/keithj" aria-label="Profile: keithJ">@<bdi>keithJ</bdi></a>  Not sure why your sketch manually resets the radio, but resetting in setup() will likely mess upp MySensors' initialization of the radio, which is done before setup()is called. See <a href="https://www.mysensors.org/download/sensor_api_20#node-boot-sequence" rel="nofollow ugc">https://www.mysensors.org/download/sensor_api_20#node-boot-sequence</a> for information on when the different functions are called.</p>
<p dir="auto">Try removing the manual reset, or move it from setup() to before().</p>
]]></description><link>https://forum.mysensors.org/post/106844</link><guid isPermaLink="true">https://forum.mysensors.org/post/106844</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Mon, 27 Jul 2020 18:03:30 GMT</pubDate></item><item><title><![CDATA[Reply to Adafruit RFM69HCW and Arduino Nano on Mon, 27 Jul 2020 14:53:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/keithj" aria-label="Profile: keithJ">@<bdi>keithJ</bdi></a> said in <a href="/post/106836">Adafruit RFM69HCW and Arduino Nano</a>:</p>
<blockquote>
<p dir="auto">!TSM:INIT:TSP FAIL</p>
</blockquote>
<p dir="auto">Indicates a communication error with the radio. Double check your wiring and the configuration of mysensors.</p>
]]></description><link>https://forum.mysensors.org/post/106839</link><guid isPermaLink="true">https://forum.mysensors.org/post/106839</guid><dc:creator><![CDATA[Yveaux]]></dc:creator><pubDate>Mon, 27 Jul 2020 14:53:32 GMT</pubDate></item></channel></rss>