Ultrasonic Sensor



Hi,

I am trying to build an ultrasonic sensor module to detect and measure
the distance of an object, and got some problem :-)

Problem:
1. Not sure whether the transmitter send sound or not.
2. Not sure, Receiver work properly or not.
3. Circuit and code was not tested.

The configuration of my board is:

a) AT89C52. Microcontroller.
b) XTL freq. 11.0592 mhz.
b) 40 KHz ultrasonic transmitter and receiver.
c) +5V to 0 (ground) power supply.
(I am trying to follow the book of mazidi)

Please suggest me on that on that issue.
(I am thankful on this group because I am getting so much help from
this group to as the problem of serial communication, As a newcomer in
embedded it was a really hard problem).

.