<div class="gmail_extra">First you need to make sure the electronic part is working fine (using Arduino IDE&#39;s serial monitor). <br>Then upload Firmata. If your sensors need no special library you should upload Firmata only.<br>
Then open arduino-test.pd with your board plugged in. The first thing you want to check in Pd is whether the right port is open. Choose a port, and click on the &quot;Version&quot; or &quot;Firmware&quot; messages to see if Pd recognizes the Arduino. If it does you should see a &quot;Firmata something&quot; below [pd device info]. If nothing appears, change the port and try again.<br>
Once you&#39;ve made sure that the right port is open, use the pink matrix in the upper right corner to open the pins your sensors are connected to. The digital pins are from 2 to 13 if i&#39;m not mistaken, the rest is analog. Check &quot;input&quot; to open a digital pin for input, and &quot;analog&quot; to open an analog pin for input. <br>
<br>Pierre<br><br><div class="gmail_quote">2012/4/24 Emin Durak <span dir="ltr">&lt;<a href="mailto:e10durak@gmail.com" target="_blank">e10durak@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra">Hi Pierre,</div><div class="gmail_extra"><br></div><div class="gmail_extra">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&#39;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&#39;t working :(<br>


<br>Cheers...<div><div class="h5"><br><br><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 9:22 AM, Pierre Massat <span dir="ltr">&lt;<a href="mailto:pimassat@gmail.com" target="_blank">pimassat@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_extra">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? <br>



If you&#39;re not familiar at all with Pduino I suggest you try it with more simple stuff (like push buttons and pots). <br><br>Cheers,<br><br>Pierre.<br><br><div class="gmail_quote">2012/4/24 Emin Durak <span dir="ltr">&lt;<a href="mailto:e10durak@gmail.com" target="_blank">e10durak@gmail.com</a>&gt;</span><br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hello!<div><br></div><div>I&#39;m sorry this email will be probably too amateur but I just couldn&#39;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&#39;t really have managed in neither of them. </div>





<div><br></div><div>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 <i>accordingly </i>to the data I gather from sensors (10 of them). Plus making relevant changes throughout <i>time</i>. 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&#39;t help much either; but gotta do it for my graduation. Technically I can&#39;t really &quot;create&quot; music like that in this short time and it&#39;s not my interest; BUT I feel like <b>modifying</b> existing music shouldn&#39;t be a big deal. No?</div>





<div><br></div><div>Any suggestions? Highly appreciated! Thank you all!!</div><span><font color="#888888"><div>Emin</div><div><br></div><div><br></div>
</font></span><br></div></div>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>