<?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[Is there a deep sleep mode for Fire?]]></title><description><![CDATA[<p dir="auto">Hello all,</p>
<p dir="auto">I'm designing a Fire application which is supposed to be work on battery, and it will be beneficial if I can deep sleep Fire when it's not being used. Is there a way to "Sleep" the unit? Or what's the most common way to reduce power consumption?</p>
<p dir="auto">Thank you!</p>
]]></description><link>https://community.m5stack.com/topic/2485/is-there-a-deep-sleep-mode-for-fire</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 11:56:27 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2485.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Nov 2020 03:29:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Is there a deep sleep mode for Fire? on Thu, 19 Nov 2020 16:13:07 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/houkensjtu" aria-label="Profile: houkensjtu">@<bdi>houkensjtu</bdi></a></p>
<p dir="auto">ok, I see. In UI-FLOW you could use an <code>Execute code</code> block and add something like this for deep sleep:</p>
<pre><code>import machine

#sleep for 10 seconds
machine.deepsleep(10000)
</code></pre>
<p dir="auto">or light sleep:</p>
<pre><code>import machine

#sleep for 10 seconds
machine.lightsleep(10000)
</code></pre>
<p dir="auto">BTW: I found a nice tutorial about MicroPython and sleep modes <a href="https://randomnerdtutorials.com/micropython-esp32-deep-sleep-wake-up-sources/" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Cheers<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/10800</link><guid isPermaLink="true">https://community.m5stack.com/post/10800</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 19 Nov 2020 16:13:07 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a deep sleep mode for Fire? on Thu, 19 Nov 2020 13:40:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi Felix,</p>
<p dir="auto">Thank you for you quick answer. Looks like you're referring to the Arduino library of M5Stack.<br />
I wonder if there is an equivalent function in UI-FLOW? I'm currently using UI-Flow to program my Fire.<br />
I can also try to burn the Arduino firmware, but I'm worried if I can control the UI as easily as in UI-Flow.</p>
<p dir="auto">Thx,</p>
]]></description><link>https://community.m5stack.com/post/10799</link><guid isPermaLink="true">https://community.m5stack.com/post/10799</guid><dc:creator><![CDATA[houkensjtu]]></dc:creator><pubDate>Thu, 19 Nov 2020 13:40:30 GMT</pubDate></item><item><title><![CDATA[Reply to Is there a deep sleep mode for Fire? on Thu, 19 Nov 2020 07:54:24 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/houkensjtu" aria-label="Profile: houkensjtu">@<bdi>houkensjtu</bdi></a></p>
<p dir="auto">yes, there is. Two functions are available for that <code>POWER::lightSleep()</code> and <code>POWER::deepSleep()</code></p>
<p dir="auto">Also have a look at the sleep <a href="https://github.com/m5stack/M5Stack/blob/master/examples/Basics/Sleep/Sleep.ino" target="_blank" rel="noopener noreferrer nofollow ugc">example</a>, it uses <code>light sleep</code> and <code>deep sleep</code> functionality.</p>
<p dir="auto">Cheers<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/10796</link><guid isPermaLink="true">https://community.m5stack.com/post/10796</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 19 Nov 2020 07:54:24 GMT</pubDate></item></channel></rss>