Hi,
I am working on a mobile robot. I am using ultrasonic sensors with the Zilog Z8 Encore board. Can anybody who has worked with the Zilog Z8 give me inputs of how to calculate the distance of the reflected wave of the ultrasonic sensor using the zilog Z8 encore. Is there any mode of the timer that I should use?
My task is to start the timer when the ultrasonic wave is transmitted, and when a reflected wave is received stop the timer and hence find time of the echo.
any help will be appreciable as I have just started working on the Zilog Z8.
Thanks,
-Priti