[PD] puredata Arduino and Ping
marius schebella
marius.schebella at gmail.com
Sun Jun 3 22:04:06 CEST 2007
Hi,
your code and patch look good. It is not clear to me, why you are using
these delaytimes for the different sensors. but that should not affect
your results anyway. the minimum delaytime between two measurements is
only 200microseconds. but maybe it also depends on the length of the
impulse? would it be possible, that the sensing fields of the 5 sensors
overlap, and you get the crosstalk from that?
on the other hand, it may also be possible that the problem is in your
circuit. you could try to use 10k pulldown resistors. maybe that stops
the crosstalk.
marius.
Marko Timlin wrote:
> I am working with several ultra sound sensors called Ping from Parallax
> wired to an Arduino board that is connected to puredata.
> currently I am working with 3 sensors and it works fine.
>
> now I want to work with 5 sensors and the following problem occurs:
> - I get "phantom" values on sensors that are not modified: if, for example, I change the value of sensor B, sensor C also changes its values, not exactely syncronized but it jumps to a simlar value range. very annoying indeed.
> is that a problem of my script for arduino or a problem of pd?
> does anybody already have experience with such a configuration?
> I am using Pd version 0.39.2-extended-RC1 on windows xp.
>
> attached you find the arduino and pd patch for that idea.
>
> thanks,
> marko
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list