Hi Pierre,

Thank you very much for your tips. Yes I have been trying but how would I configure the analog pins as analog inputs at Pduino? I'm trying with ultrasonic sensors to read data (which is not on/off). And have uploaded the StandardFirmata code besides my sensors reading code to Arduino. And testing on the arduino-test.pd sketch on PD. Ain't working :(

Cheers...


On Tue, Apr 24, 2012 at 9:22 AM, Pierre Massat <pimassat@gmail.com> wrote:
Do you use a special library in Arduino to get data from your sensors? If not Firmata + Pduino should work just fine. Are you sure you opened the right port in Pduino? Did you configure the analog pins your sensors are connected to as analog inputs in Pduino?
If you're not familiar at all with Pduino I suggest you try it with more simple stuff (like push buttons and pots).

Cheers,

Pierre.

2012/4/24 Emin Durak <e10durak@gmail.com>
Hello!

I'm sorry this email will be probably too amateur but I just couldn't figure out for days how to retrieve data into PD from the sensors I connect to Arduino (HC-SR04 ultrasonic sensors). I have no problem viewing them on Serial Monitor of Arduino software by some libraries I found online, though processing them at PD seems a bit tricky. I have tried SimpleMessageSystem, Firmata and Pduino but couldn't really have managed in neither of them. 

All I want to do is changing different parameters (frequency, loop-time, volume etc.) of playing sounds from an existing library (just a folder with songs/sounds), thus play them accordingly to the data I gather from sensors (10 of them). Plus making relevant changes throughout time. Idea is that people dancing on a dance floor can affect the sequence of electronic music played, in a collective and sensual way. Me being only a starter at PD, also, doesn't help much either; but gotta do it for my graduation. Technically I can't really "create" music like that in this short time and it's not my interest; BUT I feel like modifying existing music shouldn't be a big deal. No?

Any suggestions? Highly appreciated! Thank you all!!
Emin



_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list