i want to design something that can measure the distance of an oblect using a microcontroller. what i have thought of is .. when i press a button a pin of the micrcontroller(uC) will go high. this will lead to the transmission of the ultrasonic waves from the transmitter. at the same time i will start a counter in the microcontroller which wil increase every micro second. when the receiver gets the reflected signal it make one pin high or rather input some signal to the micrcontroller. when the uC receives this signal the counter will stop and a distance will be calculated based on that counter value.
can anyone please tell me wether this thing will work or not.. also i want to know how to generate soun waves from that transmitter.. will it just start signalling them as soon as give them the required voltage? .. also what happens when the receiever gets those waves?.. is there any voltage difference or something like that...
any help will be greatly appreciated
2007-03-14
07:17:55
·
1 answers
·
asked by
Anonymous
in
Science & Mathematics
➔ Engineering
"how do i make my transmitter send ultrasonic sound waves using a microcontroller.. do i have to just give supply voltage or a pulse train of certain frequency or something else? "
2007-03-14
07:46:42 ·
update #1