Retropie coin acceptor
-
Hey guys,
I'm planning on building a coin operated arcade machine.
I already bought this button set (https://www.amazon.de/XCSOURCE®-Controller-Joystick-Raspberry-AC488/dp/B01LAUYCXE/ref=sr_1_10?s=lighting&ie=UTF8&qid=1502971441&sr=8-10&keywords=arcade+stick) and it works just fine.
Now I'm looking for a coin acceptor and i found this one: https://www.amazon.de/Elektronischer-Münzprüfer-Geldspieler-Arcade-Spiel-PY-100F/dp/B017H0AS2K/ref=pd_sbs_60_2?_encoding=UTF8&psc=1&refRID=E9KYS074QE3S3GA3Q5F5My question is now, how can I connect the 4 cables from the coin acceptor to the usb encoder or the raspberry pi?
Do I need female-to-female wires which i then connect to the GPIO Pins from the Raspberry Pi?Thanks for the help,
erodad -
@erodad Check the documentation on what functions the 4 wires play. Im guessing that 2 of them are live and ground for power. Check the input voltage and power it accordingly. Even if it runs on 5v, i suggest running it on it's own power supply.
My guess for the other 2 wires is that they likely act as a momentary switch, shorting when a coin is inserted. If this is the case, one wire could be directly connected to the input on your keyboard encoder that corresponds to COIN, the other to the common ground.
This is all just speculation, I'd read into the product a bit, but i can't read german, haha.
-
Let me know if you can add a coin drawer to all my electronics for when my kids use them :)
-
@ohmycommodore said in Retropie coin acceptor:
Let me know if you can add a coin drawer to all my electronics for when my kids use them :)
I second this idea! hahaha, my boys are getting into everything lately
-
@capeman thanks for your answer :)
The usb encoder has those plastic plug in stuff, but the coin acceptor got only loose wires, so how can i connect it?
Or should I buy female-to-female wires and connect it directly to the raspberry pi GPIO pins? -
What kind of encoder are you using? Typically encoders use screw terminals, but if you are using one reminiscent of the zero delay board, you can either order the male end of the plug off ebay from china and attach it to the coin op's bare wires... or just solder the wires directly to the pins in the female end of the plug on the board. As long as you're making an electrical connection, method of connection doesnt really matter.
If your connecting to the GPIO, then you get into needing an application for running keyboard or controller commands from GPIO, and that can be a bit complicated. You're best off just wiring it to the control encoder...
BUT, you will want to make sure the coin op unit recognizes the coin input as a simple momentary button press, anything more complicated might require some extra steps.
-
@capeman I'm using this one: https://www.amazon.de/XCSOURCE®-Controller-Joystick-Raspberry-AC488/dp/B01LAUYCXE/ref=sr_1_10?s=lighting&ie=UTF8&qid=1502971441&sr=8-10&keywords=arcade+stick
It has 2 pins in every plug in "station" and since the coin acceptor got 4 wires, I think it might not work.
Or is it possible to solder 2 wires in one plug-in-station and the other 2 wires in another plug-in-station?
I'm completely new to this whole hardware related stuff :D
Sorry for my english btw. :D -
@erodad Did you get this going? This is my exact question.
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.