Pages: [1] 2   Go Down
Author Topic: Cheapest Ultrasonic Range Finder  (Read 10139 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
God Member
*****
Karma: 1
Posts: 733
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I searched for this , but I didn't find a topic, so I guess I'll start one...

What is the cheapest untrasonic range finder? As in like the ping... But cheaper. I found the Seeedstudio one for $15. I am wondering if there is a cheaper one, but I doubt it...
Logged

New York
Offline Offline
Edison Member
*
Karma: 1
Posts: 1023
E != m*c^2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The cheapest I've found are http://www.acroname.com/robotics/info/articles/sharp/sharp.html

$14.50 for all, I think
Logged

Vejen, Denmark
Offline Offline
Edison Member
*
Karma: 9
Posts: 1178
RAWR! ^,..,^
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I got some of those sharp sensors, just short range (~15cm) and they got a "design flaw" you need to think about if you chose them. They got problems detecting black things. I am using them on my wifitank, and it had problems seeing black things, and allowed the children (must be under aged people who enjoy destroying other peoples things) to drive it into things.

White, gray, blue, and so on, surfaces was no problem, but black ones never was detected. A ping sensor would see them, no matter what color they are.
Logged

captain-slow.dk | non contagious!

Offline Offline
God Member
*****
Karma: 1
Posts: 733
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, I am detecting people... So basically anyone wearing a black t-shirt wound be out... So I'll keep those in mind for other stuff, but for this, it's out...
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

wait what? ultrasound has problems with color?

oh I see thats not sonic, its light, well thats on topic

thought about making your own? its a 6$ per pair part with some simple electronics
« Last Edit: November 07, 2010, 06:13:49 pm by Osgeld » Logged


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

Quote
A ping sensor would see them, no matter what color they are.

That's because black absorbs IR (and a whole host of other frequencies in the visible range - hence, black); a ping-style ultrasonic sensor likewise has issues with non-uniform surfaces, and more seriously with soft objects like pillows (or other sound-absorbing material).

There is no one "do it all" sensor for ranging, unfortunately (with the exception of possibly LIDAR coupled with extensive mapping and processing - not something that is cheap or even doable with only an Arduino). So you need to combine sensors and then integrate the data that they produce so your system can gain a better idea of what is "out there".

As far as "cheapest":

Maybe not for the time it would take you to modify, but one of the best ultrasonic sensors you can get for very low cost is the Polaroid ranging module. Acroname sells these as kits, and they aren't cheap - but the same type of sensor was used in the old Polaroid cameras, and they were a favorite of hobbyist robot builders in the 1980s. You can still pick up such cameras in thrift stores if you look carefully, for generally a few (USD) dollars. Look for "Sun 660" or "Spectra" (there are other models that used them).

As I said, though, you have to do a bit of work to hack them to work with the Arduino; you can find articles on the Seattle Robotics Society website that detail this process, but the process won't work for the Arduino. The author of those articles, though, recently wrote an article for Servo Magazine (I think it was the June issue?), detailing how he converted his original hack to work with the Arduino. The only other issue with these units is that they tend to use a lot of power when pinging; up around 1A of current or so. They are meant for distance and accuracy, though, like what you would see when taking a photo. They have a fairly narrow cone (about 15 degrees to either side), too.

 smiley
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Holland
Offline Offline
Sr. Member
****
Karma: 0
Posts: 439
Arduino likes cookies too
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The URM ultrasonic range finder by DFRobot is a nice one. Good distance (~10cm upto 3~4 meters).
You talk to it over serial, but it offers digital triggering and even interupt triggered response (it will pull a pin high when something comes in a pre-set range).
Also, it is able to control its own servo when used through its serial interface.

I love this module to bits, the one I purchased was around $15 USD, so it appears to be on the same price level as the ping sensor.. just has more fun stuff.

PS: it is also capable of making temperature measurements, though I haven't been able to find out what type of values this returns.
Logged

Vejen, Denmark
Offline Offline
Edison Member
*
Karma: 9
Posts: 1178
RAWR! ^,..,^
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
wait what? ultrasound has problems with color?

oh I see thats not sonic, its light, well thats on topic
Yes, I know that it is not the same, and thats why I wanted to warn him about changing to another way of detecting. smiley-wink

There are some on ebay too http://cgi.ebay.co.uk/Ultra-Sonic-range-measurement-module-Arduino-ARM-/280553476250?pt=LH_DefaultDomain_0&hash=item41524a509a#ht_2846wt_905

They are also $14.50

And some at $9.95 http://cgi.ebay.co.uk/Arduino-Ultrasonic-module-HC-SR04-distance-sensor-/280583315555?pt=BI_Security_Fire_Protection&hash=item415411a063#ht_2004wt_932

Even one at $7.99 http://cgi.ebay.co.uk/Arduino-Ultrasonic-module-HC-SR04-distance-Detector-/220692595900?pt=BI_Security_Fire_Protection&hash=item33624dc4bc#ht_3152wt_1148



http://shop.ebay.co.uk/i.html?_nkw=arduino+distance
« Last Edit: November 08, 2010, 12:40:20 am by bld » Logged

captain-slow.dk | non contagious!

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I am using them on my wifitank, and it had problems seeing black things, and allowed the children (must be under aged people who enjoy destroying other peoples things) to drive it into things.
Oh I dunno, I was trying to drive it over your shoes backwards  smiley-wink
Logged

Vejen, Denmark
Offline Offline
Edison Member
*
Karma: 9
Posts: 1178
RAWR! ^,..,^
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Oh I dunno, I was trying to drive it over your shoes backwards
Yeah, they only had two when I ordered them so only got some in front of it, but it will have one of those in each corner, plus a ping sensor in front and back... So it is going to be pretty safe...

Worst case I had was one driving it into the cat's food, then made a mess on the floor with it...

But for now, the tank is offline... working on the pan/tilt stuff for the camera, and adding 4 white leds so it can see in the dark...
Logged

captain-slow.dk | non contagious!

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Yeah, they only had two when I ordered them so only got some in front of it, but it will have one of those in each corner, plus a ping sensor in front and back... So it is going to be pretty safe...
That's what I guessed...
That's why I was doing it backwards 8-)

Quote
working on the pan/tilt stuff for the camera, and adding 4 white leds so it can see in the dark...
Cool, gonna need some bigger batteries at this rate!

Mowcius
« Last Edit: November 08, 2010, 05:13:43 am by mowcius » Logged

Vejen, Denmark
Offline Offline
Edison Member
*
Karma: 9
Posts: 1178
RAWR! ^,..,^
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
gonna need some bigger batteries at this rate!
It can run 5 hours on one charge right now... Soooo, I think it will do for now... hehe..

Will get auto headlights, so it will turn on when it is dark enough so it wont waste power.

And only when there are someone controlling it.
« Last Edit: November 08, 2010, 05:17:01 am by bld » Logged

captain-slow.dk | non contagious!

Hyderabad , India
Offline Offline
God Member
*****
Karma: 6
Posts: 621
can't help not to think arduinaizing something !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
thought about making your own? its a 6$ per pair part with some simple electronics
Could you give me a link i'd love to try it out myself but again will it work ass the ping itself i mean using only three wires or would need more?
Logged

0
Offline Offline
Full Member
***
Karma: 2
Posts: 109
ArduiYES!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

a proven DIY setup is the Asuro Ultrasound ranger.
e.g. http://letsmakerobots.com/node/7186

not sure it is cheaper, but at least you can buy in increments
(i.e. resistor by resistor; do not ignore shipping costs  ;D )

Logged

Vejen, Denmark
Offline Offline
Edison Member
*
Karma: 9
Posts: 1178
RAWR! ^,..,^
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

My ping sensors arrived from Hong Kong today smiley-grin

The ones I got was the 4 pin version, so I had to alter my code a bit...

Here is a little test code I made, and it seems to work perfectly. smiley

Code:
double ping(int outPin, int inPin) //Get CM to obstacle in front of the sensor
{
  long duration;
  pinMode(outPin, OUTPUT);
  pinMode(inPin, INPUT);
  digitalWrite(outPin, LOW);
  delayMicroseconds(2);
  digitalWrite(outPin, HIGH);
  delayMicroseconds(15);
  digitalWrite(outPin, LOW);
  delayMicroseconds(20);
  duration = pulseIn(inPin, HIGH);
  return duration / 29.0 / 2.0;
}

void setup()
{                
  Serial.begin(9600);  
}

void loop()                    
{
  Serial.print(ping(2, 3)); Serial.println("cm");
  delay(500);
}
It is using the digital pin 2 to trigger the sensor, and read the echo on the digital pin 3
« Last Edit: November 08, 2010, 11:54:47 am by bld » Logged

captain-slow.dk | non contagious!

Pages: [1] 2   Go Up
Jump to: