5637Views8Replies

Author Options:

Coin sorter, how to get a coin to trigger a sensor (buttons)? Answered

Hey people! So I am making a project, it count's coins via arduino. So I need a way the coin can touch a button or some sort so it can trigger a the code in the arduino. See, the arduino has 4 buttons each one is a value to a coin, in the real world (physical project) there is a coin which falls from a sort o slot. It falls straight. The question here is, how to trigger a type of switch, button, tab with only the force of the coin. Any ideas for buttons or tabs or switches or metal contacts please, thank you. Some kind of easy input sensor (maybe light sensor?) It has to be cheap and it has to be small.

Discussions

0
user
iceng

Best Answer 5 years ago

See this optical light path led slot interrupter..

Coin blocks the light path giving a momentary high to your micro.

A

Opto-Interrupter.gifphoto_interrupter_circuit.png

I was just thinking about using a LED and a light sensor for it. You could make cardboard separators with an LED and a LDR on each end. Then when the coin fell through, some of the cardboard sections would be be dark, and you could have Arduino recognize that.

Yeah I was going to make one of these some time, but never got around to it. Hope that helped.

True, this is a good Idea, do you think I'd have to program it or just make a little circuit for each coin slot?

Oh just throw an Arduino in there. It would be soo hard to make a circuit that can count multiple things without a micro controller.
Good luck!

Great idea! I don't have the time to buy this. But great for an upcoming project. I'll try to make one.

Get a coin acceptor that can be connected to the Arduino. Like this one.

http://www.adafruit.com/products/787 

Check out the video on the page. It demos a project using there single coin acceptor and an arduino.