How do I get these Led Arcade buttons to light up?
Thanks everyone for the reply's, @Lurker I will probably use the 2nd or 3rd option as I am to lazy to buy a USB encoder. Thanks again guys :)
retroprogrammer last edited by retroprogrammer
@Lurker also if I went with the 2nd option, how would I make a daisy chain for this arcade build, or even how do I make a daisy chain in the first place?
Lurker last edited by
It is not very difficult and you can do it without soldering, but you will need to buy some raw material to work with.
You will need:
some people salvage Cat5 wire. It can be useful particularly if you want to set up connection ports to plug and unplug equipment, but it is also delicate. Probably the thinnest wire you would want to work with. And if using Cat5 wire I would solder it to make sure it does not pull free.
You can buy a spool of way more than you need pretty cheap in various gauges. I would draw the line at 18 gauge though. For these button wires 18 gauge is thin enough to work but thick enough to not bend out of the way well.
Colors are up to you but they will help spot which is which IF you are consistent.
My Die Hard explosives have no red or blue wire just various shades of pink. "McClane move the dusty rose aside, crimp the bubble gum pink and then cut the blush pink wire." "NO!!! not the fuscia!!" BOOM... "Muha ha ha"
Female Spade connectors
2.8mm or 4.6mm I can't remember which off the top of my head but measure the width of a pin and it will tell you which one.
You can get the variety sets online as well.
This is the part that connects to the usb board. check the size before you order online as the little 1.25mm look just like the larger ones you need. The number in this case is the distance between the two pins on the usb board connectors. Again 2mm something I think.
You only need one or two but it is easier and cheaper to get a 10-20 set online.
These will usually come with lead wire but you can get them on their own if you really want to build your own. The little contacts these use definitely need to be soldered to hold correctly which is why they often come with leads.
Not critical but it does make cutting the wire, stripping the ends and crimping the spade down easier and all in one tool.
"But wait there's more!...huh?...oh. I'm being told there isn't more. That is all they do. Cut, Strip or Crimp"
The set up.
Cut a length of wire (long enough to connect to the JST connector and the USB board later).
Strip the end of the length you cut and the end of wire on the spool.
twist both together and set in the end of the spade.
(IF you want to use the little rubber covers you will slide them over the wire before you put on the spade and then slide them over the spade after it is crimped) I always forget and thus hate this part. I hate it so very much
Crimp down the edges so both wires are held down by the spade end. (You can solder this for a stronger connection but not required IF you crimp it well enough)
With the wire still connected to the spool run out enough wire to reach the next button with a little slack and repeat the process for as many buttons as you want to chain together.
The end result will look like this:
You will create a chain for both pins of the JST connector (IE one for +5 volts and one for ground)
add an on/off toggle switch to the ground daisy chain and you can control the lights independent of everything else.
Lastly you will connect the loose end of each chaig to one of the wires of the JST connector so they can connect to the USB board. Whether you solder or rig on another spade connection with a male and female spade is up to your skill level.
Be sure to test which pin on the USB board is ground and which is the 5volt so you get it correct on the LED pins.
Measure with a volt meter or trail and error on one button.
You can power all the LEDs of Player 1 and 2 off one USB board by making one long chain with + and ground. Or you can make a daisy chain for each player connected to each player's USB board. That's up to you.
If you want to get really fancy, there is a great tutorial here https://andrewdupont.net/2017/06/26/nostalgia-tron-part-7-led-control/ on how to control the leds individually. The guy who created it has a system set up that will only illuminate the buttons that work on a particular game, including the software hacks. It's on my list of things to do once my cabinet is fully up and running.
ChuckyP last edited by ChuckyP
@douga haven’t read your link. But there’s a program called LED blinky that will do the same thing. Works great with my Hyperspin setup.
Edit: should have read fast but didn’t think i was going to be sitting here so long. 😁
That is a great write up and I wish I would have had such an in-depth article to follow back in the day.
Yeah, the whole 11 article write-up is excellent. I plan to implement a few of his less obvious details when I get to the end of the basic stuff. I especially like the way to power up and down the rest of the components when the Pi boots up/shuts down.
@DougA will this work with my button controller though?
I am thinking of making my Led buttons to work with a arduino like this video:
Yes. You would use your current usb encoder with the connections for the button itself, and the led connectors would connect to the other interface. That is basically what is done with the setup,shown in the link - buttons through the I-PAC and leds through the other interface.
Clyde last edited by