Go Down

Topic: Small distance sensor (Read 4957 times) previous topic - next topic

sbright33

What type of sensor can measure distances less than 1 inch?  I'd like at least 20 steps as it moves from 1/4" to 1".  It should work when there is ambient light.  What is the accuracy of the common sonar sensors in this close range?
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

pylon

Can't you use a mechanical one (potentiometer, spring, kind of lever)? Commonly used ultrasonic sensors don't work in that range and are by far not accurate enough (at 40kHz best you get is about 1cm/0.4" in theory, practically it's over 1").

sbright33

Sometimes the most obvious answer is best, but this will not have the Wow I'm looking for.  Can anyone think of another solution? 
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

Magician

Can you attach a small magnet, and use a hall sensor?

AWOL

40kHz in air is around 8.5mm.
Phase comparison?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

sbright33

@AWOL - I can't find any links using Google.  Can you provide one?

A small magnet sounds like the way to go!  Thanks!
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

tkbyd

More detail of your app usually inspires ideas from readers.

Do you, say, have a mass suspended on a string, hanging (mostly) still by a wall, and want to know when it swings slightly, or, say, a black bar on a roof, fixed at one end, with the other end near another solid wall, and you want to watch the bar expand and contract as its temperature changes? Etc....

What are the "things" which are close? Why do they move? How fast? Etc...

Then we might have ideas as to how to detect the movement.

sbright33

I'd like to detect a face or hand as it moves closer from 6" to 1/2".  So no magnet or mechanical lever.  Both are a great idea for another project I have, but not this one.  Any more ideas?
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619


sbright33

@Magician - Didn't find much that is useful in your list, thanks for trying!

How about this?
https://www.adafruit.com/products/466
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

Magician

Why? You don't like this one:
Quote
Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F

Description: Infrared proximity sensor made by Sharp. Part # GP2D120XJ00F has an analog output that varies from 3.1V at 3cm to 0.3V at 30cm

pylon

Quote
How about this?
https://www.adafruit.com/products/466


If the sensor holds what the datasheet promises it an almost ideal candidate for your project, I guess.

sbright33

@Magician - Doesn't go much below 2" not at all below 1"
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

WillR

Even the "professional" companies won't help much...
http://www.sick.com/us/en-us/home/products/product_news/distance_sensors/Pages/um30_2.aspx

The UM30-2 Ultrasonic Distance Measurement Sensors feature a new EasyTouch display and keypad that enables easier setup, configuration, and access to advanced problem solving features


If you pull the data sheet -- down to 30mm -- but no better -- decent resolution of 0.18mm  but not the range.

Maybe they have other sensors.


Maybe do a little looking at digikey
http://www.digikey.ca/PTM/PTMMaster.page?site=ca&lang=en

Some of the Product Training modules may have some ideas on how to go about this easily and cheaply.
Just another Hacker

Magician

This sensor should works at small distances, sensing even more accurate when distance getting smaller:
http://interface.khm.de/index.php/lab/experiments/theremin-as-a-capacitive-sensing-device/

Though could be an issue to get equal results for different in size and shape faces  :)
I wonder, why someone would measure distance to face accurately at all, it's not flat surface. Distance to nose or distance to lips is always variable.

Go Up