You know what? I&#39;m not sure. I&#39;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? <a href="http://www.arduino.cc/playground/Code/PIRsense">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">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 kind of works but after it sends it&#39;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>

 <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 class="h5">
<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&#39;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&#39;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  this constant stream of Data? I tried select bit that
 does seem to be working.</div>
<div><br>
</div>
<div>It&#39;s a simple parallax PIR sensor and I have been having good luck getting usd to wiring and  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>