Main > Main Forum

Reset coin counter to Zero?

Pages: << < (5/6) > >>

DaOld Man:

And here is a drawing of what happens when you send current through the LED side.
Note that a resistor has to be used to limit the current going through the LED, just like any other LED.
The current through the transistor has to be very small (around 30-50 MA).
Think of this as a SPST NO relay.
The opto isolator keeps to current supplies isolated. It will take hundreds or even thousands of volts to break this isolation.

DaOld Man:

Here is a blurred pictured of an opto isolator in my hand, next to a 1 amp diode for comparision.

The opto isolator is the square thing on the left.

DaOld Man:

And here is how I would wire two of them (u1 and u2) into my above circuit.
Notice there is no connection at all between the counter and its power supply and the encoder.
r1 and r2 are current limiting resistors for the leds.
The coin switches handle the current going to the counter and the opto isolators leds.
The opto isolators photo transistors switch the coin inputs to the encoder.
You can also get optoisolators with two isolators built into one package. This is probably what I would use, due to the one double package being smaller than the two single ones.
You can also buy sockets for these to plug into.
Makes wiring them a little simpler, cause you have to be careful when soldering these babies. just like any semi-conductor, they dont like a lot of heat.

DaOld Man:

oops.. made a slight mistake.
The anodes of the leds need to go back to the positive side of the counter's power supply.
I also reversed the leds for accuracy.
left the other pic up so you can compare teh two.

DaOld Man:

I am not in any kind of business to sell opto isolators, or any suggestions I offer on this board.
But, if someone really wants me to, I can throw together a small circuit that will do the job of the last circuit I drew.
It will have the two opto islators, the resistors, and the diodes on a small board.
You will need to supply the counter, the encoder, the counter power supply and the coin door switches.
I have no idea what it will cost me to build this, but I will say 20 US bucks plus shipping costs. If it doesnt cost me that much or take an awful lot of my time, I will cut you a break.
Just PM me if you are interested.
Im not trying to sell these, and I dont need to, just doing it as a favor.



Pages: << < (5/6) > >>

Go to full version