Measurement sensor? For 2-5 cm +/- 0.5 mm
John Kauffman
Posts: 653
I am trying to use my BasicStamp to measure a short distance.
Distance = 2 to 5 cm (could modify system to accommodate sensor with range of 2 to 10 cm)
Tolerance = optimal would be 0.1 mm, acceptable would be 1 mm
Close terminus = sensor
Far terminus (moving object) = smooth metal, semi-shine
Far terminus rate of change in distance = 0.2mm/sec to 10mm/sec
Measurement frequency (hopefully about 10 Hz or greater, but this is lowest priority as rate of movement of object can be brought to under 0.2mm / sec)
I am also comfortable with SX if that helps.
Options cInsdered to date:
PING: not accurate enough and too small a distance.
BoeBot IR bounce : I am guessing not accurate enough(but not sure of that)
Has anyone used another method to measure <10 cm distances?
Has anyone tried laser bounce or interferometry?
Is there a way to increased accuracy of a light bounce system?
Thanks.
Distance = 2 to 5 cm (could modify system to accommodate sensor with range of 2 to 10 cm)
Tolerance = optimal would be 0.1 mm, acceptable would be 1 mm
Close terminus = sensor
Far terminus (moving object) = smooth metal, semi-shine
Far terminus rate of change in distance = 0.2mm/sec to 10mm/sec
Measurement frequency (hopefully about 10 Hz or greater, but this is lowest priority as rate of movement of object can be brought to under 0.2mm / sec)
I am also comfortable with SX if that helps.
Options cInsdered to date:
PING: not accurate enough and too small a distance.
BoeBot IR bounce : I am guessing not accurate enough(but not sure of that)
Has anyone used another method to measure <10 cm distances?
Has anyone tried laser bounce or interferometry?
Is there a way to increased accuracy of a light bounce system?
Thanks.
Comments
I'm not positive how the encoder works on these, but you might be able to saw off the excess length and it still work fine.
Then with all that said, perhaps you could open the read head and pull directly off the sensor, and MAYBE find the output of the amplifier (if any) to go directly to the Stamp.
I have contacts for precision linear encoders, but they are typically quote expensive.
You know, after actually reading your post through..... it sounds like you want a non-contact sensor.... Sorry, I got excited.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.
Post Edited (Spiral_72) : 6/11/2010 3:25:03 PM GMT
Do you have experience with mod output to a Basic Stamp?
THanks.
An inductive or capacitive sensor is the way to go. Spiral_72's suggestion would take most of the headache out of the equation, but basically if you took a coffee straw with a coil wound to the length you want to measure and slipped a metal wire, slug, etc. inside the straw and measured the change in inductance you'd have a digital caliper. Even with a crude construction I have observed 1/1000th of an inch measurements, but something like this also needs to be calibrated or the numbers returned are meaningless. Harbor Freight's digital caliper would (hopefully) take the calibration out of the equation.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I don't know what measuring frequency you want, but I've really zipped my cheap-o calipers in and out, they never miss. That leads me to believe the caliper uses either an extremely fast sample rate or an absolute encoder of some kind (as Beau Schwabe pointed out)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.
Post Edited (Spiral_72) : 6/14/2010 7:03:55 PM GMT
Casey
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I fish, therefore I lie!
' Smart Sensors and Applications - PingMeasureCm.bs2
' Measure distance with Ping))) sensor and display in .5 millimeters.
' {$STAMP BS2}
' {$PBASIC 2.5}
' Conversion constants for room temperature measurements.
MmConstant CON 45194
mmDistance VAR Word
time VAR Word
DO
PULSOUT 15, 5
PULSIN 15, 1, time
mmDistance = MmConstant ** time
DEBUG HOME, DEC mmDistance, " .5mm"
PAUSE 100
LOOP
Casey
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I fish, therefore I lie!