<?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[code example for remote control between two M5stacks]]></title><description><![CDATA[<p dir="auto">I am new to my M5stacks. I have a M5stack gray and a core2, I want with ESP NOW to communicate the X, Y and Z values of the gyro of the core2 and enter them as variable X, Y and Z in the M5STACK Gray.<br />
By following the documentation I manage to communicate ON / OFF between the two systems but not with numerical values.</p>
<p dir="auto">Thanks in advance for your help in my new hobby!<img src="/assets/uploads/files/1610906794421-esp-now-gyro-gray-resized.png" alt="1_1610906783123_ESP NOW Gyro Gray.PNG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1610906794518-esp-now-gyro-c2-resized.png" alt="0_1610906783121_ESP NOW Gyro C2.PNG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/topic/2782/code-example-for-remote-control-between-two-m5stacks</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:22:21 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2782.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 17 Jan 2021 18:07:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to code example for remote control between two M5stacks on Sat, 01 May 2021 07:06:49 GMT]]></title><description><![CDATA[<p dir="auto">You can send the values as a json string from the ROV to the remote and then separate the values from the sting on the receiving end.<br />
I am currently documenting this in my esp-now document.</p>
]]></description><link>https://community.m5stack.com/post/13681</link><guid isPermaLink="true">https://community.m5stack.com/post/13681</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 01 May 2021 07:06:49 GMT</pubDate></item><item><title><![CDATA[Reply to code example for remote control between two M5stacks on Thu, 29 Apr 2021 15:51:34 GMT]]></title><description><![CDATA[<p dir="auto">You could use eval() to get your data back.<br />
Example:<br />
springtosend = str(list[1, 2, "hello"])</p>
<p dir="auto">list = eval(springtosend)</p>
]]></description><link>https://community.m5stack.com/post/13669</link><guid isPermaLink="true">https://community.m5stack.com/post/13669</guid><dc:creator><![CDATA[aa87]]></dc:creator><pubDate>Thu, 29 Apr 2021 15:51:34 GMT</pubDate></item><item><title><![CDATA[Reply to code example for remote control between two M5stacks on Sat, 30 Jan 2021 09:35:32 GMT]]></title><description><![CDATA[<p dir="auto">Yes - I'm using ESPNow and 2 M5Stack units: M5Stack Fire is integrated in the vehicle and M5Stick Faces ist the "RC controller".<br />
I split the jobs: in RC mode the faces calcutates the speed of the motors dependent on the forward/backwards , left/right command. I can drive soft curves or rotate the vehicle on the spot. I can pivot the turret left and right. In the next version the M5 AI camera will be included.<br />
If I change the mode to AUTONOMOUS, then the Fire is doing the measurements (rotate a ToF sensor) and try to find a way. The Face is only an "emergency stop" and gives a "going home" command.</p>
]]></description><link>https://community.m5stack.com/post/12183</link><guid isPermaLink="true">https://community.m5stack.com/post/12183</guid><dc:creator><![CDATA[ramaker]]></dc:creator><pubDate>Sat, 30 Jan 2021 09:35:32 GMT</pubDate></item><item><title><![CDATA[Reply to code example for remote control between two M5stacks on Fri, 29 Jan 2021 10:20:04 GMT]]></title><description><![CDATA[<p dir="auto">Very nice project, I saw your 3D plans with the integration of the M5stack in the chassis., Great!<br />
I suggest you exchange .m5f on data transfer in ESP NOW?</p>
]]></description><link>https://community.m5stack.com/post/12150</link><guid isPermaLink="true">https://community.m5stack.com/post/12150</guid><dc:creator><![CDATA[Arno]]></dc:creator><pubDate>Fri, 29 Jan 2021 10:20:04 GMT</pubDate></item><item><title><![CDATA[Reply to code example for remote control between two M5stacks on Fri, 29 Jan 2021 09:45:42 GMT]]></title><description><![CDATA[<p dir="auto">Super !!!<br />
I'm building a Tiger 1 tank - from  original drawings - bought from a man from Korea.<br />
I have to scale it, so I used to stl files to create the parts in Fusion360. (first version only for indoor use)<br />
I'm using a SnapMaker A350 to print the big parts and an Ultimaker 3 to print the small parts.</p>
<p dir="auto">I want to use a M5Stack Fire for controlling motors, servo, ToF sensor etc.<br />
A M5Stack Face unit  is used as remote.<br />
Communication between is ESPNow; I stoppt to look for a solution to transfer numerical values.<br />
I take the values - transfer it as string ( format &lt;command&gt;&lt;value&gt; i.e. G100 = Geschwindigkeit(speed) 100)</p>
<p dir="auto">In the M5Stack Fire I separate the string to a command character and a value string and then convert that value string to a numerical value. (MATH - covert to integer) Very simple- 3 blocks.</p>
<p dir="auto">here is my site: <a href="http://www.r-a-maker.de" target="_blank" rel="noopener noreferrer nofollow ugc">www.r-a-maker.de</a><br />
regards<br />
K.D.</p>
]]></description><link>https://community.m5stack.com/post/12148</link><guid isPermaLink="true">https://community.m5stack.com/post/12148</guid><dc:creator><![CDATA[ramaker]]></dc:creator><pubDate>Fri, 29 Jan 2021 09:45:42 GMT</pubDate></item><item><title><![CDATA[Reply to code example for remote control between two M5stacks on Fri, 29 Jan 2021 09:15:28 GMT]]></title><description><![CDATA[<p dir="auto">I have the same project to build an autonomous ROVER as a first step with ultrasound and TOF sensors and a remote control with a FACE gameboy and telemetry.<br />
I also block to exchange data in ESP NOW.<img src="/assets/uploads/files/1611911657018-dscn1339-resized.jpg" alt="0_1611911655795_DSCN1339.JPG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1611911701114-dscn1327-resized.jpg" alt="0_1611911701224_DSCN1327.JPG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/12146</link><guid isPermaLink="true">https://community.m5stack.com/post/12146</guid><dc:creator><![CDATA[Arno]]></dc:creator><pubDate>Fri, 29 Jan 2021 09:15:28 GMT</pubDate></item><item><title><![CDATA[Reply to code example for remote control between two M5stacks on Fri, 29 Jan 2021 06:06:13 GMT]]></title><description><![CDATA[<p dir="auto">I have a similar problem. I want to control an autonomous vehicle.<br />
Like you I get the communication working, but I can only transfer strings.<br />
If you look to the micropython view, you can see, that there is an encoder declaration "str".<br />
If you send numerical values, they are converted to "str" too.</p>
<p dir="auto">I don't know if there are other possibilities - I asked in forum and support, but I get no satisfiing answer.</p>
<p dir="auto">Now I'm transfering strings and then convert them back to numerical values in the receiver.<br />
K.D.</p>
]]></description><link>https://community.m5stack.com/post/12142</link><guid isPermaLink="true">https://community.m5stack.com/post/12142</guid><dc:creator><![CDATA[ramaker]]></dc:creator><pubDate>Fri, 29 Jan 2021 06:06:13 GMT</pubDate></item></channel></rss>