Main > Main Forum
problem with coin slot
dys:
will this work?
|------ +
coin slot |------ coin signal ------------->>> serial port
|------ -
i tried to use PNP transistor and also a opto isolator to send +5v to CTS of the serial port, but with no success. the pulse that the coin slot produce is just not enough to drive the transistor. can i directly connect the coin-signal wire to CTS?
NoOne=NBA=:
What are you using to interface everything else?
The easiest way to interface a coin mech is via the keyboard encoder, or the controller hack.
dys:
--- Quote from: NoOne=NBA= on December 09, 2008, 09:09:09 pm ---What are you using to interface everything else?
The easiest way to interface a coin mech is via the keyboard encoder, or the controller hack.
--- End quote ---
--- Quote from: NoOne=NBA= on December 09, 2008, 09:09:09 pm ---What are you using to interface everything else?
The easiest way to interface a coin mech is via the keyboard encoder, or the controller hack.
--- End quote ---
I realized you can't just connect the coin-signal wire directly to the serial port. Thanks for pointing out that one. We need at least to connect also the +5v so it'd work. And I dunno where to hook the +v5.
Problem with keyboard encoder, I called every electronic store in our area and it appears they haven't heard anything as keyboard (usb, ps2, serial) encoder :banghead:
But NoOne=NBA=, thank you for bringing up the keyboard encoder. Maybe this keyboard encoder will really solve the problem. I'll put more effort to find them.
While this forces me back to the transistor, relay, opto coupler, IC, approach (?)
|------ + CTS
coin slot |------ coin signal -------------|< <<<----- is transistor or IC or relay (?)
|------ - +5v
Anyone please.
Franco B:
It would help if you posted what coin mech/controller it is.
Thenasty:
The cheapest and quick way would just be using a SERIAL MOUSE, then just load the Driver and in MAME Config, set the Coin INPUTS (mouse buttons). :afro: