Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 25th August 2006, 12:25 PM   (permalink)
Default Replace mouse encoder?

I'm wondering if it's possible to replace the encoders in the computer mouse with other encoders. In detail: the mouse encoders for x- and y-direction are small and looks fragile. For my application I need more robust encoders.

Is it then possible to de-solder the existing encoders and replace them with another one. The link shows a possible encoder: http://www.elfa.se/elfa-bin/dyndok.p...0&dok=2028.htm

Also, thank you Phalanx for putting me on the right track with the encoders.

Thanks,
Kristian
xkrja is offline  
Old 25th August 2006, 12:56 PM   (permalink)
Default

why not just get an optical mouse? no moving parts involved.
__________________
Jeff
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
jrz126 is offline  
Old 25th August 2006, 01:32 PM   (permalink)
Default

I think he wants to use the mouse as a two axis rotary encoder with a convenient PC interface.
__________________
1 0 1 1 0 1 0 1 1 0 1 1 0 1 0 1 1 0 1

StopGo is offline  
Old 25th August 2006, 03:17 PM   (permalink)
Default

What I would like to do is to use the mouse circuit and software because it's already there. But the mouse will not be used as a mouse but instead will the two axis be used for controlling F-stops and exposure time on a digital camera via a computer.
xkrja is offline  
Old 25th August 2006, 03:39 PM   (permalink)
Default

Actually, newer mouse i have torn apart had a PIC microcontroller in it. So, all you would have to do, is get a hold of a PIC, and then the slotted disk with the opto-switches.
__________________
There is no "I" in "team", unless Apple makes it... Then it would be iTeam.
Marks256 is offline  
Old 25th August 2006, 04:15 PM   (permalink)
Default

The thing is that I would like to use an existing mouse with its software so I don't have to develop my own. This can save a lot of time I hope.

The main question is if the encoders (the encoder wheel and LEDs) can be replaced by another type of encoder, like the one in the link in the starting thread, or if there has to be a perfect match between the encoders (same size on wheel, same number of slots on the wheel and so on). I assume that the encoder (on the linked page) works in a similar way as those in the mouse.

Thanks for your replies!
xkrja is offline  
Old 25th August 2006, 04:22 PM   (permalink)
Default

Oh ok, now I understand...
I would think it would be fine to use the encoder in your link. It might give more or less pulses per rev. than the original mouse, but you could just adjust the sensitivity in the mouse software to compensate.
__________________
Jeff
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
jrz126 is offline  
Old 25th August 2006, 04:50 PM   (permalink)
Default

Great, thanks!
xkrja is offline  
Old 25th August 2006, 04:55 PM   (permalink)
Default

Quote:
Originally Posted by xkrja
Great, thanks!
What resolution are you looking for?, the encoder you gave the link for is only very low resolution (maximum 20 pulses per revolution). They also aren't very reliable, it's a common fault in equipment that uses them - whereas mice encoders are incredibly reliable, and almost never fail.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 25th August 2006, 05:34 PM   (permalink)
Default

Actually, I don't know what resolution I'm looking for. I would like to make an application for controlling a digital camera via the PC. Maybe you know that for many digital SLR cameras there are wheels for controlling exposure times, F-stops, menus, and so on. that's what I would like to mimic with my encoders. It feels like they work in very low resolution.
xkrja is offline  
Old 25th August 2006, 05:42 PM   (permalink)
Default

Quote:
Originally Posted by xkrja
Actually, I don't know what resolution I'm looking for. I would like to make an application for controlling a digital camera via the PC. Maybe you know that for many digital SLR cameras there are wheels for controlling exposure times, F-stops, menus, and so on. that's what I would like to mimic with my encoders. It feels like they work in very low resolution.
They would be fine for an application like that!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 25th August 2006, 06:25 PM   (permalink)
Default

If you check an amateur astronomy forum like
http://www.cloudynights.com/ubbthrea...reads.php?Cat=
I'm sure someone has done this before. Look in the "ATM, Optics, and DIY" section, use the search and maybe you will find something. I recall the same thing being done with a mouse for x,y ( RA, DEC ) axis on a equatorial mount, but not sure about a camera. Possibly it was also done on an electric focuser assembly, I don't recall.

If nothing else, I bet one of the members could give you lots of help on where to look.
zevon8 is offline  
Old 25th August 2006, 09:51 PM   (permalink)
Default

the mouse protocol is well understood and documented so you don't really need to use an actual mouse. this is an ideal task for a microcontroller.

I think what you are trying to do is to gear the encoders off of manual (automatic?) knobs/wheels to determine their position. how are you turning knobs/wheels? encoders are only good for determining relative movement.
philba is offline  
Old 25th August 2006, 10:17 PM   (permalink)
Default

Thanks for your answers! Hmmm... I don't think the position is of great importance in this case. The software needs to know if the wheel is rotating CW or CCW. If CW for example, the exposure time will increase on the camera and if rotaded CCW it will decrease until a software endpoint has been reached (max or min exposure time) then nothing more will happen even if the rotating continues.
xkrja is offline  
Old 26th August 2006, 04:15 AM   (permalink)
Default

This thread has good info on mice. http://www.electro-tech-online.com/g...eel-mouse.html and http://www.electro-tech-online.com/g...l-mouse-2.html

Last edited by ClydeCrashKop; 26th August 2006 at 12:31 PM.
ClydeCrashKop is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 11:17 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker