Go Down

Topic: Ways to improve optical mouse sensor tracking (Read 3 times) previous topic - next topic

Magician

#5
Jul 20, 2011, 07:07 pm Last Edit: Jul 20, 2011, 11:25 pm by Magician Reason: 1
Could you help to figure out mechanical setup, by posting photo or video?
edited.

Sparkfun has a kit, would it be useful?
http://www.sparkfun.com/products/9209

Jabberwock

I am not a native speaker of English, so I got the terms from the Internet - they might be wrong...

Here is the picture:



Magician

#7
Jul 20, 2011, 11:48 pm Last Edit: Jul 21, 2011, 02:31 am by Magician Reason: 1
Yes, English is not my native ether, so I decided to remove a link to youtube, after I have seen a few minutes...
Draw on a computer a disk:
Encoder_disc_(3-Bit_binary)
Print it , and attach/glue from internal side of the crankwheel.
Using two of the photo-transistor couplers attached to the frame (similar, like on a link to sparkfun) you will get your optical rotary encoder. If 1/8 of turn is too much, hey, draw on disk as much stripes as you want, 64 , 128.... unlimited.....

Chagrin

I've seen several projects where people use the mouse sensor without such problems, but no clear explanation how they did that...


Just for academic interest here's an example. Basically it just comes down to using a lens and getting a good focus on the target.

Jabberwock

The "paper encoder" is brilliant! I've made a 2-bit chart and soldered the little buggers and it seems to work!

No time to program it yet, but I will get around to it...

Go Up