<?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[Turn Off Display]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Is it posible to turn off the display and wake it up by pressing a button?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.m5stack.com/topic/94/turn-off-display</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:45:49 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/94.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Feb 2018 17:21:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Turn Off Display on Tue, 06 Mar 2018 12:54:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Found this example:<br />
<a href="https://gist.github.com/igrr/54f7fbe0513ac14e1aea3fd7fbecfeab" target="_blank" rel="noopener noreferrer nofollow ugc">https://gist.github.com/igrr/54f7fbe0513ac14e1aea3fd7fbecfeab</a><br />
It uses RTC memories and wake stub to decides whether to continue booting the firmware, or to go back to sleep.</p>
<p dir="auto">Maybe we could develop a code to run 10 times x 30seconds deepsleep = 300seconds deepsleep  (5min)</p>
]]></description><link>https://community.m5stack.com/post/524</link><guid isPermaLink="true">https://community.m5stack.com/post/524</guid><dc:creator><![CDATA[Pelocks]]></dc:creator><pubDate>Tue, 06 Mar 2018 12:54:56 GMT</pubDate></item><item><title><![CDATA[Reply to Turn Off Display on Mon, 05 Mar 2018 13:07:17 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I use brightness setup to 0 and have improved battery life.</p>
<p dir="auto">Then i use wakeup button and finally deepsleep, getting almost 3 days of battery life.</p>
<p dir="auto">But deepsleep with time wakeup only let my setup 30seconds max, because of IP5306 automatic standby (whern load current drops below 45mA during 32 seconds)</p>
<p dir="auto">Any ideas to avoid automatic standby?</p>
<p dir="auto">Thanks!!!</p>
]]></description><link>https://community.m5stack.com/post/509</link><guid isPermaLink="true">https://community.m5stack.com/post/509</guid><dc:creator><![CDATA[Pelocks]]></dc:creator><pubDate>Mon, 05 Mar 2018 13:07:17 GMT</pubDate></item><item><title><![CDATA[Reply to Turn Off Display on Thu, 22 Feb 2018 23:40:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/world101" aria-label="Profile: world101">@<bdi>world101</bdi></a> I'll do that as soon as I buy another M5, with the MPU9250.</p>
]]></description><link>https://community.m5stack.com/post/442</link><guid isPermaLink="true">https://community.m5stack.com/post/442</guid><dc:creator><![CDATA[dda]]></dc:creator><pubDate>Thu, 22 Feb 2018 23:40:59 GMT</pubDate></item><item><title><![CDATA[Reply to Turn Off Display on Wed, 21 Feb 2018 17:18:53 GMT]]></title><description><![CDATA[<p dir="auto">If you have the m5stack with MPU-9250... it would be cool if you code the display to turn off after a certain time, then turn it back on once you pick up or move the m5stack.  Anyone want to implement that?</p>
]]></description><link>https://community.m5stack.com/post/435</link><guid isPermaLink="true">https://community.m5stack.com/post/435</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Wed, 21 Feb 2018 17:18:53 GMT</pubDate></item><item><title><![CDATA[Reply to Turn Off Display on Wed, 21 Feb 2018 05:18:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dda" aria-label="Profile: dda">@<bdi>dda</bdi></a> Actually this seems to work better:</p>
<pre><code>  M5.Lcd.writecommand(ILI9341_DISPOFF);
  M5.Lcd.setBrightness(0);
</code></pre>
<p dir="auto">1ILI9341_DISPOFF` doesn't turn off the backlight, just the screen itself. So by doing both, you should be saving more.</p>
]]></description><link>https://community.m5stack.com/post/431</link><guid isPermaLink="true">https://community.m5stack.com/post/431</guid><dc:creator><![CDATA[dda]]></dc:creator><pubDate>Wed, 21 Feb 2018 05:18:19 GMT</pubDate></item><item><title><![CDATA[Reply to Turn Off Display on Mon, 19 Feb 2018 13:37:43 GMT]]></title><description><![CDATA[<p dir="auto">@jimit That puts the whole machine to sleep. If you want to turn only the LCD off/on, you can do <code>M5.Lcd.setBrightness(brightness);</code> where brightness is 100 for on and 0 for off.</p>
]]></description><link>https://community.m5stack.com/post/411</link><guid isPermaLink="true">https://community.m5stack.com/post/411</guid><dc:creator><![CDATA[dda]]></dc:creator><pubDate>Mon, 19 Feb 2018 13:37:43 GMT</pubDate></item><item><title><![CDATA[Reply to Turn Off Display on Mon, 19 Feb 2018 13:01:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Thanks for the responces, it really help extending battery charge</p>
]]></description><link>https://community.m5stack.com/post/410</link><guid isPermaLink="true">https://community.m5stack.com/post/410</guid><dc:creator><![CDATA[Pelocks]]></dc:creator><pubDate>Mon, 19 Feb 2018 13:01:05 GMT</pubDate></item><item><title><![CDATA[Reply to Turn Off Display on Mon, 12 Feb 2018 23:11:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pelocks" aria-label="Profile: pelocks">@<bdi>pelocks</bdi></a> @zazar<br />
Hi, you can use these two functions:</p>
<pre><code>M5.setWakeupButton(BUTTON_B_PIN);
M5.powerOFF();
</code></pre>
<p dir="auto">...as demonstrated in Tom Such's menu system which is discussed in the link below:<br />
<a href="http://forum.m5stack.com/topic/78/m5stack-simple-applications-menu-some-apps" target="_blank" rel="noopener noreferrer nofollow ugc">http://forum.m5stack.com/topic/78/m5stack-simple-applications-menu-some-apps</a></p>
<p dir="auto">If you open the code in Arduino, those functions are used on the "system" tab not the main tab that it opens to. You have to select it.</p>
<p dir="auto">There is also a handy list of functions here:  <a href="https://github.com/Kongduino/M5CheatSheet" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Kongduino/M5CheatSheet</a></p>
]]></description><link>https://community.m5stack.com/post/360</link><guid isPermaLink="true">https://community.m5stack.com/post/360</guid><dc:creator><![CDATA[JJ]]></dc:creator><pubDate>Mon, 12 Feb 2018 23:11:37 GMT</pubDate></item><item><title><![CDATA[Reply to Turn Off Display on Mon, 12 Feb 2018 17:35:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Funny I looked at this last night - if you set the brightness down to 0 it seems to turn the display off (I still need to measure the current usage).</p>
<p dir="auto">I added a timer in the loop so that the screen 'turned off' after a few seconds and would switch back on when the first button pressed - very simple but just a test.</p>
]]></description><link>https://community.m5stack.com/post/358</link><guid isPermaLink="true">https://community.m5stack.com/post/358</guid><dc:creator><![CDATA[suremicro]]></dc:creator><pubDate>Mon, 12 Feb 2018 17:35:48 GMT</pubDate></item></channel></rss>