Esd Lab-7 Working With Ultrsonic Sensor
Esd Lab-7 Working With Ultrsonic Sensor
Design Lab
LAB-7
Working with Ultrasonic
Sensor
Then the HC-SR04 automatically sends Eight 40 kHz sound wave and
generate the rising edge at Echo pin.
When the rising edge capture occurs at Echo pin, start the Timer and
wait for falling edge on Echo pin.
As soon as the falling edge is captured at the Echo pin, read the
count of the Timer. This time count is the time required by the sensor
to detect an object and return back from an object (to and from).
LAB - BECE403E-Embedded System 4
INTRODUCTION TO ULTRASONIC
SENSOR
b y
ka
a