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.Would it help to speed up or slow down the xbee connection?
From: Hans-Christoph Steiner [mailto:hans@eds.org]
Sent: 10 April 2008 23:12
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRsThe 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..hc
On Apr 10, 2008, at 4:17 PM, nick burge wrote:
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.Nick.
From: Hans-Christoph Steiner [mailto:hans@eds.org]
Sent: 10 April 2008 21:51
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRsI'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.Are you using the latest version:.hc
On Apr 10, 2008, at 12:57 PM, nick burge wrote:
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.I have arduino connecting via wireless xbees at 19200 baud.I also use an infra red distance sensor that gives no problem.I've been routing the data from the FSRs through the autoscale object.Maybe I should find a way to reduce the amount of data being sampled...every 40ms for example? How would I do that?Nick.
From: Hans-Christoph Steiner [mailto:hans@eds.org]
Sent: 10 April 2008 17:25
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRsWhich 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..hc
On Apr 10, 2008, at 11:16 AM, nick burge wrote:
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.....Should I be applying some sort of filter to the data stream?Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at once.Nick Burge._______________________________________________PD-list@iem.at mailing listUNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----------------------------------------------------------------------------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. - Amy Smith
----------------------------------------------------------------------------There is no way to peace, peace is the way. -A.J. Muste
----------------------------------------------------------------------------There is no way to peace, peace is the way. -A.J. Muste