Using srf05 ultrasonic sensor to detect changes only

roboticssensor

I am using the SRF05 sensor to detect distance, so far so good. Now we need to detect only changes, which means, the sensor will have some close object to it, but than when some other object which is more far, is moving, I will have to detect that.

My concern was that if I get a distance from a close obstacle, a movement of other far obstacles will not affect him because I don't get linear signal, but just the distance of the close object that reflects the sound signal.

I am little bit confused, because the signals are going around the room, and when it gives you a distance, it's a mix of many reflections from objects around. So how a far object will affect it, if I have a more close object?

Am I completely wrong?

Best Answer

The SRF05 sensor is designed to give a pulse indicative of the time it took to receive the first reflection of the US signal. Hence when a nearby object is present a more distant object will have no effect at all on the 'official' output.

Somewhere on the PCB you can tap into the raw received signal. You could process this yourself. If the more distant object produces a US reflection it will be observable in this signal.