<?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[M5paper touchscreen wakeup from sleep]]></title><description><![CDATA[<p dir="auto">I'm looking to find out how to wakeup M5Paper from sleep(light or deep sleep) with the touchscreen. Some people say its possible and some say not. I have not find any solutions for this. I tried quite many things but nothing is working. Could someone help me on this?</p>
<p dir="auto">Currently i'm running a program that shows weather on the screen when deep sleeping  and refreshes it every 30mins. If i push the side button down (GPIO 39) device wakeup from deep sleep and shows my touch screen home app that i can turn lights on and off. So i'm trying to replace the side button wakeup with touchscreen. A) Because Its quite hard to push the side button correctly B) it takes 5-7 secs to wakeup with this solutions. Also if someone is interested I get about 80 hours of battery on time with this solution.</p>
]]></description><link>https://community.m5stack.com/topic/3085/m5paper-touchscreen-wakeup-from-sleep</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:55:48 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3085.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Mar 2021 17:45:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5paper touchscreen wakeup from sleep on Tue, 23 Apr 2024 08:38:49 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, all clear now, so M5.shutdown(600) will run again the entire setup. Great!</p>
<p dir="auto">Now M5.shutdown(600) it is run actually every 9 minutes and M5.shutdown(3600*11) every 2 and almost a half hour, not 11 hours.</p>
<p dir="auto">In order to avoid charging problems I use:</p>
<p dir="auto">if (voltage&lt;4150) {<br />
M5.shutdown(shutdownDuration);<br />
}</p>
<p dir="auto">otherwise it restarts every 5 seconds when charging. Is there any other solution when charging?<br />
The battery only charges to max 4100 and is dead at 3410: just bought a new M5Paper a week ago.</p>
<p dir="auto">float voltage = M5.getBatteryVoltage();</p>
]]></description><link>https://community.m5stack.com/post/24916</link><guid isPermaLink="true">https://community.m5stack.com/post/24916</guid><dc:creator><![CDATA[actuar]]></dc:creator><pubDate>Tue, 23 Apr 2024 08:38:49 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper touchscreen wakeup from sleep on Tue, 16 Apr 2024 06:22:50 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/actuar" aria-label="Profile: actuar">@<bdi>actuar</bdi></a></p>
<p dir="auto">well there is different behavior regarding program flow after waking from deep sleep vs waking from light sleep.</p>
<p dir="auto">After waking from deep sleep the program flow is (re-)started from the top. Which looks like a restart as it actually is a restart.</p>
<p dir="auto">After waking from light sleep the program flow continues and does not restart.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24819</link><guid isPermaLink="true">https://community.m5stack.com/post/24819</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 16 Apr 2024 06:22:50 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper touchscreen wakeup from sleep on Tue, 16 Apr 2024 04:48:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> If I use esp_deep_sleep_start(); with canvas.drawJpgUrl() it restarts every 5 seconds. Works with light.</p>
]]></description><link>https://community.m5stack.com/post/24817</link><guid isPermaLink="true">https://community.m5stack.com/post/24817</guid><dc:creator><![CDATA[actuar]]></dc:creator><pubDate>Tue, 16 Apr 2024 04:48:54 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper touchscreen wakeup from sleep on Sat, 27 Nov 2021 06:13:30 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/kelcon" aria-label="Profile: kelcon">@<bdi>kelcon</bdi></a></p>
<p dir="auto">yes, the main code can read the same touch which has caused the waking up since the touch IC stores the last touch coordinates for the main code to fetch it.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15625</link><guid isPermaLink="true">https://community.m5stack.com/post/15625</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 27 Nov 2021 06:13:30 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper touchscreen wakeup from sleep on Fri, 26 Nov 2021 21:33:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> - is latency between waking up from deep sleep is low enough to capture the same touch in main code (after wake up)?</p>
]]></description><link>https://community.m5stack.com/post/15624</link><guid isPermaLink="true">https://community.m5stack.com/post/15624</guid><dc:creator><![CDATA[kelcon]]></dc:creator><pubDate>Fri, 26 Nov 2021 21:33:04 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper touchscreen wakeup from sleep on Fri, 10 Sep 2021 23:27:17 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jcl" aria-label="Profile: jcl">@<bdi>jcl</bdi></a></p>
<p dir="auto">this issue happens with Arduino framework 1.0.5 and when WiFi is enabled before going to sleep. See <a href="https://github.com/espressif/arduino-esp32/issues/4903" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> for possible work-a-round.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/14859</link><guid isPermaLink="true">https://community.m5stack.com/post/14859</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Fri, 10 Sep 2021 23:27:17 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper touchscreen wakeup from sleep on Fri, 10 Sep 2021 15:57:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a><br />
With an M5Paper V1.1 and your code sample, I can't put the device in deep (instant reboot with RTC_IO  wakeup cause) or light sleep.  This works well with BTN_UP.<br />
Is there a difference with V1.0  that can explain this behavior or something I missed ?<br />
Thanks<br />
JC</p>
]]></description><link>https://community.m5stack.com/post/14855</link><guid isPermaLink="true">https://community.m5stack.com/post/14855</guid><dc:creator><![CDATA[jcl]]></dc:creator><pubDate>Fri, 10 Sep 2021 15:57:43 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper touchscreen wakeup from sleep on Sun, 14 Mar 2021 20:24:12 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/joonas" aria-label="Profile: Joonas">@<bdi>Joonas</bdi></a></p>
<p dir="auto">you are welcome. I am happy to hear you got it working to your liking.</p>
<p dir="auto">Cheers<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/13014</link><guid isPermaLink="true">https://community.m5stack.com/post/13014</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 14 Mar 2021 20:24:12 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper touchscreen wakeup from sleep on Sun, 14 Mar 2021 18:27:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a><br />
Big thanks. Now it works.<br />
I was missing the two lines "gpio_hold_en(GPIO_NUM_2);" &amp; "gpio_deep_sleep_hold_en();" The other lines I already tried.</p>
<p dir="auto">Now i will keep testing to make the battery life and wakeup times better.</p>
]]></description><link>https://community.m5stack.com/post/13012</link><guid isPermaLink="true">https://community.m5stack.com/post/13012</guid><dc:creator><![CDATA[Joonas]]></dc:creator><pubDate>Sun, 14 Mar 2021 18:27:51 GMT</pubDate></item><item><title><![CDATA[Reply to M5paper touchscreen wakeup from sleep on Sun, 14 Mar 2021 17:55:47 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/joonas" aria-label="Profile: Joonas">@<bdi>Joonas</bdi></a></p>
<p dir="auto">Here is how I put my M5Paper into deep sleep with touch wake up:</p>
<pre><code>esp_sleep_enable_ext0_wakeup(GPIO_NUM_36, LOW); // TOUCH_INT
gpio_hold_en(GPIO_NUM_2); // M5EPD_MAIN_PWR_PIN
gpio_deep_sleep_hold_en();
esp_deep_sleep_start();
</code></pre>
<p dir="auto">or light sleep with touch wake up:</p>
<pre><code>esp_sleep_enable_ext0_wakeup(GPIO_NUM_36, LOW); // TOUCH_INT
esp_light_sleep_start();
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/13011</link><guid isPermaLink="true">https://community.m5stack.com/post/13011</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 14 Mar 2021 17:55:47 GMT</pubDate></item></channel></rss>