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: SpinTrak issues  (Read 1987 times)

0 Members and 1 Guest are viewing this topic.

brewerdude

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:March 22, 2019, 01:35:37 am
SpinTrak issues
« on: June 03, 2018, 05:19:10 pm »
I'm working a cabinet rebuild that includes a SpinTrak that was purchased about 4-5 years ago.  I'm using the USB interface - when I plug it into the computer, it's recognized by Windows (Win10) as Trackball/Spinner Interface.  However, it does not move the cursor while in windows, and doesn't appear to be recognized by MAME.  What am I missing?


Drnick

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1641
  • Last login:May 06, 2023, 01:19:48 pm
  • Plodding Through Life
Re: SpinTrak issues
« Reply #1 on: June 03, 2018, 05:51:25 pm »
Multimouse enabled?

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9401
  • Last login:Today at 10:37:59 am
  • Designated spam hunter
Re: SpinTrak issues
« Reply #2 on: June 03, 2018, 06:20:14 pm »
it does not move the cursor while in windows
Don't worry about MAME until you get the spinner working in Windows.

There are 4 wires between the spinner and encoder:  5v, ground, and two data lines.

1. Set your multimeter to volts and check that you have 5v difference between 5v and ground.
- No 5v/ground, no optical circuit power, the cursor won't move at all.

2. Check if each data line alternates between logic high and low when you very slowly turn the spinner -- 1200 phase steps per full rotation of the SpinTrak knob IIRC.
- Both lines stuck high or low, the cursor won't move at all.
- One line stuck high or low, the cursor will wobble back and forth one step.

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




Scott

brewerdude

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:March 22, 2019, 01:35:37 am
Re: SpinTrak issues
« Reply #3 on: June 05, 2018, 10:24:03 pm »
OK, I tested with a multi-meter and there was no voltage.  I swapped out the encoder from the trackball and it now works.  Guess the encoder is bad.


Is this what I need to order for the Trackball?

http://www.u-hid.com/home/uhid_nano.php

« Last Edit: June 05, 2018, 10:46:37 pm by brewerdude »

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9401
  • Last login:Today at 10:37:59 am
  • Designated spam hunter
Re: SpinTrak issues
« Reply #4 on: June 05, 2018, 10:54:29 pm »
OK, I tested with a multi-meter and there was no voltage.  I swapped out the encoder from the trackball and it now works.  Guess the encoder is bad.
That is one possibility.

Another possibility is that the pinout is different or the SpinTrak connector was originally on the wrong pins.

You might want to re-check the "bad" encoder before you replace it.

U-Trak encoder pinout.


Is this what I need to order for the Trackball?

http://www.u-hid.com/home/uhid_nano.php
That will work.

Normally I'd recommend the GGG Opti-Wiz no-solder since it is about half the price of the U-HID Nano, but the Opti-Wiz is currently not in stock. :(


Scott
« Last Edit: June 05, 2018, 11:17:30 pm by PL1 »