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: LPT Switch  (Read 42790 times)

0 Members and 1 Guest are viewing this topic.

brained

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 467
  • Last login:February 02, 2023, 08:54:08 am
  • Raised by Atari
    • Nux
Re: LPT Switch
« Reply #80 on: January 26, 2005, 01:19:21 pm »
your right, but remember to get yourself a multimeter to ensure things work ok.... or simple makeyourself a poormans continuity tester to ensure that the wires go to the desired pins.......


Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #81 on: January 26, 2005, 01:22:27 pm »
i got a multimeter.  I just labeled all the pins backwards because i didnt realize teh diagram shows the back of a computer and not the connector.  Mirror image of what i wired.

This also explains why some contacts worked and others didnt, because i inadvertently rigged up proper connnections by reversing the diodes.

oh well.

brained

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 467
  • Last login:February 02, 2023, 08:54:08 am
  • Raised by Atari
    • Nux
Re: LPT Switch
« Reply #82 on: January 26, 2005, 01:26:25 pm »
jeez!! :S.... that's why I didn't used a hacked printer cable. I built just everything from start. Remember that DB 25's have the pin labels, you must look close to avoid mistakes...  :police:

LordDamo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 254
  • Last login:December 10, 2008, 04:26:05 am
  • Damn it Jim, im a doctor not a machine . . .
    • The Kinddom of Damo
Re: LPT Switch
« Reply #83 on: January 26, 2005, 04:14:34 pm »
jeez!! :S.... that's why I didn't used a hacked printer cable. I built just everything from start. Remember that DB 25's have the pin labels, you must look close to avoid mistakes... :police:

Is it possible to use a hacked printer cable though? I was thinking of using one to save on the soldering. Im not a wizard at it, so I dont enjoy too much of it in one sitting.

Anyone know any good soldering tutes? LOL
Religious war is like two kids fighting over who has the stronger imaginary friend . . .

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #84 on: January 26, 2005, 04:21:51 pm »
im using a printer cable, it'll work fine....as long as you get your pin #'s right, lol

I butcher all my soldering BTW.  Big globs of metal goo.  nothing asthetic here.

LordDamo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 254
  • Last login:December 10, 2008, 04:26:05 am
  • Damn it Jim, im a doctor not a machine . . .
    • The Kinddom of Damo
Re: LPT Switch
« Reply #85 on: January 26, 2005, 04:31:17 pm »
So, I look at the plug from the side that the cable is <b>not</b> on to work out the pin numbers from the diagram?

Or is this round the wrong way? I just want to be REALLY sure, cause i'd probally do the same thing as you hoagie.

Religious war is like two kids fighting over who has the stronger imaginary friend . . .

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #86 on: January 26, 2005, 04:34:55 pm »
http://www.loop-back.com/rs232_std.html

diagram at the bottom has it listed weather you are looking at the male or female pins

i had it backwrads

LordDamo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 254
  • Last login:December 10, 2008, 04:26:05 am
  • Damn it Jim, im a doctor not a machine . . .
    • The Kinddom of Damo
Re: LPT Switch
« Reply #87 on: January 26, 2005, 04:40:39 pm »
http://www.loop-back.com/rs232_std.html

diagram at the bottom has it listed weather you are looking at the male or female pins

i had it backwrads

Ahh, that makes it much clearer for me, thanks for the link
Religious war is like two kids fighting over who has the stronger imaginary friend . . .

brained

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 467
  • Last login:February 02, 2023, 08:54:08 am
  • Raised by Atari
    • Nux
Re: LPT Switch
« Reply #88 on: January 27, 2005, 08:12:27 am »
anyways, DB25's have the pin numbers in the front, if you look closely you can see them.... that'll save you a lot of mistakes

mame-guru

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • Last login:January 30, 2005, 07:06:13 pm
  • I want to build my own arcade controls!
Re: LPT Switch
« Reply #89 on: January 29, 2005, 05:50:38 am »
Wow I should have told you guys about this before.

I originally used a keyboard encoder (see pic) and a mess of wires to send the inputs to my mame acrade machine. I found the LPT-Switch and made a small circuit board (see pic) to allow all 60ish of the inputs to be availible, in case I wanted to add more stuff later.

The board is the type that has holes in it but no tracks, cheap from most electronics shops. The header bloacks are 10 pin types that used to be used for the serial headers on motherboards.

The work took some time but was worth it in the end. As I have already added some extra features, keys, which would have been a pain in my keyboard encoder days.

Now my next project will be an LCD screen that displays the button configurations, start screens, etc of the game (need suitable multi monitor interface); and/or some nice voice recognition to select games from the menu (limited success so far, using XP's voice stuff). 8)

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #90 on: January 29, 2005, 08:39:23 am »
yours looks alot sexsayer than mine does.  but as long as it works, im fine with it.

quarterback

  • King Of The Night Time World!
  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3089
  • Last login:August 16, 2023, 10:51:41 pm
Re: LPT Switch
« Reply #91 on: January 29, 2005, 01:43:42 pm »
I found the LPT-Switch and made a small circuit board (see pic) to allow all 60ish of the inputs to be availible, in case I wanted to add more stuff later.
...

Now my next project will be an LCD screen that displays the button configurations, start screens, etc of the game (need suitable multi monitor interface); and/or some nice voice recognition to select games from the menu (limited success so far, using XP's voice stuff). 8)

Cool.  Keep us updated on your projects, and welcome to BYOAC!
No crap, don't put your kids in a real fridge.
-- Chad Tower

Trimoor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 596
  • Last login:November 18, 2006, 09:01:46 pm
  • I like shooting out of helicopters.
    • Trimoor
Re: LPT Switch
« Reply #92 on: January 29, 2005, 01:46:53 pm »
I don't suppose anyone can get this working on a non-windows system yet?

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #93 on: January 29, 2005, 06:33:39 pm »
I don't suppose anyone can get this working on a non-windows system yet?

I just built a snes type circuit parallel switch for dweebs0r.  He said he has a way to get it to work under linux.  May want to ask him what prog he's using.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #94 on: February 13, 2005, 01:28:19 am »
Well, I finished re-wiring this tonight, and all teh inputs register correctly.  If I find time tomorrow, I'll rig up a street fighter panel with the LPT switch and see how well it works out.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #95 on: February 20, 2005, 12:50:52 pm »
Rigged up a street fighter panel and it works great.  Smooth response.

I now just have to test the switches that share a common wire to see if there is no interference.  I dont expect there to be because each input registers separatly, but i wot be sure till i put it in a play test.


Trimoor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 596
  • Last login:November 18, 2006, 09:01:46 pm
  • I like shooting out of helicopters.
    • Trimoor
Re: LPT Switch
« Reply #96 on: February 20, 2005, 07:48:18 pm »
Anyone out there willing to port the software to DOS or Linux?  I really hate windows.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #97 on: February 20, 2005, 10:28:25 pm »
Good luck with that....wish i could help ya there.

brained

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 467
  • Last login:February 02, 2023, 08:54:08 am
  • Raised by Atari
    • Nux
Re: LPT Switch
« Reply #98 on: February 21, 2005, 01:29:32 pm »
Hoagie, Did you test the interface?? how it went?

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #99 on: February 21, 2005, 01:55:44 pm »
I just have a couple more tests to run on it to be 100% sure of it, but so far, It works perfectly.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #100 on: February 24, 2005, 03:41:41 pm »
Well, I've done everything i can think of except hook up 60 buttons and hit them all at once.  This thing works great.  I'm just going to neaten up the wires and probably sell it on the buy\sell board.

I dont really need 60 inputs.

cholin

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:July 16, 2009, 09:22:25 pm
    • Nilok Productions
Re: LPT Switch
« Reply #101 on: February 26, 2005, 04:52:44 pm »
If its for sale, how much would it be?

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #102 on: February 26, 2005, 05:10:27 pm »
$35 shipped.  That covers all the parts and some of the time I put into it...just to see if I could do it.

If anyone is interested, let me know.

cholin

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:July 16, 2009, 09:22:25 pm
    • Nilok Productions
Re: LPT Switch
« Reply #103 on: February 26, 2005, 05:20:09 pm »
US im assuming?  You should take a few pictures of how you built it too, it would make a nice tutorial :)

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #104 on: February 26, 2005, 05:33:44 pm »
I drew up a picture of how the connections work.

http://www.susans-spot.com/LPT_Diagram.JPG

Gamecab

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 229
  • Last login:March 06, 2008, 05:34:27 pm
  • Flight Yokes - 9/10/05
    • GameCab
Re: LPT Switch
« Reply #105 on: March 08, 2005, 07:58:25 pm »
Hey,

If I can get enough people interested in this than I can make a circuit board and send out to have a few (Say 25+) produced.  I read this thread today at work and have been thinking about this for the past 5 hours. 

Let me know if anyone is interested, I'm just looking for another fun PCB Project to play around with. 

Also - In order to keep this board as cheap as possible I would say that the buyer would have to buy and install all of the diodes, screw terminals and 25 Pin connection on their own.  At that point I think the boards would only sell for about $5 a board.

Thanks
Charlie
The Flight Yoke Release date is September 10, 2005.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #106 on: March 08, 2005, 09:22:52 pm »
what would be on the board because thats all this switch is..is diodes, screw downs and db25?

Trimoor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 596
  • Last login:November 18, 2006, 09:01:46 pm
  • I like shooting out of helicopters.
    • Trimoor
Re: LPT Switch
« Reply #107 on: March 08, 2005, 09:28:33 pm »
The circuit is so simple I don't see how a PCB would facilitate construction.  Then again, if people buy your LED driver board, there must be a market for it.
You should probably include the DB-25 header.  They can be difficult to find.

I have started on a Linux driver if anyone cares.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #108 on: March 08, 2005, 09:53:00 pm »

I have started on a Linux driver if anyone cares.

awesome

Crazy Cooter

  • Senator Cooter was heard today telling the entire congressional body to STFU...
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2037
  • Last login:April 03, 2024, 03:40:45 pm
Re: LPT Switch
« Reply #109 on: March 08, 2005, 11:11:57 pm »
I have started on a Linux driver if anyone cares.

When did we start spelling DOS
L i n u x ? ;)

One of these days I'll have to pick up programming again.  Where's my box of punch cards...

Trimoor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 596
  • Last login:November 18, 2006, 09:01:46 pm
  • I like shooting out of helicopters.
    • Trimoor
Re: LPT Switch
« Reply #110 on: March 09, 2005, 12:04:51 am »
Punch cards? Slow down there, fancy boy!  Back in my day, we had to hire a bunch of foreign kids to remember a set of numbers, and type them in real fast when we poked them with a pointy stick.

It worked great until one of the kids got electrocuted by the conveniently placed bare power cable.  I kept poking and poking, but he wouldn't move.  Eventually I got bored and left.

Gamecab

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 229
  • Last login:March 06, 2008, 05:34:27 pm
  • Flight Yokes - 9/10/05
    • GameCab
Re: LPT Switch
« Reply #111 on: March 09, 2005, 10:20:24 am »
The circuit is so simple I don't see how a PCB would facilitate construction.
The Flight Yoke Release date is September 10, 2005.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #112 on: March 09, 2005, 10:32:02 am »
im interested in seeing how it looks.  Hey even if you manufactured the board with diodes, I gotta think it will be 60 inputs on the cheap. 

brained

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 467
  • Last login:February 02, 2023, 08:54:08 am
  • Raised by Atari
    • Nux
Re: LPT Switch
« Reply #113 on: March 09, 2005, 11:06:26 am »
I think you should sell the whole kit!! board, diodes, cables, hookups!! :)

*edit* spelling

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #114 on: March 09, 2005, 11:23:44 am »
I think you should sell the whole kit!! board, diodes, cables, hookups!! :)


seriously, might as well make some cash.  These things work fine and for the cost, its gotta be beter than buying an ipac4....cost wize that is.

Gamecab

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 229
  • Last login:March 06, 2008, 05:34:27 pm
  • Flight Yokes - 9/10/05
    • GameCab
Re: LPT Switch
« Reply #115 on: March 09, 2005, 11:41:51 am »
Ok,  You twisted my leg, I'll do it.  I'll let you guys know the rough prices tonight/tomorrow for just the kits.  I just needed a reason to order a board for myself too, but paying $90+ for a single board was just too much money.  The unit cost of 25+ boards is drastically cheaper.
The Flight Yoke Release date is September 10, 2005.

cholin

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:July 16, 2009, 09:22:25 pm
    • Nilok Productions
Re: LPT Switch
« Reply #116 on: March 09, 2005, 04:09:45 pm »
Yeah buying in quantities is better because the company charges you mostly for the designing and silkscreening of boards.  If you have an order of 25 boards, they already have the silkscreen and solder layout ready, so they just produce another copy.  If one board's screening development is $15 then all of the board are usually around $20.

I did alot of research on this as I wanted to develop my little LED driver board (its not what yours is) but once I got down to finding the market and drawing the board out, I got lazy.  I spent a few hours drawing but I can't fit the parts in reasonably without solderring wires all across the board because each input needs two outputs :P  Where do you get these boards done?

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #117 on: March 10, 2005, 01:18:58 pm »

Gamecab

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 229
  • Last login:March 06, 2008, 05:34:27 pm
  • Flight Yokes - 9/10/05
    • GameCab
Re: LPT Switch
« Reply #118 on: March 11, 2005, 10:36:01 pm »
Ok, After a few days of smacking my head against the keyboard I was finally able to produce a LPT board that can use 40 Switches.  I'm shooting for another design to do 60 or better but I'll have to read up on that.  The board itself looks like a web that a drunken spinder may have made after 3 days of playing Maze Craze  ;D.
The boards and all of the parts would come out to around $20 as a sellable kit.  Personally I know you can buy a key wiz for around that price but I just had an itch to create this board.

So my questions are:
1. Do you guys think a market may exist for an LPT board?
2. Do you think an LPT board will perform better than a Keyboard encoder type board.
3. Do you think it's worth it to move forward on production?  I feel like it may be a gamble as I need to order at least 30 boards to get an OK price.

Let me know.

Thanks
Charlie

The Flight Yoke Release date is September 10, 2005.

Hoagie_one

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3062
  • Last login:September 04, 2020, 12:36:28 pm
  • Um....whats a cabinet
Re: LPT Switch
« Reply #119 on: March 11, 2005, 10:49:35 pm »
as far as i can tell, the thing worked great.  but economically, if its not 60 inputs, there are better alternatives.  If you can get teh 60 inputs at $20, or there about, then its worth it, but for 40, I'm not so sure.