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: Yet another Coinslot plea  (Read 2839 times)

0 Members and 1 Guest are viewing this topic.

Jukecade

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:September 04, 2017, 04:39:18 pm
Yet another Coinslot plea
« on: June 19, 2014, 02:30:11 am »
Hi
I know this has probably been asked before but am struggling to find the answer i can understand.

I want to wire a Coin slot like the china ones you see on e-bay etc which has a 9/12v pulse to a hacked joypad ("select button') so when a coin is inserted the pulse is like pressing the select on the joypad. I know i have to do something with a relay but I believe the ampage coming from the coinslot is not enough to trigger a standard relay. I guess you can use a ?transisters but I cant understand how a a transister with 3 legs can trigger a separate  lower powered circuit. I think a transister needs 5+volts where I guess a joypad uses 1-3.5volts.

Please help

Thanks you
Jukecade - The Jukebox for your MAME Cabinet

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9673
  • Last login:Today at 08:17:53 am
  • Designated spam hunter
Re: Yet another Coinslot plea
« Reply #1 on: June 19, 2014, 09:58:52 am »
First question: Is your gamepad an active-low or active-high device?

Most encoders are active-low (connect ground to the input to trigger the output), but the ZD encoders are active-high.  (connect 5v to the input to trigger the output)

Measure the voltage on a daisy-chained trace (common to more than one button) -- ground = active-low, 5v = active-high

If your gamepad is an active-high device, check out this thread.

If your gamepad is an active-low device, wire it up like this with 12v to the recognizer and coin signal/ground connected to your gamepad.



The reverse-biased zener diode is there to regulate the 12v from the coin recognizer down to 5v -- use a zener diode rated for the voltage that your gamepad uses.

You may need to adjust the sensitivity or program the recognizer depending on the model you are using.   :dunno


Scott
« Last Edit: June 19, 2014, 10:15:18 am by PL1 »

Jukecade

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:September 04, 2017, 04:39:18 pm
Re: Yet another Coinslot plea
« Reply #2 on: June 30, 2014, 02:07:47 am »
Thank you for this reply. I'll see what the voltage is and see if I can work it out. I'm pretty scared of blowing up my pc trying to figure this out. :-\
Jukecade - The Jukebox for your MAME Cabinet

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re: Yet another Coinslot plea
« Reply #3 on: June 30, 2014, 07:26:33 pm »
Hi
I know this has probably been asked before but am struggling to find the answer i can understand.

I want to wire a Coin slot like the china ones you see on e-bay etc which has a 9/12v pulse to a hacked joypad ("select button') so when a coin is inserted the pulse is like pressing the select on the joypad. I know i have to do something with a relay but I believe the ampage coming from the coinslot is not enough to trigger a standard relay. I guess you can use a ?transisters but I cant understand how a a transister with 3 legs can trigger a separate  lower powered circuit. I think a transister needs 5+volts where I guess a joypad uses 1-3.5volts.

Please help

Thanks you

Why not just use a mechanical one like this instead. No hook up worries at all.

http://www.ebay.com/itm/Coin-door-single-slot-for-Arcade-Jamma-Game-coin-selector-acceptor-validator-/251537685821
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

oldschoolgamer21

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:August 03, 2014, 07:41:39 pm
  • I want to build my own arcade controls!
Re: Yet another Coinslot plea
« Reply #4 on: July 06, 2014, 03:33:16 am »
Did you get this going jukecade.. If not I can help you wire up a transistor with a relay.. very simple to do..

Jukecade

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:September 04, 2017, 04:39:18 pm
Re: Yet another Coinslot plea
« Reply #5 on: December 22, 2014, 02:07:41 am »
Did you get this going jukecade.. If not I can help you wire up a transistor with a relay.. very simple to do..

sorry its taken so long to reply but I've ben busy with other things and this arcade plan had to take a back burner. I would be overjoyed if you can help give me a simple wiring diagam to get this working. I have tried the so called local 'eletronics experts' here but as soon as I tell them I DONT want the coinslot attached to a timer board they simply dont understand what i mean ???. Also does not help when I'm not a local here and tryig to get myself understood is very tricky! I tried the jukeblaster idea of using the coin counter wires to trigger a 12v relay but there does not seem to be enough voltage to trip it. so that failed.

Please help. I would be so grateful :applaud:
Jukecade - The Jukebox for your MAME Cabinet

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9673
  • Last login:Today at 08:17:53 am
  • Designated spam hunter
Re: Yet another Coinslot plea
« Reply #6 on: December 22, 2014, 10:41:10 am »
I would be overjoyed if you can help give me a simple wiring diagam to get this working. I have tried the so called local 'eletronics experts' here but as soon as I tell them I DONT want the coinslot attached to a timer board they simply dont understand what i mean ???. Also does not help when I'm not a local here and tryig to get myself understood is very tricky! I tried the jukeblaster idea of using the coin counter wires to trigger a 12v relay but there does not seem to be enough voltage to trip it. so that failed.
If you're using a 12v coin recognizer to drive a 12v relay, you don't want the 5v Zener diode in the diagram above.

Wire it like this with an optional 12v snubber diode (there might be one built into your relay -- you'll need an external one if you have relay "chatter") and the "ZD encoder" wires connected to the gamepad.



If you're not familiar with relays, here is a tutorial.   ;D


Scott

Jukecade

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:September 04, 2017, 04:39:18 pm
Re: Yet another Coinslot plea
« Reply #7 on: January 07, 2015, 12:17:25 am »
ok

wiring the relay directly to the coin signal and ground seems to work but now I have another issue.
The coin slot thing only sends a 160ms pulse but the program i am using  with it only polls the joypad (which the coinslot replay is attached to closing the "select" button") every 500ms. I need some sort of circuit that will hold the pulse for about half to a full second.

any ideas anyone?

thank you
Jukecade - The Jukebox for your MAME Cabinet

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: Yet another Coinslot plea
« Reply #8 on: January 07, 2015, 02:07:56 pm »
Monostable or "One Shot" or Pulse Extender Circuit

http://www.555-timer-circuits.com/monostable-555.html

Since the output goes high when triggered you will need an inverter on the output to get the opposite effect.
An inverter is typically a single gate the produces a NOT signal.  Should work at 5V logic levels.