<?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[HELP!!!! Puredata and Arduino problem! -Solved-]]></title><description><![CDATA[<p>Hi everyone!<br />
I need a big help!<br />
I need to receive from an arduino the data from 8 encoders, 3 buttons and 3 potentiometer.<br />
I'm using the &quot;comport&quot; object. How can I have the single outputs of any single encoder/buttons/potentiometer?<br />
I've tried to unpack the data with the names I give to the encoders on the arduino (en0, en1, en 2...), but without obtaining anything...<br />
What can I do?</p>
<p>Please send help!!!!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 09:13:24 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/10510.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 04 Jan 2017 15:52:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HELP!!!! Puredata and Arduino problem! -Solved- on Wed, 11 Jan 2017 16:03:24 GMT]]></title><description><![CDATA[<p>Hi everyone!<br />
I need a big help!<br />
I need to receive from an arduino the data from 8 encoders, 3 buttons and 3 potentiometer.<br />
I'm using the &quot;comport&quot; object. How can I have the single outputs of any single encoder/buttons/potentiometer?<br />
I've tried to unpack the data with the names I give to the encoders on the arduino (en0, en1, en 2...), but without obtaining anything...<br />
What can I do?</p>
<p>Please send help!!!!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved</guid><dc:creator><![CDATA[Congarou]]></dc:creator><pubDate>Wed, 11 Jan 2017 16:03:24 GMT</pubDate></item><item><title><![CDATA[Reply to HELP!!!! Puredata and Arduino problem! -Solved- on Thu, 05 Jan 2017 11:23:41 GMT]]></title><description><![CDATA[<p>You'll probably need to share the arduino code cause like this it's not easy to help you.<br />
Note that strings like &quot;en0&quot; are not that trivial to parse in Pd. I've made an abstraction that does this which you can find <a href="https://github.com/alexdrymonitis/Arduino_Pd" rel="nofollow">here</a>, it's called [serial_print]. Mind though that after each string that is used as a tag for a value you'll need to print a delimiter, which either a white space, a comma, or a horizontal tab ('\t'). Check its help patch and arduino sketch for details.<br />
Come back here with code and patch if you can't figure it out.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/2</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Thu, 05 Jan 2017 11:23:41 GMT</pubDate></item><item><title><![CDATA[Reply to HELP!!!! Puredata and Arduino problem! -Solved- on Thu, 05 Jan 2017 11:51:04 GMT]]></title><description><![CDATA[<p>Hi Alexandros!<br />
Here you can find the Arduino code.<br />
The whole thing have 3 buttons, 3 analog potentiometer and 3 encoders.<br />
Each encoder should output his speed that I will send to a slider, the faster the encoder spin the higher the slider should be.<br />
The buttons will be linked to a toggle.<br />
And the analog potentiometer to some other sliders.<br />
Thanks a lot for your help!</p>
<p><a href="/uploads/files/1483616676661-rolltonemain.zip">rolltoneMain.zip</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/3</guid><dc:creator><![CDATA[Congarou]]></dc:creator><pubDate>Thu, 05 Jan 2017 11:51:04 GMT</pubDate></item><item><title><![CDATA[Reply to HELP!!!! Puredata and Arduino problem! -Solved- on Fri, 06 Jan 2017 14:29:52 GMT]]></title><description><![CDATA[<p>try the attached code. In Pd receive values with [comport] and [serial_print] with [r event0], [r event1] etc. (actually I don't know the numbers these &quot;events&quot; can take), with [r bup], with [r scl:] and with [r en0], [r en1], etc.<br />
Let me know if it works for you.<br />
<a href="/uploads/files/1483712978640-rolltonemain.zip">rolltoneMain.zip</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/4</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Fri, 06 Jan 2017 14:29:52 GMT</pubDate></item><item><title><![CDATA[Reply to HELP!!!! Puredata and Arduino problem! -Solved- on Fri, 06 Jan 2017 17:42:12 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/alexandros">@alexandros</a> Could you explain me a bit better the whole chain from the [serial_print] object?<br />
Could you send me an example patch?<br />
I've attached the pure data project, the signal from each encoders should increase or decrease the value on the sliders associated.<br />
Many thanks!</p>
<p><a href="/uploads/files/1483724420480-rolltone-s.pd">Rolltone S.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/5</guid><dc:creator><![CDATA[Congarou]]></dc:creator><pubDate>Fri, 06 Jan 2017 17:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to HELP!!!! Puredata and Arduino problem! -Solved- on Fri, 06 Jan 2017 18:15:13 GMT]]></title><description><![CDATA[<p>I can't check the patch right now, but if you copy [comport], [serial_print], and [s ] from [serial_print]'s help patch, and include the [r ] objects I mentioned in the previous post, you should probably start getting some values out of them.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/6</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Fri, 06 Jan 2017 18:15:13 GMT</pubDate></item><item><title><![CDATA[Reply to HELP!!!! Puredata and Arduino problem! -Solved- on Mon, 09 Jan 2017 19:14:27 GMT]]></title><description><![CDATA[<p>Just checked your patch and changed it a bit. It might work with the Arduino sketch I posted above. Check it and let us know if it works.<br />
<a href="/uploads/files/1483989265447-rolltone-s.pd">rolltone-s.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/7</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Mon, 09 Jan 2017 19:14:27 GMT</pubDate></item><item><title><![CDATA[Reply to HELP!!!! Puredata and Arduino problem! -Solved- on Wed, 11 Jan 2017 12:26:56 GMT]]></title><description><![CDATA[<p>Hi Alexandros!<br />
Sorry for the late reply.<br />
Your object works like a charm!<br />
Thanks a lot! you really saved my life!<br />
I'm just having some problems with the Arduino and the Encoders, instead of incrementing or decrementing the value, it output just numbers (sometimes 0-1 some other time 3-4 and all in between). it's strange then with both pins attached it output 0 with one attached it output 1 and with the other attached it output -1, in different ranges but keeping this proportion. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/disappointed_relieved.png" title="disappointed_relieved" alt=":disappointed_relieved:" /><br />
As soon I will fix that I will post all the results!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/8</guid><dc:creator><![CDATA[Congarou]]></dc:creator><pubDate>Wed, 11 Jan 2017 12:26:56 GMT</pubDate></item><item><title><![CDATA[Reply to HELP!!!! Puredata and Arduino problem! -Solved- on Wed, 11 Jan 2017 16:05:19 GMT]]></title><description><![CDATA[<p>As always it was a cable problem. Some of the connection were in short and arduino was receiving 1 from both the channels of the encoder.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/9</guid><dc:creator><![CDATA[Congarou]]></dc:creator><pubDate>Wed, 11 Jan 2017 16:05:19 GMT</pubDate></item><item><title><![CDATA[Reply to HELP!!!! Puredata and Arduino problem! -Solved- on Wed, 11 Jan 2017 16:56:17 GMT]]></title><description><![CDATA[<p>Glad you got it working!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10510/help-puredata-and-arduino-problem-solved/10</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Wed, 11 Jan 2017 16:56:17 GMT</pubDate></item></channel></rss>