Ultrasnonic sensor

Status
Not open for further replies.

deepakrajchris

New Member
Am using SRF05. . . .The datasheet timing diagram shows digital echo output...
But i read that the output is sine wave which is amplified and given to comparator to generate pulse. . . .Which one is right. ..
 
From the datasheet that CowboyBob linked, I gather that the echo output is a digital on/off signal that should be fed directly into a microcontroller. You must program the microcontroller to send a 10 μs pulse into the SRF05's trigger input pin. After the SRF05 receives the input signal, it will emit a 8 cycle 40 kHz burst. Shortly after that, the echo output will go to its high state (i.e. 1). The amount of time the echo output pin stays high tells you how far away the object is. You must program your microcontroller to measure the amount of time the echo output pin stays high after it sends the trigger input signal and then convert that time to distance.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…