<br><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hi, maybe the potentiometer need a resistor,... if the potentiometer is a 10 kohms maybe yo need a resistor, i prefer work with 50 kohms potentiometers.<div>
<br></div><div>Using a protoboard, you must connect a general ground and  general voltage, the wire to analog is the middle wire, check the pwm or outputs are closed.</div><div><br></div><div>Best regards</div><div><br></div>
<div>José</div></span><div class="gmail_quote">2009/11/12  <span dir="ltr">&lt;<a href="mailto:martin.peach@sympatico.ca">martin.peach@sympatico.ca</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
The microcontroller in the Arduino has a single sampling capacitor that can be connected to any one of the analog pins.<br>It will charge up to the voltage on the pin if enough charged particles are available on the pin (or a path less than about 10kohm exists to a source of current).<br>
The cap is not discharged by the analog-to-digital conversion process or between samples except through leakage.<br>If no charge is available on the pin the capacitor will continue to slowly drain its charge from the previous sample.<br>
It&#39;s normal and harmless unless you are in a high-voltage environment like a thunderstorm or a nylon carpet, where much more than 5V could accumulate on an open pin. Then it&#39;s best to ground unused inputs.<br><br>
Martin<br><br><br>&gt; Date: Thu, 12 Nov 2009 18:02:05 +0100<br>&gt; From: <a href="mailto:altern2@gmail.com" target="_blank">altern2@gmail.com</a><br>&gt; To: <a href="mailto:pd-list@iem.at" target="_blank">pd-list@iem.at</a><br>
&gt; Subject: [PD] arduino problem with analog sensors<div><div></div><div class="h5"><br>&gt; <br>&gt; hi<br>&gt; <br>&gt; not a PD question I guess...  i dont know much of electrical stuff. i am <br>&gt; connecting two analog sensors to the arduino. One is a pressure sensor <br>
&gt; and the second a potentiometer, they are both from an old icube.<br>&gt; <br>&gt; i noticed that when i raise the potentiometer (analog pin 5) the <br>&gt; pressure sensor (analog pin 2) reports values ranging 0 to ~0.16 <br>
&gt; increasing together as the potenciometer goes up. It is like some kind <br>&gt; of residual noise comming from pin 5 that goes into pin 0.<br>&gt; <br>&gt; the power cables of both sensors go together to 5v inlet of the arduino <br>
&gt; and the ground cables go to ground pin, each of the data cable goes to <br>&gt; its separate analog pin.<br>&gt; <br>&gt; I am using arduino from Pure Data extended using latest Firmata, so i am <br>&gt; just filtering out any value smaller than 0.16 coming from analog pin 0.<br>
&gt; <br>&gt; is there anything I am doing wrong? or is this normal?<br>&gt; <br>&gt; thanks<br>&gt; <br>&gt; enrike<br>&gt; <br>&gt; _______________________________________________<br>&gt; <a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
&gt; 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>                                               </div></div></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">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><br clear="all"><br>-- <br><a href="http://www.chilemigra.cl">http://www.chilemigra.cl</a><br><a href="http://arselectronicachile.blogspot.com">http://arselectronicachile.blogspot.com</a><br><a href="http://www.myspace.com/santorcuato">http://www.myspace.com/santorcuato</a><br>
<br><br>