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

I just ordered a ultrasonic range finder, myself. So I can start my robot project.
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 39
Posts: 5551
Where's the beer?
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

Everything I have seen about homebrewing your own "ping" style sensor tends to reccommend having both a frequency generator and an oscilloscope in order to properly "tune" the emitter (for the frequency of the transducer); the same for the receiver (for optimum accuracy and distance).

I am sure you could "eyeball" it with minimal test equipment, but I don't know how well it would work...

Is there another method?

 :-?
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.

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

getting it to resonate "right" is easy.
it is like worrying about the sound of a tuning fork, no matter how you hit it, it resonates at it's natural frequency.
"about 40 kHz" is all you need to know to work effectively with them.

I tried a long time to produce varying frequency chirps using piezo, to no avail. what you receive back is the resonance frequency with a varying amplitude.

that reduces the optimisation to easy testing like "from how far you still detect an echo".

If anybody else has better info, I'd love to hear it !


ps I do have an oscilloscope, and indeed that comes in handy.
the arduino itself is usable as a frequency generator. maybe even as a replacement scope. using the adc is a challenge, but there is another way :
detect whether the signal is above a threshold voltage using the comparator, and compile a few runs at varying threshold values.
Sampling this way can be done at about 2 Mhz in a 16 Mhz Arduino.
you have about 512bytes = 512 samples x 8 runs. Aiming at about 10 samples per wave the max frequency would be 200 khz.
This assumes that the arduino knows when to start measuring, but that is easy when it is generating the chirp itself...



« Last Edit: November 10, 2010, 05:35:31 am by raalst » Logged

India
Offline Offline
Full Member
***
Karma: 1
Posts: 131
The Tech Gamer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I wonder if I'll get a cheap sensor in my city :/
Logged

|I love Technology|

CT, USA
Offline Offline
Sr. Member
****
Karma: 3
Posts: 446
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, you can do it a lot cheaper if you are willing to design and build your own sensors.

I just picked up a few ultrasonic transducers from (http://www.goldmine-elec-products.com/prodinfo.asp?number=G951) and am in the process of building my own range finder.

Anyway, they are on sell right now for 49c a piece. Can't beat that smiley
Logged

India
Offline Offline
Full Member
***
Karma: 1
Posts: 131
The Tech Gamer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Seriously? That's awesome!
But by the time you post it to me, it'll be more than $15 again smiley-razz
but thanks for the link!
Logged

|I love Technology|

CT, USA
Offline Offline
Sr. Member
****
Karma: 3
Posts: 446
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The deal lasts till the 5th.... you still get some time.
Logged

CT, USA
Offline Offline
Sr. Member
****
Karma: 3
Posts: 446
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Oops... spoke too soon. Just checked the website again, it seems that the deal ended yesterday...
Logged

India
Offline Offline
Full Member
***
Karma: 1
Posts: 131
The Tech Gamer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Holy crap smiley-sad
Thanks though smiley-grin
Logged

|I love Technology|

Pages: 1 [2]   Go Up
Jump to: