Microcontroller › 8051 › Interfacing AT89S51 with ultrasonic sensor and LCD › hai zulnorain….. in
January 21, 2013 at 5:59 am
#9003
nidhin.k
Participant
hai zulnorain…..
in that program, i just high low the transitter pin and waiting for the recieve high low pulse.
during that time i will on the timer and counter for calulating the receieve timing. the values in TH0 and TL0 will give the exact timing.
after some calculation it will convert it to inch.
u can check and caliber it into cm….