<?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[M5Paper &#x2F; Touch only working on USB power]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">i am trying to create a home automation with M5Paper and M5Flow. I flashed the UIFlow 1.9.0 to the device, but somehow the touch is only working when on USB-power.</p>
<p dir="auto">To reproduce the problem i wrote a very easy flow:</p>
<p dir="auto"><img src="/assets/uploads/files/1641776183289-2022-01-10-01_55_14-resized.jpg" alt="0_1641776179822_2022-01-10 01_55_14-.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">I burned the program via "Download" to the M5Paper.</p>
<p dir="auto">Behaviour an USB-power:<br />
-Reset the device via button on the back<br />
-UIFlow boot logo appears<br />
-Program is working as intended (circle set to touch coordinates on touch with screen refresh afterwards)</p>
<p dir="auto">Behaviour on battery-power:<br />
-Power down device via button on the back<br />
-Power on device via 2sec center button push<br />
-UIFlow boot logo appears<br />
-No circle is shown on touch</p>
<p dir="auto">I tried to check if system is running by adding some MQTT in the loop and a label with "get touch coordinates" that is refreshed with every loop iteration. Loop is definitely working but touch status is always false.</p>
<p dir="auto">I don't think it is a hardware problem because other programs like "Calculator" or "Factory Test" from M5Burner work also on battery power.</p>
<p dir="auto">Any idea what i am doing wrong?</p>
]]></description><link>https://community.m5stack.com/topic/3911/m5paper-touch-only-working-on-usb-power</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:41:13 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3911.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Jan 2022 01:08:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Fri, 18 Feb 2022 19:31:21 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">i can confirm that touch is now working with firmware 1.9.2 in battery mode. Thanks @all for the help.</p>
]]></description><link>https://community.m5stack.com/post/16706</link><guid isPermaLink="true">https://community.m5stack.com/post/16706</guid><dc:creator><![CDATA[BiGbEn]]></dc:creator><pubDate>Fri, 18 Feb 2022 19:31:21 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Tue, 08 Feb 2022 08:11:31 GMT]]></title><description><![CDATA[<p dir="auto">Hi @all,</p>
<p dir="auto">Hi, sorry for taking so long to reply.Next version(v1.9.2) will jugement the address after power on.</p>
]]></description><link>https://community.m5stack.com/post/16571</link><guid isPermaLink="true">https://community.m5stack.com/post/16571</guid><dc:creator><![CDATA[IAMLIUBO]]></dc:creator><pubDate>Tue, 08 Feb 2022 08:11:31 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Sun, 16 Jan 2022 16:45:39 GMT]]></title><description><![CDATA[<p dir="auto">An Update, I found my own problem.  So my issues is not related to this above bug, it was due to no doing wifi connect within the program downloaded.  I guess RUN integrates the wificonnect and the download does not.</p>
<p dir="auto">Related:  I noticed using the download, I am not able to connect to device using UIFLOW IDE, have to put the device is FLOW mode. Is there away to program it to allow for UIFLOW to still connect?</p>
]]></description><link>https://community.m5stack.com/post/16229</link><guid isPermaLink="true">https://community.m5stack.com/post/16229</guid><dc:creator><![CDATA[joefly]]></dc:creator><pubDate>Sun, 16 Jan 2022 16:45:39 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Sat, 15 Jan 2022 21:25:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bigben" aria-label="Profile: BiGbEn">@<bdi>BiGbEn</bdi></a> Hi.</p>
<p dir="auto">As I said, the program works fine on "Run" with Set Screen Show on setup.  But only on Download does the program does not function as expected, particularly screen and touch not working/incorrectly.  I noticed that the bug was not listed under the bug report list.  Any hope of this being resolved?</p>
]]></description><link>https://community.m5stack.com/post/16202</link><guid isPermaLink="true">https://community.m5stack.com/post/16202</guid><dc:creator><![CDATA[joefly]]></dc:creator><pubDate>Sat, 15 Jan 2022 21:25:07 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Thu, 13 Jan 2022 07:59:38 GMT]]></title><description><![CDATA[<p dir="auto">Hello  <a class="plugin-mentions-user plugin-mentions-a" href="/user/joefly" aria-label="Profile: joefly">@<bdi>joefly</bdi></a>,</p>
<p dir="auto">regarding the your touch problem i think it is the same issue that we found here. About the blank screen on powerup: Do you have a "set screen show" block at the end of your Setup block? The screen is only shown/updated with "Set screen show" also after powerup.</p>
]]></description><link>https://community.m5stack.com/post/16171</link><guid isPermaLink="true">https://community.m5stack.com/post/16171</guid><dc:creator><![CDATA[BiGbEn]]></dc:creator><pubDate>Thu, 13 Jan 2022 07:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Thu, 13 Jan 2022 04:24:10 GMT]]></title><description><![CDATA[<p dir="auto">I think I am experiencing similar issue.  I am able to use UIFLOW for my M5paper by using the "RUN" but when I do the "DOWNLOAD", the program seems to be fine, but I get a blank screen, and no touch, but know the program is functioning as I use the side rotating button which "things" appear on the screen as I expected, but on startup blank screen, and no touch, the only way I know the program is running is the toggling of UP and DOWN wheel.</p>
<p dir="auto">Wondering if it is similar issue or something else is going on?</p>
]]></description><link>https://community.m5stack.com/post/16170</link><guid isPermaLink="true">https://community.m5stack.com/post/16170</guid><dc:creator><![CDATA[joefly]]></dc:creator><pubDate>Thu, 13 Jan 2022 04:24:10 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Wed, 12 Jan 2022 12:51:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bigben" aria-label="Profile: bigben">@<bdi>bigben</bdi></a></p>
<p dir="auto">You can report bug-report channel.<br />
<a href="https://community.m5stack.com/category/8/bug-report">https://community.m5stack.com/category/8/bug-report</a></p>
]]></description><link>https://community.m5stack.com/post/16157</link><guid isPermaLink="true">https://community.m5stack.com/post/16157</guid><dc:creator><![CDATA[kinako]]></dc:creator><pubDate>Wed, 12 Jan 2022 12:51:04 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Tue, 11 Jan 2022 23:18:23 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/kinako" aria-label="Profile: kinako">@<bdi>kinako</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a>,</p>
<p dir="auto">wow, your findings sound promising. I can confirm with i2c.scan() on my device that i2c addresses on battery are integers [20, 68, 80, 81] and on USB [68, 80, 81, 93] so the (int)20 switches to (int)93 what is exactly the mentioned HEX addresses 0x14 and 0x5D.</p>
<p dir="auto">I used following UIFlow Python code and watched output on COM Monitor:</p>
<pre><code>from m5stack import *
from m5ui import *
from uiflow import *
from machine import Pin, I2C

while True:
  i2c = I2C(scl=Pin(22), sda=Pin(21), freq=400000)
  print(i2c.scan())
  wait_ms(500)
</code></pre>
<p dir="auto">Any idea what is the best way to create a bug report about this?</p>
]]></description><link>https://community.m5stack.com/post/16155</link><guid isPermaLink="true">https://community.m5stack.com/post/16155</guid><dc:creator><![CDATA[BiGbEn]]></dc:creator><pubDate>Tue, 11 Jan 2022 23:18:23 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Tue, 11 Jan 2022 18:32:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/kinako" aria-label="Profile: kinako">@<bdi>kinako</bdi></a></p>
<p dir="auto">I think you found the root cause. The <a href="https://github.com/m5stack/M5EPD/blob/main/src/utility/GT911.cpp" target="_blank" rel="noopener noreferrer nofollow ugc">M5EPD library</a> checks for both I2C addresses:</p>
<pre><code>Wire.beginTransmission(0x14);
if (Wire.endTransmission())
{
  Wire.beginTransmission(0x5D);
  if (Wire.endTransmission())
  {
    log_e("Touch screen IIC connection error");
    return ESP_FAIL;
  }
  _iic_addr = 0x5D;
}
</code></pre>
<p dir="auto">And I guess M5Paper UIFlow firmware probably isn't doing that.</p>
<p dir="auto">In addition I found that the 10k pull-up resistor (R87) on the INT line is <strong>not</strong> populated in my M5Paper. And the GPIO the INT line is connected to (GPIO36) is an input only GPIO which doesn't support internal pull-up or down. Which means the INT line is more or less floating.</p>
<p dir="auto">With UIFlow I confirmed that touch does <strong>not</strong> work in my M5Paper (running from battery) if I populate the 10k pull-up resistor. And touch does work if the INT line is pulled down during startup.</p>
<p dir="auto">Edit: I've just run your test code on my M5Paper (with INT floating) and I get the I2C address 0x5D in both cases, running from USB and running from battery.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/16153</link><guid isPermaLink="true">https://community.m5stack.com/post/16153</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 11 Jan 2022 18:32:52 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Tue, 11 Jan 2022 15:16:47 GMT]]></title><description><![CDATA[<p dir="auto">I have same issue.</p>
<p dir="auto">I checked the documentation of the GT911 touch panel and found that the i2c address has two modes, 0x5D or 0x14, depending on the High/Low of INT at boot.</p>
<p dir="auto">After checking the i2c address with the code below, it is highly possible that the i2c address of the touch panel is different and is not being controlled correctly.</p>
<ul>
<li>USB power boot: 0x5D</li>
<li>Battery power boot: 0x14</li>
</ul>
<p dir="auto">from machine import Pin, I2C<br />
i2c = I2C(scl=Pin(22), sda=Pin(21), freq=400000)<br />
i2c.scan()</p>
<p dir="auto">I think it need to fix initial pin config of M5PAPER touch panel driver or m5paper firmware.</p>
]]></description><link>https://community.m5stack.com/post/16152</link><guid isPermaLink="true">https://community.m5stack.com/post/16152</guid><dc:creator><![CDATA[kinako]]></dc:creator><pubDate>Tue, 11 Jan 2022 15:16:47 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Mon, 10 Jan 2022 20:20:33 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">battery voltage is ~4.7V when on battery. No matter what i do, it is impossible for me to get touch working when on battery und using UIFlow.<br />
I tried to use Arduino IDE and compiled the Touch example from GitHub m5stack/M5EPD.<br />
Nothing is displayed on display (another problem?)<br />
But if i start the M5Paper on battery and connect USB afterwards to PC i can see the serial.printf in COM monitor. Touch is detected correctly.</p>
<p dir="auto">If i try the same with UIFlow (put "print get touch coordinates" in the loop), "status" in COM monitor is always false and coordinates are 0,0.</p>
<p dir="auto"><img src="/assets/uploads/files/1641845862782-screen2.jpg" alt="0_1641845862566_screen2.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Any other ideas?</p>
<p dir="auto">Thanks<br />
Sven</p>
]]></description><link>https://community.m5stack.com/post/16141</link><guid isPermaLink="true">https://community.m5stack.com/post/16141</guid><dc:creator><![CDATA[BiGbEn]]></dc:creator><pubDate>Mon, 10 Jan 2022 20:20:33 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Mon, 10 Jan 2022 10:59:12 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a>,</p>
<p dir="auto">thanks for your reply. Yes, i charged the device for about 12h via USB power adapter. As i mentioned other programs like Calculator or Factory Test work without any problem.<br />
Also MQTT is transmitted in the loop and the screen refreshes constantly if I put a "Set screen show" in the loop.<br />
I will try to put a batterty voltage label on screen when i am home to check the battery.</p>
<p dir="auto">When i start/reset the device with USB power attached, then remove the USB, the program works until i power down the M5Paper with the button on the back. After Powerup with center-button no touch is recognized anymore.</p>
<p dir="auto">Thanks<br />
Sven</p>
]]></description><link>https://community.m5stack.com/post/16136</link><guid isPermaLink="true">https://community.m5stack.com/post/16136</guid><dc:creator><![CDATA[BiGbEn]]></dc:creator><pubDate>Mon, 10 Jan 2022 10:59:12 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper &#x2F; Touch only working on USB power on Mon, 10 Jan 2022 10:42:51 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/bigben" aria-label="Profile: BiGbEn">@<bdi>BiGbEn</bdi></a></p>
<p dir="auto">hmm, your code example runs fine on my M5Paper from battery. So no, I don't think you're doing something wrong.</p>
<p dir="auto">The only idea I have at this point is that maybe the battery is too weak to initialize the touch screen properly? Have you tried to charge your M5Paper for a couple of hours before trying again?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/16134</link><guid isPermaLink="true">https://community.m5stack.com/post/16134</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 10 Jan 2022 10:42:51 GMT</pubDate></item></channel></rss>