<div dir="ltr">I can confirm Ken's suspicions, at least anecdotally. I was not able to do a lot of debugging at the time, but when I tried using long leads with a similar sensor it was completely unreliable. Instead of fighting with physics, my solution was to go wireless. I created an adhoc network with�an airport express�and connected a beagle bone to the network which was close to the proximity sensor. That gave me the effective range of the�wifi network while keeping the sensor components close to the data collection hardware.<div>
<br></div><div>Best of luck,</div><div>-ah</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 7:44 PM, Ken McKinnon <span dir="ltr"><<a href="mailto:klmckinnon@rogers.com" target="_blank">klmckinnon@rogers.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
If your talking a SRF04 or similar, there are a couple of issues you
need to consider.� These are driven at 5VDC, and use a chunk of
current while transmitting the sensor pulse chain.� On a long lead,
you may have voltage droop on the 5V line at the sensor end.� The
result may be that the sensor resets, doesn'r respond correctly or
somewhere in between (read errattic behaviour - the worst).� This
likely may be mitigated with a decent sized cap between VCC and
ground at the transducer/sensor.� <br>
The trigger is a 10 usec pulse.� On a long lead, this can become
rounded due to the capacitance of the cable, so a start pulse may
not be seen.� The same goes with the recieve pulse, although since
it is longer, it is unlikely to cause any problems.� <br>
If I were to try this, I would use a reasonably heavy guage cable,
say 24 AWG or better, shielding will help, but twisted won't as the
signals are single ended.� If it doesn't work, tack solder a 47 uf
cap between VCC/Ground and try it.�� If that doesn't work, it gets a
bit more complicated....<br>
<br>
Ken<div><div class="h5"><br>
<br>
<div>On 2014-02-10 4:58 PM, Darcy Whyte
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Can anybody think of a reason I shouldn't have 10'
wires on an ultrasonic range finder?
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr"><br>
<div>
<div><br>
</div>
<div>
<div>--</div>
<div>Darcy Whyte</div>
<div><br>
</div>
<div>Art+�<a href="http://inventorartist.com/" target="_blank">inventorArtist.com</a>�|
Aviation�<a href="http://rubber-power.com/" target="_blank">rubber-power.com</a></div>
<div>Contact:�<a href="mailto:darcy@inventorArtist.com" target="_blank">darcy@inventorArtist.com</a>�|
<a href="tel:613-563-3634" value="+16135633634" target="_blank">613-563-3634</a> by appointment (no text)</div>
</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Lab mailing list
1. subscribe <a href="http://artengine.ca/mailman/listinfo/lab" target="_blank">http://artengine.ca/mailman/listinfo/lab</a>
2. then email <a href="mailto:Lab@artengine.ca" target="_blank">Lab@artengine.ca</a> to send your message to the list</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Lab mailing list<br>
1. subscribe <a href="http://artengine.ca/mailman/listinfo/lab" target="_blank">http://artengine.ca/mailman/listinfo/lab</a><br>
2. then email <a href="mailto:Lab@artengine.ca">Lab@artengine.ca</a> to send your message to the list<br></blockquote></div><br></div>