<?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[lowest power m5paper?]]></title><description><![CDATA[<p dir="auto">hello</p>
<p dir="auto">m5paper's display does not need power to keep displaying... i only want to update the info on screen every so often (e.g. every 10s)</p>
<p dir="auto">i am using the light sleep right now:</p>
<pre><code>gpio_hold_en((gpio_num_t)M5EPD_MAIN_PWR_PIN);
esp_sleep_enable_timer_wakeup(10 * 1000000);
esp_light_sleep_start();
</code></pre>
<p dir="auto">i read somewhere that the power to the screen can be disabled with  M5.disableEPDPower(). that seems to work but how do you get i back on? there is  M5.enableEPDPower() but that doesnot seem to be enough?</p>
<p dir="auto">also: i have a gps attached and i see that that is still powered. is there a way to power down port.C?</p>
<p dir="auto">any other things that can be powered down?</p>
<p dir="auto">when this all works and is still nog good enough i will try to store state in eeprom and actually power down...</p>
<p dir="auto">thanks<br />
frank</p>
]]></description><link>https://community.m5stack.com/topic/6716/lowest-power-m5paper</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 09:37:28 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6716.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Aug 2024 17:50:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to lowest power m5paper? on Fri, 23 Aug 2024 12:38:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> thanks!</p>
<p dir="auto">any idea how to do this with the M5Paper?</p>
<p dir="auto">cheers</p>
]]></description><link>https://community.m5stack.com/post/26209</link><guid isPermaLink="true">https://community.m5stack.com/post/26209</guid><dc:creator><![CDATA[frank_b]]></dc:creator><pubDate>Fri, 23 Aug 2024 12:38:35 GMT</pubDate></item><item><title><![CDATA[Reply to lowest power m5paper? on Thu, 22 Aug 2024 15:57:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/frank_b" aria-label="Profile: frank_b">@<bdi>frank_b</bdi></a> normally with EInk you have to make a HV write to set the ink on the screen then you can switch the device off while still keeping the image or text on screen. If you do a normal write then the content will fade or just vanish when powered off.</p>
]]></description><link>https://community.m5stack.com/post/26197</link><guid isPermaLink="true">https://community.m5stack.com/post/26197</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 22 Aug 2024 15:57:03 GMT</pubDate></item><item><title><![CDATA[Reply to lowest power m5paper? on Thu, 22 Aug 2024 09:39:26 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>: nice!</p>
<p dir="auto">just added a redraw of the screen and it all works:</p>
<pre><code>  // turn on power to screen
  M5.enableEPDPower();
  // redraw screen
  canvas.pushCanvas(0, 0, UPDATE_MODE_DU4);
  // turn on power to ports
  M5.enableEXTPower();
</code></pre>
<p dir="auto">the screen does get a bit of greyish line pattern over time:</p>
<p dir="auto"><img src="/assets/uploads/files/1724319561856-img_1203-resized.jpg" alt="IMG_1203.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/26190</link><guid isPermaLink="true">https://community.m5stack.com/post/26190</guid><dc:creator><![CDATA[frank_b]]></dc:creator><pubDate>Thu, 22 Aug 2024 09:39:26 GMT</pubDate></item><item><title><![CDATA[Reply to lowest power m5paper? on Thu, 22 Aug 2024 08:57:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/frank_b" aria-label="Profile: frank_b">@<bdi>frank_b</bdi></a></p>
<p dir="auto">please find an explanation <a href="https://community.m5stack.com/topic/6211/core-ink-unwanted-display-refresh-on-startup/8">here</a>. (It's for M5CoreInk, but I think the same thing is happening here.)</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26189</link><guid isPermaLink="true">https://community.m5stack.com/post/26189</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 22 Aug 2024 08:57:44 GMT</pubDate></item><item><title><![CDATA[Reply to lowest power m5paper? on Thu, 22 Aug 2024 07:54:07 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> said in <a href="/post/26185">lowest power m5paper?</a>:</p>
<blockquote>
<p dir="auto">M5.disableEXTPower()</p>
</blockquote>
<p dir="auto">hi felix,</p>
<p dir="auto">turning off external power works. great!</p>
<p dir="auto">about turning back on the screen, please see code and screen pictures below. without M5.disableEPDPower() and M5.enableEPDPower() it all works nicely. with turning on/off the screen i do see sort of that it is running but the screen does not "work" properly - i.e. i do not see the number increasing. (and "the noise" is getting worse over time). what am i doing wrong?</p>
<p dir="auto">thanks<br />
frank</p>
<pre><code>#include &lt;M5EPD.h&gt;
#include &lt;EEPROM.h&gt;

// m5paper
M5EPD_Canvas canvas(&amp;M5.EPD);


int count;
int boot;

void setup() {
  
  M5.begin();

  M5.EPD.SetRotation(0);

  // cleanig the screen by alternating all pixels set, all pixels reset
  M5.EPD.Clear(true);

  // use rtc
  M5.RTC.begin();

  canvas.createCanvas(960, 540);
  canvas.setTextSize(8);

  canvas.clear();
  canvas.drawString("Sleep Test...", 50, 50);
  canvas.pushCanvas(0, 0, UPDATE_MODE_DU4);

  delay(1000);

  EEPROM.begin(10);
  boot = EEPROM.read(0);
  boot++;
  EEPROM.write(0,boot);
  EEPROM.commit();

  count = 0;
}

void loop() {

  canvas.clear();
  char printBuffer[64];
  sprintf(printBuffer, "b=%d, c=%d",boot, count);
  canvas.drawString(printBuffer, 50, 50);
  canvas.pushCanvas(0, 0, UPDATE_MODE_DU4);

  count++;

  delay(1000);

  gpio_hold_en((gpio_num_t)M5EPD_MAIN_PWR_PIN);
  esp_sleep_enable_timer_wakeup(5 * 1000000);
  
  // turn off power to screen
  // M5.disableEPDPower();
  // turn off power to ports
  M5.disableEXTPower();

  // sleeps, wakesup and continues
  esp_light_sleep_start(); 

  // sleeps, wakesup and restarts
  // esp_deep_sleep_start();

  // shutsdown
  // M5.shutdown(5);

  // turn on power to screen
  // M5.enableEPDPower();
  // turn on power to ports
  M5.disableEXTPower();
}

</code></pre>
<p dir="auto">without turning off/on power to screen:<br />
<img src="/assets/uploads/files/1724312892471-img_1199-resized.jpg" alt="IMG_1199.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">with turning off/on power to screen:<br />
<img src="/assets/uploads/files/1724312929459-img_1201-resized.jpg" alt="IMG_1201.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/26188</link><guid isPermaLink="true">https://community.m5stack.com/post/26188</guid><dc:creator><![CDATA[frank_b]]></dc:creator><pubDate>Thu, 22 Aug 2024 07:54:07 GMT</pubDate></item><item><title><![CDATA[Reply to lowest power m5paper? on Wed, 21 Aug 2024 18:42:28 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/frank_b" aria-label="Profile: frank_b">@<bdi>frank_b</bdi></a></p>
<p dir="auto">Re enable power to the screen: what do you mean <code>M5.enableEPDPower()</code> isn't enough?</p>
<p dir="auto">Re Groove ports: you can only turn off all three ports together. Try <code>M5.disableEXTPower()</code>.</p>
<p dir="auto">BTW: Only fully powering down M5Paper will give you <code>lowest</code> power. At the time I did some measurements. You can find them <a href="https://www.gwendesign.ch/kb/m5stack/m5paper/#light-sleep-deep-sleep-and-shutdown-current" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/26185</link><guid isPermaLink="true">https://community.m5stack.com/post/26185</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 21 Aug 2024 18:42:28 GMT</pubDate></item></channel></rss>