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: DIY Rotary Interface version 2  (Read 3245 times)

0 Members and 1 Guest are viewing this topic.

rdagger

DIY Rotary Interface version 2
« on: March 11, 2006, 07:51:34 pm »
I designed a new version of my DIY Rotary Interface.  It has less parts and is about 30% cheaper to construct.   I also revised the code to improve game play.

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:June 17, 2025, 04:07:55 pm
  • Who the heck is that?
Re: DIY Rotary Interface version 2
« Reply #1 on: March 11, 2006, 11:49:39 pm »
That's awesome.  With Druin (temporarily?) out of business, a DIY solution is sorely needed.  Will you be posting an image of the etching mask, and a new parts list?

muzland

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 87
  • Last login:May 30, 2011, 06:28:02 am
  • I want to build my own arcade controls!
Re: DIY Rotary Interface version 2
« Reply #2 on: March 12, 2006, 06:50:10 am »
Forgive my ignorance guys buit what does this do???

Fozzy The Bear

  • Handbags at dawn in here!!!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1831
  • Last login:September 18, 2011, 11:29:59 am
  • It's Been One Of Those Days... Don't Ask!
Re: DIY Rotary Interface version 2
« Reply #3 on: March 12, 2006, 07:49:52 am »
Forgive my ignorance guys buit what does this do???

It's a DIY Rotary Joystick Interface...... Not quite 100% sure myself how it's an advantage to us. The description the web site is a bit vague on what the advantages are apart from cost. Could also do with some description on how it connects to the PC.

Given that rdagger has it connected to an Ipac anyway, I'm stil a little bit confused by it. Maybe he can illuminate us a bit more.

Never the less... It's a cool project and as it's DIY that's what this forum is all about.

Best Regards,
Julian (Fozzy The Bear)
« Last Edit: March 12, 2006, 07:53:18 am by Fozzy The Bear »
Most bottles and jars contain at least twenty-five percent recycled Pacman.
And research indicates that Space Invaders are strongly attracted to people who have recently eaten meat pies.

menace

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2565
  • Last login:November 08, 2024, 01:49:35 pm
Re: DIY Rotary Interface version 2
« Reply #4 on: March 12, 2006, 07:57:38 am »
My uinderstanding is that it takes the 13 inputs from each joystick and reduces them to a smaller number so that any keyboard encoder can support rotary joysticks--Without it, you would need 26 dedicated inputs just for the rotary action of a two player panel.  Rdagger thanks for the awesome contribution!
its better to not post and be thought a fool, then to whip out your keyboard and remove all doubt...

markrvp

  • ARGHHHHHHHHHHHHH!!!!!!!!!! True Genius!
  • Wiki Contributor
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3353
  • Last login:September 14, 2020, 10:19:57 am
  • NFL Expert
Re: DIY Rotary Interface version 2
« Reply #5 on: March 12, 2006, 08:00:24 am »
This is similar to a DRUIN's interface.

This interface connects to a 12 position rotary switch found on the bottom of a joystick like the SNK LS-30 or Happ mechanical rotary.  It converts the raw data from 12 distinct positions into two contact closures.  In MAME, for games like Ikari Warriors, it either expects a mouse for movments left and right or a "move left" or "move right" contact closure.  This device makes clockwise motions close one contact and counter-clockwise motions close another contact.

Basically, it allows you to use two mechanical rotary joysticks with MAME.  It connects to 4 inputs on a keyboard or gamepad encoder (2 inputs per player).

Fozzy The Bear

  • Handbags at dawn in here!!!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1831
  • Last login:September 18, 2011, 11:29:59 am
  • It's Been One Of Those Days... Don't Ask!
Re: DIY Rotary Interface version 2
« Reply #6 on: March 12, 2006, 08:36:17 am »
This is similar to a DRUIN's interface.

This interface connects to a 12 position rotary switch found on the bottom of a joystick like the SNK LS-30 or Happ mechanical rotary.  It converts the raw data from 12 distinct positions into two contact closures.

Sorry... Now I really don't get the point of this.... If it converts multiple contacts down to 2 then what's the point of having a rotary stick that costs $100 at all. You might as well be connecting an oridinary joystick that costs $10 ???  ??? :-\

Best Regards,
Julian (Fozzy The Bear)
Most bottles and jars contain at least twenty-five percent recycled Pacman.
And research indicates that Space Invaders are strongly attracted to people who have recently eaten meat pies.

menace

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2565
  • Last login:November 08, 2024, 01:49:35 pm
Re: DIY Rotary Interface version 2
« Reply #7 on: March 12, 2006, 08:40:39 am »
the point is that some games require the character to move, rotate and fire and the only way to do this is the way the game originally functioned--Also playing the game as it was originally meant to be played adds oodles to the experience IMHO.  Otherwise all games could be mapped to a joystick even the driving ones--no thanks!
its better to not post and be thought a fool, then to whip out your keyboard and remove all doubt...

markrvp

  • ARGHHHHHHHHHHHHH!!!!!!!!!! True Genius!
  • Wiki Contributor
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3353
  • Last login:September 14, 2020, 10:19:57 am
  • NFL Expert
Re: DIY Rotary Interface version 2
« Reply #8 on: March 12, 2006, 08:47:33 am »

Sorry... Now I really don't get the point of this.... If it converts multiple contacts down to 2 then what's the point of having a rotary stick that costs $100 at all. You might as well be connecting an oridinary joystick that costs $10 ???  ??? :-\

Those two contacts are in addition to up, down, left, right.  

Have you played Ikari Warriors?  Remember that the sprite moves up, down, left, & right which is controlled by the joystick's regular directional switches.  In addition to the sprite's movement on screen it also has a gun that rotates 360 degrees (in 12 distinct positions).  To change the direction the gun is pointing, you rotate the joystick handle which activates the different positions of the rotary switch.  A regular $10 joystick does not do this.  A great example of a similar game is TRON - the spider or tank stage.  The joystick moves TRON around and the spinner moves the gun direction.  A rotary joystick does this without the need for a separate spinner (in fact optical rotary joysticks have a "spinner" on the bottom of the shaft).

Regular MAME also does not recognize the raw input from the rotary joystick (mame analog+ does).  The rotary interface is needed to convert the data to "turn gun one click left" or "turn gun one click right" which MAME recognizes.

Dav

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 220
  • Last login:March 29, 2016, 05:39:35 am
Re: DIY Rotary Interface version 2
« Reply #9 on: March 12, 2006, 09:01:53 am »
I designed a new version of my DIY Rotary Interface.  It has less parts and is about 30% cheaper to construct.   I also revised the code to improve game play.

If you want I could possibly run off some pcb's for it with my next run.   Drilling and etching boards yourself is waaaay too much work.




Witchboard

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2002
  • Last login:January 05, 2022, 09:09:24 pm
    • Oklahoma Coin-Operated Collectors
Re: DIY Rotary Interface version 2
« Reply #10 on: March 12, 2006, 10:49:24 am »
Yay!  Perfect timing!

rdagger

Re: DIY Rotary Interface version 2
« Reply #11 on: March 12, 2006, 11:27:58 am »
That's awesome.  With Druin (temporarily?) out of business, a DIY solution is sorely needed.  Will you be posting an image of the etching mask, and a new parts list?
The etching still needs a few modification to work with the new AVR's that I ordered.  When it is finalized I will post them.  There is an image of the current mask on my website.

Quote
Forgive my ignorance guys buit what does this do???
The circuit allows you to connect two 12 position mechanical rotary joysticks to a keyboard encoder.  It translates the rotary movements into clockwise and counter-clockwise keystrokes. 

Quote
The description the web site is a bit vague on what the advantages are apart from cost. Could also do with some description on how it connects to the PC.
The advantages to my previous version are cost, less parts, easier construction, an etch mask and improved code.
The circuit connects between the encoder and the rotary joysticks.  It is powered by the encoder and uses 4 inputs.  I normally share the inputs with my IPAC's P1 & P2 buttons 5 & 6.

Quote
If you want I could possibly run off some pcb's for it with my next run.   Drilling and etching boards yourself is waaaay too much work.
I am going to make all the necessary plans and code available for free on my website.  However, if there is any interest in the purchase of assembled boards, I'd definitely want someone to make the boards.   It took me about 1 hour to etch and drill the single-sided board.  It would have been quicker, but it was my first attempt at etching and I had to repair some flaking and make 2 solder patches.  I actually enjoyed doing the etching.  I found a great site that shows you how to etch boards with cheap household chemicals and a laser printer.  It is a great resource.