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: Led Button Wiring for mame cab.  (Read 10369 times)

0 Members and 1 Guest are viewing this topic.

sham69

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 149
  • Last login:June 12, 2015, 06:03:44 am
Led Button Wiring for mame cab.
« on: March 09, 2009, 05:50:37 am »
Hi,
I am putting some finishing touches to my mame cab that I have been tinkering with for the past 7 or 8 months.
I decided a while back to use some led buttons mainly just for 1 and 2 player, exit, pause etc not the actual action buttons.
I thought this would be pretty straight forward so gave it a go yesterday.
Here's what I did.

I used my 1 player button to start.
I used some spare ground wire that I had from the harness that I got from my ultimarc ipac.
I took the power from my pc using the red wire (+5 volts), joined it with the harness wire and conencted it to the button using the quick connects (already on the wiring).
I got nothing?
I tried grounding it and still nothing.
What am I doing wrong?
I bascially just want 4 buttons to stay lit the whole time (1player, 2 player, exi and pause)
Do I need software to get them to light?
Can someone suggest the best way to do this please?
I got the buttons on ebay with the leds already attached.
I was thinking of trying some electric ice buttons if I get my current setup working.
Any help/advice appreciated as I am not good at electrics at all.
Thanks
Sham.
« Last Edit: March 09, 2009, 06:26:29 am by sham69 »

surface tension

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 01, 2018, 08:45:48 am
  • feel the tension...
    • surface tension tables
Re: Led Button Wiring for mame cab.
« Reply #1 on: March 09, 2009, 08:40:57 am »
Sham

Do the LEDs already have an integrated resistor... does it say "5V" on them?

I'm sure you would have noticed them glowing too bright (though not for very long!) if they weren't ready to go.

So, you are connecting 5V to one contact on the LED and 0V to the other, right? Did you try swapping them round too?


sham69

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 149
  • Last login:June 12, 2015, 06:03:44 am
Re: Led Button Wiring for mame cab.
« Reply #2 on: March 09, 2009, 09:30:33 am »
Not sure about the resistor to be honest, will have to check when I get home.
I first tried the 5v to the contact and it didnt work so decided to try the ground aswell (read somewhere that I don't need to use the ground) and still nothing.
Tried swapping them around aswell.
The wire I am using is jioned in a few places so could be that.
I am going to try again when I get home.
Thanks for the reply I will check the resistor thingy..
Sham.

surface tension

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 323
  • Last login:July 01, 2018, 08:45:48 am
  • feel the tension...
    • surface tension tables
Re: Led Button Wiring for mame cab.
« Reply #3 on: March 09, 2009, 11:15:22 am »
I'm not sure where you read about not needing a ground, but conventional current must flow from +V ot 0V. You will need two connections per LED.

Remove all links in the cable and locate the LED/switch by the power source. Build up a little confidence with how it works, then you can get building/wiring.

If you are attempting any wiring, then a multimeter is extremely useful. With your current setup, you'd have been able to check that joined wire for continuity, as well as look for 5V across that wire and ground. You'll be able to pick one up for under a tenner.

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: Led Button Wiring for mame cab.
« Reply #4 on: March 09, 2009, 11:44:35 am »
You say you got LED buttons.  Can you say what type they are so we know what contacts and wiring is used on them.


sham69

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 149
  • Last login:June 12, 2015, 06:03:44 am
Re: Led Button Wiring for mame cab.
« Reply #5 on: March 09, 2009, 04:14:35 pm »
Sorry I was a bit vague.
I got them on ebay, they have 2 connectors on them and had a microswitch attached when I bought them with the usual NO, NC and Common.
find picture attached...
Thanks all for the help.
Sham.

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: Led Button Wiring for mame cab.
« Reply #6 on: March 09, 2009, 08:04:10 pm »
Cannot tell what button by your pictures maybe someone else has seen them.   Without any other info I can guess that they have 2 terminals for the light (LED).  If you do not get them to light with 5V and ground (try both ways if no luck in one direction).  They might be 12V lights (different resistor). 

sham69

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 149
  • Last login:June 12, 2015, 06:03:44 am
Re: Led Button Wiring for mame cab.
« Reply #7 on: March 11, 2009, 08:19:14 am »
Thanks all for the replies and advice.
I will try your suggestions once I get a chance and report back.
I can't see a mention of 5v on the button or led anywhere so not sure if I will need a resistor.
Thanks all.

Franco B

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3766
  • Last login:February 15, 2024, 09:14:06 am
Re: Led Button Wiring for mame cab.
« Reply #8 on: March 11, 2009, 09:16:20 am »
Couldn't you have posted some bigger pics?  ;D

Are they Ulimarcs Ultralux buttons?



If so they are availiable in 5v or 12v versions. Was there no documentation with them or info in the ebay listing?

If they are not Ultralux buttons I would guess that they have resistors in them already by looking at them. They 'should' be 5v or 12v too.

Try them with 5v first. Connect your red lead to one LED terminal and the black to the other LED terminal (NOT the microswitches terminals). If it doesnt light switch the leads over. If it still doesnt light (or is very dim) then do the same thing but with the yellow 12v cable and black ground.

Once you have them working you will need to wire them in parallel to your PSU.

Also, on a side note, make sure that your PSU is outputting power. If it is a ATX PSU you may have to short the green sense PS ON wire and the black ground wire next to it from the main motherboard header other wise the PSU may not turn on. This is a 'safe guard' to stop the PSU turning on if the header is not connected to the motherboard.

You can either splice the two wires together or make a wire jumper to connect them like this:



You can insert the jumper from either side.

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: Led Button Wiring for mame cab.
« Reply #9 on: March 11, 2009, 09:19:46 am »
If your buttons are made for a specific voltage they typically will have the proper resistor inside.   If there is no resistor and 5V or More is applied the LED may flash brightly once and not work again.  My guess is still 12V with the resistor inside since you got no light at 5V.

Franco B

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3766
  • Last login:February 15, 2024, 09:14:06 am
Re: Led Button Wiring for mame cab.
« Reply #10 on: March 11, 2009, 09:41:10 am »
12v is my guess too but I wanted to make sure he is using the right terminals on the LED/switch and that the PSU is outputting power. It may still be 5v if he is using the wrong terminals or the PSU isnt giving juice.

If you can, use a multimeter to check the output from the PSU.

Once you have verified that you have power I would try the 5v first using the correct LED/switch terminals. If you have no luck with that then they must be 12v so use the yellow 12v.

To make sure you are using the right terminals remove the microswitch from the bayonet fit LED holder. That will leave you with the two terminals you need to use (the two on the LED holder).

sham69

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 149
  • Last login:June 12, 2015, 06:03:44 am
Re: Led Button Wiring for mame cab.
« Reply #11 on: March 11, 2009, 10:53:10 am »
thanks again for the replies lads.
Don't think bigger pictures would have helped as there is no marking anywhere on the button or the bayonet, there is the usual marking on the microswitch.
I got no instructions or info on the buttons, I saw them cheap on ebay and jumped on them without knowing much about them.
Should have done some research first I guess...
I might be still ok though. I will try the 5v first and take it from there.
Cheers.

sham69

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 149
  • Last login:June 12, 2015, 06:03:44 am
Re: Led Button Wiring for mame cab.
« Reply #12 on: March 11, 2009, 10:59:08 am »
I don't believe it.
The 12volts worked.
Its really bright and looks great, thanks guys.
I don't know what I would do without this site..

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: Led Button Wiring for mame cab.
« Reply #13 on: March 11, 2009, 01:01:19 pm »
Glad to hear you got it working.   ;D

Franco B

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3766
  • Last login:February 15, 2024, 09:14:06 am
Re: Led Button Wiring for mame cab.
« Reply #14 on: March 12, 2009, 02:49:37 am »
 :applaud:

Glad it worked out for you  :)

sham69

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 149
  • Last login:June 12, 2015, 06:03:44 am
Re: Led Button Wiring for mame cab.
« Reply #15 on: March 12, 2009, 10:05:07 am »
Sorry guys, need some more advice.
Now that I have this working, how difficult would it be to buy some electric ice buttons and get them lighting.
I was looking on the groovy game gear site and they sell the buttons and the leds seperately.
Is it a big deal to install the led's in the buttons?
Would I need extra stuff or would they be setup like the ones I have working at the moment.
Thanks again.

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: Led Button Wiring for mame cab.
« Reply #16 on: March 12, 2009, 10:38:17 am »
The electric ice buttons have a hole for the LED to press fit into.   Buy the LEDs from GGG and the resistor is supplied to connect to 5V.  Note this is 5V not 12V that works with your current buttons.

sham69

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 149
  • Last login:June 12, 2015, 06:03:44 am
Re: Led Button Wiring for mame cab.
« Reply #17 on: March 12, 2009, 11:00:27 am »
Thanks BobA,
So it would be easy enough even to an amateur like me?
The buttons I got are grand for admin, player 1, exit etc but not for action buttons as they are flat.
I like the curved buttons (not sure what you call them) for playing games so want to get some that light up.
Cheers for the reply.