piclist 2000\03\22\162835a >
Thread: Need way to accurately measure distance with PIC or BS2
face BY : Mark Willis email (remove spam text)

I'm not sure I understand the problem completely <G>  What's the maximum
pedal travel?  What is the minimum distance you have between the two
mounting points you're using?  You need to choose, whether you're
measuring an angle, a distance, a ratio (as in % of pedal depression
distance or angle, instead of an absolute distance or angle), or ???
It'd make the most sense to me, to measure a ratio here, I think (but -
I don't know your application <G>)

Several ideas for you:

Use mounts that preclude a problem (i.e. epoxy or superglue a pair of
fixed metal dowel pins, one onto the pedal and one onto the floor, you
then have a repeatable mounting system, and can retain a removable
sensor - at the price of good linear pots, kind of nice.)  The general
idea being to fix whatever you're measuring, precisely and repeatably.
You want to fasten the sensor in place when in use (clip, screws, wire
ties, rubber bands, ???)

Could use any of a number of sensors for this - linear pot (Systron
Donner used to make decent low-friction ones of these), gray-coded
optical sensors, all kinds of solutions.  You can make the optical
sensor board yourself (pc board with the pattern on it), nothing
requires the optical sensors to be aligned alongside each other BTW,
with 1/8" granularity you should have no problems.  Dry Transfer method,
maybe?  Can make a rotary encoder or a linear one here.

Also can generate a "Click" with a piezo and listen for it with another
piezo to determine distance, it's been a while since I saw that done so
I don't remember the "gotchas".  Can be rather cheap - I found some
piezos for 10 cents the other day, I'd like to find more at that price

Can gear a multi-turn pot up so you measure pedal angle and a say 15
degree pedal movement, generates 2 turns of pot stem movement;  Think of
how long the pot'll last here, of course, as trim pots are hardly
designed for continuous adjustments.  Gear lash should be below the
noise floor with 1/8" pedal movement granularity.  One glaciologist I
know used a carbide-tipped saw blade on a multi-turn pot to get the
first accurate real-time glacier movement measurements ever done over a
long period - SMART guy, it's always a real pleasure working with
someone who thinks well <G>


Jon Petty wrote:
{Quote hidden}

I re-ship for small US & overseas businesses, world-wide.
(For private individuals at cost; ask.)

<38D93A82.BA5F6DB4@foxinternet.net> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Need way to accurately measure distance with PIC or BS2

month overview.

new search...