I'm using the MAYFLASH F300 Elite arcade stick and it has a USB port so I'm wondering if anyone has come up with a way to add some kind of a coin button or even a real coin mech that way? I don't think any of the other buttons are right for COIN.
COIN mapping ideas?
-
- Posts: 41
- Joined: Tue Jan 11, 2022 1:43 am
- Has thanked: 24 times
- Been thanked: 1 time
-
- Posts: 41
- Joined: Tue Jan 11, 2022 1:43 am
- Has thanked: 24 times
- Been thanked: 1 time
Re: COIN mapping ideas?
Now that I think about it, you'd want to connect the extra COIN button/mech to USB on the MiSTer, not USB on the controller.
-
- Posts: 41
- Joined: Tue Jan 11, 2022 1:43 am
- Has thanked: 24 times
- Been thanked: 1 time
-
- Posts: 10
- Joined: Fri Feb 04, 2022 12:13 pm
- Been thanked: 1 time
Re: COIN mapping ideas?
Really funny you should post this, I've got the F300 elite and I've recently Macgyvered (or perhaps, Mickgyvered) exactly such a setup.
I've put a Pro Micro inside the F300 and wired it up to work as a Daemonbite Arcade controller. There's a usb breakout on the Pro Micro that hijacks the regular usb cable of the F300.
The Select pin and Ground on the Pro Micro are then wired up to the female USB.
Then I have a cheap generic Coin Acceptor with a male USB cable that is wired up to deliver the COIN line and Ground into the Pro Micro, via that female USB port on the F300.
I'm very happy with this solution! In principle it should work still the same with the stock PCB if you solder it to the "Select" pins on the board and sacrifice the functionality of the female USB but don't quote me on that.
-
- Posts: 10
- Joined: Fri Feb 04, 2022 12:13 pm
- Been thanked: 1 time
Re: COIN mapping ideas?
misterrocks wrote: ↑Tue May 23, 2023 5:44 pmNow that I think about it, you'd want to connect the extra COIN button/mech to USB on the MiSTer, not USB on the controller.
In addition to my other reply, as far as I'm aware it isn't currently possible to use two devices as the same player input, which forced my hand in adding the functionality to the stick itself rather than the mister (which would be much better - perhaps someone else has a workaround)
It should be possible to wire up the coin acceptor as "Player 2" for the sole purpose of adding credits but although my solution is a little convoluted, file under "if it's dumb and it works it's not dumb"
-
- Posts: 41
- Joined: Tue Jan 11, 2022 1:43 am
- Has thanked: 24 times
- Been thanked: 1 time
Re: COIN mapping ideas?
Wow! I'd love to see photos if you get a chance.
You mentioned a "cheap generic Coin Acceptor with a male USB cable". That coin acceptor comes with USB output? If so which one do you have?
-
- Posts: 10
- Joined: Fri Feb 04, 2022 12:13 pm
- Been thanked: 1 time
Re: COIN mapping ideas?
I'll get some photos together when I can, absolutely!
It's just a standard cheapo coin acceptor (JY-100F) with the usual 12v, ground, coin and counter wires.
12v and Ground go to their own external power supply.
Coin and ground are DIY soldered to a USB cable with the sole purpose of using two of the USB pins to connect coin and ground to the Pro Micro. It has no USB functionality of its own - very much the same philosophy as SNAC, not real USB, just borrowing the connector to form a circuit.
I also have a 3.3v zener diode between coin and ground to regulate the current
Re: COIN mapping ideas?
I don't know if it would fit that stick, but I was considering one of these: https://www.amazon.com/Atomic-Market-Cr ... 07XXCX889/ Although I have the Hori Rap N, which has a good height to it, and sides that go straight down rather than angled like the Mayflash.
-
- Posts: 41
- Joined: Tue Jan 11, 2022 1:43 am
- Has thanked: 24 times
- Been thanked: 1 time
Re: COIN mapping ideas?
Nice idea. You would replace one of the existing buttons on the controller? Need to solder it internally?
-
- Posts: 10
- Joined: Fri Feb 04, 2022 12:13 pm
- Been thanked: 1 time
Re: COIN mapping ideas?
Since my last reply I've had a slight change of plan and picked up a mechanical coin acceptor mechanism from AliExpress. It's designed for USA quarters (which I have a small batch of) but I found that it also accepts UK 10p coins too, which are almost identical in size.
Once I've had time, I'll get this all wired up properly and will share pictures. A mechanical mechanism is better imo, super reliable and no zener diodes or PSUs required (unless you want it to light up)
-
- Top Contributor
- Posts: 921
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 432 times
- Been thanked: 194 times
Re: COIN mapping ideas?
homerghost wrote: ↑Fri May 26, 2023 5:21 pmIn addition to my other reply, as far as I'm aware it isn't currently possible to use two devices as the same player input
This is being addressed. If you follow the github link, you can download a MiSTer ZIP file and have the functionality right now. viewtopic.php?p=74120#p74120
I have found the best thing to use for my coin door is a keyboard. This always seems to work. I have an aruduino that sends keypresses just for the coin door and front buttons on my arcade cabinet.
Re: COIN mapping ideas?
Are the keypresses standard across all arcade cores?
(i.e. 1,2 for 1P/2P start, 5,6 for coin 1/2)
-
- Top Contributor
- Posts: 921
- Joined: Mon Jul 06, 2020 9:37 pm
- Has thanked: 432 times
- Been thanked: 194 times
Re: COIN mapping ideas?
Not necessarily. I pretty much always map them. I have an extra dummy button because when mapping the first thing it asks you is to press Right. This wakes it up and lets you skip the rest of the questions until you get to the ones that apply to the coin slots and start buttons, etc.