Arcade Controller - Button/USB Question
-
@TMNTturtlguy said in Arcade Controller - Button/USB Question:
The led buttons have 4 wires, 2 for the button, 2 for the light, just don't light the button.
Do the 5v ones have 4? Looking at the ones in the link, I only ever see 2 at any time... though it does say comes with 20x3-wire connectors for each button, I guess 1-wire is ground, and the 4th prong on each button get daisy chained together?
Non lit buttons for sure would make things way simpler and easier...
So hub wise... I have a power supply direct to the Pi, and a power supply to the Hub... then I guess the USB on the hub goes into the pie, and Box2 when in use will plug into the hub. Will that affect the button mapping? or when I use Box2 and plug it in, will RetroPie remember it and it's button settings? Having Box2 intermittently used, I'm still unclear if Pie will save the settings or will I have to remap every time?
I only have a PS3 controller right now so, can't test a 2nd one to know how it remembers it. Plus Bluetooth so may work differently.
-
@THRobinson The easy get controls/buttons you have a link to on ebay is exactly the same set I have. the buttons come with a 3 pin connection to the pi board itself, the 3 pin connection has 4 wires, 2 blacks, a red and a yellow. There is no daisy chaining. I have a picture of the button below. Here is a link to a video showing the buttons as well.
As far as how to set up the controls and the usb hub. The usb hub connects to the pi, that is the only thing you connect to the pi. All your other controllers connect to the hub. So your main box controls will connect to the USB hub as well as player 2. The pi will have no issues reading the controllers from the USB hub and unplugging the controller should be no different than powering off a wireless or bluetooth controller, if there is no power, the PI won't recongize it, but as soon as the controller is powered, or plugged in, pi will read the controller. You may have to make sure you plug the player 2 box into the same usb port each time.
What I would do:
- Get the non lit buttons! ebay
- If you really want LED buttons, get the USB hub, get a surge protector power cable. Put the surge protector in your first player main box and plug the pi and the USB hub into that. Have the power cord come out the back of your machine, and now you only have 1 thing to plug into the wall to power both power supplies.
- Get a usb extension cable. Plug the first player usb into the usb hub. Plug the usb extention cable into the USB hub and mount the other end to the back or side of your Player 1 box. Now the player 2 usb is always plugged into the same port on the hub. You simply plug the player 2 box into the mounted port on the payer 1 box and everything is good to go!
-
eBay seller just responded when I asked about connecting to the Pi... if using two controllers each USB port will provide 600mA... response was...
Actually it's enough for the kit.
We just need 500mA for the encoder to support power for the led push buttons.Not really leaving a lot of wiggle room but, they say it should work to light up the full kit which contains 20 LED buttons.
That said, I've been looking at the non-LED Seimitsu smoke grey buttons. I was gonna go blue/red and design a top all Tron looking and have it printed, but been seeing a few nice natural wood ones with smokey grey buttons that look pretty nice as well.
Been doing the diagrams online, getting accurate measurements of the PCB boards, RaspPi, buttons, joystick plate, etc... getting stuff laid out for placement and fitment. Half the fun at the arcade as a kid was all the lights, but, between the two forums and the eBay seller, it seems 50/50 if lights would work or not.
If both PCB boards take 500mA each to run the controls/lights... power supply provides 2.5A... that leaves I guess, 1.5A for the Pi itself... ? I know it was stated that Pi running emulation would need more than 1.5A... not sure how much more but I guess it's pushing it.
Is there a way to put resistor on the LEDs so they use half power, and only go half as bright? Just spitballing ideas....
In case I forgot, this was the kit I emailed the seller about
http://www.ebay.ca/itm/172110639584?ul_noapp=trueRight now, I'm trying to price out the parts I need from a couple of online store for Arcade parts, vs these kits off eBay... may boil down to price/availability.
Though, these buttons are sweet... lit or not
http://www.ebay.ca/itm/Arcade-Machine-DIY-Gold-LED-Push-Button-Cables-Arcade-Joystick-USB-Encoder-/172442227572?var=471284284690&hash=item28265b9374:g:QeEAAOSwnHZYTmBr -
@THRobinson again, I wouldn't plug anything you know is going to draw additional power into the Pi itself. The reason the power supply was made with the additional volts and amps is so the Pi3 can get everything it needs. Sure, you could try it, but I wouldn't. Better to design a solution that gives everything to the Pi so you don't run into undervoltages.
-
@THRobinson Per the documents on this site, A pi 3 could use up to 1.5A of current. There is always voltage drop across wires, and many power supplies will drop their voltage as the current draws reach their top limit (again, this can be found in the documents on this site, or anywhere online when researching power needs/amps/voltage), so you typically will not get a full 2.5A out of a 2.5A source. So on paper you are correct, if the Pi uses 1.5A at its highest use, and 1 set of controls uses .5A and you have 2 controls running, you are now running at a full 2.5A. If there is any imperfection in your connection or cabling and/or you experience typical voltage drops, you are now under powered and will have issues with your pi not running well/under performing, and possibly getting the lightning bolt symbol.
-
Ya I think sadly I'll just forget the LED's... else Box1 with 2 adapters and a USB hub will be a bit crowded and I suspect a bit heavy.
I suspect cell chargers with 2 USB slots would be the same deal where if both in use each gets half the power.
That YouTube video above... I noticed in his comments that he was having power issues with the LED lights on the Pi, same kit. Not sure if he was using a 2.5A or 2.0A supply. I messaged to see if ever got it sorted out but ya, given that (someone who made an arcade system with the parts in question) I suspect it's a HUB or non-LED buttons.
Big part of this build idea is to have something that can sit in the lap, simply because we have no coffee tables. To keep cables down, I'd have to have 1 power going in, and internally have a small 2-port power block with an AC adapter in each plus a hub, which I think would be heavy, crowded, and possibly a bit hot inside, especially on a warm lap with your hands on top... would almost need to add an 80mm fan at the back to suck heat out.
non-LED would be fine I think... bit warm but not too bad I hope. maybe where the Pi gets mounted, drill some vent holes underneath for a bit of air?
-
Another question, hopefully a quickie...
Looking at these... Neutrick USB ports... because will make the external plugs much easier to do and cleaner to look at.
Unfortunately, if you go to their site it says gender changing, so you'd assume USB female one side, male the other, and it lets you reverse that. But no... it's a female USB on one end, and a female USB-B on the other, the square printer cable type.
I figured, the connection between Box1 and Box2 I can use a heavy/thick printer cable. Should work out, have the USB female end inside the Box2 to connect to the PCB board USB, and on Box1, the connection inside would be the square plug... but was able to find a 6" cable for that.
I assume that will work.
What I'm wondering though... is for power. I don't think I can find a USB-B to Micro for inside the box so may have to face the square end out and buy a new adapter that simply has a USB port on it. If I do that... will it work with a printer cable for power? I assume so because square or flat or micro... it's still a USB cable.
Upside if works, you can get long/thick printer cables pretty easily and cheap, though only need about 2m/6' for both.
-
@THRobinson I have that USB port on my cabinet. Works great, but designed to be used with a corresponding Netrick hole. My cab has a pair of holes in one of the recessed plates (roadcase) but you could easily measure and drill. It is a hefty port for sure. Very strong.
As for the USB cabling behind it, this got a bit out of hand in my build, so since I posted my project, I have gone back and soldered up custom USB cables for everything. I bought mini, USB-A and B, and micro plugs, shielded 4-conductor usb wire and heatshrink to make all of my own USB cables. The side benefit is that I have been able to make some paracord cables for personal use as well as repair a bunch of lightning cables. SO, the USB components have definitely come in handy.
I think Ultimarc or Groovy Game Gear has a corded USB port that is a little lighter than the Netrick.
-
@THRobinson I would go for a more simple solution for USB ports, you would have to see if you could get this delivered to you. Stick with standard USB cables this way. amazon For power I would simply run the power through the box and not provide a plug point. If you wanted to have a power supply plug i would use one of these, however they don't have mounting screws amazon.
Per your previous post, i am concerned about the weight of this box on a lap. What are you building the box out of? 1/2 or 3/4 MDF? that stuff is heavy. The monitor will also be heavy for a lap, a 15" desktop flat monitor has a lot of weight when you sit it on your lap, they are heavier than a laptop. Combine that with the box and controls, this is going to be bulky and heavy. How do you intend to play the joystick and buttons on your lap, the controls will end up being very close to your stomach and hard to use, and if this is sitting on player 1's lap, how does player 2 view the screen if setting next to them? Not trying to ruin your plans, just asking some questions. Maybe a quick sketch might help us better understand your ideas for the build. Thanks
-
@caver01 said in Arcade Controller - Button/USB Question:
@THRobinson I have that USB port on my cabinet. Works great, but designed to be used with a corresponding Netrick hole. My cab has a pair of holes in one of the recessed plates (roadcase) but you could easily measure and drill. It is a hefty port for sure. Very strong.
Ya... seems like heavy duty stuff and I saw a few images of it mounted from the inside, but I didn't want to drill into the wood and have it at what looks like about 1/8" thick ... instead I may use a dremel/router and inset it at the back 1/8"... though likely I'll get lazy on that part and just screw nail it in and call it a day. :D I had a few ideas for the external ports, but for the price, this is as cheap and way easier. Just drill holes and slide it in, screw and done.
Soldering actually would make things easier I think, cleaner and tidier for sure. Shame those Neutricks didn't have just solder joints one one end. I'll check those two other sites out.
@TMNTturtlguy - I was originally looking at those same panel mount cables on eBay. China was cheap, price triples in N.America but lately my luck has been so bad with China stuff that I won't buy from there, especially off eBay/Amazon. Plan was a small metal plate on the back screwed in, hole for the port, and bolt the plug to the plate.
Monitor idea is gone... previous plan was a small bar-top, but shifted to a 2-box controller... Box1 has all the buttons and RaspPi and plugs into the TV HDMI to play... if a 2nd player wants to play, they connect to Box1 via USB and Box2 only has the basic buttons and a PCB board inside. 90% of the time Box1 will be used for solo play. Original idea was to design graphics and make it out of 1/2" MDF with glued in braces inside for screws. Having gone to school for design, that would have been fun to do and have printed on vinyl. But, now I am thinking nice quality 1/2" hardwood, clearcoated with the smoke grey buttons and smoke grey bubble ball top, and prob red 24mm buttons at the rear for the aux buttons and two on top for coin/player to add some colour.
I know, easier solution is 1 box, and 2nd player can use the PS3 controller via bluetooth but, lets face it, arcade buttons and joysticks are more fun.
I have a sketch I am working on now in Illustrator. Been printing it out and pretending it's real to get a placement I like. Spacing is all sorted for buttons/joystick... think it was a Sega layout and moved the joystick left another inch or so, just debating overall size of the box now. I have placeholders to scale of the PCB board and RaspPi and the plate size of the joystick so I can sort out where things will fit so hopefully when done it's straight forward.
I don't have it here with me (at work... working very hard) but can post it later.
Laptop wise, I hear ya... control box isn't ideal in the lap, but, no coffee tables, may have to pull up a chair or stool to the couch, I dunno... kind of a 'too bad' factor for that because no room for a full cabinet like I wanted, bar-top is cool but also a storage issue when not in use. Coffee table wise, we just don't want one. Be tripping over it constantly.
When no one around and just me, I'll be at my TV (not the family room one) in which case I'll be in a lazy-boy with the feet up... should be fine in that situation.
-
@THRobinson How are you connecting to the TV? Are you going to try a wireless hd connection? or are you still planning on a wired HDMI? Have you thought about simplifying the entire build and just putting the raspberry pi in a case next to the TV and then build 2 really nice arcade control boxes? This way the pi is portable and can plug into the wall and TV cleanly. No issues with weight or cooling. Then just get usb extension cables so the control boxes can be located further away from the TV. Now you have nice light weight control boxes and get rid of all of the cost and complexity of putting the pi inside of control box 1. There are a ton of cool design builds for this out there. If you want to take the system with you, it is just one small extra piece to carry the pi itself.
-
Back of Box1 will have 4-24mm buttons recessed so not accidentally pressed... plus two ports on the left... one for the USB power, and a female HDMI. Then I'll just get a good quality long HDMI cable to plug in at both ends (Box1 and TV).
I have the RaspPi now in a small case, typical free kit case. Nice that it's so small, but also kinda dumb... too small/light and never stays put when plugged in and cables moving.
I debated what you're saying... box at the TV and 2 ports for USB at the front. Then make 2 identical controllers, but, then you now have 3 boxes not 2. Less portable IMO, because if just 1 player, you have 2 boxes, an HDMI cable, a USB cable for power and a USB cable for the controller, instead of 1 box and a power/HDMI cable.
Upsides/downsides to both really... if I went 3-box... I'd have to build a new Pi box. That plastic little case is just too light.
Then again, separate box means that the LEDs are back in play.
Dammit TMNTturtleguy... now I gotta go back to debating again. :D
-
@THRobinson SORRY! Just trying to throw out some ideas and ask some questions, I have about 4 builds going of various shapes and sizes and have already done all the homework you are doing now! Just sharing what I learned so you can get the best custom box that meets all of your needs! I am sure whatever you decide to do, it will turn out great. Another thing you might want to look into is the guys on here that make retro boxes in old NES and SNES consoles. They have great ways of wiring ports and connections from the pie to the case so they look almost exactly like the old 80's 90's boxes, sometimes you can't even tell they have been modded! They do the soldering as you have suggested, you might learn some things from their builds. @japanwings
-
@THRobinson I like your interactive planning here. I know it is ultimately your decision what to build, but it is fun to collaborate. I have a friend who wants something similar to what you are building, so going through the design iterations is a great exercise that probably benefits other readers as well.
Arcade controls in your lap is a bit of a contradiction in some respects, but I can see how it might work. However, you need to be thinking about how it will feel to have both a USB and an HDMI coming out the side. Seems like that HDMI might have the tendency to come out, while a micro USB grips a bit better. We use laptops at work with HDMI connected for meetings and I gotta tell ya, you don't really want to move them around too much--and that's on a table, not your lap!
Finally, cords coming out the side seems like a hinderance. It depends on your chair, but I can see this rubbing against chair arms, hitting your knees etc. while a cord coming out the back, toward the TV would me more conducive to "arcade controls in your lap". Just two more cents for ya. Take it or leave it, but a fascinating project.
-
@TMNTturtlguy haha, no worries... I'm in the planning phase which is why I like using forums... you get other ideas and hopefully avoid headaches on stuff like this.
Staring to think, the more elaborate my idea gets, the more wires and cables get involved and lost the LED lights. Basically, a 3-box setup would be like having an NES system again more or less. Plus I gain the LED option again, which is the absolute least important part of the build, but also fun. Plus I can add that mausberry (or similar) shutdown button to the console.
Put inside the box the RaspPi, a powered Hub, I also have a new 80mm PC fan sitting in a box at home I bought for a case but never used. Put some venting in the box. Maybe use an adapter to the USB hub if enough power?
Modify a USB bracket on the front for USB cables. I still like the idea of having USB cables that can be removed on both ends.
Only factor that I can't change... is being in the lap. Maybe bring the dining chairs out and use as tables... otherwise, no options there. Else I'll be at IKEA for hours debating a coffee table, that I'll then have to bring around with me depending which room I play in. :D
Well... time to ponder... re-price some parts... then wait a month for everything to finally show up. :D
-
@THRobinson I like this plan a lot! Seems a lot cleaner. I think if you just have a single game pad on your lap it will be prefect! The box won't be to big so sit on your lap and play. I also like this idea because you can easily expand to 4 player with either 2 more joystick boxes, or other controllers. Lot of flexibility. Can't wait to see some photos!
-
Well... may be a while depending on parts shipping. Other purpose of this project is that I use to really love wood working, then when my folks moved and downsized, that nice big garage of tools was no more. So, I haven't really gotten back into it in 25yrs. Usually stuck fixing the cars. :D
So... be a while for photos... if no photos... then my wood shop skills have declined too much for me to want to brag about my work. :D
Box on the lap I think will be fine... may even work better if I go wide but thin... don't need a box 8" high, just enough for wiring and buttons at the back edge. Wide and deep would be more stable on the lap, then drop some weight making it thin.
Oddly... not finding as many LED buttons as I had hoped on the few sites I'm looking at. eBay/Amazon has a lot of light up kits, decent price, all China no name brands. I was originally going for the Seimitsu PS series in Smoke. Guess that series has no LED option on focusattack.com. I'm in Canada and found a few Canadian sites for parts but annoyingly, everything I click on has 0 stock or I need 12 and they have 5, etc... always good to buy local, if local has stock that is. :D
Ah well, when at home I'll search some more. Hard when at work. I'd like to stick with 1 brand if I can so that colours and styles match. Seimitsu or Sanwa... never used either before so no preference.
-
@THRobinson just an FYI - not sure how amazon works in Canada? I am a prime member and I got the Easyget LED buttons in 2 shipping days. They are from china, but they are stocked in US warehouses and available for US prime members in 2 days. The buttons are popular, so sometimes there is a note that states there may be a few day delay.
-
Not sure... Amazon.ca is as bad as eBay.ca lately.
I contacted an eBay seller a few days ago. Item said located in Texas, but shipping was free from China. I live about 1.5h from the border to the USA, but because I am not in the USA, they won't ship from the Texas warehouse, rather it will come in from China.
Amazon... ordered stuff as a part of an Xmas gift, Oct 27... eta was Dec 9, no prob... Feb 9th it finally showed up, about 2 weeks after I finally gave up and repurchased the items locally at about 3x the price.
NewEgg is the same... actually just got a refund today. Bought a cheap 32GB SSD drive to use as a boot drive for my HTPC. $20... faster and quieter than my old HDD. 2 weeks over due, just given a refund because MIA. I actually emailed the seller to find out where it's shipping from and they said China but assured me 8-15 days... that was a month ago.
Never had bad luck until the past year.
That said... the parts total has jumped up a lot... hopped onto eBay and the buttons I want are only sold by China sellers, same sellers are also on Amazon.ca so, doesn't matter which way I go. I ended up flooding them with questions though. Buttons I want are sold in sets of 10, I need 12... another set has 1 player, 2 player and coin, but need another coin button. No sizes, so, not sure if 30mm or 24mm... few cases they show the Zero Delay PCB board in a kit, but when you click the images, the board is different in one photo than the other... so sadly, had to email like 6 of them for details and suspect most of the replies won't make much sense. :D
Cases I decided I'll head to the dollarstore. See what they have. Last I was there, they had some nice 1/2" thick Bamboo cutting boards, where it's all nice strips glued together as a single board. Thinking top/left/right would be nice in that, then the front/back maybe a darker wood, like cherry lightly stained? This weekend I'll be wood hunting.
Likely the top surface will be a light wood, like bamboo or beach... so the smoke grey seimitsu buttons would look nice. Otherwise those smokey grey/blue with gold rings would look nice too all lit up with the matching coin/player buttons, though maybe too much bling with the gold and such.
-
Got a nice idea sorted out, got a nice plan for the box using various strips of different wood such that the strips integrate with the buttons, etc... should be good.
Lot's of eBay replies today, most nonsense and most unhelpful. Opted to just forget the LED's and get a better brand of buttons and such. The Seimitsu PS series, was going to go Sanwa, but buttons don't have the threaded body which for wood, would be the better option. The clip in ones are fine for acrylic/metal tops but will wear the wood down eventually and pop out.
So... ordering parts tonight I think (really adds up when I see the exchange rate, but again I tried 5 Canadian sites and stock is just horrible).
Just to clarify... back to the USB thing. Since having no LED lights, would I still need a powered hub? Doesn't make the build harder just a bit pricier. Plus, I've avoided hubs for years simply because back when they were new, I remember how many issues they had... use the mouse and keyboard quits, plug in a memory stick and mouse quits. I just want to make sure that when plugging in the joystick boxes I'm making, that the RaspPi doesn't get confused and makes me remap the buttons every time. That's the one thing I don't think was ever answered in this thread... does RetroPie save the config file for the controllers and remembers the setup, even when a controller is intermittently used/plugged in.
Again, not a harder build with a hub, just more costly. If I do use that 80mm fan I think the hub is a must again, but if no fan just a few vent holes... non-LED controls should be fine without a hub, right?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.