Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: spinner (mouse hack) wiring questions  (Read 1441 times)

0 Members and 1 Guest are viewing this topic.

Ed ONeill

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:April 12, 2012, 10:00:16 am
    • http://home.comcast.net/~coin-opcollector/
spinner (mouse hack) wiring questions
« on: June 26, 2004, 11:04:02 am »
HELP !!
Ok I made a spinner but got in trouble and broke the left/right axis led off the board.

So I was wondering if I can switch the left/right axis  with up/down axis by changing the wiring

Here is the wiring harness from left to right

Black (thick) ground, it's connected to a copper stand
Red.... I am assuming power
orange
black (thin)
yellow
brown

Can anyone can help me with the wiring order before I cut and start  switching wires around.

Thanks
ED
« Last Edit: June 26, 2004, 11:04:36 am by Ed ONeill »
Always buying Gumball/candy machines and parts email - coin-opcollector@comcast.net
Want list - Diner Pinball, hit the ice cab, tmnt controls and panel

Ed ONeill

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:April 12, 2012, 10:00:16 am
    • http://home.comcast.net/~coin-opcollector/
Re:spinner (mouse hack) wiring questions
« Reply #1 on: June 27, 2004, 09:08:50 am »
After doing some more reading ..

I found that this CAN'T be done.

The wiring on a mouse is more complex than I thought.

Damn...Time to find another mopuse to hack...LOL

 
-Ed
Always buying Gumball/candy machines and parts email - coin-opcollector@comcast.net
Want list - Diner Pinball, hit the ice cab, tmnt controls and panel

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:spinner (mouse hack) wiring questions
« Reply #2 on: June 28, 2004, 08:31:00 am »
After doing some more reading ..

I found that this CAN'T be done.

The wiring on a mouse is more complex than I thought.

Damn...Time to find another mopuse to hack...LOL

 
-Ed
You COULD wire the spinner to the Mouse Up/Down axis and then use NoNameMAME or MAME Analog Plus to change the mouse axis used for your games.  Probably simpler to start over, though  :P
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Ed ONeill

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:April 12, 2012, 10:00:16 am
    • http://home.comcast.net/~coin-opcollector/
Re:spinner (mouse hack) wiring questions
« Reply #3 on: June 28, 2004, 09:10:41 am »
Tiger-Heli ...thanks I started over and got it working!

Well sort of..... I am not sure what is going on If I spin the spinner clockwise  it actually moves in the opposite direction .

Example if I play tempest and turn the spinner clock wise I am actually moving counter clockwise .BTW I tried using the joystick and that is opposite as well.

Any suggestions or is this how a spinner actually works...:-[  I don't remember it's been so long since I've played the game. :'(

Signed
Ed
Always buying Gumball/candy machines and parts email - coin-opcollector@comcast.net
Want list - Diner Pinball, hit the ice cab, tmnt controls and panel

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:spinner (mouse hack) wiring questions
« Reply #4 on: June 28, 2004, 09:27:21 am »
Any suggestions or is this how a spinner actually works...:-[  I don't remember it's been so long since I've played the game. :'(
That's not how it works -

Easy suggestion - MAME Tab Menu - Analog settings - Dial Revese - ON, but you need to set this individually for all spinner games, AFAIK.

More difficult suggestion - Flip your optic boards 180 degrees or swap the two signal wires to the mouse hack.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Ed ONeill

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:April 12, 2012, 10:00:16 am
    • http://home.comcast.net/~coin-opcollector/
Re:spinner (mouse hack) wiring questions
« Reply #5 on: June 28, 2004, 09:36:11 am »
Any idea on which wirse to switch because I already cut the cord to the first mouse.

Thanks
Ed

Always buying Gumball/candy machines and parts email - coin-opcollector@comcast.net
Want list - Diner Pinball, hit the ice cab, tmnt controls and panel

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:spinner (mouse hack) wiring questions
« Reply #6 on: June 28, 2004, 09:54:06 am »
Any idea on which wirse to switch because I already cut the cord to the first mouse.
Thanks
Ed
Whatever corresponds to X1 and X2 on minwah's mouse hack page.  Without knowing what you're hacking, I can't give more info.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Ed ONeill

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:April 12, 2012, 10:00:16 am
    • http://home.comcast.net/~coin-opcollector/
Re:spinner (mouse hack) wiring questions
« Reply #7 on: June 28, 2004, 10:24:19 am »
Ok forget the wiring option looks to difficult for me

Now where is this analog setting that you referr to I am using mame 32.79

Thanks
Ed
Always buying Gumball/candy machines and parts email - coin-opcollector@comcast.net
Want list - Diner Pinball, hit the ice cab, tmnt controls and panel

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:spinner (mouse hack) wiring questions
« Reply #8 on: June 28, 2004, 10:29:50 am »
Ok forget the wiring option looks to difficult for me

Now where is this analog setting that you referr to I am using mame 32.79

Thanks
Ed
Start a spinner game and press TAB, and then see my comments above
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Ed ONeill

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:April 12, 2012, 10:00:16 am
    • http://home.comcast.net/~coin-opcollector/
Re:spinner (mouse hack) wiring questions
« Reply #9 on: June 28, 2004, 11:03:15 am »
Thanks Tiger-Heli ..Your the man

Ithis works great and now I only have 15 more to go...LOL

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

Signed
Ed
Always buying Gumball/candy machines and parts email - coin-opcollector@comcast.net
Want list - Diner Pinball, hit the ice cab, tmnt controls and panel

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:spinner (mouse hack) wiring questions
« Reply #10 on: June 28, 2004, 12:05:43 pm »
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
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.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Ed ONeill

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:April 12, 2012, 10:00:16 am
    • http://home.comcast.net/~coin-opcollector/
Re:spinner (mouse hack) wiring questions
« Reply #11 on: June 28, 2004, 02:03:15 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.

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
Always buying Gumball/candy machines and parts email - coin-opcollector@comcast.net
Want list - Diner Pinball, hit the ice cab, tmnt controls and panel

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:spinner (mouse hack) wiring questions
« Reply #12 on: June 28, 2004, 02:10:01 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.
Correct!
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Ed ONeill

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:April 12, 2012, 10:00:16 am
    • http://home.comcast.net/~coin-opcollector/
Re:spinner (mouse hack) wiring questions
« Reply #13 on: June 28, 2004, 05:16:14 pm »
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

« Last Edit: June 28, 2004, 05:18:05 pm by Ed ONeill »
Always buying Gumball/candy machines and parts email - coin-opcollector@comcast.net
Want list - Diner Pinball, hit the ice cab, tmnt controls and panel