|
|
(5 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | {{TOC right}}
| + | #REDIRECT [[Kart]] |
− | == Ultrasound ranger ==
| + | |
− | | + | |
− | The [http://www.elecfreaks.com elecfreaks]
| + | |
− | [http://www.elecfreaks.com/store/hcsr04-ultrasonic-sensor-distance-measuring-module-ultra01-p-91.html Ultrasonic sensor distance measuring module]
| + | |
− | receives a trigger pulse, sends an ultrasonic pulse train and the provides a pulse whose length is proportional to the sound flight and echo time.
| + | |
− | | + | |
− | It has a dedicated [[Kart/sensor board#Ultrasound ranger|connector]] on the [[Kart/sensor board|I/O board]].
| + | |
− | | + | |
− | The <code>ultrasoundRanger</code> block in the <code>sensors</code> FPGA counts the ultrasonic pulse length in terms of the 10 MHz clock periods.
| + | |
− | The distance is thus given by:
| + | |
− | | + | |
− | :: <math>distance = count \cdot 0.0017 ~ [cm]</math>
| + | |
| | | |
| [[Category:Kart]] | | [[Category:Kart]] |