<?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[Reboot ESP32 Basic Core IoT on battery&#x2F;USB]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I use M5Stack ESP32 Basic Core IoT, arduino programming with battery SKU: M002.</p>
<p dir="auto">I am doing telemetry.</p>
<p dir="auto">I permanently power the ESP32 via USB.</p>
<p dir="auto">The battery is there for safety in case of power failure.</p>
<p dir="auto">My problem is :</p>
<p dir="auto">When I turn off the power, the ESP32 reboots.<br />
I lose my telemetry data.</p>
<p dir="auto">I saw this page on Power<br />
<a href="https://github.com/m5stack/m5-docs/blob/master/docs/en/api/power.md" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/m5-docs/blob/master/docs/en/api/power.md</a></p>
<p dir="auto">I have tried a lot of options but it doesn't work!<br />
Do you have a solution ?</p>
<p dir="auto">Best regards</p>
<p dir="auto">Pierre</p>
]]></description><link>https://community.m5stack.com/topic/3391/reboot-esp32-basic-core-iot-on-battery-usb</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 01:15:25 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3391.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 22 Jun 2021 20:41:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Reboot ESP32 Basic Core IoT on battery&#x2F;USB on Thu, 24 Jun 2021 19:02:00 GMT]]></title><description><![CDATA[<p dir="auto">Hello Wold101,</p>
<p dir="auto">Thanks for your answer.</p>
<p dir="auto">I need to continue to use the M5Stack Core as I have made some backplane electronics and need to use the M5Stack stock.</p>
<p dir="auto">I didn't know about this post and I already used a diode and had a bug with the ESP. Probably this problem of low battery charge.</p>
<p dir="auto">The idea is great to use a MAX40200 but it requires extra wiring.</p>
<p dir="auto">I tried with a capacitor. I have some 4700µf in stock at 63V.</p>
<p dir="auto">I like this solution, no modification and it works well.</p>
<p dir="auto">I will test it over several days.</p>
]]></description><link>https://community.m5stack.com/post/14209</link><guid isPermaLink="true">https://community.m5stack.com/post/14209</guid><dc:creator><![CDATA[PierreD]]></dc:creator><pubDate>Thu, 24 Jun 2021 19:02:00 GMT</pubDate></item><item><title><![CDATA[Reply to Reboot ESP32 Basic Core IoT on battery&#x2F;USB on Wed, 23 Jun 2021 12:21:08 GMT]]></title><description><![CDATA[<p dir="auto">This is expected behavior with the early versions of the M5stack core products (black, grey, Fire, Go).</p>
<p dir="auto">For a quick fix, purchase and use the Core2 instead.</p>
<p dir="auto">For a DIY fix, read through the details of this thread:<br />
<a href="https://community.m5stack.com/topic/1822/no-reset-when-usb-power-removed-solved">https://community.m5stack.com/topic/1822/no-reset-when-usb-power-removed-solved</a></p>
]]></description><link>https://community.m5stack.com/post/14188</link><guid isPermaLink="true">https://community.m5stack.com/post/14188</guid><dc:creator><![CDATA[world101]]></dc:creator><pubDate>Wed, 23 Jun 2021 12:21:08 GMT</pubDate></item><item><title><![CDATA[Reply to Reboot ESP32 Basic Core IoT on battery&#x2F;USB on Wed, 23 Jun 2021 09:16:35 GMT]]></title><description><![CDATA[<p dir="auto">A simple demo code here :</p>
<p dir="auto">#include &lt;M5Stack.h&gt;</p>
<p dir="auto">// the setup routine runs once when M5Stack starts up<br />
void setup() {</p>
<p dir="auto">// initialize the M5Stack object<br />
M5.begin();</p>
<p dir="auto">M5.Power.begin();</p>
<p dir="auto">// Lcd display<br />
M5.Lcd.fillScreen(WHITE);<br />
delay(500);<br />
M5.Lcd.fillScreen(RED);<br />
delay(500);<br />
M5.Lcd.fillScreen(GREEN);<br />
delay(500);<br />
M5.Lcd.fillScreen(BLUE);<br />
delay(500);<br />
M5.Lcd.fillScreen(BLACK);<br />
delay(500);</p>
<p dir="auto">// text print<br />
M5.Lcd.fillScreen(BLACK);<br />
M5.Lcd.setCursor(10, 10);<br />
M5.Lcd.setTextColor(WHITE);<br />
M5.Lcd.setTextSize(1);<br />
M5.Lcd.printf("Display Test!");</p>
<p dir="auto">// draw graphic<br />
delay(1000);<br />
M5.Lcd.drawRect(100, 100, 50, 50, BLUE);<br />
delay(1000);<br />
M5.Lcd.fillRect(100, 100, 50, 50, BLUE);<br />
delay(1000);<br />
M5.Lcd.drawCircle(100, 100, 50, RED);<br />
delay(1000);<br />
M5.Lcd.fillCircle(100, 100, 50, RED);<br />
delay(1000);<br />
M5.Lcd.drawTriangle(30, 30, 180, 100, 80, 150, YELLOW);<br />
delay(1000);<br />
M5.Lcd.fillTriangle(30, 30, 180, 100, 80, 150, YELLOW);</p>
<p dir="auto">}</p>
<p dir="auto">// the loop routine runs over and over again forever<br />
void loop(){</p>
<p dir="auto">//rand draw<br />
M5.Lcd.fillTriangle(random(M5.Lcd.width()-1), random(M5.Lcd.height()-1), random(M5.Lcd.width()-1), random(M5.Lcd.height()-1), random(M5.Lcd.width()-1), random(M5.Lcd.height()-1), random(0xfffe));</p>
<p dir="auto">M5.update();<br />
}</p>
]]></description><link>https://community.m5stack.com/post/14184</link><guid isPermaLink="true">https://community.m5stack.com/post/14184</guid><dc:creator><![CDATA[PierreD]]></dc:creator><pubDate>Wed, 23 Jun 2021 09:16:35 GMT</pubDate></item><item><title><![CDATA[Reply to Reboot ESP32 Basic Core IoT on battery&#x2F;USB on Wed, 23 Jun 2021 08:57:35 GMT]]></title><description><![CDATA[<p dir="auto">a video showing the battery reboot problem :</p>
<p dir="auto"><a href="https://photos.app.goo.gl/SK2xeaiBvxcBfyHE8" target="_blank" rel="noopener noreferrer nofollow ugc">https://photos.app.goo.gl/SK2xeaiBvxcBfyHE8</a></p>
]]></description><link>https://community.m5stack.com/post/14183</link><guid isPermaLink="true">https://community.m5stack.com/post/14183</guid><dc:creator><![CDATA[PierreD]]></dc:creator><pubDate>Wed, 23 Jun 2021 08:57:35 GMT</pubDate></item><item><title><![CDATA[Reply to Reboot ESP32 Basic Core IoT on battery&#x2F;USB on Tue, 22 Jun 2021 21:41:40 GMT]]></title><description><![CDATA[<p dir="auto">Seems like a place for M5Stack team to get involved with, external memory hat module with lib for grove port communication with memory and uiflow memory blocks that store information, HELLO, M5STACCK TEAM "WAVES"....</p>
]]></description><link>https://community.m5stack.com/post/14180</link><guid isPermaLink="true">https://community.m5stack.com/post/14180</guid><dc:creator><![CDATA[Asmodev]]></dc:creator><pubDate>Tue, 22 Jun 2021 21:41:40 GMT</pubDate></item></channel></rss>