<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF">
<div>I hooked up 5 potentiometers and they are running some arduino code from a project called auduino granular synthesis so I was curious to see of arduino could support pd inside it. I guess I can get a wireless shield and talk to pd over wireless/Bluetooth
 And control it that way</div>
<div><br>
Patrick Pagano B.S.,M.F.A
<div>Digital Media Engineer</div>
<div>UF Digital Worlds Institute</div>
<div>(352)294-2020</div>
<div><br>
</div>
</div>
<div><br>
On Nov 25, 2011, at 2:54 PM, &quot;Dafydd Hughes&quot; &lt;<a href="mailto:dafydd61@gmail.com">dafydd61@gmail.com</a>&gt; wrote:<br>
<br>
</div>
<div></div>
<blockquote type="cite">
<div>Hi Patrick
<div><br>
</div>
<div>If I understand correctly what you're trying to do, an Arduino on its own is too slow. There's an audio shield you can get that will play samples, but anything Pd-style you need something faster.</div>
<div><br>
</div>
<div>If you're using Pduino anyway, could you use the Arduino for control and just run the audio on the computer?</div>
<div><br>
</div>
<div>cheers</div>
<div>dafydd<br>
<br>
<div class="gmail_quote">On Fri, Nov 25, 2011 at 1:17 PM, Pagano, Patrick <span dir="ltr">
&lt;<a href="mailto:pat@digitalworlds.ufl.edu">pat@digitalworlds.ufl.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF">
<div>So that worked fine. Is there a way to include the pd patch onto the micro controller a la RJDJ? I would like to put bill orcutts grain/granny patch via pd onto the arduino board and control it via pduino. Is this possible or does te instrument have to
 be coded in .pde form?&nbsp;</div>
<div><br>
Patrick Pagano B.S.,M.F.A
<div>Digital Media Engineer</div>
<div>UF Digital Worlds Institute</div>
<div><a href="tel:%28352%29294-2020" value="&#43;13522942020" target="_blank">(352)294-2020</a></div>
<div><br>
</div>
</div>
<div>
<div class="h5">
<div><br>
On Nov 25, 2011, at 12:31 AM, &quot;Dafydd Hughes&quot; &lt;<a href="mailto:dafydd61@gmail.com" target="_blank">dafydd61@gmail.com</a>&gt; wrote:<br>
<br>
</div>
<div></div>
<blockquote type="cite">
<div>Welcome. Glad I could help.<br>
<br>
<div class="gmail_quote">On Fri, Nov 25, 2011 at 12:30 AM, Pagano, Patrick <span dir="ltr">
&lt;<a href="mailto:pat@digitalworlds.ufl.edu" target="_blank">pat@digitalworlds.ufl.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">That seems to work then i just ignore the 0 bang.
<br>
thanks!<br>
pp<br>
<div style="font-family:Times New Roman;color:rgb(0,0,0);font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Dafydd Hughes [<a href="mailto:dafydd61@gmail.com" target="_blank">dafydd61@gmail.com</a>]<br>
<b>Sent:</b> Friday, November 25, 2011 12:22 AM
<div>
<div><br>
<b>To:</b> Pagano, Patrick<br>
<b>Cc:</b> <a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a><br>
<b>Subject:</b> Re: [PD] arduino question<br>
</div>
</div>
</font><br>
</div>
<div>
<div>
<div></div>
<div>Try this.<br>
<br>
<div class="gmail_quote">On Fri, Nov 25, 2011 at 12:19 AM, Pagano, Patrick <span dir="ltr">
&lt;<a href="mailto:pat@digitalworlds.ufl.edu" target="_blank">pat@digitalworlds.ufl.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">Yes.<br>
<br>
r_ANA_0 <br>
<br>
i assume it sees it as constantly sending something but i do not know how to control it.<br>
<br>
pp<br>
<br>
<div style="font-family:Times New Roman;color:rgb(0,0,0);font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Dafydd Hughes [<a href="mailto:dafydd61@gmail.com" target="_blank">dafydd61@gmail.com</a>]<br>
<b>Sent:</b> Friday, November 25, 2011 12:18 AM
<div>
<div><br>
<b>To:</b> Pagano, Patrick<br>
<b>Cc:</b> <a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a><br>
<b>Subject:</b> Re: [PD] arduino question<br>
</div>
</div>
</font><br>
</div>
<div>
<div>
<div></div>
<div>Oh cool - is this your stuff coming out of ANA_0?<br>
<br>
<div class="gmail_quote">On Fri, Nov 25, 2011 at 12:16 AM, Pagano, Patrick <span dir="ltr">
&lt;<a href="mailto:pat@digitalworlds.ufl.edu" target="_blank">pat@digitalworlds.ufl.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">it's a number box that is constantly sending 0 or 1 depending on whether the sensor is on or off.
<br>
<br>
the value is a constant stream and i am just unsure how to just get ONE bang when it's turned on and&nbsp; ignore the 0 bang when it turns off.<br>
<br>
<br>
<div style="font-family:Times New Roman;color:rgb(0,0,0);font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Dafydd Hughes [<a href="mailto:dafydd61@gmail.com" target="_blank">dafydd61@gmail.com</a>]<br>
<b>Sent:</b> Friday, November 25, 2011 12:12 AM
<div>
<div><br>
<b>To:</b> Pagano, Patrick<br>
<b>Cc:</b> <a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a><br>
<b>Subject:</b> Re: [PD] arduino question<br>
</div>
</div>
</font><br>
</div>
<div>
<div>
<div></div>
<div>Hi Patrick
<div><br>
</div>
<div>Do you mean you only want a bang when the sensor turns on?
<div><br>
</div>
<div>What do the messages look like coming from the arduino? What is that second value?</div>
<div><br>
</div>
<div>I hope I'm able to help here!</div>
<div><br>
</div>
<div>cheers</div>
<div>dafydd</div>
<div><br>
<div class="gmail_quote">On Fri, Nov 25, 2011 at 12:04 AM, Pagano, Patrick <span dir="ltr">
&lt;<a href="mailto:pat@digitalworlds.ufl.edu" target="_blank">pat@digitalworlds.ufl.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">Kind of. I am still a newbie to this but i have been using pduino_playaround.<br>
So are you suggesting removing the second value that is sent by Arduino?<br>
What is happening is that pd receives the &quot;on&quot; from the sensor and keeps baninging until the sensor turns off and then it sends another bang when it turns off so if the sensor turns it on it eventually bangs again and resets to 0 again. whereas i just want
 it to send&nbsp; bang when it's activated to play a sound and not band when it's done.<br>
<br>
pp<br>
<div style="font-family:Times New Roman;color:rgb(0,0,0);font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Dafydd Hughes [<a href="mailto:dafydd61@gmail.com" target="_blank">dafydd61@gmail.com</a>]<br>
<b>Sent:</b> Friday, November 25, 2011 12:00 AM<br>
<b>To:</b> Pagano, Patrick<br>
<b>Cc:</b> <a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a>
<div>
<div><br>
<b>Subject:</b> Re: [PD] arduino question<br>
</div>
</div>
</font><br>
</div>
<div>
<div>
<div></div>
<div>You know what? I'm not sure. I've never worked with those sensors. What do you mean by &quot;message to bang?&quot; are you doing a call-and-response between Pd and the Arduino?
<div><br>
</div>
<div>Are you working with this sketch?&nbsp;<a href="http://www.arduino.cc/playground/Code/PIRsense" target="_blank">http://www.arduino.cc/playground/Code/PIRsense</a><br>
<br>
<div class="gmail_quote">On Thu, Nov 24, 2011 at 11:28 PM, Pagano, Patrick <span dir="ltr">
&lt;<a href="mailto:pat@digitalworlds.ufl.edu" target="_blank">pat@digitalworlds.ufl.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">that kind of works but after it sends it's message to bang something the PIRturns off when the sensor goes &quot;off&quot; and it sends another value is there a way to ignore that?<br>
&nbsp;<br>
pp<br>
<div style="font-family:Times New Roman;color:rgb(0,0,0);font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Dafydd Hughes [<a href="mailto:dafydd61@gmail.com" target="_blank">dafydd61@gmail.com</a>]<br>
<b>Sent:</b> Thursday, November 24, 2011 10:43 PM<br>
<b>To:</b> Pagano, Patrick<br>
<b>Subject:</b> Re: [PD] arduino question<br>
</font><br>
</div>
<div>
<div>
<div></div>
<div>Hi Patrick
<div><br>
</div>
<div>Are you trying to turn the sample on/off by comparing it to a range?</div>
<div><br>
</div>
<div>If so, have you tried something like:</div>
<div><br>
</div>
<div>[&lt; 0.3]</div>
<div>|</div>
<div>[change]</div>
<div><br>
</div>
<div>?<br>
<br>
cheers</div>
<div>dafydd<br>
<br>
<div class="gmail_quote">On Thu, Nov 24, 2011 at 10:31 PM, Pagano, Patrick <span dir="ltr">
&lt;<a href="mailto:pat@digitalworlds.ufl.edu" target="_blank">pat@digitalworlds.ufl.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt"><span style="font-family:Calibri,sans-serif;font-size:14px">
<div>Hi</div>
<div><br>
</div>
<div>I am using a PIR sensor with pduino playground and I have the sensor picking up movement. It's my first pd-arduino excursion so forgive the noobie-ness. When I get the out form the PIR sensor it give me a constant value of SOMETHING The entire time. It's
 output values range from 0.13-0.664/0.665 constantly. I just want to use the sensor to turn off/on a sample but the file is constantly being &quot;banged&quot; a value. How do I just out put an on/off based upon &nbsp;this constant stream of Data? I tried select bit that
 does seem to be working.</div>
<div><br>
</div>
<div>It's a simple parallax PIR sensor and I have been having good luck getting usd to wiring and &nbsp;the breadboard etc. but when I take the analog0 stream/port into pd I do not know how to control that data/</div>
<div><br>
</div>
<div>Any help?</div>
<span><font color="#888888">
<div><br>
</div>
<div>pp</div>
</font></span></span></div>
</div>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">
http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</body>
</html>