Hey, I have been experimenting with making my own ultrasonic rangefinder. Im outputing from picaxe to 555 to produce the 38kHz transmit signal. And I can recieve the echo receive as a digital signal by putting it through a comparator.
What I am wanting to do is measure the time from transmitting to when I receive the receive signal. I tried using a counter and just incrementing it in a loop until I receive the signal but this is to slow. I though about using count to count a input pulse of known frequency, but this only counts for a certain time, not until a pin goes high or low.
Can anyone help me with this timing problem?
Thanks, Glenn G
What I am wanting to do is measure the time from transmitting to when I receive the receive signal. I tried using a counter and just incrementing it in a loop until I receive the signal but this is to slow. I though about using count to count a input pulse of known frequency, but this only counts for a certain time, not until a pin goes high or low.
Can anyone help me with this timing problem?
Thanks, Glenn G