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
Site News

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


  

Author Topic: Trackball to USB adapter issues  (Read 211 times)

0 Members and 1 Guest are viewing this topic.

woosdom

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Trackball to USB adapter issues
« on: December 04, 2017, 07:43:31 am »
Having an issue with my trackball not moving the cursor.  Iím using a trackball to USB adapter and all Iím getting is the cursor shaking on screen.  Could it be the trackball sensors are not compatible? The trackball still works with my Capcom Bowling pcb.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6474
  • 2013 UCA Awardee
Re: Trackball to USB adapter issues
« Reply #1 on: December 04, 2017, 04:21:08 pm »
The trackball still works with my Capcom Bowling pcb.
Good news: This eliminates burnt out LEDs/optos.   ;D

Iím using a trackball to USB adapter
Which type? Link?

all Iím getting is the cursor shaking on screen.  Could it be the trackball sensors are not compatible?
What high and low voltages are you seeing on the two data lines of each axis?
- Each data line should alternate between high/low as the encoder wheel spokes pass/block the IR LED beam.
- Move slowly and try to stop on high or low since auto-ranging multimeters take a relatively long time to sample.

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



If the cursor is moving back and forth one step as you turn the trackball, that is a sign that one of the data lines is not properly connected or not reaching the voltages associated with logic high/low.

Can you stop the shaking by slightly moving the trackball?
- When the encoder wheel spoke blocks the IR LED beam to the opto, the opto outputs a logic low.
- When the encoder wheel spoke doesn't block the IR LED beam to the opto, the opto outputs a logic high.
- When the encoder wheel spoke partly blocks the IR LED beam to the opto, the opto can output a mid-level voltage that can be read by the optical (mouse) encoder as bouncing between high or low.

If the shaking cursor is moving more than one step, that could be a sign that both data lines are at the mid-level voltage mentioned above.


Scott
« Last Edit: December 04, 2017, 04:23:07 pm by PL1 »

woosdom

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Trackball to USB adapter issues
« Reply #2 on: December 04, 2017, 04:59:00 pm »
Cursor shakes when I move the trackball around. 

I donít have a meter to check the voltages.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6474
  • 2013 UCA Awardee
Re: Trackball to USB adapter issues
« Reply #3 on: December 04, 2017, 06:11:17 pm »
Which optical (mouse) encoder are you using?  Opti-Wiz??  I-Pac2 trackball pins??  Mouse hack??

You need the optical encoder to translate the raw optical data (quadrature waveform) to USB mouse commands.

Since the trackball works with a game PCB, the problem is probably either with the connections to the encoder or the encoder itself.

Cursor shakes when I move the trackball around. 
To be clear, moving the trackball only causes the cursor to shake a bit, not move across the screen, right?

Is each axis moving only 1 step back-and-forth (1 bad data line connection on that axis) or several steps? (both data lines are intermittent or not making clear transitions between logic high and low)

I donít have a meter to check the voltages.
Well that makes troubleshooting rather difficult.   :(

There is a way to test the encoder using 5v, ground, and two three-tab microswitches to generate fake quadrature waveforms in place of the trackball data lines, but that's doing things the hard way and still leaves unanswered questions.   :lol


Scott

woosdom

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • I want to build my own arcade controls!
Re: Trackball to USB adapter issues
« Reply #4 on: December 04, 2017, 06:28:11 pm »
correct the cursor shakes and does not move across the screen.  I am using the adapter from Mike's Arcade.  I chatted with them and I received a replacement.  That's why I think it has to be the trackball. 

I had a crappy meter that might have worked, but I moved about a month ago and still haven't found it.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6474
  • 2013 UCA Awardee
Re: Trackball to USB adapter issues
« Reply #5 on: December 04, 2017, 07:25:07 pm »
There's no documentation for that encoder on the product page here, but it says that it is compatible with your Wico trackball.

If you can find your meter:
1. Ohm out all the connections between the trackball and encoder harnesses to ensure that there is good continuity and no shorts. (make sure power is not applied when taking resistance measurements unless you're looking for an excuse to buy a new meter)
2. Check the data line high/low voltages.


Scott

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31