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: Basic button wiring question  (Read 1550 times)

0 Members and 1 Guest are viewing this topic.

wackychimp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:June 09, 2005, 02:33:45 pm
  • I'm a llama!
Basic button wiring question
« on: September 11, 2003, 03:00:14 pm »
Hi all,

This is a pretty basic wiring question but, well here goes...

Say I'm using the iPAC4 and have the wires connected to it through it's handy little connectors.  Now the other ends of those wires connect to a bunch of buttons.  But say I wanted to have 1 or 2 sets of wire activate without attaching them to a button -- maybe even by just touching 2 wires together.  Would that still send the same code to the iPAC that would be sent if they were hooked up normally?

Why the hell would I want to do this?  Actually it's a non-arcade related project. ;)


tmasman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 537
  • Last login:January 04, 2024, 03:50:44 pm
  • Hello...
    • My (no so up to date) Home
Re:Basic button wiring question
« Reply #1 on: September 11, 2003, 03:02:49 pm »
yeah... it would work.
All the button switches do is close the circuit between the 2 wires.
I'm not a freak!...
Oh wait...
Yes I am...

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Basic button wiring question
« Reply #2 on: September 11, 2003, 03:15:57 pm »
Hi all,

This is a pretty basic wiring question but, well here goes...

Say I'm using the iPAC4 and have the wires connected to it through it's handy little connectors.  Now the other ends of those wires connect to a bunch of buttons.  But say I wanted to have 1 or 2 sets of wire activate without attaching them to a button -- maybe even by just touching 2 wires together.  Would that still send the same code to the iPAC that would be sent if they were hooked up normally?

Why the hell would I want to do this?  Actually it's a non-arcade related project. ;)
Not sure if you get the picture or not.

codes are not set TO the I-PAC, the I-PAC sends codes TO the PC.

Running a straight wire from an I-PAC terminal to ground will generate an apparent stuck input (a constantly depressed corresponding key).

Of course you could use any kind of switch in place of the button and have it work, if that is what you mean.

Also, key repeat in PS/2 mode is only enabled on the J1 Up and J1 Down inputs, so wiring across the P1 SW 5 inputs will produce a held-down Z key, not Z   Z  Z  Z  Z, etc.
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

wackychimp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:June 09, 2005, 02:33:45 pm
  • I'm a llama!
Re:Basic button wiring question
« Reply #3 on: September 11, 2003, 04:27:16 pm »
Thanks!

Yeah, I know that the iPAC sends the code, but the completion of the circuit is what causes this.  I'm just wanting to know if I can use "anything" to complete the circuit.  

So let me get this straight:  Having the wire that comes out of the iPAQ touch a ground wire will cause the circuit to complete and the iPAC to send the appropriate key press.

Right?

tmasman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 537
  • Last login:January 04, 2024, 03:50:44 pm
  • Hello...
    • My (no so up to date) Home
Re:Basic button wiring question
« Reply #4 on: September 11, 2003, 04:56:15 pm »
right.
You can use any conductive material to complete the circuit between the ground wire & a signal wire.
« Last Edit: September 11, 2003, 04:57:52 pm by tmasman »
I'm not a freak!...
Oh wait...
Yes I am...

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:Basic button wiring question
« Reply #5 on: September 11, 2003, 07:00:08 pm »
BTW, having an input wired directly to ground is not a good idea, it would be a better idea to wire it to a switch so it can be turned off.  It sounds like that is one of your ideas.

wackychimp

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:June 09, 2005, 02:33:45 pm
  • I'm a llama!
Re:Basic button wiring question
« Reply #6 on: September 12, 2003, 10:52:46 am »
BTW, having an input wired directly to ground is not a good idea, it would be a better idea to wire it to a switch so it can be turned off.  It sounds like that is one of your ideas.

I don't think it would be constantly wired to the ground.  It'll just be set up to contact the ground wire on keypress.