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: IPAC LEDs and cvj  (Read 945 times)

0 Members and 1 Guest are viewing this topic.

hmy1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:August 03, 2010, 08:21:02 pm
  • I'm a llama!
IPAC LEDs and cvj
« on: January 18, 2004, 05:23:20 pm »
Are the IPAC inputs 1B7, 1B8, and 2B7 supposed to register if the LED's are active? That's what I'm seeing in the IPAC's test mode (and my programs) when the num, scroll, or caps locks are enabled. A lot c's, v's, and j's.

I know these pins are bi-directional, but because of these spurious keys I guess I have to disable these keys in my programs. I'm also guessing that using these pins as both LED outputs and button inputs is out of the question? Or am I doing something wrong?

Thanks,
Howard

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:IPAC LEDs and cvj
« Reply #1 on: January 20, 2004, 10:48:34 am »
Are the IPAC inputs 1B7, 1B8, and 2B7 supposed to register if the LED's are active? That's what I'm seeing in the IPAC's test mode (and my programs) when the num, scroll, or caps locks are enabled. A lot c's, v's, and j's.

I know these pins are bi-directional, but because of these spurious keys I guess I have to disable these keys in my programs. I'm also guessing that using these pins as both LED outputs and button inputs is out of the question? Or am I doing something wrong?

Thanks,
Howard
I didn't quite follow your question, unless you mean with a pass-thru keyboard, in which case I'm not sure.

Here's what I am sure of:  The LED's should flash to reflect the status of the keyboard port LED's as follows:

Num Lock - P1 Button 8
Caps Lock - P1 Button 7
Scroll Lock - P2 Button 7

The LED that is wired to P1Button 8 will also flash whenever P1Button8 is pressed during gameplay.  You can minimize the effect of this by assigning P1Button8 as Start1, and assigning the Start1 terminal to an action input.

The pins should work as both button inputs and LED outputs but the wiring is not straight forward.  For the inputs, you wire just like any other button input.  For the LED's you wire from a +5V source, either on the I-PAC LED header, or the motherboard PS, through a LOW CURRENT LED and a series voltage dropping resistor, and back to the P1B8 (P1B7, P2B7, etc.) terminal.

Also, see http://www.fraggersxtreme.com/arcadepanels/encoder/#I-PAC LED Considerations
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.

hmy1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:August 03, 2010, 08:21:02 pm
  • I'm a llama!
Re:IPAC LEDs and cvj
« Reply #2 on: January 20, 2004, 11:14:28 am »
Sorry, to clarify: I was testing my IPAC and did not have 1P7, 1P8, and 2P7 connected to anything. I observed that if a program activated any of the LEDs (or if I did so myself via an attached keyboard), I would get these spurious c, v, and j's registering.

I had an offline conversation with Andy (great guy) yesterday and we suspect the culprit is the 6' DB25 cable I'm using to connect my IPAC to my swappable CPs. The long twisted wires could create a capacitance effect that may result in the spurious inputs.

When I connected my LEDs and buttons and the problem went away. Works great. I am using 1B7, 1B8, and 2B7 as both LED outputs and button inputs.

My local Fry's didn't have any DB25 cables shorter than 6' when I was there last weekend. They may not carry any, in which case I'll make my own to test.

Howard

Brad Lee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 619
  • Last login:May 26, 2005, 11:39:04 am
    • 666
Re:IPAC LEDs and cvj
« Reply #3 on: January 20, 2004, 12:47:35 pm »
Id say try it with as short of a cable as you can. Im using 50pr wire and havent experienced any of the problems like you say, or from the other threads about inconsistent/random problems of this nature

From my Ipac/Optipac to my wiring block is ~12"
From the wiring block to the amp connector(similar to db25 or centronics) is another ~12"
The 'tail' from my CP(ending in the other connecter) is another 12" of twisted & sheathed wire, before I split it up for individual connections to the joysticks and buttons

Thats a minimum of 3' of twisted 50pair wire, and aside from flaky buttons, Ive not had goofy problems