I use a ultrasonic sensor. . . .and i don't know how to give the reflected waves as input to the micro controller . . See my attachment and plz guide me friends . . . .View attachment 62299
Do you own or have access to an oscilloscope? Because if you don't designing, building and tuning your own ultrasonic distance sensor (or whatever you are trying to do) is going to be an exercise in frustration at best. That said, if you do have access to an o-scope, these links may help you:
actually we are building an autonomous robot which calculates the distances using ultrasonic sensor and makes its own path and displaying the obstacle map in PC
Your attachment doesn't help: it shows only the transmitter. Also, it is practically illegible. For future reference, please post images in .gif format. They are much clearer and have a much smaller file size.
do a search for PING . for a 29$ module, it may make it easier, at least read it's data sheet, it's has some good stuff in it. also, at the top of this page, in the SEARCH box, search for ultrasonic sensor., there has been a lot on that topic in this forum in the last 8 years.
In the circuit given, and I happened to find the original on the net. I am trying to figure out how the ultrasonic transducer works when it is in parallel with the collector and emitter rather than in series with the collector circuit
quote from www site...
Since the ultrasonic transducer used in this circuit is one designed to vibrate optimally at about 40 kHz, the resistor and capacitor values of the circuit were chosen such that the 555 will output a signal whose frequency is about 40 kHz. This 555 output is amplified by Q1, which drives the ultrasonic transducer. The transducer then vibrates at 40 Khz, generating ultrasonic sound waves of that frequency.
The transducer is presumably a piezo type (high impedance) which behaves essentially as a capacitor. It is here being voltage-driven. With the transistor off the piezo capacitance charges via R4. It discharges when the transistor turns on.