Main > Main Forum
DIY Optical Sensor to Mouse Hack
TheManuel:
Andy Warne of Ultimarc:
http://www.ultimarc.com/optipac4.html#top
Has instructions for a DIY optical sensor to mount into his IPac.
If I make this sensor, can I also mount it to a mouse board?
Would the x1 and x2 output leads connect to the parallel legs of the phototransistor in the mouse?
What is good way of making my own encoder wheel?
Thanks
BobA:
Encoder Wheel Thread and Link
The DIY sensor you are planning on building is probably too big to mount on a mouse board. It would have to be attached via cable just like the cable to the OPTIPAC.
The X1 X2 would probably connect to the outside points where the IR receiver is removed on your mouse board. I say probably because the config should be checked. The IR receivers are very small (see pic) and that is why the DIY sensor does not have room to mount.
Some mouse hacks just relocate the IR LED and IR receiver from the mouse and thus you would not have to build the DIY sensor board.
Perhaps you could give more details as to what you are trying to interface so we can give you more direct info on your hack.
BobA
SirPoonga:
The problems I ran into using mouse IRs is they were designed for those small mouse encoder discs.
I did a mouse hack to the wiring harness for the tr
TheManuel:
--- Quote from: BobA on May 29, 2003, 02:13:17 pm --- Encoder Wheel Thread and Link
The DIY sensor you are planning on building is probably too big to mount on a mouse board. It would have to be attached via cable just like the cable to the OPTIPAC.
BobA
--- End quote ---
Oops! I meant to say wire to a mouse board, not mount.
I will explain what I have in mind:
I'll use the CompUSA Crystal trackball (regular PC trackball) as, of course, a trackball. I'll use it in PS/2 mode since it sucks in serial mode.
Now, I also want a spinner which I'll make myself based on the hard disk spindle idea that many people have used. I happen to have a spare PS/2 mouse that I would like to use as interface. Problem is, the trackball is using up the PS/2 port.
To solve this problem, the alternative I consider ideal is what _Iz- did (http://members.shaw.ca/avanti-technical/mame/index.htm). He connected both a spinner and a trackball to the same mouse board. I'm trying to reach him to find out if this works well wihtout any conflict between the signals hampering the performance of either the trackball or the spinner.
To implement _Iz-'s techinique, I have to alternatives:
1. Make my own sensor and encoder wheel and wire this to the trackball in parallel with one of its own sensors.
2. Try and use the sensor, emitter and wheel from the mouse and connect in parallel to the trackball.
The second option would be best since I already have the hardware. Problem is I don't even know where to start. I figure I would have to isolate the emitter and detector from the rest of the mouse board to prevent a mixup of the signals. But then, I would not know how to properly wire this compoenent to the tracball's PCB.
Would something like this work?
Would I just need to wire the pin of each component to the corresponding one in the tracball?
Am I better off trying the DIY sensor?
Any help will be appreciated.
SirPoonga:
Here's what I did for my happs trackball. I got a mouse hack (the mouse hack from oscarcontrols). I wired the corresponding pins from the trackball wiring harness to the pins on the mouse hack. It works great.