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: Help With Analogs and LEDs  (Read 1954 times)

0 Members and 1 Guest are viewing this topic.

Mrephunk

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:July 17, 2012, 12:56:47 am
Help With Analogs and LEDs
« on: April 22, 2011, 06:23:27 pm »


Help With Analogs and LEDs

    Is there any way to get the analogs to work on an arcade stick? My reasons are that I have noticed a lot of the xbox arcade games require the analogs and not the dpad. If I make this cabinet I would want it to work with a couple other arcade games as well.

    Also, how hard is it to make the pushbuttons LED lit? I would be using a Xbox360 padhack, if someone could point me in the right direction it would be great


Donkbaca

  • Our reptillian overlords would be pleased
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2648
  • Last login:May 09, 2012, 06:28:10 pm
    • Slim built MAME/Xbox cab
Re: Help With Analogs and LEDs
« Reply #1 on: April 22, 2011, 07:25:05 pm »
I know if you use madcatz sfiv pads, they have a switch that let's you have the dpad register as th dpad, the right analog stick, or the left analog stick. The sticks will be recognized as the left stick, but they will not be analog, they will just be on and off.  As far as I know, there is no way to get a analog arcade stick to be compatible.

As for LEDs, are you using a name pc? Or just the xbox? If its just the xbox you can use the 5v on the controller, but it's a constant 5v so he buttons would light even I the xbox is off

Mrephunk

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:July 17, 2012, 12:56:47 am
Re: Help With Analogs and LEDs
« Reply #2 on: April 23, 2011, 07:10:44 am »
I was planning on just using the xbox, but I dont want the buttons lighted all the time. What would I have to do to get them to work properly?, Either on on pressing the, or just on when the power is going to it

Mrephunk

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:July 17, 2012, 12:56:47 am
Re: Help With Analogs and LEDs
« Reply #3 on: April 27, 2011, 05:30:09 pm »
anybody?

Donkbaca

  • Our reptillian overlords would be pleased
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2648
  • Last login:May 09, 2012, 06:28:10 pm
    • Slim built MAME/Xbox cab
Re: Help With Analogs and LEDs
« Reply #4 on: April 27, 2011, 05:33:43 pm »
Okay, here is one way to do it, might not be the best.

Get a 5v or 12v wal wart, and a smart strip.  Plug the xbox into the main of the smart strip, the wall wart into one of the controlled sockets.  Power the lights with the wall wart.

The other way you can do it is if you desolder the SMDs on the controller and solder your lights to those, but that would be really, really hard, probably need a steady hand, good desoldering tool, super thin iron, and some 30 gauge wire.

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Help With Analogs and LEDs
« Reply #5 on: April 27, 2011, 05:52:18 pm »
The XB360 uses USB for its controllers (and, sadly, will pretty much disown any "standard" USB gamepad), so you can just grab 5V from the VBUS connection in there.  It'll only have power when the device is plugged in and powered up.  Use LEDs with integral resistors for 5V or size your resistors for 5V, and you're good.  Shouldn't be too hard to find and tack down to that 5V line.  No tiny iron or AWG30 wire needed.

Donkbaca

  • Our reptillian overlords would be pleased
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2648
  • Last login:May 09, 2012, 06:28:10 pm
    • Slim built MAME/Xbox cab
Re: Help With Analogs and LEDs
« Reply #6 on: April 27, 2011, 05:54:32 pm »
The 5v on usb is a constant 5v, even when the xbox is off.  At least on the pads I hacked

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Help With Analogs and LEDs
« Reply #7 on: April 27, 2011, 06:02:14 pm »
Gah, I guess everybody wants to charge batteries and do remote wake-up these days.  That's...fricking annoying.

There are various tricks to make the buttons light up when pressed if you prefer that behavior.  The "easiest" solution involves a bunch of diodes, but there are other options, many involving a single transistor per lamp.

If you can find some sort of indicator on the controller as to whether it's "powered up" or not, you can use that as a signal to switch the lights on/off.  A smart strip seems like total overkill but is likely to work given how much of a power hog the XB360 is.

Of course, you could always just unplug the darned thing when not using it.  Seems like the easiest option, to me :)