<?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[Pduino problem]]></title><description><![CDATA[<p>Hello everyone, ive got this problem while trying to connect my arduino to Pd. Already installed firmata, used firmata test app to check its ok, and it is. But when i open the arduino-test pd patch, i get this:</p>
<p>netreceive: failed to sett SO_BROADCAST<br />
comport - PD external for unix/windows<br />
LGPL 1998-2015,  Winfried Ritsch and others (see LICENSE.txt)<br />
Institute for Electronic Music - Graz<br />
[comport] Opening COM1<br />
[comport]: could not open device COM1:<br />
failure(2) ERROR_FILE_NOT_FOUND</p>
<p>[comport] opening serial port 1 failed!<br />
moocow/string2any 32 -1<br />
... couldn't create<br />
route 13 0 20 1 (message-&gt;prepend) connection failed<br />
route 14 0 20 1 (message-&gt;prepend) connection failed<br />
route 16 0 20 1 (bang-&gt;prepend) connection failed<br />
route 17 0 20 1 (bang-&gt;prepend) connection failed<br />
moocow/string2any 32 -1<br />
... couldn't create<br />
moocow/any2string<br />
... couldn't create<br />
moocow/any2string<br />
... couldn't create<br />
moocow/string2any 32 -1<br />
... couldn't create<br />
[arduino]: version_0.5<br />
[comport]: could not open device COM1:<br />
failure(2) ERROR_FILE_NOT_FOUND</p>
<p>Firmware: 2-5.<br />
UNKNOWN_INPUT_COMMAND: 0 480<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 480<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 480<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 480<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 480</p>
<hr />
<p>So, i select the port im using and the A0 pin which is the one with the potentiometer im gonna use, and i get thousands of UNKNOWN_INPUT_COMMAND messages, i turn the pot and the values go from 0 to 1000, and the pd device info block has Firmata 2.5 so its recognizing the device, but cant go beyond that. Any ideas? I see that moocow is missing (and that could be relevant), but couldnt get anything using the &quot;find externals&quot; function.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12362/pduino-problem</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Jul 2026 03:26:34 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/12362.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 Oct 2019 17:41:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pduino problem on Sun, 06 Oct 2019 17:58:10 GMT]]></title><description><![CDATA[<p>Hello everyone, ive got this problem while trying to connect my arduino to Pd. Already installed firmata, used firmata test app to check its ok, and it is. But when i open the arduino-test pd patch, i get this:</p>
<p>netreceive: failed to sett SO_BROADCAST<br />
comport - PD external for unix/windows<br />
LGPL 1998-2015,  Winfried Ritsch and others (see LICENSE.txt)<br />
Institute for Electronic Music - Graz<br />
[comport] Opening COM1<br />
[comport]: could not open device COM1:<br />
failure(2) ERROR_FILE_NOT_FOUND</p>
<p>[comport] opening serial port 1 failed!<br />
moocow/string2any 32 -1<br />
... couldn't create<br />
route 13 0 20 1 (message-&gt;prepend) connection failed<br />
route 14 0 20 1 (message-&gt;prepend) connection failed<br />
route 16 0 20 1 (bang-&gt;prepend) connection failed<br />
route 17 0 20 1 (bang-&gt;prepend) connection failed<br />
moocow/string2any 32 -1<br />
... couldn't create<br />
moocow/any2string<br />
... couldn't create<br />
moocow/any2string<br />
... couldn't create<br />
moocow/string2any 32 -1<br />
... couldn't create<br />
[arduino]: version_0.5<br />
[comport]: could not open device COM1:<br />
failure(2) ERROR_FILE_NOT_FOUND</p>
<p>Firmware: 2-5.<br />
UNKNOWN_INPUT_COMMAND: 0 480<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 480<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 480<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 480<br />
UNKNOWN_INPUT_COMMAND: 0 479<br />
UNKNOWN_INPUT_COMMAND: 0 480</p>
<hr />
<p>So, i select the port im using and the A0 pin which is the one with the potentiometer im gonna use, and i get thousands of UNKNOWN_INPUT_COMMAND messages, i turn the pot and the values go from 0 to 1000, and the pd device info block has Firmata 2.5 so its recognizing the device, but cant go beyond that. Any ideas? I see that moocow is missing (and that could be relevant), but couldnt get anything using the &quot;find externals&quot; function.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12362/pduino-problem</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12362/pduino-problem</guid><dc:creator><![CDATA[Al33000]]></dc:creator><pubDate>Sun, 06 Oct 2019 17:58:10 GMT</pubDate></item><item><title><![CDATA[Reply to Pduino problem on Sun, 06 Oct 2019 19:00:42 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/al33000">@Al33000</a> For comport..... the port might not be COM1, and maybe if COM1 is reserved you need COM2 etc.<br />
If the Moocow objects are not available they can probably be replaced if you are using Pd Vanilla.<br />
For example [string2any] was a wrapper for [bytes2any] and can be replaced by [list tosymbol]<br />
And similarly [any2string] can be replaced by [list fromsymbol]</p>
<p>Upload the patch if you need more help.<br />
Those Vanilla objects will not split the message though, so if that was the intention with the arguments 32 -1 (which I don't think is the case) then a little more work will be necessary.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12362/pduino-problem/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12362/pduino-problem/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sun, 06 Oct 2019 19:00:42 GMT</pubDate></item><item><title><![CDATA[Reply to Pduino problem on Sun, 06 Oct 2019 19:13:45 GMT]]></title><description><![CDATA[<p><a href="/uploads/files/1570388740249-arduino-test.pd">arduino-test.pd</a><br />
Thanks for answering! This is driving me mad lol.. Heres the patch attached, its the arduino test utility for Pduino.</p>
<p>comport is fine, the messages you see there are when you havent set the correct port yet, you select the correct one (in this case port 7) and it doesnt bugger anymore.</p>
<p>Im using pd vanilla 0.49 on Windows, so i have to check any moocow references and change them for &quot;list tosymbol&quot; and &quot;list fromsymbol&quot;? ...ive read on forums moocow shows these warning messages but only when running on windows.</p>
<p>So, to recapitulate, firmata is properly installed on the arduino, and its actually giving out correct output data, but cant get them to be recognized by Pd, hence the unknown input command messages, pretty sure the moocow issue is the culprit but still cant get my head around it.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12362/pduino-problem/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12362/pduino-problem/3</guid><dc:creator><![CDATA[Al33000]]></dc:creator><pubDate>Sun, 06 Oct 2019 19:13:45 GMT</pubDate></item><item><title><![CDATA[Reply to Pduino problem on Sun, 06 Oct 2019 20:39:35 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/al33000">@Al33000</a> &quot;netreceive: failed to sett SO_BROADCAST&quot; is very strange...... unless the port is already in use..... not released when the patch was last closed.... or in use by another program.<br />
I have just put a direct replacement into the zip file for the two missing objects (I have not changed the patch).<br />
I have other stuff missing from vanilla, but I assume you have them...... [cyclone/gate] and stuff from the mapping/ library.<br />
I cannot test.... no [arduino] object and worse still no Arduino.<br />
Try running this one....... <a href="/uploads/files/1570393492471-test.zip">test.zip</a><br />
You might be lucky....<br />
David.<br />
PS What is your OS that you are running Pd on?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12362/pduino-problem/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12362/pduino-problem/4</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sun, 06 Oct 2019 20:39:35 GMT</pubDate></item><item><title><![CDATA[Reply to Pduino problem on Sun, 06 Oct 2019 20:48:59 GMT]]></title><description><![CDATA[<p>just tested what you uploaded, got this:</p>
<p>netreceive: failed to sett SO_BROADCAST<br />
arduino 1<br />
... couldn't create</p>
<p>and nothing else. i dont get unknown input command msgs anymore, even after setting the proper port and arduino analog pin. im on Win 7 Professional.</p>
<p>now, i moved the moocow folder you attached to my original pd patch folder and got this:</p>
<p>netreceive: failed to sett SO_BROADCAST<br />
comport - PD external for unix/windows<br />
LGPL 1998-2015,  Winfried Ritsch and others (see LICENSE.txt)<br />
Institute for Electronic Music - Graz<br />
[comport] Opening COM1<br />
[comport]: could not open device COM1:<br />
failure(2) ERROR_FILE_NOT_FOUND</p>
<p>[comport] opening serial port 1 failed!<br />
route 13 0 20 1 (message-&gt;prepend) connection failed<br />
route 14 0 20 1 (message-&gt;prepend) connection failed<br />
route 16 0 20 1 (bang-&gt;prepend) connection failed<br />
route 17 0 20 1 (bang-&gt;prepend) connection failed<br />
[arduino]: version_0.5<br />
[comport]: could not open device COM1:<br />
failure(2) ERROR_FILE_NOT_FOUND</p>
<p>Firmware: StandardFirmata.ino-2.5<br />
UNKNOWN_INPUT_COMMAND: 0 240<br />
UNKNOWN_INPUT_COMMAND: 0 239<br />
UNKNOWN_INPUT_COMMAND: 0 239<br />
UNKNOWN_INPUT_COMMAND: 0 239<br />
UNKNOWN_INPUT_COMMAND: 0 239<br />
UNKNOWN_INPUT_COMMAND: 0 239<br />
UNKNOWN_INPUT_COMMAND: 0 239<br />
UNKNOWN_INPUT_COMMAND: 0 239<br />
UNKNOWN_INPUT_COMMAND: 0 239</p>
<p>no more moocow errors anymore, then i set the port, got the firmata 2.5 message, then set pin a0 and got the endless stream of unknown input command msgs that change value when i move the pot. i think we're pretty close, but still not there :/</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12362/pduino-problem/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12362/pduino-problem/5</guid><dc:creator><![CDATA[Al33000]]></dc:creator><pubDate>Sun, 06 Oct 2019 20:48:59 GMT</pubDate></item><item><title><![CDATA[Reply to Pduino problem on Sun, 06 Oct 2019 21:10:19 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/al33000">@Al33000</a> You are lucky.  Pd Extended, that will have exactly the correct objects for the patch, is available as a portable program (only for windows)...... <a href="http://puredata.info/downloads/pd-extended" rel="nofollow">http://puredata.info/downloads/pd-extended</a><br />
You want this one.......<br />
........Get Pd-extended for Windows  (52.7MB)<br />
........Windows ZIP (unzip and run anywhere)</p>
<p>You don't install it.... just unzip it (to your desktop?) keeping it all together in one folder, and then go to its Pd/bin folder and run pd.exe<br />
Be sure to allow it through your firewall when the message pops up (Private network, not Public)</p>
<p>As it is portable it will not mess up your current Pd setup and you can just delete the folder later if you want.<br />
I would keep it though.  It can be useful in this sort of situation.<br />
Then open your patch with that version.<br />
If it still doesn't work then the problem is elsewhere.<br />
In fact the &quot;broadcast&quot; message suggests that your current Pd is not allowed through the firewall... maybe....?<br />
Clutching at straws otherwise as I cannot test the patch.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12362/pduino-problem/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12362/pduino-problem/6</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sun, 06 Oct 2019 21:10:19 GMT</pubDate></item><item><title><![CDATA[Reply to Pduino problem on Sun, 06 Oct 2019 21:21:34 GMT]]></title><description><![CDATA[<p>holy... that was it, that solved it <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>thanks a lot for your good will to help this blind man out of this trouble lol cheers!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12362/pduino-problem/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12362/pduino-problem/7</guid><dc:creator><![CDATA[Al33000]]></dc:creator><pubDate>Sun, 06 Oct 2019 21:21:34 GMT</pubDate></item><item><title><![CDATA[Reply to Pduino problem on Sun, 06 Oct 2019 21:27:14 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/al33000">@Al33000</a> You are very welcome.<br />
Was it Pd extended that solved it or the firewall?<br />
Asking so that others will know in the future.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12362/pduino-problem/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12362/pduino-problem/8</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sun, 06 Oct 2019 21:27:14 GMT</pubDate></item><item><title><![CDATA[Reply to Pduino problem on Sun, 06 Oct 2019 21:53:34 GMT]]></title><description><![CDATA[<p>It was Pd extended, it worked like a charm, now im on the project i was halted from yesterday when i got caught onto this, thank you again!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12362/pduino-problem/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12362/pduino-problem/9</guid><dc:creator><![CDATA[Al33000]]></dc:creator><pubDate>Sun, 06 Oct 2019 21:53:34 GMT</pubDate></item></channel></rss>