<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Troubleshooting IRF24L01 - Arduino				            </title>
            <link>https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/</link>
            <description>Discussion board for Robotics, Arduino, Raspberry Pi and other DIY electronics and modules. Join us today!</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 08 Jun 2026 21:12:56 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Troubleshooting IRF24L01</title>
                        <link>https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22957</link>
                        <pubDate>Mon, 06 Dec 2021 15:31:06 +0000</pubDate>
                        <description><![CDATA[OK about five more hours wasted and a tiny bit of progress
I tried simple sketches from the link above, as follows


As the article does nit use the adaptors I used this to wire the ardu...]]></description>
                        <content:encoded><![CDATA[<p>OK about five more hours wasted and a tiny bit of progress</p>
<p>I tried simple sketches from the link above, as follows</p>
3611
3612
<p>As the article does nit use the adaptors I used this to wire the arduinos</p>
3613
<p>As before they refused to communicate, the client reporting</p>
3614
<p> with no further comment ever.</p>
<p>The server reports this in an infinite loop</p>
<p> </p>
3615
<p>UNTIL I pul the lead from MISO out of Pin12.</p>
<p>When I do that the <strong>client</strong> finds its ears and reports</p>
3616
<p>But the Server is unchanged.</p>
<p>I saw some pin changes the first time I had the problem, but none applied to Nanos.</p>
<p>Is there an alternative pin to 12 I should use?</p>
<p>OR can I edit a library file to tell it to use a different pin and hope it works? if so which library file?</p>
<p>is there any application that I can run on each nano to check it works? and having validated them, an application to run to check the IRF24L01s and then the adaptors?</p>
<p> </p>
<p>Thanks for any suggestions</p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/arduino/">Arduino</category>                        <dc:creator>Fritigern</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22957</guid>
                    </item>
				                    <item>
                        <title>RE: Troubleshooting IRF24L01</title>
                        <link>https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22947</link>
                        <pubDate>Mon, 06 Dec 2021 10:56:40 +0000</pubDate>
                        <description><![CDATA[@fritigern 
As per @robotbuilder advice, please post the problem code, including library version and any other pertinent information that may help.
No one can help you without it.]]></description>
                        <content:encoded><![CDATA[<p>@fritigern </p>
<p>As per <span>@robotbuilder advice, please post the problem code, including library version and any other pertinent information that may help.</span></p>
<p>No one can help you without it.</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/arduino/">Arduino</category>                        <dc:creator>frogandtoad</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22947</guid>
                    </item>
				                    <item>
                        <title>RE: Troubleshooting IRF24L01</title>
                        <link>https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22945</link>
                        <pubDate>Sun, 05 Dec 2021 22:17:31 +0000</pubDate>
                        <description><![CDATA[@Will, @RobotBuilder,
Thank you both for replying. I resolved to read the linked page after I had screens hotted, photographed etc what was happening.
In a rollercoaster of wasted time I w...]]></description>
                        <content:encoded><![CDATA[<p> </p>
<p>@Will, @RobotBuilder,</p>
<p>Thank you both for replying. I resolved to read the linked page after I had screens hotted, photographed etc what was happening.</p>
<p>In a rollercoaster of wasted time I went from the server printing it had heard from the client but the client not hearing the reply, to the server not printing anything at all to the server hearing the client once when I changed its card for one with an aerial. Putting an aerial card on the client made no change so now I have a client that prints that is sending but not getting a reply, and a server that over three hours has printed that it has received hello world once and sent a reply (which the client didn't hear) and has had one communication from the client but apart from those two or three lines the server's serial monitor has been blank. This is the case with unmodified Radiohead nrf24 server/client sketches and the nrf24_reliable_datagram_server/client sketches.</p>
<p>This is the last server print</p>
<p>22:08:14.735 -&gt; ⸮⸮⸮⸮⸮⸮`xf⸮⸮⸮fx怘⸮init failed<br />22:08:36.971 -&gt; init failed<br />22:08:38.548 -&gt; init failed</p>
<p>  I am using Macs, whichI know are not massively reliable with Arduino IDE, but even Macs are not 100% reliable at anything (except being expensive).</p>
<p>have I mentioned I hate computers?</p>
<p>troubleshooting is fine if you win, but not having known good components, sketches or even operating systems does turn a systematic process into a frustrating time consuming struggle.</p>
<p>I'll read the page and try one of the Arduinos on Windows.</p>
<p>Thanks</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/arduino/">Arduino</category>                        <dc:creator>Fritigern</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22945</guid>
                    </item>
				                    <item>
                        <title>RE: Troubleshooting IRF24L01</title>
                        <link>https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22937</link>
                        <pubDate>Sat, 04 Dec 2021 20:53:26 +0000</pubDate>
                        <description><![CDATA[@fritigern 

Nothing in the sketches gives a clue what to do when the serial monitor tells you initialisation has failed.

Trouble shooting, the fun part of programming and electronics :...]]></description>
                        <content:encoded><![CDATA[<p>@fritigern </p>
<blockquote>
<p>Nothing in the sketches gives a clue what to do when the serial monitor tells you initialisation has failed.</p>
</blockquote>
<p>Trouble shooting, the fun part of programming and electronics :)</p>
<p>A start might be to post the code you are using and the actual wiring.</p>
<p>I started with using two PCs communicating via the Arduino's IDE Serial Monitor.</p>
<p>I can't find the rx code must be on some microSD card somewhere.</p>
<pre contenteditable="false"><span style="color: #434f54">//Include Libraries</span>
<span style="color: #5e6d03">#include</span> <span style="color: #434f54">&lt;</span><strong><span style="color: #d35400">SPI</span></strong><span style="color: #434f54">.</span><span style="color: #000000">h</span><span style="color: #434f54">&gt;</span>
<span style="color: #5e6d03">#include</span> <span style="color: #434f54">&lt;</span><span style="color: #000000">nRF24L01</span><span style="color: #434f54">.</span><span style="color: #000000">h</span><span style="color: #434f54">&gt;</span>
<span style="color: #5e6d03">#include</span> <span style="color: #434f54">&lt;</span><strong><span style="color: #d35400">RF24</span></strong><span style="color: #434f54">.</span><span style="color: #000000">h</span><span style="color: #434f54">&gt;</span>

<span style="color: #434f54">//create an RF24 object</span>
<strong><span style="color: #d35400">RF24</span></strong> <span style="color: #000000">radio</span><span style="color: #000000">(</span><span style="color: #000000">9</span><span style="color: #434f54">,</span> <span style="color: #000000">8</span><span style="color: #000000">)</span><span style="color: #000000">;</span>  <span style="color: #434f54">// CE, CSN</span>

<span style="color: #434f54">//address through which two modules communicate.</span>
<span style="color: #00979c">const</span> <span style="color: #00979c">byte</span> <span style="color: #000000">address</span><span style="color: #000000"></span> <span style="color: #434f54">=</span> <span style="color: #005c5f">"00001"</span><span style="color: #000000">;</span>

<span style="color: #00979c">void</span> <span style="color: #5e6d03">setup</span><span style="color: #000000">(</span><span style="color: #000000">)</span>
<span style="color: #000000">{</span>
  <span style="color: #000000">radio</span><span style="color: #434f54">.</span><span style="color: #d35400">begin</span><span style="color: #000000">(</span><span style="color: #000000">)</span><span style="color: #000000">;</span>
  
  <span style="color: #434f54">//set the address</span>
  <span style="color: #000000">radio</span><span style="color: #434f54">.</span><span style="color: #d35400">openWritingPipe</span><span style="color: #000000">(</span><span style="color: #000000">address</span><span style="color: #000000">)</span><span style="color: #000000">;</span>
  
  <span style="color: #434f54">//Set module as transmitter</span>
  <span style="color: #000000">radio</span><span style="color: #434f54">.</span><span style="color: #d35400">stopListening</span><span style="color: #000000">(</span><span style="color: #000000">)</span><span style="color: #000000">;</span>
<span style="color: #000000">}</span>

<span style="color: #00979c">void</span> <span style="color: #5e6d03">loop</span><span style="color: #000000">(</span><span style="color: #000000">)</span>
<span style="color: #000000">{</span>
  <span style="color: #434f54">//Send message to receiver</span>
  <span style="color: #00979c">const</span> <span style="color: #00979c">char</span> <span style="color: #000000">text</span><span style="color: #000000"></span> <span style="color: #434f54">=</span> <span style="color: #005c5f">"Hello Great World"</span><span style="color: #000000">;</span>
  <span style="color: #000000">radio</span><span style="color: #434f54">.</span><span style="color: #d35400">write</span><span style="color: #000000">(</span><span style="color: #434f54">&amp;</span><span style="color: #000000">text</span><span style="color: #434f54">,</span> <span style="color: #00979c">sizeof</span><span style="color: #000000">(</span><span style="color: #000000">text</span><span style="color: #000000">)</span><span style="color: #000000">)</span><span style="color: #000000">;</span>
  
  <span style="color: #d35400">delay</span><span style="color: #000000">(</span><span style="color: #000000">1000</span><span style="color: #000000">)</span><span style="color: #000000">;</span>
<span style="color: #000000">}</span>

</pre>
<p> </p>
3605
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/arduino/">Arduino</category>                        <dc:creator>robotBuilder</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22937</guid>
                    </item>
				                    <item>
                        <title>RE: Troubleshooting IRF24L01</title>
                        <link>https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22936</link>
                        <pubDate>Sat, 04 Dec 2021 20:29:49 +0000</pubDate>
                        <description><![CDATA[@fritigern 
What versions of the libraries are you using ?
Have you read ...]]></description>
                        <content:encoded><![CDATA[<p>@fritigern </p>
<p>What versions of the libraries are you using ?</p>
<p>Have you read ...</p>
<p>https://forum.arduino.cc/t/simple-nrf24l01-2-4ghz-transceiver-demo/405123</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/arduino/">Arduino</category>                        <dc:creator>Will</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22936</guid>
                    </item>
				                    <item>
                        <title>RE: Troubleshooting IRF24L01</title>
                        <link>https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22934</link>
                        <pubDate>Sat, 04 Dec 2021 19:06:43 +0000</pubDate>
                        <description><![CDATA[PS
despite the dozens of combinations I have tried, every single one has given me &quot;init failed&quot;.
Ta]]></description>
                        <content:encoded><![CDATA[<p>PS</p>
<p>despite the dozens of combinations I have tried, every single one has given me "init failed".</p>
<p>Ta</p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/arduino/">Arduino</category>                        <dc:creator>Fritigern</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22934</guid>
                    </item>
				                    <item>
                        <title>Troubleshooting IRF24L01</title>
                        <link>https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22933</link>
                        <pubDate>Sat, 04 Dec 2021 19:03:09 +0000</pubDate>
                        <description><![CDATA[please help.
I&#039;m trying to make two arduinos communicate as in the joystick car video. I&#039;m using the downloaded sketches from Radiohead. The sketches pass the &quot;verify&quot; test.
When I load an...]]></description>
                        <content:encoded><![CDATA[<p>please help.</p>
<p>I'm trying to make two arduinos communicate as in the joystick car video. I'm using the downloaded sketches from Radiohead. The sketches pass the "verify" test.</p>
<p>When I load any of the server sketches onto any board the serial monitor tells me "init failed". As I get no reports of messages sent and not received, I presume this means the irf and connector card are not working. I have had this result when trying with every one of my receive/transmit cards on one of the connector cards, and most on two of the others. Even I do not believe that these components can have such a terrible reliability that every one fails to work out of the box.</p>
<p>Troubleshooting- All my jumper leads conduct electricity. The three arduinos, (a Uno and two nanos) will run other sketches. </p>
<p>Nothing in the sketches gives a clue what to do when the serial monitor tells you initialisation has failed.</p>
<p>Any suggestions?</p>
<p> </p>
<p>Thanks</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://forum.dronebotworkshop.com/arduino/">Arduino</category>                        <dc:creator>Fritigern</dc:creator>
                        <guid isPermaLink="true">https://forum.dronebotworkshop.com/arduino/troubleshooting-irf24l01/#post-22933</guid>
                    </item>
							        </channel>
        </rss>
		