<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-tab-span" style="white-space:pre"><div><span class="Apple-style-span" style="white-space: normal;"><br></span></div><div><span class="Apple-style-span" style="white-space: normal;">What baud are you running each at?  IIRC, the XBee needs a strange value.</span></div><div><span class="Apple-style-span" style="white-space: normal;"><br></span></div><div><span class="Apple-style-span" style="white-space: normal;">.hc</span></div>        </span><div><div><html>On Apr 10, 2008, at 5:52 PM, nick burge wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite">  <div dir="ltr" align="left"><span class="401264221-10042008"><font face="Arial" color="#0000ff" size="2">I wish I knew. I'm loading the arduino-test patch with no other objects or abstractions so as to eliminate other suspects. Still PD crashes when I enable more than 2 analogIns.</font></span></div> <div dir="ltr" align="left"><span class="401264221-10042008"><font face="Arial" color="#0000ff" size="2">Would it help to speed up or slow down the xbee connection?</font></span></div><br> <div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left"> <hr tabindex="-1"> <font face="Tahoma" size="2"><b>From:</b> Hans-Christoph Steiner [<a href="mailto:hans@eds.org">mailto:hans@eds.org</a>] <br><b>Sent:</b> 10 April 2008 23:12<br><b>To:</b> nick burge<br><b>Cc:</b> Pd List<br><b>Subject:</b> Re: [PD] pduino and FSRs<br></font><br></div> <div></div> <div><br></div> <div>The code and the electrics are quite separate. If the electrics work with one firmware, then they'll work with another. The question is, what is the "it" that grinds to a halt.</div> <div><br></div> <div>.hc</div><br> <div>On Apr 10, 2008, at 4:17 PM, nick burge wrote:<br class="Apple-interchange-newline"> <blockquote type="cite">  <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="191550720-10042008">Yes, I've got the latest version....maybe a silly   question...but could it be that Pduino is optimised for sensors working on a   supply of 5v. because the phidget voltage dividers i've got my FSRs attached   to come with a potentiometer that alters the resistance of the circuit...with   pduino i can only activate 2 at a time before it all grinds to a halt...on   arduino2PD i can activate all six without any problem. Strange.   </span></font></div>  <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="191550720-10042008"></span></font><font face="Arial" color="#0000ff" size="2"><span class="191550720-10042008">Nick.</span></font></div><br>  <div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left">  <hr tabindex="-1">  <font face="Tahoma" size="2"><b>From:</b> Hans-Christoph Steiner [<a href="mailto:hans@eds.org">mailto:hans@eds.org</a>] <br><b>Sent:</b> 10 April   2008 21:51<br><b>To:</b> nick burge<br><b>Cc:</b> Pd List<br><b>Subject:</b>   Re: [PD] pduino and FSRs<br></font><br></div>  <div></div>  <div><br></div>  <div>I've never run on Vista before, so I can't say much about that. I have   run on Debian, Ubuntu, and Mac OS X. It shouldn't matter what is generating   the data on the arduino, the messages coming to Pd via the serial port should   be all the same. </div>  <div><br></div>  <div>Are you using the latest version:</div>  <div>  <div style="MARGIN: 0px">  <div style="MARGIN: 0px"><font style="FONT: 12px Helvetica" face="Helvetica" size="3"><a href="http://at.or.at/hans/pd/Pduino-0.3.1.zip">http://at.or.at/hans/pd/Pduino-0.3.1.zip</a></font></div></div></div>  <div><br></div>  <div>.hc</div><br>  <div>On Apr 10, 2008, at 12:57 PM, nick burge wrote:<br class="Apple-interchange-newline">  <blockquote type="cite">    <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="007394516-10042008">Hello Hans-Christoph, I am using PD 0.39.3     extended. on a windows vista system. Its PD that crashes, or "stops working"     as Vista so nicely puts it, when I connect the FSRs.</span></font></div>    <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="007394516-10042008">I have arduino connecting via wireless xbees at     19200 baud.</span></font></div>    <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="007394516-10042008">I also use an infra red distance sensor that gives     no problem.</span></font></div>    <div dir="ltr" align="left"><font face="Arial" color="#0000ff" size="2"><span class="007394516-10042008">I've been routing the data from the FSRs through     the autoscale object.</span></font></div>    <div dir="ltr" align="left"><font size="+0"><span class="007394516-10042008"></span></font><span class="007394516-10042008"></span><font face="Arial"><font color="#0000ff"><font size="2">M<span class="007394516-10042008">aybe I should find a way to reduce     the amount of data being sampled...every 40ms for example? How would I do     that?</span></font></font></font></div>    <div dir="ltr" align="left"><font size="+0"><font color="#0000ff"><font size="2"><span class="007394516-10042008"></span></font></font></font><span class="007394516-10042008"></span><font face="Arial"><font color="#0000ff"><font size="2">N<span class="007394516-10042008">ick.</span></font></font></font><br></div>    <div class="OutlookMessageHeader" lang="en-us" dir="ltr" align="left">    <hr tabindex="-1">    <font face="Tahoma" size="2"><b>From:</b> Hans-Christoph Steiner [<a href="mailto:hans@eds.org">mailto:hans@eds.org</a>] <br><b>Sent:</b> 10     April 2008 17:25<br><b>To:</b> nick burge<br><b>Cc:</b> Pd     List<br><b>Subject:</b> Re: [PD] pduino and FSRs<br></font><br></div>    <div></div>    <div><br></div>    <div>Which program crashes? Which version are you using? You will get a lot     of data, from 6 sensors, Pduino/Firmata will read them all every 20ms. I     have never seen a crash using [arduino], except when I unplug the arduino     when Pd is connected to it, so I suspect the problem lies elsewhere. </div>    <div><br></div>    <div>.hc</div><br>    <div>On Apr 10, 2008, at 11:16 AM, nick burge wrote:<br class="Apple-interchange-newline">    <blockquote type="cite">      <div><font face="Arial" size="2"><span class="023550209-10042008">I have a       little problem using Pduino and some force sensing resistors that I am       using in conjunction with phidget voltage dividers....they seem to crash       the program as soon as I activate more than 1 at a time.....       </span></font></div>      <div><font face="Arial" size="2"><span class="023550209-10042008">Should I be       applying some sort of filter to the data stream?</span></font></div>      <div><font face="Arial" size="2"><span class="023550209-10042008">Arduino2PD       seems more robust, allowing me to activate all 6 analog inputs at       once.</span></font></div>      <div><font face="Arial" size="2"><span class="023550209-10042008"></span></font></div>      <div><font face="Arial" size="2"><span class="023550209-10042008">Nick       Burge.</span></font></div>      <div style="MARGIN: 0px">_______________________________________________</div>      <div style="MARGIN: 0px"><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list</div>      <div style="MARGIN: 0px">UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></div></blockquote></div><br>    <div><span class="Apple-style-span" style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2"><br class="Apple-interchange-newline"><span class="Apple-style-span" style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2">    <div><br></div>    <div>----------------------------------------------------------------------------</div>    <div><br></div>    <div>Looking at things from a more basic level, you can come up with a more     direct solution... It may sound small in theory, but it in practice, it can     change entire economies.<span class="Apple-converted-space"> </span>- Amy     Smith</div><br class="Apple-interchange-newline"></span></span></div><br></blockquote></div><br>  <div><span class="Apple-style-span" style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2"><br class="Apple-interchange-newline"><span class="Apple-style-span" style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2">  <div><br style="FONT-FAMILY: Tahoma"></div>  <div>----------------------------------------------------------------------------</div>  <div><br style="FONT-FAMILY: Tahoma"></div>  <div>There is no way to peace, peace is the way. -A.J. Muste</div><br class="Apple-interchange-newline"></span></span></div><br></blockquote></div><br> <div><span class="Apple-style-span" style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2"><br class="Apple-interchange-newline"><span class="Apple-style-span" style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; border-spacing: 0px 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto; orphans: 2; widows: 2"> <div><br style="FONT-FAMILY: Tahoma"></div> <div>----------------------------------------------------------------------------</div> <div><br style="FONT-FAMILY: Tahoma"></div> <div>There is no way to peace, peace is the way. -A.J. Muste</div><br class="Apple-interchange-newline"></span></span></div><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><div><br class="khtml-block-placeholder"></div><div>----------------------------------------------------------------------------</div><div><br class="khtml-block-placeholder"></div><div>Mistrust authority - promote decentralization.  - the hacker ethic</div><br class="Apple-interchange-newline"></span> </div><br></div></body></html>