<?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[[SOLVED] SensebenderMicro restarts&#x2F;crashes triggered by D3]]></title><description><![CDATA[<p dir="auto">I have a weird problem with a sensebender micro.<br />
Loaded the standard sensebender sketch and all works fine.<br />
Then I added a switch between 3.3V and D3 and initialized this with:<br />
setup()<br />
...<br />
pinMode(MOTION_PIN, INPUT);<br />
digitalWrite(MOTION_PIN, HIGH);<br />
...</p>
<p dir="auto">Now comes the weird part:<br />
Whenever I press the D3 button, the sketch restarts. No matter if I sleep with interrupt or without etc.<br />
If the serial console is NOT attached, it looks like the sketch continue to run.</p>
<p dir="auto">I would assume some power issue, but for this test the board is powered over the USB-serial converter with 3.3V and everything else is working with or without opening the serial monitor in the Arduino Application.</p>
<p dir="auto">Any idea what I am doing wrong?</p>
<p dir="auto">According to this thread (<a href="https://forum.mysensors.org/topic/1573/my-generic-room-senser-sensebender-with-motion-and-light">https://forum.mysensors.org/topic/1573/my-generic-room-senser-sensebender-with-motion-and-light</a>) I have tried to put a 25k resistor between D3 and ground, but without difference.</p>
]]></description><link>https://forum.mysensors.org/topic/7129/solved-sensebendermicro-restarts-crashes-triggered-by-d3</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 10:29:20 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/7129.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Jul 2017 22:15:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] SensebenderMicro restarts&#x2F;crashes triggered by D3 on Mon, 10 Jul 2017 16:58:25 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> Yes, it works now.</p>
]]></description><link>https://forum.mysensors.org/post/70915</link><guid isPermaLink="true">https://forum.mysensors.org/post/70915</guid><dc:creator><![CDATA[t3chie]]></dc:creator><pubDate>Mon, 10 Jul 2017 16:58:25 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] SensebenderMicro restarts&#x2F;crashes triggered by D3 on Sun, 09 Jul 2017 17:17:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/t3chie" aria-label="Profile: t3chie">@<bdi>t3chie</bdi></a> said in <a href="/post/70847">SensebenderMicro restarts/crashes triggered by D3</a>:</p>
<blockquote>
<p dir="auto">It is working better now.</p>
</blockquote>
<p dir="auto">You mean the issue has been solved?</p>
]]></description><link>https://forum.mysensors.org/post/70848</link><guid isPermaLink="true">https://forum.mysensors.org/post/70848</guid><dc:creator><![CDATA[Yveaux]]></dc:creator><pubDate>Sun, 09 Jul 2017 17:17:10 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] SensebenderMicro restarts&#x2F;crashes triggered by D3 on Sun, 09 Jul 2017 17:16:33 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> Thanks for that - I checked my cabling again and discovered a "hairline connection" between D3 and DTR. It is working better now.</p>
]]></description><link>https://forum.mysensors.org/post/70847</link><guid isPermaLink="true">https://forum.mysensors.org/post/70847</guid><dc:creator><![CDATA[t3chie]]></dc:creator><pubDate>Sun, 09 Jul 2017 17:16:33 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] SensebenderMicro restarts&#x2F;crashes triggered by D3 on Sun, 09 Jul 2017 06:43:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/t3chie" aria-label="Profile: t3chie">@<bdi>t3chie</bdi></a> Shot in the dark, but you're not accidently shorting Vcc and Gnd by pressing the switch?</p>
]]></description><link>https://forum.mysensors.org/post/70811</link><guid isPermaLink="true">https://forum.mysensors.org/post/70811</guid><dc:creator><![CDATA[Yveaux]]></dc:creator><pubDate>Sun, 09 Jul 2017 06:43:45 GMT</pubDate></item></channel></rss>