<?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[M5Dial GPS UART]]></title><description><![CDATA[<p dir="auto">Trying to get an M5Dial working with the M5Stack GPS unit in UIFlow 2.0.2.  The Dial doesn't have a blue "Port C", but have tried setting up a UART on Port A and B with absolutely no luck.  Unfortunately, the screen on the Dial is round, so the error messages are cut off in the top corners.  Starting with a blank UIFlow project, adding a label on the Dial, just so that I know something is there, I can "Run" successfully, label shows up.  Adding an "Init gps_0", fails with <a href="http://gps.py" target="_blank" rel="noopener noreferrer nofollow ugc">gps.py</a> line 22 "ESP_ERR_NOT_FOUND".   I've tried to use the UART blocks to initialize port 15 and 13 to a UART, but that fails with "ERROR: UART buffer size is fixed... (can't read the rest, off the screen)".    <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a>  indicates the UART blocks may be broken, so I've tried an "Execute mpy code uart1 = UART(1, baudrate=9600, bits=8, parity=None, stop=1, tx=15, rx=13)", but also get an "ESP_ERR_NOT_FOUND" for that, too.</p>
<p dir="auto">Anyone tried a GPS module with M5Dial yet?  Or otherwise get a GPS to work on an ESP32-STAMP-S3 based core in UIFlow2?   Or even successfully set up a UART?</p>
]]></description><link>https://community.m5stack.com/topic/6203/m5dial-gps-uart</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 10:04:09 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6203.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Mar 2024 17:04:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Dial GPS UART on Thu, 14 Mar 2024 19:20:13 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/brianr" aria-label="Profile: BrianR">@<bdi>BrianR</bdi></a></p>
<p dir="auto">glad to hear you got it working. And thank you for reporting back.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24383</link><guid isPermaLink="true">https://community.m5stack.com/post/24383</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 14 Mar 2024 19:20:13 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial GPS UART on Thu, 14 Mar 2024 18:30:46 GMT]]></title><description><![CDATA[<p dir="auto">Eureka!  I'm not sure why I didn't try this before, but I just burned UIFlow 2.0 for Dial, v2.0.1 to my Dial and attempted the GPS example that <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> made and it works!  With 2.0.2 I continued every combination of things, including setting up the UART as in the <em>M5CoreS3_UART_PortC_UIFlow2.0.1</em> example, but as soon as I put that "Execute mpy code" in there, regardless of what the actual code was, it errored out.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> , thanks so much for making a project zone example for me!  That example is up and running on my dial now.  Thanks so much for taking the time to help this community!</p>
<p dir="auto">Brian</p>
]]></description><link>https://community.m5stack.com/post/24379</link><guid isPermaLink="true">https://community.m5stack.com/post/24379</guid><dc:creator><![CDATA[BrianR]]></dc:creator><pubDate>Thu, 14 Mar 2024 18:30:46 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial GPS UART on Thu, 14 Mar 2024 07:52:58 GMT]]></title><description><![CDATA[<p dir="auto">Uiflow 2 uart setup/init blocks are broken in some way,<br />
best is use "execute my code" block with uart setup as per uiflow1</p>
<p dir="auto">see below thread</p>
<p dir="auto"><a href="https://community.m5stack.com/topic/6166/where-can-i-find-examples-of-using-uart-module-in-uiflow">uiflow2 uart</a></p>
]]></description><link>https://community.m5stack.com/post/24363</link><guid isPermaLink="true">https://community.m5stack.com/post/24363</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Thu, 14 Mar 2024 07:52:58 GMT</pubDate></item><item><title><![CDATA[Reply to M5Dial GPS UART on Wed, 13 Mar 2024 20:07:39 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/brianr" aria-label="Profile: BrianR">@<bdi>BrianR</bdi></a></p>
<p dir="auto">Hmm, does the <code>Init gps_0</code> block (w/o GPS connected) also give you an error? I don't have the GPS unit so I cannot do a complete test. But simply execute the <code>Init gps_0</code> block w/o anything connected to port A doesn't give me an error.</p>
<p dir="auto">I you want to try with UART then I think you got tx and rx reversed, try port A with tx = 13 and rx = 15.</p>
<p dir="auto">And you are running UIFlow 2.0.2 firmware on your M5Dial. correct?</p>
<p dir="auto">Edit: I've created an UIFlow2 example <em>M5Dial_GPS_Unit_UIFlow2.0.2</em> which works for me. (Note: I used the GPS from the Atomic GPS to test with; it seems to send a compatible serial data stream.) You can find it in the UIFlow2 Play Zone.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/24351</link><guid isPermaLink="true">https://community.m5stack.com/post/24351</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 13 Mar 2024 20:07:39 GMT</pubDate></item></channel></rss>