It seems like the false input or "magic" credit" when using Coin Acceptors on Raspberry Pi doesn't have a solution.
-
Re: Coin Acceptor giving (false) positive input
Well, after reading quite a few posts regarding this topic, I see no one has been able to provide a concrete solution to this problem. I have the same issue, tried different things and so far, I haven't solved it. Can someone please provide a concrete solution to this issue?
Summary of what I see on my end: I bought a multi coin acceptor from AliExpress. Mine came with 5 wires. 2 of them hooked to the 12v 1.5Amp transformer, coin and counter wires to the encoder, and 5th wire unused. At first, I spliced the wires on my 3pin cable that connects the select button to the zero delay encoder and joined the coin and counter wires from the coin acceptor. The power wire that feeds the LED was left intact.
Got what I wanted, to either add credits pressing the select button or when adding the type of coin I programmed in the Coin Acceptor, but the issue I see in many posts happened to me as well. This is a false, random input. In other words, every so often, a "magic" or "ghost" credit will be added, as if I pressed "select" or inserted a coin. I also experienced the screen turning off for a couple of seconds, in a random pattern and occasionally the display of the Retropie menu that has the options to restart or shutdown Retropie, as if I was pressing the start key in the Retropie game screen browser.
A few extra details: 1) When I turn off the AC transformer of the Coin Acceptor, none of the problems are shown, so normal behavior is seen when just using the "Select" button, but I want to be able to use the coin acceptor. 2) Just in case there was an issue with hooking to the same slot of the encoder the Select button and the coin acceptor, I changed the wiring so ONLY the coin acceptor would be hooked to the 3pin slot on the encoder meant for the "Select" function, and hooked the old "Select" button, with it's own 3pin cable to a different slot, and assigned a different junction, so no more "Select" anymore. The result was the same, screen going off for a couple seconds, and "magic" credits being added every so often.
So, it seems like the zero delay encoder is "reading" some false inputs from the Coin Acceptor, as if I was adding credits, but it's also producing the other weird behaviors I described.
Final note. For hooking the coin acceptor to the encoder, as the 3pin wires that connect the buttons to the encoder are 26 gauge, I used a couple of Cat5 wires for reaching from the Coin Acceptor to the spliced area of the 3pin wires. I read that Cat5 wires are usually 24 gauge, so unless I shouldn't have used Cat5 wires to travel the input signal from the Coin Acceptor to the encoder, I have no idea why I am getting the problem I described.
Could someone please provide a concrete solution to this issue?
I appreciate your help.
#coinacceptor
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.