<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Raspberry PIO stepper library documentation - 3: control multiple motors with 1 or more PIOs</title><link>/products/raspberry-pi/b/blog/posts/raspberry-pio-stepper-library-documentation---3-control-multiple-motors-with-1-or-more-pios</link><description>Raspberry PIO stepper library ( pio_stepper_lib ) is a C++ library that runs stepper motors in PIO state machines. It&amp;#39;s intended to be easy to integrate and use in Pico projects.
Check Raspberry PIO stepper library documentation - 1: in...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Raspberry PIO stepper library documentation - 3: control multiple motors with 1 or more PIOs</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/raspberry-pio-stepper-library-documentation---3-control-multiple-motors-with-1-or-more-pios</link><pubDate>Wed, 07 May 2025 14:30:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3744ce44-5988-4ed9-b850-8c7857590a95</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;4 motors on 1 PIO block -&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;running commands in sequence&lt;/li&gt;
&lt;li&gt;running all commands concurrently&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;[View:https://youtu.be/Hhug2iatza0:640:360]&lt;/p&gt;
&lt;p&gt;Commands:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { {&lt;/span&gt;&lt;span&gt;200&lt;/span&gt;&lt;span&gt; * microstep_x, &lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;span&gt;}, &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { {&lt;/span&gt;&lt;span&gt;200&lt;/span&gt;&lt;span&gt; * microstep_x, &lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;span&gt;}, &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { {&lt;/span&gt;&lt;span&gt;300&lt;/span&gt;&lt;span&gt; * microstep_x, &lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;}, &lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { {&lt;/span&gt;&lt;span&gt;200&lt;/span&gt;&lt;span&gt; * microstep_x, &lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;}, &lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { {&lt;/span&gt;&lt;span&gt;10&lt;/span&gt;&lt;span&gt; * microstep_x, &lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;span&gt;}, &lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { {&lt;/span&gt;&lt;span&gt;200&lt;/span&gt;&lt;span&gt; * microstep_x, &lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;}, &lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { {&lt;/span&gt;&lt;span&gt;20&lt;/span&gt;&lt;span&gt; * microstep_x, &lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;span&gt;}, &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28847&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Raspberry PIO stepper library documentation - 3: control multiple motors with 1 or more PIOs</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/raspberry-pio-stepper-library-documentation---3-control-multiple-motors-with-1-or-more-pios</link><pubDate>Tue, 22 Apr 2025 18:02:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3744ce44-5988-4ed9-b850-8c7857590a95</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice post Jan.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28847&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Raspberry PIO stepper library documentation - 3: control multiple motors with 1 or more PIOs</title><link>https://community.element14.com/products/raspberry-pi/b/blog/posts/raspberry-pio-stepper-library-documentation---3-control-multiple-motors-with-1-or-more-pios</link><pubDate>Mon, 21 Apr 2025 12:26:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3744ce44-5988-4ed9-b850-8c7857590a95</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;em&gt;&amp;gt; The gaps in the traces are for demo purposes, to&amp;nbsp;have a visual markers.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is a capture with the &amp;quot;demo sleeps&amp;quot; removed. &lt;br /&gt;The gaps you see here, are when I ask the firmware to run steps sequential, and one motor waits for the other one to&amp;nbsp;finish its step(s):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " height="299" src="/resized-image/__size/996x598/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-3744ce44-5988-4ed9-b850-8c7857590a95/DS1Z_5F00_QuickPrint15.png" width="498" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=28847&amp;AppID=86&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>