Main > Main Forum
spinner (mouse hack) wiring questions
Tiger-Heli:
--- Quote from: Ed ONeill on June 28, 2004, 11:03:15 am ---I do have one question for you...y would hacking a mouse cause this to happen? If I use a mouse normally it doesn't go backwards
--- End quote ---
Like I said, since I don't know how your mouse hack worked, the best I can do is answer in generalities.
It depends how the mouse hack is hooked up -
A bit of simplified info and terms on how a mouse works - The encoder wheel (light chopper) turns as the mouse is moved (say up and down). There are two black (or 1 clear) "bricks" on either side of the wheel. One of these is the emitter and one is the receiver. These send light pulses through the encoder wheel to pick up direction and speed of the wheel movement. Signals from the emitter and reciever are processed by the circuit on the PCB into a format which the (serial, PS/2, or USB) port on the computer can interpret.
The most basic hack - if you take the encoder wheel from the mouse and mount it on the end of the spinner - then as long as clockwise was left for the encoder wheel and you maintain that with the spinner the direction will be correct (assuming no gearing involved). If it is backwards, you can flip the mouse PCB (moving the emitter from the top to the bottom of the wheel or vice versa) and it will work.
The next most basic hack - If you desolder the emitter and receiver and mount them to a PCB and then wire these back to the mouse PCB, you can again either swap the PCB direction, or swap wires around, but I'm not sure which ones get changed.
The more advanced hack - If you are using arcade optic boards (like a Happ trackball) and you remove the emitter and receiver from the mouse PCB and wire these in, one pair of wires from the emitter (emitter and receiver?) handles mouse direction, and you can just swap these to change direction.
Ed ONeill:
--- Quote from: Tiger-Heli on June 28, 2004, 12:05:43 pm ---The most basic hack - if you take the encoder wheel from the mouse and mount it on the end of the spinner - then as long as clockwise was left for the encoder wheel and you maintain that with the spinner the direction will be correct (assuming no gearing involved). If it is backwards, you can flip the mouse PCB (moving the emitter from the top to the bottom of the wheel or vice versa) and it will work.
--- End quote ---
I made mine exactly how you described above. I didn't cchange the direction of the spinner. So I got to thinking..... I was really confused . I didn't change anything so I had to put the mouse back together to see what was what.
I think I figured it out..I looked at both of the mice I hacked, so this should be true for all ball mice (mouses)
If you move the mouse right the ball moves clockwise but iit then makes contact with the encoder wheel it causes the wheel to rotate counter clockwise.
Therefore ... if anyone makes a spinner like I did they would have to do this.
Thanks
ED
Tiger-Heli:
--- Quote from: Ed ONeill on June 28, 2004, 02:03:15 pm --- I think I figured it out..I looked at both of the mice I hacked, so this should be true for all ball mice (mouses)
If you move the mouse right the ball moves clockwise but iit then makes contact with the encoder wheel it causes the wheel to rotate counter clockwise.
--- End quote ---
Correct!
Ed ONeill:
Tiger-Heli
Thanks so much for taking th time to help me I really do appreciate it.
So now that I know this is true...
why did no one mention that you have to change the settings in mame in their guides to building your own spinner?
Oh well...Live and learn
Thanks
Ed