Are you trying to make a quick dime from electronics? Why limit yourself to dimes? This coin acceptor will take up to 6 different kinds of coin! Whether you’re building your own arcade cabinet or just charging admission to your house, this programmable coin acceptor makes it easy to monetize your next project.
The sensors in this coin acceptor use the thickness, diameter and fall time of the coins to identify them and it’s fully programmable so you’re not limited to any particular type of currency. Simply use the buttons and 7-segment display on the side of the unit to select a coin profile, insert a bunch of coin samples (or the same one, over and over) then designate the value. After you’ve programmed the coin profiles, simply read the serial output of the coin acceptor and it will tell you the value of each coin as they’re inserted. It reports these values as binary bytes and the baud rate is selectable on the unit.
This coin acceptor also has a coin reject, so your controller can tell the coin acceptor not to take any more coins, as well as a (very loud) alert beeper. All you need to get the coin acceptor working is a pocket full of change, a 12VDC supply and somewhere for the change to fall after it’s accepted.
So maybe you won’t get rich building your own vending machines but access control using different sizes of tokens might be cool, or even a virtual vending machine where you can buy MMORPG items. There are a ton of cool coin-operated projects just waiting to be built!
The demo video did not use Arduino code. Nick just connected a USB-to-serial converter to a 6-coin acceptor (calibrated with different samples for the coin denominations). By opening a serial terminal connected to the COM port (with the setting 9600 baud, 8-none-1-none), Nick was able to view the output when a coin was recognized.
If you are using a 5V Arduino microcontroller, you could check if there was serial data sent from the 6-coin acceptor’s UART with a serial passthrough sketch => [ https://learn.sparkfun.com/tutorials/xbee-shield-hookup-guide#example-communication-test ]. The code was designed to pass serial data from an XBee (connected to the software serial pins) to the serial monitor. Just make sure to connect Tx to Rx and vice versa. For reference you would need to connect the ground pin for reference. Here is a summary of the connections:
6 Coin Acceptor <=> 12 Power Supply <=> 5V FTDI 12v <=> +12V <=> -(NC)- Serial Output <=> -(NC)- <=> RXI 0V <=> GND <=> GND Counter Output <=> -(NC)- <=> -(NC)- Inhibiting Port <=> -(NC)- <=> -(NC)- Note: -(NC)- means that there is nothing connected.
For more information on serial UARTs, I recommend looking at this tutorial => https://learn.sparkfun.com/tutorials/serial-communication#uarts . I also recommend looking at the Arduino Serial Library [ https://www.arduino.cc/en/Reference/Serial ].
Example code and tutorial for the DG600F coin acceptor using Arduino and a Raspberry Pi :
Looking at the datasheet, the serial signal output (Rx) and the counter output is 5V. If you are using this with a 3.3V system (Raspberry Pi or BBB), a logic level converter or resistors for voltage division is required.
Whether it's for assembling a kit, hacking an enclosure, or creating your own parts; the DIY skill is all about knowing how to use tools and the techniques associated with them.
Skill Level: Noob - Basic assembly is required. You may need to provide your own basic tools like a screwdriver, hammer or scissors. Power tools or custom parts are not required. Instructions will be included and easy to follow. Sewing may be required, but only with included patterns.
See all skill levels
If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.
Skill Level: Rookie - You will need a better fundamental understand of what code is, and how it works. You will be using beginner-level software and development tools like Arduino. You will be dealing directly with code, but numerous examples and libraries are available. Sensors or shields will communicate with serial or TTL.
See all skill levels
If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.
Skill Level: Competent - You will be required to reference a datasheet or schematic to know how to use a component. Your knowledge of a datasheet will only require basic features like power requirements, pinouts, or communications type. Also, you may need a power supply that?s greater than 12V or more than 1A worth of current.
See all skill levels
Based on 3 ratings:
I bought 2 coin acceptors. They do everything I wanted and they look great. I connected both of mine to an Arduino Micro and that is connected to my arcade machine PC.
one of the units had a malfunction. immediately after contacting sparkfun, they helped me with it. one of the best customer services I ever got!
I purchased 2 coin acceptors for use in my Pure Water vending machine. They were much easier to program then the ones I removed. I simple told it the value of each coin then sampled them thru the coin acceptor to teach them the weight and size of each coin. I was up an running in no time. The rejection rate is very low only had a problem with really new coins that were not in circulation so the weight was a tad heavier, all the other coins it accepts fine. I Would recommend them for your next project.
After 2 weeks stopped working.
Sorry you’re having trouble with the coin acceptor. I’d suggest sending an email to our tech support team [ firstname.lastname@example.org ], and they should be able to help resolve your issue.