The Maker Show: Episode 10 - Adding a Coin Acceptor to Your Arduino Project

Play The Maker Show: Episode 10 - Adding a Coin Acceptor to Your Arduino Project

The Discussion

  • User profile image

    All new coin, note acceptors use the ccTalk protocol, which is serial. Can arduino support it?

    Also, in order some one to develop ccTalk he/she has to sign an NDA (non disclosure agreement), so I presume arduino which is open source doesn't support ccTalk.

  • User profile image
    Curtis craig

    Loved your guide to programming a coin acceptor. Hated your finger nail polish. Sorry. I learned a lot about Adriuno IDE code and plan to convert a Seeburg LCD1R jukebox to eleminate the old 1964 technology(not worth rebuilding) with an Adriuno to control the latching solonoid and a Raspberrp PI to play the songs. Been searching a lot on the Web and can't find any useful information about a conversion. Keep up the good work and I hope to see more of your posts.


  • User profile image

    Great code , I would like to convert an old jukebox I have here but need both the credit in and credit out, so if I insert 2 coins but only press the start button once, I still have one credit left in memory, same for 2, 3 4 coins, each time I want it to subtract a credit from the memory.
    Let's say I insert 4 coins each coin would light the credit LED, if more than one credit the LED stays on, when there are no credits in memory the LED goes off.
    How can I modify the code to do that function.

  • User profile image

    I tried this but whenever I start the arduino, I am not inserting a coin but it kept on counting..

  • User profile image
    Happy to help

    If you're having problems with erratic counting when no coin has been entered, this seems to do the trick:

    "Now if your using a different power supply for the Coin Selector to the Arduino, you must connect a common Ground. So the Red wire from the Coin Selector connects to +12V of the supply and the Black wire to ground of the supply AND to ground of the arduino.
    Note: USB will NOT power the coin selector."

    P.S. Thanks for this great code - you've saved my daughter's science project!

  • User profile image

    if you watch closely at ADAFRUIT's videos for the piggy bank, you'll see that you only need the power supply to only program the coin acceptor,,, after that all of it is wired to the arduino.. no point in having 2 power supplies to make a coin bank or any other unit,, just my 2 cents.

  • User profile image

    You CAN connect the 12v coin acceptor AND arduino to the same power supply. you NOT need a separate power supply for each.. Arduinos have built-in 5v regulators.. You simply need one of these:

    and you connect both the arduino and coin acceptor via the adaptor she is showing..

  • User profile image

    you also can use a Dupont Male connectors and housings instead of wasting money on screw shields..

  • User profile image

    I am having a HECK of a time trying to get this guy setup. I'm starting to feel as though I might have a defective unit. Anyway, I have everything wired up, and I programmed the coin acceptor unit so that when I put a token in, it is registering as "10" on the display (which I assume to mean 10 pulses).

    When I go to open up Serial Monitor though, I drop a token in, and nothing happens - it just continues to say: "0 cents toward current credit and 0 credit(s) earned so far." Why is it doing this? Any suggestions would be greatly appreciated.

    Furthermore, is it possible to use a Pro Micro for this project instead? Since it has the ability to "type" commands, I would like it to send a signal each time a credit should be added to my video game (where normally a key on the keyboard would be pressed).

    Thank you in advance!!

  • User profile image

    do you have an arduino code using a multi coin slot accepting 6 variety of coins (1peso old, 1peso new, 5peso old, 5peso new, 10peso old, 10peso new)and to display the amount and sum of the coins inserted using a tm1637 segment display?

  • User profile image

    bonjour je suis étudient en gêne électrique . et envoie avec dans ma email (

  • User profile image

    Hello guys,help me to write a program for a smart water tap that will be based on the insertion of a defined coin. i.e 5,10,20

  • User profile image

    thanks for this great video tutorial

  • User profile image

    please some one help me, I bought a coin-acceptor (accept 09 type coins) and i programmed it just for 06 coins
    coin 01 --- represent 05 DA represent -----> 01 pulse
    coin 02 --- represent 10 DA represent -----> 02 pulse
    coin 03 --- represent 20 DA represent -----> 04 pulse
    coin 04 --- represent 50 DA represent -----> 10 pulse
    coin 05 --- represent 100 DA represent -----> 20 pulse
    coin 06 --- represent 200 DA represent -----> 40 pulse
    each 05 pulses = 05 DA
    the problem when i insert a coin it give me a random numbers in the serial monitor (not exactly ) pls where is the problem ? and thanks a lot

  • User profile image

    Hi! Arduino sometimes reads as pulses the noise that the Coin acceptor throws. Și, when You insert Coin You get one pulse and a lot of noise. You need to add a ariable and add the condition If cents>0 make the variable go +1, and then make cent=0. You also nead to put a 250 delay after led goes low. And now, If You get impulse and noise ..IT doesn't matter...constant goes only +1. This ia how i did IT. I'm shore there is an easyer way. IT just an ideea.

  • User profile image
    Que linda que eres y gracias x el codigo Saludos desde Ecuador

Add Your 2 Cents