https://wiki.hevs.ch/fsi/index.php5?title=Kart/sensors/HCSR04&feed=atom&action=historyKart/sensors/HCSR04 - Revision history2024-03-29T15:29:07ZRevision history for this page on the wikiMediaWiki 1.18.1https://wiki.hevs.ch/fsi/index.php5?title=Kart/sensors/HCSR04&diff=1908&oldid=prevFrancois.corthay: /* Ultrasound ranger */2016-08-24T07:19:42Z<p><span class="autocomment">Ultrasound ranger</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:19, 24 August 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 16:</td>
<td colspan="2" class="diff-lineno">Line 16:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>:: <math>distance = count \cdot 0.0017 ~ [cm]</math></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>:: <math>distance = count \cdot 0.0017 ~ [cm]</math></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>There is approximately 500 us between the trigger and the start of the answer. Moreover, for ranges of about 20-30 cm, the return signal duration is of an order of 2 ms. Thus, <del class="diffchange diffchange-inline">going above </del>10 ms <del class="diffchange diffchange-inline">(100Hz) for the whole measure is not </del>a <del class="diffchange diffchange-inline">good idea</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>There is approximately 500 us between the trigger and the start of the answer.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Moreover, for ranges of about 20-30 cm, the return signal duration is of an order of 2 ms.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Thus, <ins class="diffchange diffchange-inline">a measurement cycle should take at least something like </ins>10 ms<ins class="diffchange diffchange-inline">, achieving </ins>a <ins class="diffchange diffchange-inline">maximal measurement rate of about 100Hz</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td></tr>
</table>Francois.corthayhttps://wiki.hevs.ch/fsi/index.php5?title=Kart/sensors/HCSR04&diff=1907&oldid=prevFrancois.corthay: /* Ultrasound ranger */2016-08-24T07:14:08Z<p><span class="autocomment">Ultrasound ranger</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:14, 24 August 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 16:</td>
<td colspan="2" class="diff-lineno">Line 16:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>:: <math>distance = count \cdot 0.0017 ~ [cm]</math></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>:: <math>distance = count \cdot 0.0017 ~ [cm]</math></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>There is approximately 500 us between the trigger and the start of the answer. Moreover, for ranges of about 20-30 cm, the return signal duration is of an order of 2 ms. Thus, going above <del class="diffchange diffchange-inline">below </del>10 ms (100Hz) for the whole measure is not a good idea.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>There is approximately 500 us between the trigger and the start of the answer. Moreover, for ranges of about 20-30 cm, the return signal duration is of an order of 2 ms. Thus, going above 10 ms (100Hz) for the whole measure is not a good idea.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td></tr>
</table>Francois.corthayhttps://wiki.hevs.ch/fsi/index.php5?title=Kart/sensors/HCSR04&diff=1482&oldid=prevPierre.roduit: /* Ultrasound ranger */2015-08-20T07:08:59Z<p><span class="autocomment">Ultrasound ranger</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:08, 20 August 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 16:</td>
<td colspan="2" class="diff-lineno">Line 16:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>:: <math>distance = count \cdot 0.0017 ~ [cm]</math></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>:: <math>distance = count \cdot 0.0017 ~ [cm]</math></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>There is approximately 500 us between the trigger and the start of the answer. Moreover, for ranges of about 20-30 cm, the return signal duration is of an order of 2<del class="diffchange diffchange-inline">-3 </del>ms. Thus, going above below 10 ms (100Hz) for the whole measure is not a good idea.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>There is approximately 500 us between the trigger and the start of the answer. Moreover, for ranges of about 20-30 cm, the return signal duration is of an order of 2 ms. Thus, going above below 10 ms (100Hz) for the whole measure is not a good idea.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td></tr>
</table>Pierre.roduithttps://wiki.hevs.ch/fsi/index.php5?title=Kart/sensors/HCSR04&diff=1481&oldid=prevPierre.roduit: /* Ultrasound ranger */2015-08-20T07:08:01Z<p><span class="autocomment">Ultrasound ranger</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:08, 20 August 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 15:</td>
<td colspan="2" class="diff-lineno">Line 15:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>:: <math>distance = count \cdot 0.0017 ~ [cm]</math></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>:: <math>distance = count \cdot 0.0017 ~ [cm]</math></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">There is approximately 500 us between the trigger and the start of the answer. Moreover, for ranges of about 20-30 cm, the return signal duration is of an order of 2-3 ms. Thus, going above below 10 ms (100Hz) for the whole measure is not a good idea.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td></tr>
</table>Pierre.roduithttps://wiki.hevs.ch/fsi/index.php5?title=Kart/sensors/HCSR04&diff=1476&oldid=prevFrancois.corthay: /* Ultrasound ranger */2015-08-19T11:56:14Z<p><span class="autocomment">Ultrasound ranger</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 11:56, 19 August 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>The [http://www.elecfreaks.com elecfreaks]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>The [http://www.elecfreaks.com elecfreaks]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[http://www.elecfreaks.com/store/hcsr04-ultrasonic-sensor-distance-measuring-module-ultra01-p-91.html Ultrasonic sensor distance measuring module]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[http://www.elecfreaks.com/store/hcsr04-ultrasonic-sensor-distance-measuring-module-ultra01-p-91.html Ultrasonic sensor distance measuring module]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>receives a trigger pulse, sends an ultrasonic pulse train and <del class="diffchange diffchange-inline">the </del>provides a pulse whose length is proportional to the sound flight and echo time.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>receives a trigger pulse<ins class="diffchange diffchange-inline">, <code>startMeasure</code></ins>, sends an ultrasonic pulse train</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>and <ins class="diffchange diffchange-inline">then </ins>provides a pulse<ins class="diffchange diffchange-inline">, <code>distancePulse</code>, </ins>whose length is proportional to the sound flight and echo time.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">[[File:Ultrasound ranger.svg|center|500px]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>It has a dedicated [[Kart/sensor board#Ultrasound ranger|connector]] on the [[Kart/sensor board|I/O board]].</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>It has a dedicated [[Kart/sensor board#Ultrasound ranger|connector]] on the [[Kart/sensor board|I/O board]].</div></td></tr>
</table>Francois.corthayhttps://wiki.hevs.ch/fsi/index.php5?title=Kart/sensors/HCSR04&diff=1474&oldid=prevFrancois.corthay: /* Ultrasound ranger */2015-08-19T08:48:06Z<p><span class="autocomment">Ultrasound ranger</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 08:48, 19 August 2015</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 11:</td>
<td colspan="2" class="diff-lineno">Line 11:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>The distance is thus given by:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>The distance is thus given by:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>:: <math>distance = <del class="diffchange diffchange-inline">\frac{580}{</del>count<del class="diffchange diffchange-inline">} </del>~ [cm]</math></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>:: <math>distance = count <ins class="diffchange diffchange-inline">\cdot 0.0017 </ins>~ [cm]</math></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td></tr>
</table>Francois.corthayhttps://wiki.hevs.ch/fsi/index.php5?title=Kart/sensors/HCSR04&diff=816&oldid=prevFrancois.corthay: /* Ultrasound ranger */2014-08-21T11:25:43Z<p><span class="autocomment">Ultrasound ranger</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 11:25, 21 August 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 7:</td>
<td colspan="2" class="diff-lineno">Line 7:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>It has a dedicated [[Kart/sensor board#Ultrasound ranger|connector]] on the [[Kart/sensor board|I/O board]].</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>It has a dedicated [[Kart/sensor board#Ultrasound ranger|connector]] on the [[Kart/sensor board|I/O board]].</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">The <code>ultrasoundRanger</code> block in the <code>sensors</code> FPGA counts the ultrasonic pulse length in terms of the 10&nbsp;MHz clock periods.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">The distance is thus given by:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">:: <math>distance = \frac{580}{count} ~ [cm]</math></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td></tr>
</table>Francois.corthayhttps://wiki.hevs.ch/fsi/index.php5?title=Kart/sensors/HCSR04&diff=723&oldid=prevFrancois.corthay: /* Kart connection */2014-07-25T09:22:52Z<p><span class="autocomment">Kart connection</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 09:22, 25 July 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{TOC right}}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>{{TOC right}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>== <del class="diffchange diffchange-inline">Kart connection </del>==</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>== <ins class="diffchange diffchange-inline">Ultrasound ranger </ins>==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>The <del class="diffchange diffchange-inline">sensor connectors are located in the I</del>/<del class="diffchange diffchange-inline">O board's middle row</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>The <ins class="diffchange diffchange-inline">[http:</ins>/<ins class="diffchange diffchange-inline">/www</ins>.<ins class="diffchange diffchange-inline">elecfreaks</ins>.<ins class="diffchange diffchange-inline">com elecfreaks]</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">It is the single 5-pin connector</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">[http</ins>:<ins class="diffchange diffchange-inline">//www.elecfreaks.com/store/hcsr04</ins>-<ins class="diffchange diffchange-inline">ultrasonic</ins>-<ins class="diffchange diffchange-inline">sensor-distance-measuring</ins>-<ins class="diffchange diffchange-inline">module-ultra01-p-91.html Ultrasonic sensor distance measuring module]</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">The sensor cable is to be connected as</del>:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">receives a trigger pulse, sends an ultrasonic pulse train and the provides a pulse whose length is proportional to the sound flight and </ins>echo <ins class="diffchange diffchange-inline">time.</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">{| cellpadding="3" cellspacing="0" border="1"</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">! cable</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">It has a dedicated [[Kart/sensor board#Ultrasound ranger</ins>|<ins class="diffchange diffchange-inline">connector]] on the [[Kart/sensor board</ins>|<ins class="diffchange diffchange-inline">I/O board]].</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">! pin</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">|</del>-</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">| red</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">| 5 V power supply</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">|</del>-</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">| yellow</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">| measurement start (trig)</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">|</del>-</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">| green</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">| </del>echo <del class="diffchange diffchange-inline">signal (distance)</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">|-</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>| <del class="diffchange diffchange-inline">black</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>| <del class="diffchange diffchange-inline">ground</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">|}</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category:Kart]]</div></td></tr>
</table>Francois.corthayhttps://wiki.hevs.ch/fsi/index.php5?title=Kart/sensors/HCSR04&diff=714&oldid=prevFrancois.corthay: Created page with "{{TOC right}} == Kart connection == The sensor connectors are located in the I/O board's middle row. It is the single 5-pin connector. The sensor cable is to be connected as:..."2014-07-24T13:39:28Z<p>Created page with "{{TOC right}} == Kart connection == The sensor connectors are located in the I/O board's middle row. It is the single 5-pin connector. The sensor cable is to be connected as:..."</p>
<p><b>New page</b></p><div>{{TOC right}}<br />
== Kart connection ==<br />
<br />
The sensor connectors are located in the I/O board's middle row.<br />
It is the single 5-pin connector.<br />
The sensor cable is to be connected as:<br />
{| cellpadding="3" cellspacing="0" border="1"<br />
! cable<br />
! pin<br />
|-<br />
| red<br />
| 5 V power supply<br />
|-<br />
| yellow<br />
| measurement start (trig)<br />
|-<br />
| green<br />
| echo signal (distance)<br />
|-<br />
| black<br />
| ground<br />
|}<br />
<br />
[[Category:Kart]]</div>Francois.corthay