SRF05 Technical Documentation
Mode 2 - Single pin for both Trigger and Echo
This mode uses a single pin for both Trigger and Echo signals, and is designed to save valuable pins on embedded
controllers. To use this mode, connect the mode pin to the 0v Ground pin. The echo signal will appear on the same pin as
the trigger signal. The SRF05 will not raise the echo line until 700uS after the end of the trigger signal. You have that long
to turn the trigger pin around and make it an input and to have your pulse measuring code ready. The PULSIN command
found on many popular controllers does this automatically.
http://www.robot-electronics.co.uk/htm/srf05tech.htm (2 di 4)09/03/2007 15.41.31