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 not working  (Read 1727 times)

0 Members and 1 Guest are viewing this topic.

thewumpus

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:May 11, 2018, 10:06:52 am
  • I want to build my own arcade controls!
Spinner not working
« on: January 29, 2018, 10:46:52 am »
I have an original Oscar Controls spinner and am trying to get it working in MAME.  It's plugged into an old Serial OptiPAC board, as is my trackball (P1 Spinner, and P1 Trackball inputs, respectively).

My (Happ) trackball works fine both in Windows and in MAME (e.g., Arkanoid).  But my spinner doesn't seem to do anything at all in MAME, and in the Windows desktop the mouse pointer wiggles back and forth very slightly without ever moving its home position, or if I turn on Mouse Acceleration, ot just causes the pointer to move left regardless of which direction I turn the spinner).  So clearly Windows is getting some sort of hardware input from the spinner, I just don't know if it's normal.

The spinner is enabled in my mame config file, and multimouse is set to 0.  Mouse acceleration is off.  The OptiPAC is getting power from a JPAC (and presumably functioning OK, or the trackball wouldn't work either).

Any idea as to whether this is a hardware or software issue?  Thanks!

Nephasth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1381
  • Last login:February 15, 2025, 12:57:26 pm
  • Bitches love Centipede
Re: Spinner not working
« Reply #1 on: January 29, 2018, 11:27:07 am »
Plug the spinner into the trackball inputs. Same behavior? Your spinner is jacked up. Works fine? Your Optipac is jacked up.
%Bartop

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 01:12:00 am
  • Designated spam hunter
Re: Spinner not working
« Reply #2 on: January 29, 2018, 03:20:32 pm »
in the Windows desktop the mouse pointer wiggles back and forth very slightly without ever moving its home position
This points toward one of two possibilities:

  1. One of the two optos is burned out, causing that data line to be stuck either high or low. (most likely)

  2. One of the encoder inputs is stuck either high or low.

When you slowly turn the axis, the data lines should alternate between logic high (near 5v) and logic low. (near 0v)

This quadrature waveform shows what you would see on the data lines (A and B) when you slowly turn the axis clockwise.



For example, if A is stuck low, the encoder will only see phase 1 or 2, never phase 3 or 4.
    Phase 3 looks like Phase 2 -- A = Low, B = Hgh.
    Phase 4 looks like Phase 1 -- A = Low, B = Low.

    Phase 1 to 2 = move mouse 1 step to the right.
    Phase 2 to 1 = move mouse 1 step to the left.


Scott

thewumpus

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:May 11, 2018, 10:06:52 am
  • I want to build my own arcade controls!
Re: Spinner not working
« Reply #3 on: February 02, 2018, 06:08:51 pm »
Solution: the OptiPac had blown spinner input ports.  Replaced it with a new USB OptiPac and everything works great now.  Thanks guys!