[PD] Retrieving data directly into PD from HC-SR04 sensors connected to Arduino

Pierre Massat pimassat at gmail.com
Tue Apr 24 09:22:54 CEST 2012

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).



2012/4/24 Emin Durak <e10durak at 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 at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120424/099b27d6/attachment-0001.htm>

More information about the Pd-list mailing list