<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Well after restarting Arduino and pd i am getting values to reside between 0 and 1 from the PIR so i can hook up a select to the r_ANA_0 but when i trigger the sensor it continually
 bangs for the 10 seconds that the sensor is on, is there a way to only bang once?<br>
<br>
pp<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF972121"><font color="#000000" face="Tahoma" size="2"><b>From:</b> pd-list-bounces@iem.at [pd-list-bounces@iem.at] on behalf of Pagano, Patrick [pat@digitalworlds.ufl.edu]<br>
<b>Sent:</b> Thursday, November 24, 2011 11:28 PM<br>
<b>To:</b> Dafydd Hughes<br>
<b>Cc:</b> pd-list@iem.at<br>
<b>Subject:</b> Re: [PD] arduino question<br>
</font><br>
</div>
<div></div>
<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 tabindex="-1">
<div id="divRpF559566" style="direction: ltr;"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Dafydd Hughes [dafydd61@gmail.com]<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>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 class="HOEnZb"><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>
</body>
</html>