<?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[Arduino to PD-Vanilla]]></title><description><![CDATA[<p>Hey! Could anyone help me get started importing data from Arduino into PD-Vanilla?</p>
<p>I have a gyroscope / accelerometer project in Arduino which serial.prints 6 data points from each of the accelerometer and gyroscope axes. I would like to bring these 6 data points into PD-Vanilla and unpack them so that they can separately drive objects in PD.</p>
<p>Does anyone know how to do this in PD-Vanilla?</p>
<p>Best<br />
Jess</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 16:05:39 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/13086.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Oct 2020 15:30:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Tue, 20 Oct 2020 15:30:41 GMT]]></title><description><![CDATA[<p>Hey! Could anyone help me get started importing data from Arduino into PD-Vanilla?</p>
<p>I have a gyroscope / accelerometer project in Arduino which serial.prints 6 data points from each of the accelerometer and gyroscope axes. I would like to bring these 6 data points into PD-Vanilla and unpack them so that they can separately drive objects in PD.</p>
<p>Does anyone know how to do this in PD-Vanilla?</p>
<p>Best<br />
Jess</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla</guid><dc:creator><![CDATA[Jess]]></dc:creator><pubDate>Tue, 20 Oct 2020 15:30:41 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Tue, 20 Oct 2020 15:41:55 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jess">@Jess</a> btw I'm using a Mac</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/2</guid><dc:creator><![CDATA[Jess]]></dc:creator><pubDate>Tue, 20 Oct 2020 15:41:55 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Tue, 20 Oct 2020 17:46:13 GMT]]></title><description><![CDATA[<p>I've used the external [comport] to talk over USB serial to an Arduino on both MacOS and Windows, never had an issue.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/3</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Tue, 20 Oct 2020 17:46:13 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Tue, 20 Oct 2020 18:15:34 GMT]]></title><description><![CDATA[<p>There's no vanilla way to have the Arduino talk straight to Pd. You either have to use [comport] (which is recommended), or use some other software to receive data from the Arduino (like Python) and send that to Pd over OSC.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/4</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Tue, 20 Oct 2020 18:15:34 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Tue, 20 Oct 2020 18:38:24 GMT]]></title><description><![CDATA[<p>Oh I'm sorry, I missed that the solution has to be pure vanilla.  Well if the Arduino has WiFi or ethernet, you can send OSC or FUDI messages to vanilla over TCP or UDP.  I've had success with both MKR1000 and an Uno with a knock-off W5100 ethernet shield.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/5</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Tue, 20 Oct 2020 18:38:24 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Tue, 20 Oct 2020 19:01:27 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jameslo">@jameslo</a> I don't think it has to be pure vanilla.<br />
<a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jess">@Jess</a> has asked about zexy too.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/6</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 20 Oct 2020 19:01:27 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Tue, 20 Oct 2020 22:22:09 GMT]]></title><description><![CDATA[<p>hey thanks all!</p>
<p>I've now added the comport function and connected it to the arduino serial port, which as far as I can tell seems to be working ok.</p>
<p>I'm not sure though how to retrieve the 6 co-ordinate data points. I found an old thread (<a href="https://forum.pdpatchrepo.info/topic/7356/arduino-to-pure-data-via-serial-how-to-unpack-data-from-acceleromete" rel="nofollow">https://forum.pdpatchrepo.info/topic/7356/arduino-to-pure-data-via-serial-how-to-unpack-data-from-acceleromete</a>) that was suggesting using repack and then unpack to pull each of the co-ordinate data points out separately.</p>
<p><img src="/uploads/files/1603232219311-screenshot-2020-10-20-at-23.16.44.png" alt="Screenshot 2020-10-20 at 23.16.44.png" class="img-responsive img-markdown" /></p>
<p>I'm not seeing any numbers coming out of the unpack object though - perhaps I'm radically over-simplifying!, but might anyone know what I'm missing?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/7</guid><dc:creator><![CDATA[Jess]]></dc:creator><pubDate>Tue, 20 Oct 2020 22:22:09 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Wed, 21 Oct 2020 01:55:48 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jess">@Jess</a> Here's an example of parsing 2 floats in Pd:</p>
<p><img src="/uploads/files/1603242720476-screenshot-2020-10-20-210803.png" alt="Screenshot 2020-10-20 210803.png" class="img-responsive img-markdown" /><br />
Note the formatting on the Arduino side if you want to use fudiparse.</p>
<p>Edit:  This is one of those arcane situations where the &quot;list&quot; prefix isn't necessary, don't ask me why (but I know <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> knows), so you can delete that Serial.print(&quot;list &quot;).  Also, I think the [t b b] isn't necessary.  The [list prepend] is just enqueuing all the ASCII except CR until an LF is seen, then queue is cleared and the ASCII list is parsed into a proper Pd list.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/8</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Wed, 21 Oct 2020 01:55:48 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Wed, 21 Oct 2020 05:53:00 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jameslo">@jameslo</a> Yes, the [t b b] is needed to clear the list. Pd will always drop the list prefix if the first entry of the list is a number. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";)" alt=";)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/9</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Wed, 21 Oct 2020 05:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Wed, 21 Oct 2020 12:06:54 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ingox">@ingox</a> RE [t b b], I'm thinking it doesn't matter whether the queue is cleared before or after the list is fudiparsed (verbification of Pd object?) because I don't think Pd will process the next com character until after the full message tree is evaluated.  Am I wrong?  I think that's also why you can't write a <a href="https://forum.pdpatchrepo.info/topic/13043/can-pd-busy-wait" rel="nofollow">busy wait</a>.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/10</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Wed, 21 Oct 2020 12:06:54 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Wed, 21 Oct 2020 12:40:42 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jameslo">@jameslo</a> True, since it goes to a cold inlet, the order is not relevant here. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/11</guid><dc:creator><![CDATA[ingox]]></dc:creator><pubDate>Wed, 21 Oct 2020 12:40:42 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Wed, 21 Oct 2020 18:38:48 GMT]]></title><description><![CDATA[<p>Using Serial.print() can be tricky as it outputs ASCII values and not raw bytes, like Serial.write() does. I have written an abstraction to be used with [comport] and Serial.print(), it's called [serial_print] and you can get it here <a href="https://github.com/alexdrymonitis/Arduino_Pd" rel="nofollow">https://github.com/alexdrymonitis/Arduino_Pd</a><br />
Read the Readme first as you'll might need to use [serial_print13] instead. Also read the Arduino code to see how to format your Arduino data. It's really easy to use this.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/12</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Wed, 21 Oct 2020 18:38:48 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Sat, 24 Oct 2020 18:59:29 GMT]]></title><description><![CDATA[<p>great! thanks so much, I went with the fudiparse option in the end and works perfectly!</p>
<p>thanks again for all the suggestions<br />
Jess</p>
<p><img src="/uploads/files/1603565932308-image.png" alt="image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/13</guid><dc:creator><![CDATA[Jess]]></dc:creator><pubDate>Sat, 24 Oct 2020 18:59:29 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Fri, 30 Jan 2026 11:47:59 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/alexandros">@alexandros</a> for me, serial_print(13) doesn't output anything. What could be wrong with that - has something changed over the years?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/14</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/14</guid><dc:creator><![CDATA[popomimi]]></dc:creator><pubDate>Fri, 30 Jan 2026 11:47:59 GMT</pubDate></item><item><title><![CDATA[Reply to Arduino to PD-Vanilla on Fri, 30 Jan 2026 12:16:10 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/popomimi">@popomimi</a> Can you show the Arduino code and the Pd patch you're using?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/15</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13086/arduino-to-pd-vanilla/15</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Fri, 30 Jan 2026 12:16:10 GMT</pubDate></item></channel></rss>