Pages: [1]   Go Down
Author Topic: Gaming Machine - Coin slot  (Read 1071 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just got a CH-268T coin slot and I'd like to get it working with the arduino but I'm not sure how.
I'm not sure how to get the N.C or the N.O signal into the arduino.

This is the user guide for the coin slot.


User Guide:

(1)Replace yellow plastic token to the correct coin as wish to accept in sampling clamp.

(2)Adjust diameter-rail of lid for preventing bigger invalid coins from inserting.

(3)Drive screw of lid-wing if coin thickness more than 2.5mm.

(4)Connect loom to host machine as following lines guide :


White line—(N.C. signal)

Green line—(N.O. signal)

Gray line—Counter (Meter)

Yellow line—inhibit/low(<+1V)

Red line—PowerDC +12V

Black Line—Ground (GND)


(5)Switch Time Duration for correct triggering of coin acceptance if necessary.

    Long duration of Pulse : 100ms

    Common duration of Pulse : 50ms

    Short duration of Pulse : 20ms

(6)VR tunning for sensitivity of coin acceptance.

    Turn clockwiste (+) for slack acceptance.

    Turn anti-clockwise(-) for tight acceptance.
Logged

Danger Boy
Offline Offline
Edison Member
*
Karma: 14
Posts: 1108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It sounds like all it is is a SPDT switch - NC is normally closed, NO is normally open.  You can go either way, but the real problem is that it sounds like it is +12V, you can't connect that directly.  Test the NC line with a multimeter and see what the voltage is.  If it is 12V, I would connect the NO through an optoisolator, to the Arduino.  So I would consider something like this:

https://www.sparkfun.com/products/9118
Logged

I have only come here seeking knowledge. Things they would not teach me of in college.

Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Does it have to be an optoisolator? Also is it something similar to a voltage regulator where it reduces the 12v to something like 3v?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok so I connect it and it beeps but when I connect the multimeter most of the non power related wires are showing .01 volts i believe. The yellow wire shows 5 volts.
Logged

Danger Boy
Offline Offline
Edison Member
*
Karma: 14
Posts: 1108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok so I connect it and it beeps but when I connect the multimeter most of the non power related wires are showing .01 volts i believe. The yellow wire shows 5 volts.

Your documentation says this (edited down):

White line—(N.C. signal)
Green line—(N.O. signal)
Black Line—Ground (GND)

So if you power this device and put the multimeter probes on black and white and then black and green neither one registers a voltage difference?  That doesn't make sense to me, they way I read that data, there should be a voltage there.  I guess try both and have it accept a coin while you have the multimeter connected and see if it produces a pulse, though a multimeter is not the best tool for this because that pulse is going to be short.

I mentioned an optoisolator because it isolates as well as converting levels.  Any level converter will do, you can use a cheap transistor, but you don't get the isolation.
Logged

I have only come here seeking knowledge. Things they would not teach me of in college.

Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So I found this youtube video of the coin acceptor I bought.



Apparently people use it to differentiate between copper density in pennies. Any idea if this would work for an arcade/slot machine? Which was my original intention. To have something accept a coin and then tell arduino that the person payed.
Logged

Pages: [1]   Go Up
Jump to: