[PD] pduino and FSRs

nick burge tectp at telefonica.net
Thu Apr 10 22:17:42 CEST 2008


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 at eds.org] 
Sent: 10 April 2008 21:51
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



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. 

Are you using the latest version:
http://at.or.at/hans/pd/Pduino-0.3.1.zip

.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 at eds.org] 
Sent: 10 April 2008 17:25
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



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. 

.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 at iem.at mailing list
UNSUBSCRIBE 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080410/8ad6848a/attachment.htm>


More information about the Pd-list mailing list