Ultrasonic transmitter and receiver using arduino uno

Jenifer3096:
I don't know the brand of the ultrasonic sensor I bought here in the Philippines Sir. All I know is that it's center frequency is 40 khz. And for the accurate measurement, may be a deviation of +-1cm would be alright.

I'm concerned with the latter part of my code Sir. What I'm doing is getting the highest voltage peak of the received waves then get the time corresponding to that.

I would not be worrying about code until you can verify that the hardware is working.
Tom... :slight_smile: