Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Tools
Old 3rd March 2009, 11:16 PM   #1
Default Distance sensor

Hello all,

I am building a distance sensor..I have the ucontroller portion done. I was going to use IR to reflect a beam and get a proportional analog voltage to estimate distance but...it has no range

Any ideas/methods?


-MoRoH

Last edited by MoRoH; 3rd March 2009 at 11:47 PM.
MoRoH is offline  
Old 4th March 2009, 01:59 AM   #2
Default

If you want to measure range with light/IR you need either precision optics (uses angle of reflection and triangulation) or precision and ultra-fast timing circuits (time of flight). You can't really build either yourself.

Just buy an IR sensor from Sharp (that uses angle of reflection). Time-of-fligt sensors are just too expensive (at least $5000 each, easily up to $10k and beyond).

For example, and of the SHarp IR sensors on this page like the GP2D12. Because of they they work however, they do have noticeable minimum ranges and maximum ranges (to get a longer max range you must tolerate a longer minimum range as well unless you use multiple sensors).
Infrared and Light Sensors - RobotShop.ca

But for cheapness and low minimum range with large maximum range, ultrasonic is the way to go on a hobbiest budget:
Ultrasonic Range Finders - RobotShop.ca

All of the aformentioned Sharp sensors models plus more models and most of the aformentioned ultrasonic sensors can also be found here:
Sensors

In case you were wondering...measuring intensity to determine distance tends not to work because it is too dependent on object colour and reflectivity. Plus the light dissipates too much so you have to use lasers or something. Time-of-flight is probably the best, but the hardest to make with since you must time something that travels at the speed of light. That's why sonar is popular- sound travels much slower than electronics work at so it's easy to measure. Otherwise, with light, angular reflection and triangulation tends to be the cheapest method.

Last edited by dknguyen; 4th March 2009 at 02:06 AM.
dknguyen is online now  
Old 4th March 2009, 02:03 AM   #3
Default

Thanks, ill look into that. I'm thinking about scraping the IR idea all together. Just seems like the IR like wont reflect like i want it to.

Did you ever see anyone build any ultrasonic/sonar sensors?

All i really want it 0v output when your 4feet away and 5vdc when you 4 inches away type thing. But it has proven harder than expected
MoRoH is offline  
Old 4th March 2009, 02:14 AM   #4
Default

So what you really want is a proximity sensor, not a rangefinder. There are special versions of those IR sensors on the websites I gave you- the ones with "digital output". THey just output a high or low if something is within range or not rather than a voltage that represents distance (which, by the way is non-linear, and sort of like an exponential curve...it's on the tutorial/info/app notes on the Acroname website for those sensors and must compensated for by a MCU).

Sharp IR Rangers Information
Linearizing Sharp Ranger Data

But an ultrasonic sensor is quite buildable. It's not really a side-thing though. It's more of its own project. It is basically getting a piezo ultrasonic transducer (not electrostatic because although they have better sensitivity, range and bandwidth they are much harder to drive because of the high voltages involved). Get a small driver like a transistor or several, depending on how you want to do it and wire it up to an MCU to send a square wave of the frequency of the crystal you want into the ultrasonic sensor (piezo crystals have a tendency to not vibrate frequencies other than their resonant frequency so they will filter out the harmonics of the square wave themselves, which is great because producing a sine-wave is a lot more difficult than making a square wave). The receive circuit is taking the output from the sensor and amplifying it and filtering out stray frequencies making a pulse that the MCU is supposed to detect.

If you are interested, here are some hints on how to make receivers and drivers.
Ultrasonic Tranducers & Ultrasonic signals
And look at a lot of ultrasonic schematics on the web to get a gist of how they all work, then build your own with your own ideas. Some GOOD reference schematics rather than a lot that are found on the net are provided by the manufacturers for some of the models of the better ultrasonic sensors given so far:
http://www.robot-electronics.co.uk/i...8schematic.gif

My description above how the basic concept for the simplest rangers should go a long way to help you understand what to look for when trying to figure out how the circuit works if you know nothing.

Last edited by dknguyen; 4th March 2009 at 02:24 AM.
dknguyen is online now  
Old 4th March 2009, 02:30 AM   #5
Default

Cool, ill look into that.

Thanks alot
MoRoH is offline  
Old 19th April 2009, 03:59 AM   #6
Default

nice have this project
wazidbasha2020 is offline  
Old 9th May 2009, 05:13 AM   #7
Default

Maybe you can modify a radar gun or motion sensor.
shokjok is offline  
Old 27th May 2009, 12:20 PM   #8
Default

very good idea....
if you make it please show us
shadykassem is offline  
Old 5th June 2009, 08:15 AM   #9
Default

I think you are using a uc with IR sensor pair and want to find out range then you have to measure the analog voltage across IR photodiode . This can be done by using a A2D converter which is an external ic and some uc have inbuilt a2d ic's.
You require a2d because uc can understand only digital logics and you have to convert the analog voltage across the IR photodiode to digital value so that uc can further process it.

After you finish this setup you need to do a bit of research and manually check the voltage developed across the photodiode for a given distance and then write code in uc accordingly.

If your sensor pair has very little range and you want to increase its range you can ask me.
ketav is offline  
Old 15th June 2009, 12:46 PM   #10
Post distance sensor

friends i want the circuit diagram plus all the details of distance sensor with complete discription of the circuit. if any body knows then help me. i want it urgently.or tell me a web site on which many latest projects are there.
78645000 is offline  
Old 15th June 2009, 12:47 PM   #11
Default

friends i want the circuit diagram plus all the details of distance sensor with complete discription of the circuit. if any body knows then help me. i want it urgently.or tell me a web site on which many latest projects are there.
78645000 is offline  
Old 15th June 2009, 01:17 PM   #12
Default

Quote:
Originally Posted by 78645000 View Post
friends i want the circuit diagram plus all the details of distance sensor with complete discription of the circuit. if any body knows then help me. i want it urgently.or tell me a web site on which many latest projects are there.
What range? Have you tried Google? Why is it urgent?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com/
blueroomelectronics is offline  
Old 23rd June 2009, 09:37 AM   #13
Default

hi guys..... i need the circuit nd the details. pls anybody knows show meee
santh is offline  
Old 1st July 2009, 01:51 AM   #14
Default

hiiiii
u can try that's project
her
metalljack is offline  
Old 10th July 2009, 12:30 PM   #15
Default

i also searching for that ,you plz help me also.
mohammed hanif is offline  
Reply

Tags
distance, sensor

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Optical distance sensor electro98221 Electronic Projects Design/Ideas/Reviews 9 15th October 2007 12:44 PM
IR Distance Sensor ma_ge38 Electronic Projects Design/Ideas/Reviews 35 15th January 2007 02:04 PM
Sharp Distance sensor Electronics4you General Electronics Chat 9 5th September 2005 02:23 PM
How to build a Distance Sensor ?? UK-Spider Electronic Projects Design/Ideas/Reviews 2 17th March 2004 02:12 AM
Distance Sensor THE_E_MAN Electronic Projects Design/Ideas/Reviews 11 17th October 2002 12:30 PM



All times are GMT. The time now is 07:08 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker