<?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[Support for wake up by Timer2 instead of WD]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">Before coming to MySensors I've been experimenting with waking up my sketches from the atmega328p Timer2, clocked from a 32KHz crystal, instead of waking up from the watchdog timer. This reduces the MCU power consumption from about 4uA to about 1uA while "sleeping". As a result battery life of (coin cell powered) sensor nodes is substantially increased. For example the battery life for a Sensebender Micro, powered from a CR2032, reporting temperture and humidity every minute would (theoretically) be more than doubled.</p>
<p dir="auto">Now I'm thinking of implementing support for this in MySensors. Regarding this I have some questions:</p>
<ul>
<li>Are other people interested in this?</li>
<li>What would be the preferred way to implement this? I'm thinking of creating a new hardware type derived from the current MyHwATMega328.</li>
<li>Is there any chance of this being included in MySensors if implemented properly?</li>
</ul>
<p dir="auto">Regards,</p>
<p dir="auto">Ewald</p>
]]></description><link>https://forum.mysensors.org/topic/2555/support-for-wake-up-by-timer2-instead-of-wd</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 01:17:41 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/2555.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Dec 2015 07:15:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Support for wake up by Timer2 instead of WD on Sun, 20 Dec 2015 09:24:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ewasscher" aria-label="Profile: ewasscher">@<bdi>ewasscher</bdi></a> said:</p>
<blockquote>
<p dir="auto">Are other people interested in this?</p>
</blockquote>
<p dir="auto">Apparently yes</p>
<blockquote>
<p dir="auto">What would be the preferred way to implement this? I'm thinking of creating a new hardware type derived from the current MyHwATMega328.</p>
</blockquote>
<p dir="auto">Better not implement it this way, as your implementation is still just ATMega328 hardware based.<br />
How about e.g. passing an extra parameter to the sleep() method, which defaults to watchdog?</p>
<blockquote>
<p dir="auto">Is there any chance of this being included in MySensors if implemented properly?</p>
</blockquote>
<p dir="auto">Ofcourse. MySensors is a community effort, and any useful addition/bugfix can make it into the library.</p>
]]></description><link>https://forum.mysensors.org/post/26686</link><guid isPermaLink="true">https://forum.mysensors.org/post/26686</guid><dc:creator><![CDATA[Yveaux]]></dc:creator><pubDate>Sun, 20 Dec 2015 09:24:30 GMT</pubDate></item><item><title><![CDATA[Reply to Support for wake up by Timer2 instead of WD on Sun, 20 Dec 2015 07:54:16 GMT]]></title><description><![CDATA[<p dir="auto">Even if this didn't get 'officially implimented' into the MySensors library, i'm very interested in this as i'm currently designing coincell powered light switch nodes.</p>
]]></description><link>https://forum.mysensors.org/post/26683</link><guid isPermaLink="true">https://forum.mysensors.org/post/26683</guid><dc:creator><![CDATA[Samuel235]]></dc:creator><pubDate>Sun, 20 Dec 2015 07:54:16 GMT</pubDate></item></channel></rss>