Loading...
Pages: [1] 2   Go Down
Author Topic: Creating a Circuit with Ultrasonic transducers  (Read 1439 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey all,

I recently ordered a set of long range ultrasonic transducers from here: http://www.futurlec.com/Ultrasonic_Sensors.shtml
I was wondering if anyone can offer any advice on how I can hook these up to start reading distances.
Thanks in advance
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 96
Posts: 6347
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Send out an ultrasonic pulse and measure how long it takes for the pulse to bounce back.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you be more specific? I am very new to programming and working with the arduino. It is my understanding that I need to feed 40khz into one, then amplify the other and listen for a reply(they came in a pack of 2). I am not quite sure how to make this happen though.
Thanks.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 71
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For another $6 you can buy a pair of sensors mounted on a circuit board complete with its own microcontroller.
For a beginner it makes interfacing with so much easier as you can use the existing ping library.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Agree with mjbmikeb - unless you have access to, and know how to use an oscilloscope, these things are tricky to build and debug, with echoes typically only producing signals in the millivolt range.

If you're looking for circuits, google "devantech srf04" - the circuits used to be freely available, but be aware that they use a PIC, not an AVR to drive them.
Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, i'll look into that. The reason I chose those sensors is because of the range approx. 18m where as the Devantech SRF04 only has a range of approx. 3m. I figured I would just get those sensors and build around them.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

18 metres is an awfully long way for ultrasound.
You'll need to put some real power into the transmitter.
In a cluttered environment (and most will be out to that sort of range and beam angle) expect lots of multipath returns.
« Last Edit: June 10, 2011, 09:10:59 am by AWOL » Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well the basic idea for the thing i am trying to build is to keep track of the distance a moving object is from the point of origin. From approx 18m to lets say around 3m
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How big is the "moving object"?
Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

Offline Offline
Jr. Member
**
Karma: 0
Posts: 71
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well the basic idea for the thing i am trying to build is to keep track of the distance a moving object is from the point of origin. From approx 18m to lets say around 3m

The easy way is to buy a $150 laser range finder as used by golfers. (These have a minimum range of 5m.)

The more interesting way....
Vehicle has a wireless "camera remote shutter control", Arduino, microphone and 40kHz band pass filter.
The origin has the corresponding wireless receiver, another Arduino to generate a 40kHz square wave bust, a cheap 100W public address amplifier turned up full, and a 50W piezo tweeter.
Fit ear plugs, (the tweeter will probably make loud clicking sounds.)
Trigger a pulse from the vehicle and measure the time for the sound to be received.
Calibrate for 3 and 18m.
Reduce the transmit power until it just works at 18m and remove ear plugs.









Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How big is the "moving object"?

Lets say the size of a car.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

any ideas about what I need to get these particular ultrasonic sensors to work? I already bought them so I might as well use them. I read somewhere that I could use an LM833 as an amplifier and a MAX232 to provide a larger voltage to the sensors in a circuit similar to this one: http://www.robot-electronics.co.uk/htm/srf04tech.htm however is there anything else that I would need on top of that to make this work?
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 27
Posts: 5078
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Go here - check out raron's posts:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1224198029
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 27
Posts: 5078
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I just noticed that the images in the old forum for that post don't come up properly (they're too tiny to read) - here is raron's user profile on here:

http://arduino.cc/forum/index.php?action=profile;u=11873

He seems like he is still active - so maybe he might post up something; if not, I'm pretty sure I snagged a copy of that thread and the large images, maybe I can repost them somewhere...
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just noticed that the images in the old forum for that post don't come up properly (they're too tiny to read) - here is raron's user profile on here:

http://arduino.cc/forum/index.php?action=profile;u=11873

He seems like he is still active - so maybe he might post up something; if not, I'm pretty sure I snagged a copy of that thread and the large images, maybe I can repost them somewhere...

awesome. that looks like it will help a lot. Thanks
Logged

Pages: [1] 2   Go Up
Print
 
Jump to: