Main > Main Forum
Arkanoid + Mouse Hack
Svaroh:
Hi everyone, I've been searching the forum for about 12 hours nonstop now and haven't found the answer I'm lookin for. whether this is because its not here or I'm just too sleep deprived to see it remains to be seen.
I picked up an old arcade cabinet and an Arkanoid spinner this week while I'm off of work, i want to see how quickly i can put a functional Mame cabinet together. Due to this time restraint, and my somewhat masochistic nature, i would like to avoid ordering components and having to wait for shipping. This also wont be a super cabinet like many others, it'll be for pure 80's gaming goodness, with 233-400MHz compy inside.
Anyways, ill be going the dreaded kb hack route, just to say i did, but i cant find a guide on how to hack a mouse so i can hook up my arkanoid spinner. I don't suppose it'd be possible, seeing as they both have 4 wires coming out of them, to just hook them up direct?
Any advice, gestures in the right direction or cautionary tales would be greatly appreciated.
Thanks
-J
Jabba:
Oscar has a tutorial on his Website on how to build a USB mouse hack.
http://www.oscarcontrols.com/DPDTswitch.shtml
I actually have an Arkanoid machine downstais. I'll have a look at the spinner to see how it hooks up to the board later on and post details to see if it could be wired to the mouse hack...
Oh, and welcome to the forum
SirPoonga:
No, the 4 wires are different.
Hacking a mouse is easy, and you only need one axis too.
Here's a quick summary.
The 4 wires for the spinner are power (probably 5v), ground, data+, data-.
Open your mouse up and look at the controller chip (the big chip in it). I am just going to pick one as I don't have a mouse to take apart right now.
GL600USB
Get the pdf at http://www.datasheetarchive.com/
First, unsolder the IR emmitters (the clear side) from the mouse board, you don't want interference.
The power and ground are easy. Most likely these will be the red and black wire on the ps/2 or usb cord. If you have a multimeter you can test that. The soder point on the mouse board might be labelled too.
Do not unsolder those wires as the mouse board still need power and ground.
Just solder the spinner's black and red wire to the same solder points.
You do not solder to the chip because there may be a reduced voltage going to the chip, it may only require 3.3V.
The next part requires a little trial and error. You will see on page 6/7 (7/8 of the pdf) that pins 19 and 20 are X1 and X2, infact the diagrams has the pins highlighted in blue. You need to solder the two remaining wires from the spinner to those pins. This is the trial and error part, you don't know which way to put the wires. If you have it right when you plug the mouse in you can move the cursor normally on the X (horizontal) axis. If you have it wrong it will go in the wrong direction, just swap wires (after unplugging the mouse).
If I have some time I am going to redo the mouse hack to my tball and post pics.
I am assuming your spinner needs 5v. 5v is what comes from the USB and ps/2.
Svaroh:
awesome replies guys! very helpful, just one little question, should i get an optical mouse or the old ball kind?
SirPoonga:
ball kind
Goto datasheetarchive and look up HT82M22A. You will see an optical mouse controller chip doesn't have an X or Y axis, it has sensor pins. In this case an Agilent sensor like ADNS-2030.
Navigation
[0] Message Index
[#] Next page
Go to full version