Hey,
I’d really appreciate some advice on a project that I’m right in the middle of.
I’m trying to get a coin-mech (single-coin comparator type used in arcade machines) to work with the arduino.
The wiring harness for the mech is as follows:
grey line: counter (+/-)
red line: DC +12V
White line: Coin Signal
Black Line GND
grey Line: counter (+/-)
The spec sheet for the mech states that the timer Switch, for synchronising the system has three options:
100ms
50ms
30ms
OK… from what I understand i would need to use the White Line to ascertain when a correct coin has been inserted - counting the pulses, I believe…
Firstly, I haven’t been able to work out the code for this, and.
Secondly, I think I blew one of the input pins by putting the line straight into my arduino - I now understand that I should use a zener diode with this line, or perhaps a pulldown resistor. is this correct?
Many thanks for any advice!
steve_w:
I’d really appreciate some advice on a project that I’m right in the middle of.
Sounds more like "in over your head"
I’m trying to get a coin-mech (single-coin comparator type used in arcade machines) to work with the arduino.
That's ok. We'll just guess at which coin mech you've got.
The wiring harness for the mech is as follows:
…
Doesn't make a lot of sense..
The spec sheet for the mech states that the timer Switch, for synchronising the system has three options:
Whaaaaa???
OK… from what I understand i would need to use the White Line to ascertain when a correct coin has been inserted - counting the pulses, I believe…
Well, you must have the datasheet then, 'cause nobody else does...
Firstly, I haven’t been able to work out the code for this, and.
This *SHOULD* be straight forward, so what HAVE you worked out the code for?
Secondly, I think I blew one of the input pins by putting the line straight into my arduino - I now understand that I should use a zener diode with this line, or perhaps a pulldown resistor. is this correct?
A zener diode or a pulldown resistor?
2 vastly different methods of accomplishing 2 different things, neither of which make much sense…especially without seeing a…anyone…anyone…yes, that’s right…a DATASHEET! Yay!
Hilarious. You are such a clever and helpful person. Another fabulous forum.
Please flame on.
Steve:
Skimask’s response was a bit over the top, but if you think about it, your questions don’t make much sense to anyone on this forum. Here are some hints about how to get useful answers. If you follow these you will find people very willing to be helpful.
What coin detector do you have (post a link to the data sheet)? How have you hooked it up (post a schematic diagram or a photo of your setup)? What code have you tried and what actually happened (use the ```
Jim