Kart/sensors/HCSR04

(Difference between revisions)
Jump to: navigation, search
(Kart connection)
(Ultrasound ranger)
Line 7: Line 7:
  
 
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]].
 +
 +
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.
 +
The distance is thus given by:
 +
 +
:: <math>distance = \frac{580}{count} ~ [cm]</math>
  
 
[[Category:Kart]]
 
[[Category:Kart]]

Revision as of 13:25, 21 August 2014

Contents

Ultrasound ranger

The elecfreaks 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 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 = \frac{580}{count} ~ [cm]
Personal tools
Namespaces
Variants
Actions
Navigation
Modules / Projects
Browse
Toolbox