<div dir="ltr"><div><div>Sebastían, cuando vengas al sumo te cambiamos el sharp tuyo por uno con el arreglo correspondiente.<br></div>Lo mismo aplica a todos los usuarios del proyecto <br></div>saludos<br><br></div><div class="gmail_extra">

<br><br><div class="gmail_quote">2013/9/7 Sebastián Beceiro <span dir="ltr">&lt;<a href="mailto:sebabeceiro@gmail.com" target="_blank">sebabeceiro@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 dir="ltr">Guillermo, gracias por la respuesta?<div>Voy a buscar el modelo del sensor, para ver que condensador se le debo soldar....peeero?? yo puedo meter mano en el hardware del Butiá??</div><div class="im"><div><br>

</div><div>Saludos y muchas gracias</div>
<div><br></div><div>Sebastián</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">El 7 de septiembre de 2013 15:37, Guillermo Reisch - Fing <span dir="ltr">&lt;<a href="mailto:greisch@fing.edu.uy" target="_blank">greisch@fing.edu.uy</a>&gt;</span> escribió:<div>

<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:&#39;DejaVu Sans Mono&#39;;font-size:9pt;font-weight:400;font-style:normal">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Por lo visto el sensor SHARP (distancia) tiende a consumir mucho en periodos cortos, lo que modifica la medición ya que no se mantiene estable VCC en esos picos de consumo.</p>



<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Un work-around es poner un condensador para mitigar este pico de consumo, de esta forma se obtienen valores mas exactos.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Tendrías que soldarle un condensador entre VCC y GND para que se solucione este problema. Mira el Datasheet del SHARP en cuestión para saber los uF del condensador a soldar.</p>



<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">PD: es un work-around porque al conectar este sensor vas a ver que la usb4butia se resetea (ya que al conectar el sensor el condensador drena la energía de la usb4butia haciendo que esta se resetee) luego de esto la usb4butia funciona sin problemas.</p>



<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">PD2: la curva de pasaje de VALOR -&gt; CM también se encuentra en el datasheet del SHARP en cuestión. Mira la hoja de hoja de datos y calculas desde allí.</p>



<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">PD3: el sensor distancia el valor que devuelve es en el entorno 0 - 2^16 ( 0 a 65536) , donde 0 equivale a 0 voltios y 65536 equivale a voltios.</p>



<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Saluds</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">On Thu 05 Sep 2013 22:19:16 Sebastián Beceiro escribió:</p><div><div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; Lo de convertir el valor del sensor de distancia a CM no es para el sumo,</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; para eso uso el propio valor que me da el sensor y listo.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; Esto otro es para hacer unas actividades en una escuela,  y ya de paso me</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; sirve por si coordino algo con algún profe de física o ciencias físicas.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; El tema es que los códigos que encontré acá:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; <a href="http://www.fing.edu.uy/inco/proyectos/butia/mediawiki/index.php/Transforman" target="_blank">http://www.fing.edu.uy/inco/proyectos/butia/mediawiki/index.php/Transforman</a></p>



<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; do_a_cms_el_valor_del_sensor_de_distancia</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; no dan el valor correcto, ni siquiera serca del valor que deberían dar.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; Saludos</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; El 5 de septiembre de 2013 21:32, Andres Aguirre &lt;<a href="mailto:aaguirre@fing.edu.uy" target="_blank">aaguirre@fing.edu.uy</a>&gt;escribió:</p>



<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt; Estás pensando en el desafío del sumo?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt; porque no calibras directamente el sensor para la distancia que querés</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt; medir?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt; saludos</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt; 2013/9/4 Sebastián Beceiro &lt;<a href="mailto:sebabeceiro@gmail.com" target="_blank">sebabeceiro@gmail.com</a>&gt;</p>



<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; Hola, como estan?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; Estuve probando un par de codigos para transformar los valores que da el</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; sensor de distancia a CM, pero no tuve suerte con ninguno de los 2.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; <a href="http://www.fing.edu.uy/inco/proyectos/butia/mediawiki/index.php/Transfor" target="_blank">http://www.fing.edu.uy/inco/proyectos/butia/mediawiki/index.php/Transfor</a></p>



<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; mando_a_cms_el_valor_del_sensor_de_distancia</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; Alguien me podría dar una mano?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; Saludos y muchas gracias</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">&gt; &gt;&gt; Sebastián Beceiro</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p></div></div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>