<?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[Problem with MY_RF24_POWER_PIN]]></title><description><![CDATA[<p dir="auto">I am trying to configure an arduino pro mini/nRF24L01 radio module that will run on 2 AA batteries for at least a few months.<br />
I think I can do this by using some power saving techniques (removing the LED) and using the sleep() function.  However, when I power the nRF24 via pin d2, set MY_RF24_POWER_PIN to 2, and loop between delay(20000) and sleep(20000,true) the voltage on pin d2 does not change--it is constant at 3 volts and the current flow to RAW is a constant about 20 milliamps. Most of the power seems to be needed for the nRF24 module.</p>
<p dir="auto">The message I get when sleep() is call is:</p>
<p dir="auto">MCO:SLP:MS=20000,SMS=1,I1=255,I2=255,M2=255<br />
!MCO:SLP:REP</p>
<p dir="auto">What am I doing wrong?</p>
<p dir="auto">Thank you<br />
Tom</p>
]]></description><link>https://forum.mysensors.org/topic/11892/problem-with-my_rf24_power_pin</link><generator>RSS for Node</generator><lastBuildDate>Thu, 21 May 2026 05:06:24 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/11892.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Jan 2022 00:47:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with MY_RF24_POWER_PIN on Wed, 02 Feb 2022 20:56:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/takato-umeda" aria-label="Profile: Takato-Umeda">@<bdi>Takato-Umeda</bdi></a> if the hardware reset button stops working, the only possible cause is hardware fault. No software can affect the hardware reset.</p>
]]></description><link>https://forum.mysensors.org/post/111563</link><guid isPermaLink="true">https://forum.mysensors.org/post/111563</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Wed, 02 Feb 2022 20:56:57 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with MY_RF24_POWER_PIN on Wed, 02 Feb 2022 19:23:38 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><br />
Thank you for pointing to my error.<br />
Subsequently, I tried again without setting the MY_REPEATER_FEATURE and ran into what seems like a radio communications problem.  My program which cycles between a sleep() state and awake state with an interval of 20 seconds works for the one or two cycles, but then seems to get stuck when waking up.<br />
In this stuck state the LED next to the reset button flashes at ~5hz, and the hardware reset button stops the flashing, but does not reset the program--it returns to the stuck state. Only cycling power to the Arduino resets to program.<br />
The last radio communication received comes from the presentation() stage.<br />
The loop() portion starts with a delay(timeMS) instruction where in the original case timeMS=20000.  Experimenting with an timeMS&lt;8000 causes no problem; however, for several timeMS &gt;9000 the program gets stuck.</p>
<p dir="auto">What is the cause of this behavior?</p>
<p dir="auto">Thank you</p>
]]></description><link>https://forum.mysensors.org/post/111561</link><guid isPermaLink="true">https://forum.mysensors.org/post/111561</guid><dc:creator><![CDATA[Takato Umeda]]></dc:creator><pubDate>Wed, 02 Feb 2022 19:23:38 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with MY_RF24_POWER_PIN on Tue, 25 Jan 2022 04:14:30 GMT]]></title><description><![CDATA[<p dir="auto">Welcome to the forum <a class="plugin-mentions-user plugin-mentions-a" href="/user/takato-umeda" aria-label="Profile: Takato-Umeda">@<bdi>Takato-Umeda</bdi></a></p>
<p dir="auto"><code>!MCO SLP REP</code> means <em>Sleeping not possible, repeater feature enabled</em></p>
<p dir="auto">Documentation: <a href="https://www.mysensors.org/apidocs/group__MySensorsCoregrp.html" rel="nofollow ugc">https://www.mysensors.org/apidocs/group__MySensorsCoregrp.html</a></p>
<p dir="auto">Log parser: <a href="https://www.mysensors.org/build/parser" rel="nofollow ugc">https://www.mysensors.org/build/parser</a></p>
]]></description><link>https://forum.mysensors.org/post/111541</link><guid isPermaLink="true">https://forum.mysensors.org/post/111541</guid><dc:creator><![CDATA[mfalkvidd]]></dc:creator><pubDate>Tue, 25 Jan 2022 04:14:30 GMT</pubDate></item></channel></rss>