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: Rotary encoder help please  (Read 1371 times)

0 Members and 1 Guest are viewing this topic.

ArtMAME

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 670
  • Last login:August 05, 2020, 12:59:17 pm
  • Hey where the ARCADE MACHINES at???
    • Art's Arcade Lab
Rotary encoder help please
« on: October 02, 2006, 06:43:59 pm »
I just got the rotary encoder today from Ultimarc and hooked it up to some Ikari Warrior joysticks (LS-30s) using a normal IDE ribbon cable from a PC.  It only seems to register a keypress after I click the joystick 4 or 5 times (or randomly), then it registers no more keypresses.  I unplug the USB, then replug and it repeats the behaviour.   :banghead: :banghead: :banghead:

I have used notepad and Keyhook utilities to test it. 

I got the same behaviour with a Druin's Encoder that I tried out before.

Is there a special way that you hook up that thing to get it to register keypresses consistently?

I ohmed out the joystick contacts and it looks like those joystick just use continuity between the middle pin and the outer pins to determine where it is.  Each time you click it, the continuity moves to the next pin, with the middle pin apparently acting as the common. 

Any advice would be apreciated.
"Klaatu. .. Verada. ...... Necktie...Nectar...Nickel..."

rdagger

Re: Rotary encoder help please
« Reply #1 on: October 02, 2006, 08:12:01 pm »
The wiring on the LS-30 cables are not straight.  I have the pinout on my site (look towards to bottom of the page).  VGA cables work well because they have 14 color coded wires.  The solderless 13 pin .100" connectors can be purchased online.

ArtMAME

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 670
  • Last login:August 05, 2020, 12:59:17 pm
  • Hey where the ARCADE MACHINES at???
    • Art's Arcade Lab
Re: Rotary encoder help please
« Reply #2 on: October 03, 2006, 08:25:38 am »
That explains it. 

I tested the encoder this morning by shorting the pins with the common in succession and it behaved as it should.

Thanks rdagger.   ;D

Maybe a good thing to post on the Wiki if it is not on there yet.
"Klaatu. .. Verada. ...... Necktie...Nectar...Nickel..."