mouse guts as a dual rotary encoders
hinv
Posts: 1,255
Howdy,
Has anybody tried to use the rotary encoders out of a cheap mouse to monitor speed/position/direction of a motor?
Anybody know what the limitations are?
The cool thing is it is easy to interface, in fact there is already a plug on my demo board
My guess though is that the serial interface in the mouse will limit the RPMs that can be read.
Any thoughts?
Doug
Has anybody tried to use the rotary encoders out of a cheap mouse to monitor speed/position/direction of a motor?
Anybody know what the limitations are?
The cool thing is it is easy to interface, in fact there is already a plug on my demo board
My guess though is that the serial interface in the mouse will limit the RPMs that can be read.
Any thoughts?
Doug
Comments
http://forums.parallax.com/forums/default.aspx?f=10&m=201078&p=1&ord=a
This one also has information about the Controller IC on those old mice:
http://forums.parallax.com/forums/default.aspx?f=25&m=159746&p=1&ord=d
I hope this helps.. Happy Roboting!... JoeBotics
How many RPMs were you able to measure? Did you use the encoder wheel from the mouse, or make your own?
I'm sorry, but I just can't get past that image in my mind of all those mice that we sacrifice·in the name of·progress.
In order to score a large contract with a school system for computers, I once had to locate replacement mouse balls to replace the ones the kids were stealing. It gets worse.. I had to call mouse manufacturers' to purchase 50 mouse balls.
Mouse encoders are a great idea! Cheap and readily available.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Check out: Protoboard Introduction , Propeller Cookbook 1.4 & Software Index
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
in reference to the encoder wheel, I have tried printing my own version using transparencies and the original encoder wheel, but the original encoder wheel is tricky depending on where you are going to attach it, it cannot wobble much or deviate from the center, the IR receiver assembly has little room for error, I prefer the transparency option, but the issue is that it is difficult to obtain a dark printout on laser, you should try ink jet printer instead, I am trying to find one and test printing on it. I will let you know... as to how to generate them:
http://www.softpedia.com/get/Others/Miscellaneous/Codewheel-Generator.shtml
http://www.bushytails.net/~randyg/encoder/encoderwheel.html
I hope this helps... Happy Roboting!!.. JoeBotics