Kart/sensors/HCSR04

(Difference between revisions)
Jump to: navigation, search
(Ultrasound ranger)
(Ultrasound ranger)
Line 4: Line 4:
 
The [http://www.elecfreaks.com elecfreaks]
 
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]
 
[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.
+
receives a trigger pulse, <code>startMeasure</code>, sends an ultrasonic pulse train
 +
and then provides a pulse, <code>distancePulse</code>, whose length is proportional to the sound flight and echo time.
 +
 
 +
[[File:Ultrasound ranger.svg|center|500px]]
  
 
It has a dedicated [[Kart/sensor board#Ultrasound ranger|connector]] on the [[Kart/sensor board|I/O board]].
 
It has a dedicated [[Kart/sensor board#Ultrasound ranger|connector]] on the [[Kart/sensor board|I/O board]].

Revision as of 13:56, 19 August 2015

Contents

Ultrasound ranger

The elecfreaks Ultrasonic sensor distance measuring module receives a trigger pulse, startMeasure, sends an ultrasonic pulse train and then provides a pulse, distancePulse, whose length is proportional to the sound flight and echo time.

Ultrasound ranger.svg

It has a dedicated connector on the I/O board.

The ultrasoundRanger block in the sensors FPGA counts the ultrasonic pulse length in terms of the 10 MHz clock periods. The distance is thus given by:

distance = count \cdot 0.0017 ~ [cm]
Personal tools
Namespaces
Variants
Actions
Navigation
Modules / Projects
Browse
Toolbox