Ultrasonic Parking Sensor Help

atvman29:

MarkT:
Where is the link to the datasheet?

From those spec's it sounds like a bare transducer - that won't do anything very useful.

For ultrasonic ranging you need to fire a high power pulse of 40kHz (at perhaps 30 to 50V using a tuned step-up transformer) through the transducer to create a "ping". You then disconnect the drive electronics and attach a sensitive analog amplifier to listen for the returning echoes. The delay from send to receive gives the distance.

So unless the device comes with a transmitter and receiver electronics it isn't going to do what you think I'm afraid.

Hmm, well I hope I ordered the right thing!

Here's the link to the eBay page:

http://www.ebay.com/itm/280724584131?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

So am I going to need additional electronics to get this thing working?

Yes, you'll need additional electronics, a lot of them. This is just the sensor with leads. It doesn't include any type of circuit to fire and time the sensor. Many have asked how to build such a firing/measuring circuit, but realistically it is far too complex to do. You should look for a parking distance control board that's designed for car parking distance sensors. I've seen them on eBay also. Even then, these control boards don't typically include any type of datasheet, so you could still have problems getting the distance data. In all cases, the sketch will be more complex than just reading an analog pin like in your sketch, I don't know of any ultrasonic sensor that works that way.

Good luck!

Tim