Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

displaying speed of wheels by using a LCD and a IR-photosensitive resistor

Status
Not open for further replies.

waleedkk

Newbie level 5
Joined
Mar 25, 2011
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,342
i've not been able for the appropriate alogrithim to calculate the speed of my wheels of my micromouse. i've actually had the idea of pasting a black tape on my white wheel and using a photo resistor to detect between the black and white and make it count.....
BUT i can't get the algorithim set in my mind ... :(
please some one help me.....
 

BradtheRad

Super Moderator
Staff member
Joined
Apr 1, 2011
Messages
13,972
Helped
2,785
Reputation
5,568
Reaction score
2,691
Trophy points
1,393
Location
Minneapolis, Minnesota, USA
Activity points
104,221
One way is to time one revolution and take the reciprocal. I never figured out a feasible way to do this.

I ended up painting black stripes all around a cassette flywheel to gauge its speed variations.

The straightforward way is to count revolutions during a one second window. This will give you a usable value.

Reset the counter every second.

Or paint two stripes. Or use a 1/2 second window. Etc.
So that you get a usable figure.

You can count digitally.
Or you can use a charge bucket circuit whose output voltage is proportional to the frequency.
 

andre_teprom

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,221
Helped
1,147
Reputation
2,313
Reaction score
1,123
Trophy points
1,403
Location
Brazil
Activity points
53,681
Precision can be increased painting multiple marks.

+++
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top