ticket machine project

hello
i have no experience at all in ardunio but i have this mini arcade made of little arcade machines like banks
and i'd like to build a ticket dispenser (put a quarter in or plastic token in a coin accepter) and i have the housing built but no electronics build yet. its controlled by a mini motor (not sure what voltage) i would like to have the motor dispense 10 tokens for a quarter/token

You should start with basics. If you have no experience at all, then you should do some normal and simple stuff. Ticket machines are harder than they look.

Welcome rypants....

Your post doesn't actually ask a question, so it's not clear if you actually need help, and if so with what :stuck_out_tongue:

You say you have the housing done: does that include the mechanics or is that still to be done? Do you need help with the mechanics and the associated electronics or just the electronics? And the programming too?

What does it need an Arduino for?- you might be able to do this with just electronics: one token in generates 10 pulses to a motor which spits out 10.

But if you're going to use Arduino, I'd agree with sv01, and that is you need to get the basics clear first, perhaps by starting here.

Basically I have a wooden box with a hinged door with a cam lock and I am making a hole for the tickets to dispence
I plan on hooking up a coin accepter (it's a want meaning doesn't need to be put on) so no mechanics are done and I would like some assistance with the mechs

coin acceptance devices are a black art. They use all kinds of cleaver stuff (such as induced magnetic properties, density etc..) to detect which coins are being deposited.

Do you have a print mechanism in mind for the tickets, or are you just going to dispense pre printed ones from a roll?

Is this machine to be used in a commercial environment or is it a project for your own interest. If the latter I'm sure we could help you work something out. If the former, I think you're in over your head.

For a hobby machine that doesn't need any security features you should be easily able to rig up a system in which inserting a coin operates a switch and when an Arduino detects the switch it could use a servo to push out however many tokens you wish - assuming the tokens are individual things like plastic coins.

If you want to dispense paper tickets from a roll it would be a lttle more complicated as you would need some way to count the length of ticket issued. If there is a hole between the tickets you could shine a light through the hole and use a Light Dependent Resistor or a photo diode to enable the Arduino to count the holes.

The Arduino IDE comes with many examples including for usin switches and servos.

...R

i have rolls of 1000 tickets

rypants:
i have rolls of 1000 tickets

How will an Arduino know where one ticket ends and the next one starts?

...R

What you want is called a Deltronics DL-1275. This is a mechanism ( that like your coin acceptor, contains black magic) that can dispense tickets. It is what you would find inside any skee-ball machine or other arcade game. It's wants 12V for power and then there are 2 more leads, White and Blue if memory serves. You send a single short (not sure on the time off hand, but google will find you a data sheet) pulse and one ticket will be dispensed. The other lead goes high (or low, again you'll need the datasheet) to tell you after each ticket was dispensed.

I have meant to put my Deltronics DL-1275 on a scope and see if the pulse it returns is indeed 5V (as I've read) or maybe 12V, because I do think I have blown a pin interfacing one of these devices in the past.

If you are dispensing double tickets, like for a raffle or something, where you tear apart the tickets, everything above doesn't apply.

Try this for a manual:
http://www.deltroniclabs.com/wp-content/uploads/2012/12/DL-1275-_-DL4-S-S-Ticket-Dispenser-manual.pdf

Have fun and let us know how it goes!

Jimmy

so what you are saying is that i chould wire up the coin mech witch outputs a voltage pulse to the ticket dispenser and that pulse whold tell the ticket dispenser to dispence a ticket/s

That would definitely be interesting if that worked, and no Arudino would be needed.

But personally I think a better solution is probably to have the Arduino read the pulse from the coin mech, and then send a pulse to the ticket dispenser. That gives you a bit more control.

Yes. I would use an arduino to read the pulses of the coin acceptor, and then send the pulses to the ticket dispenser. I don't know how you would connect them directly. It might work but i doubt it.

Jimmy

so it says for one pulse one ticket is dispensed could i some how manipulate that one pulse from the coin accepter too be like 10 pulses? and what cables would i use to power my coin accepter and the ticket dispenser

That's what the arduino is for. You'll write the software that tells the dispenser how many tickets to dispense, based on the number of pulses received from the coin acceptor.

Jimmy

so what would i use to connect to the aruino and what pins would i put the wires in

Read the 'Getting started' page in the learning section.

I agree. You'll need to start understanding the basics before you can do what you want with this ticket dispenser project.

Here is another link that explains how the ticket dispenser works in plain english:

http://www.ticketflex.com/Redemption%20Tips/Deltronic%201275%20Ticket%20Dispenser.htm

Your project isn't too complicated, once you get some basics down. Good luck.

Jimmy

ok so i changed my mind about the coin accepter but i think i would like a momentary switch and every push gives out 10 tickets
how would i wire those two (three including the arduino uno)

First you need to do what's been suggested and get your mind round the basics, which would include as a minimum:

  • How to read a button on an input pin
  • How to make an output pin go high and low
  • How to make that output happen as a result of the input

You haven't said what your ticket dispenser actually is (make, model), although mixographer has suggested one. You need to absorb what yours says in its data sheet, and then think about:

  • How it gets wired
  • How it gets instructed to do what you want

You'll get loads of help here, but you really need to go first and try to figure it out yourself.

I've used the DL-1275 that mixographer mentioned with an Arduino. The dispensers run on 12v logic. I used an optoisolator to isolate components.
Basically, when I wanted tickets, I ran the motor while using an interrupt to count the tickets (dispenser pulsed low when a notch in the ticket reel was detected). Worked pretty well, but I had to return the dispensers (I got a few) because only half of them were functional.