ultrasonic transducers

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

ultrasonic transducers

Postby geir102 » Wed Apr 11, 2012 6:24 am

I’m planning to use ultrasonic transducers for a small project. But I’m wondering is it really as easy as applying 5V and GND to the transmitter, to make the signal. I can't find a datasheet.

Then using a opamp to amplify the signal from the receiver and straight in to the µC.
geir102
 
Posts: 59
Joined: Sat Mar 29, 2008 2:01 pm

Re: ultrasonic transducers

Postby adafruit_support_bill » Wed Apr 11, 2012 6:32 am

The Maxbotix ultrasonic rangefinders in the store are pretty simple to use: Just apply 5v & GND and read 0-5v on the analog pin. Pulse-width and serial outputs are also available.

The data sheet is here:http://maxbotix.com/uploads/LV-MaxSonar-EZ1-Datasheet.pdf
An example application is here: http://www.ladyada.net/make/pumpkin/pumpkin.html
User avatar
adafruit_support_bill
 
Posts: 16072
Joined: Sat Feb 07, 2009 9:11 am

Re: ultrasonic transducers

Postby geir102 » Wed Apr 11, 2012 8:05 am

Thanks but I'm not building a range finder. The receiver and transmitter is not even part of the same circuit. I'm asking about the transducer
geir102
 
Posts: 59
Joined: Sat Mar 29, 2008 2:01 pm


Re: ultrasonic transducers

Postby geir102 » Wed Apr 11, 2012 9:48 am

I was planning to desolder them from a device like this one, http://letsmakerobots.com/node/14356.

Just to make a quick prototype
geir102
 
Posts: 59
Joined: Sat Mar 29, 2008 2:01 pm

Re: ultrasonic transducers

Postby adafruit_support_bill » Wed Apr 11, 2012 10:13 am

Not familar with those. But if you are working with a raw transducer, you will need to generate the ultrasonic signal yourself. Most are just simple piezo elements with a low-mass diaphragm.
User avatar
adafruit_support_bill
 
Posts: 16072
Joined: Sat Feb 07, 2009 9:11 am

Re: ultrasonic transducers

Postby philba » Wed Apr 11, 2012 12:57 pm

No, it's not as simple as applying power. I'm sure you are familiar with the theory - send out a sound, listen for the echo, measure time and that defines the distance. Lots of details though.

The transducer needs to be driven at it's resonant frequency - typically 40Khz but there are lots of other frequencies. Since it's trying to produce an echo, returned energy is proportional to transmitted energy (everything else held constant). Thus, you want to transmit as much power as possible. You really can't drive the transducer from a 5V (or 3.3V) pin and expect much of an echo. Most transducers that I have looked at can take 30-40VDC so some sort of booster is needed if you want real "punch". One clever design uses a max232 to increase the voltage (and thus the power).

The echo, even with a powerful transmitter, is fairly faint and needs amplification. Typical gains applied are 40-100X. You'll need an opamp that can do this at 40Khz (or what ever frequency). So, pick one with the right gain at your frequency.

If you look at the maxbotix datasheet, they have a schematic that may get you started. iirc, it doesn't have enough detail to build one but should at least point you in the right direction.
philba
 
Posts: 387
Joined: Mon Dec 19, 2011 5:59 pm

Re: ultrasonic transducers

Postby geir102 » Thu Apr 12, 2012 1:25 am

Perfect answer, thanks :) Do you also know if I need AC or DC on the resonance frequency. I mean can I use a pwm signal and a simple circuit with a FET or do I need some sort of an H-bride
geir102
 
Posts: 59
Joined: Sat Mar 29, 2008 2:01 pm

Re: ultrasonic transducers

Postby philba » Thu Apr 12, 2012 3:16 pm

You could get by with just a pulse stream but an HBridge or push-pull circuit will increase the radiated power. If you have a higher voltage source then just using a transistor as a switch (don't really need a mosfet) may be sufficient. The nice thing about the max232 approach is that is gives you + and - voltage (around +10 to -10, iirc). A simple pulse stream is all it needs.

Also, if you look at the maxbotix approach they use a small transformer and push-pull it with 2 output pins.

I suggest you try the simplest approach first. If it works, declare victory.
philba
 
Posts: 387
Joined: Mon Dec 19, 2011 5:59 pm

Re: ultrasonic transducers

Postby geir102 » Thu Apr 12, 2012 4:12 pm

Great thanks a bunch :D
geir102
 
Posts: 59
Joined: Sat Mar 29, 2008 2:01 pm


Return to General Project help

Who is online

Users browsing this forum: No registered users and 8 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]