<?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[[SOLVED] How to charge M5StickC and M5StickC Plus (beyond 3.7V)?]]></title><description><![CDATA[<p dir="auto">Hey folks,</p>
<p dir="auto">I'm having a bit of an issue here. I have both a M5StickC and a M5StickC Plus and I wrote a simple little Arduino program that displays both the battery voltage and also the percentage charged.<br />
My problem: <strong>they don't charge to more than 3.7V.</strong> I would like them to be topped off at 4.2V</p>
<p dir="auto">I tried:</p>
<ul>
<li>charging with my PC (5V/0.5A) / charging with my phone charger (5V/3A)</li>
<li>charging while turned off / charging while turned on<br />
Nothing seems to do anything.</li>
</ul>
<p dir="auto">In all the above cases, I'm charging it via USB-C. If I'm supposed to charge it via the pins, let me know, haven't tried that yet</p>
<p dir="auto">Any help appreciated,<br />
Flo</p>
<p dir="auto"><strong>EDIT:</strong> The problem was that I didn't read the voltage correctly. I was using <code>M5.Axp.GetVbatData() / 1000.0</code> and that's off by a factor <code>1.1</code>. The correct way to read the battery voltage is <code>M5.Axp.GetBatVoltage()</code>.</p>
]]></description><link>https://community.m5stack.com/topic/3250/solved-how-to-charge-m5stickc-and-m5stickc-plus-beyond-3-7v</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:13:02 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3250.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 May 2021 23:37:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] How to charge M5StickC and M5StickC Plus (beyond 3.7V)? on Sun, 02 May 2021 17:07:19 GMT]]></title><description><![CDATA[<p dir="auto">Danke <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> ,</p>
<p dir="auto">Your answer pointed me in the right direction.<br />
The voltage between GND and BAT pins was indeed 4.0V+, so I went back to check my code.</p>
<p dir="auto">I noticed that the official documentation for the AXP on the M5StickC only mentions <code>M5.Axp.GetVbatData()</code> (which is what I used and what gave me weird readings) but the AXP code example uses <code>M5.Axp.GetBatVoltage()</code> and the latter actually gives me the correct number.</p>
<p dir="auto">What's the difference between these two? Is it just the <code>*1.1/1000</code>?</p>
<p dir="auto">Cheers,<br />
Flo</p>
]]></description><link>https://community.m5stack.com/post/13700</link><guid isPermaLink="true">https://community.m5stack.com/post/13700</guid><dc:creator><![CDATA[sloflo]]></dc:creator><pubDate>Sun, 02 May 2021 17:07:19 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] How to charge M5StickC and M5StickC Plus (beyond 3.7V)? on Sun, 02 May 2021 08:40:26 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/sloflo" aria-label="Profile: sloflo">@<bdi>sloflo</bdi></a></p>
<p dir="auto">charging the battery via USB-C is the preferred way.</p>
<p dir="auto">When you say they are stuck at 3.7 V, is that the value your Arduino program displays or is that the value you measured between GND and BAT pin?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/13692</link><guid isPermaLink="true">https://community.m5stack.com/post/13692</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 02 May 2021 08:40:26 GMT</pubDate></item></channel></rss>