<?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[Esp now m5stickC problem]]></title><description><![CDATA[<p dir="auto">Hi, my name is Gianni and I'm an italian student. I have a problem with the m5stickC espnow. I have 2 m5stickC, 1 puppy and 1 potentiometer and my aim is to command the puppy with the potentiometer. The problem is that after a short time, the m5stick on the puppy does not receive the data. It is as if the buffer is clogged and can no longer read the data. Initially it works well, then suddenly it freezes. Do you have any idea? Do I have to load the code?Thank you all and sorry for my english.</p>
<p dir="auto">I have upload a video of the problem on this link:</p>
<p dir="auto"><a href="https://youtu.be/lna4hDC6cDY" target="_blank" rel="noopener noreferrer nofollow ugc">https://youtu.be/lna4hDC6cDY</a></p>
]]></description><link>https://community.m5stack.com/topic/2005/esp-now-m5stickc-problem</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 21:26:59 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2005.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 30 May 2020 22:39:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Esp now m5stickC problem on Thu, 20 Aug 2020 02:32:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi all,<br />
Very curious to give something similar a go. Driving a 5V motor over ESP now using the Joystick Unit at the transmit end. 2 x M5 Stack.</p>
<p dir="auto">Anybody have a UI Flow file I can modify?</p>
<p dir="auto">Kind regards,<br />
Paul</p>
]]></description><link>https://community.m5stack.com/post/9757</link><guid isPermaLink="true">https://community.m5stack.com/post/9757</guid><dc:creator><![CDATA[paulmunday87]]></dc:creator><pubDate>Thu, 20 Aug 2020 02:32:21 GMT</pubDate></item><item><title><![CDATA[Reply to Esp now m5stickC problem on Sat, 06 Jun 2020 10:59:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3526">@gianni</a>, you can try below code. Maybe help you. The function receiving data, saves received data into variables and only the LED blinks. Short code with the least delays possible. And the correct reading of data from these variables and their processing takes place in the main loop of the program. I created it for fast debug esp-now transmission. Tested it with uiflow 1.4.5 web and 1.4.2 firmware on stickc</p>
<p dir="auto"><img src="/assets/uploads/files/1591440618216-screenshot_20200606-120611.jpg" alt="0_1591440613587_Screenshot_20200606-120611.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Transmiter code i wrote directly in python and looks that:</p>
<p dir="auto">import network, espnow<br />
import time<br />
import urandom</p>
<p dir="auto">#configure WIFI<br />
wlan = network.WLAN(network.STA_IF)<br />
wlan.active(True)</p>
<p dir="auto">#initialize espnow<br />
espnow.init()<br />
espnow.get_mac_addr()<br />
espnow.set_pmk('0000000000000000')</p>
<p dir="auto">#MAIN LOOP<br />
while True:<br />
color = urandom.randint(0, 360)<br />
#broadcast data as string<br />
espnow.broadcast(1, str(color) )<br />
#debug<br />
print('mac:',espnow.get_mac_addr(),'sent:', str(color) )<br />
time.sleep_ms(1000)</p>
]]></description><link>https://community.m5stack.com/post/8913</link><guid isPermaLink="true">https://community.m5stack.com/post/8913</guid><dc:creator><![CDATA[robalstona]]></dc:creator><pubDate>Sat, 06 Jun 2020 10:59:52 GMT</pubDate></item><item><title><![CDATA[Reply to Esp now m5stickC problem on Fri, 05 Jun 2020 23:07:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3701">@Devilstower</a> i downloaded the code but it didn't work. anyway I tried to remove the code from the "receive" and it seems to work .. but i don't understand the reason :(</p>
]]></description><link>https://community.m5stack.com/post/8912</link><guid isPermaLink="true">https://community.m5stack.com/post/8912</guid><dc:creator><![CDATA[gianni]]></dc:creator><pubDate>Fri, 05 Jun 2020 23:07:49 GMT</pubDate></item><item><title><![CDATA[Reply to Esp now m5stickC problem on Fri, 05 Jun 2020 22:59:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/3526">@gianni</a> are you downloading the code or running it directly from UIFlow? I’ve had an issue where the same app will run for an extended period in one environment, but fail after a few minutes in the other.</p>
]]></description><link>https://community.m5stack.com/post/8911</link><guid isPermaLink="true">https://community.m5stack.com/post/8911</guid><dc:creator><![CDATA[Devilstower]]></dc:creator><pubDate>Fri, 05 Jun 2020 22:59:31 GMT</pubDate></item></channel></rss>