<?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[Core Ink: recognize if USB or battery powered]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I bought the Core Ink for quick prototyping. I am very satisfied with the quality and the possibilities. What I'm missing: How can I tell if the device is USB or battery powered?<br />
My firmware should provide an access point with a web interface, but only if the device is not running on battery power.</p>
<p dir="auto">Current idea: I could use the battery voltage trend to determine whether the battery is charging or discharging. For this I have to check how accurate the internal measurement is. In any case, this implementation would be very cumbersome.</p>
<p dir="auto">Maybe there are simpler options?</p>
]]></description><link>https://community.m5stack.com/topic/5574/core-ink-recognize-if-usb-or-battery-powered</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:05:54 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5574.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 14 Aug 2023 15:39:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Core Ink: recognize if USB or battery powered on Thu, 17 Aug 2023 01:05:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/davincino" aria-label="Profile: davincino">@<bdi>davincino</bdi></a> Thanks for posting your findings.</p>
]]></description><link>https://community.m5stack.com/post/21967</link><guid isPermaLink="true">https://community.m5stack.com/post/21967</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Thu, 17 Aug 2023 01:05:07 GMT</pubDate></item><item><title><![CDATA[Reply to Core Ink: recognize if USB or battery powered on Wed, 16 Aug 2023 15:46:05 GMT]]></title><description><![CDATA[<p dir="auto">I checked again electronic circuit:<br />
It is possible to take some measurements on HAT interface's pin "5VIN". Measured voltages:</p>
<p dir="auto">If powered by USB:<br />
~4.7V</p>
<p dir="auto">Powered by battery and switched <strong>off</strong>:<br />
~0.7V</p>
<p dir="auto">Powered by battery and switched <strong>on</strong>:<br />
~2.4V</p>
<p dir="auto">Using voltage divider with two same resistors, we get usable logic values for HIGH and LOW ( ~2.3V and ~1.2V). The measured values are not inside garanteed logic range but as a workaround: it works well.</p>
<p dir="auto">Maybe it helps someone else...</p>
]]></description><link>https://community.m5stack.com/post/21961</link><guid isPermaLink="true">https://community.m5stack.com/post/21961</guid><dc:creator><![CDATA[davincino]]></dc:creator><pubDate>Wed, 16 Aug 2023 15:46:05 GMT</pubDate></item><item><title><![CDATA[Reply to Core Ink: recognize if USB or battery powered on Tue, 15 Aug 2023 07:54:15 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><br />
Thanks for the hint. Found a 3 years old thread. It is not possible to detect if it is powered from USB or battery...</p>
]]></description><link>https://community.m5stack.com/post/21934</link><guid isPermaLink="true">https://community.m5stack.com/post/21934</guid><dc:creator><![CDATA[davincino]]></dc:creator><pubDate>Tue, 15 Aug 2023 07:54:15 GMT</pubDate></item><item><title><![CDATA[Reply to Core Ink: recognize if USB or battery powered on Tue, 15 Aug 2023 04:59:19 GMT]]></title><description><![CDATA[<p dir="auto">Please search the forum as this has been discussed and possible solutions created by users.</p>
]]></description><link>https://community.m5stack.com/post/21930</link><guid isPermaLink="true">https://community.m5stack.com/post/21930</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 15 Aug 2023 04:59:19 GMT</pubDate></item></channel></rss>