Welcome, Guest. Please login or register.
November 23, 2024, 03:45:46 AM

Login with username, password and session length
* Home Help Arcade Login Register
.
+  Forum
|-+  **Reel Slots** Gaming Machines
| |-+  IGT S2000 and Vision Games.
| | |-+  S2000 Hopper optics question
0 Members and 5 Guests are viewing this topic. « previous next »
Pages: [1] 2 3 4 ... 6 Go Down Print
Author Topic: S2000 Hopper optics question  (Read 51593 times)
BCD
Contributing NLG Member
New NLG Member 1 to 100 Post
*

Total Karma Storms: 27
Offline Offline

Posts: 79



« on: October 10, 2011, 08:44:15 PM »

I'm trying to figure out the wiring for the optics sensor on the top of an S2000 hopper.  There are six wires and I'd like to know which wires supply the power, ground, and carry the signal to a counter.  I'm Rube Goldberging a contraption that will count coins and not be part of a slot machine.  The goal, if possible, is to hook the coin optics to a counter, again not part of slot machine, to count coins as the hopper runs continuously and coins are ejected.  Any help in identifying the six wires for the hopper optics and recommendations for an independent counter for this gizmo would be most appreciated.

As you can tell I am new to this hopper business.  I apologize if this query is posted in the wrong forum; I'll move it if someone can tell me where it should be. 

The guys over in the Coin Comparitor forum were GREAT with their help and I'm hoping I came to the right place for this S2000 hopper question.

Thanks in advance for your time and any help you can offer.

Bart
Logged
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #1 on: October 10, 2011, 09:45:00 PM »

My optic sensor only has 4 wires on my S2000
if you are trying to interface to the optics at the hopper connector on a S2000,
There is a interface board between that connector and the optics.
Best thing to do is look at the schematic for the interface board and wiring diagram for the hopper


* HOPPER, SIDE EJECT, 960, WIRING DIAGRAM.pdf (112.6 KB - downloaded 1800 times.)
* HOPPER DRIVER, 960, BOARD SCHEMATIC.pdf (44.43 KB - downloaded 473 times.)
Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
proten
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 210
Offline Offline

Gender: Male
Posts: 1130



« Reply #2 on: October 10, 2011, 09:48:59 PM »

Here is the plug pin out.











I was looking at the wrong book - Sorry.


* Untitled.jpg (223.04 KB, 2722x1178 - viewed 1093 times.)
« Last Edit: October 10, 2011, 10:19:10 PM by proten » Logged

One step at a time.
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #3 on: October 10, 2011, 09:54:46 PM »

I do not think that is the hopper plug for a S2000 due to the fact the hopper does not run off 115VAC.
Logged

A Slot Machine and Coca-Cola Addict!!
"If it is not broke do not fix it" I keep forgetting that!
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #4 on: October 11, 2011, 12:39:45 AM »

Hello Bart

I am not familiar with a 6 wire optic either - There is usually a part number printed on these if you enter that into google you should get a datasheet for the relevant optic.
As far as counter go you could use one from a slot machine but you would have to build a small interface to change the 5v pulse level to 12v or whatever your selected counter needs. You can also buy kits like this one http://www.electronickits.com/kit/complete/elec/ck1612.htm which may work. Your last alternative is to use one of the many microprocessor developement systems on the market and then you can make your contraption do whatever you please ( I have recently started plaing with PicAxe. Arduino and basic stamps from Parallax are also good)

Ian
Logged
BCD
Contributing NLG Member
New NLG Member 1 to 100 Post
*

Total Karma Storms: 27
Offline Offline

Posts: 79



« Reply #5 on: October 11, 2011, 08:57:13 PM »

BIG TIME THANKS  Clap to all that replied!! 

Sharing the schematics and pinouts helped me see what the functions are ( I think) of the six wires that connect to the optical sensor on the top of the hopper.  I'm going to try and determine of I can hook the "sense" wire on a two wire counter to one of the wires, excluding power and ground, on the six wire hopper optical sensor.  Next step is to find a resettable counter.

Again, thank you to everyone that replied.  Your time and effort is REALLY appreciated.

Bart 
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #6 on: October 11, 2011, 10:48:05 PM »

Next step is to find a resettable counter.

Let me give you a heads up on this. I had worked on a project to use a hopper as a coin counter. I found that most of the cheaper resettable counters could not keep up with the rate that the coins were coming out. I ended up writing my own program for a basic atom. Attached is the basic atom code if anyone cares to look at it. It should work with a basic stamp with little modification.

* hopper counter.txt (1.55 KB - downloaded 318 times.)
Logged
BCD
Contributing NLG Member
New NLG Member 1 to 100 Post
*

Total Karma Storms: 27
Offline Offline

Posts: 79



« Reply #7 on: October 12, 2011, 01:21:47 AM »

poppo,

Thanks for the heads-up on the cheap resettable counters! 

What was the speed your hopper was running at and were you able to tie the resettable counter into the hopper optics?  My Rube Goldberg contraption only spits out about 200 coins per minute which is fine with me.  I'll increase the speed of the hopper when I get the feed chute fine tuned.  Maybe my gizmo is running slow enough to handle a counter Scratch Head

THANK YOU for sharing the code you wrote.  Sad to say it is Greek to me.  Mighty impressive but I wouldn't even know where to start trying to use it.

I really appreciate you sharing your info.

Thanks again,
Bart
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #8 on: October 12, 2011, 01:31:43 AM »

If you figure out how to ground (GND) out the tally button on this cheap little gizmo -
I'm sure the LCD counter can keep up no matter how fast your coins spit out of the hopper.
Ground out the "reset" button every time the hopper starts and
it will start from zero. >>>


http://www.ebay.com/itm/Royal-Blue-Case-LCD-Display-Resettable-Finger-Counter-/260863452747?pt=LH_DefaultDomain_0&hash=item3cbcac664b


* LCD counter.png (128.4 KB, 346x314 - viewed 1875 times.)
Logged
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #9 on: October 12, 2011, 03:21:03 AM »

Bart - Everyone is curious as to what You are building. We demand photos Tongue Out

Many years ago at the first casino I worked at we had somebody figure out how to create forged high denom tokens for our high roller area. All the machines in there were working with Condor acceptors at the time and these were letting the forged tokens through. You could spot the fakes but it meant emptying all the hoppers and sorting through the coins every day. I ended up building a contraption with a hopper spitting coins into a CC16 which was able to pick up the fakes. Two chutes then diverted the real and fake coins into separate buckets. Of course it wasnt long before someone got busted and the contraption got retired. Since then I have not had much faith in programmable coin acceptors and always go for Coin mechanism comparators If I have a choice

Poppo - K+ for the code. I can see next months hobby budget going towards Basic Micro. Will be interesting to see how these compare against PICAXE. Have you ever tried any of the other systems out there?
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #10 on: October 12, 2011, 10:00:36 AM »

If you figure out how to ground (GND) out the tally button on this cheap little gizmo -
I'm sure the LCD counter can keep up no matter how fast your coins spit out of the hopper.

bunker,

That is the type of tally counter I had tried. It just could not keep up, and missed coins. I did not try that specific model, but I tried 3 others before I gave up. It also has to be fast enough to detect the short duration pulse you would get from the optics or a switch. The code in my project specifically looks for both the closure and opening of the switch to ensure it does not miss anything. If I only looked for the closure, the program was fast enough to loop around and count the same coin twice.

BCD,

I did not mess with using the optics. My IGT S+ hopper has a anti-tamper 'rocker' on it, which made it easy to just rig up a micro-switch to it. The first picture shows the microswitch in the down position (no coin). The bottom half of that picture shows me moving the rocker like when a coin goes though and it pushes the leaf on the micro-switch up closing the contacts.

The second picture shows the whole unit. The bottom shows a few coins counted and the value.

I've been using Basic Stamps for many years and then moved up to the Basic Atom. They both use almost exactly the same coding and can be ported pretty easily. I have not tried anything else like the PICAXE because I have not found anything I could not do with the Atom. And I already have a pretty good library of routines for just about anything.

And in case anyone was wondering just what the heck I was trying to do, arrow  I just wanted a simple way to see how many coins I had in my hoppers without manually counting them. Plus as many here know, I have too much time on my hands.  Tongue Out

Click on the pictures to enlarge.


* hopper2.jpg (831.18 KB, 860x1360 - viewed 760 times.)

* hopper1.jpg (521.02 KB, 600x1016 - viewed 991 times.)
« Last Edit: October 12, 2011, 01:06:52 PM by poppo » Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #11 on: October 12, 2011, 10:14:30 AM »

And here is one of those tally counters I tried that would not work properly. Of course I was going for the simplest solution, and this would have been it if it would have worked. But maybe it would work for BCD's project. These things are cheap enough to give it a try and they are easy to 'hack'.


* hopper3.jpg (280.63 KB, 1086x786 - viewed 705 times.)
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #12 on: October 12, 2011, 11:57:36 AM »

How weird and coincidental is this?!?!   arrow
This morning I drive in with this in my tool bag to try
and figure out what drives it!??!  rotflmao
It came from out of an old player tracking system I believe called>>> act components inc.
I've forgotten you did a whole thread on it last year!
I've got a new winter project to learn!  yummy


* 32 segment LCD display 001.jpg (951.15 KB, 2576x1932 - viewed 708 times.)

* 32 segment LCD display 002.jpg (718.38 KB, 2576x1932 - viewed 523 times.)
« Last Edit: October 12, 2011, 12:10:03 PM by stayouttadabunker » Logged
BCD
Contributing NLG Member
New NLG Member 1 to 100 Post
*

Total Karma Storms: 27
Offline Offline

Posts: 79



« Reply #13 on: October 12, 2011, 12:23:06 PM »

 Clap  Good for you stayouttadabunker!!  Now, what the devil are they?!? Scratch Head
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #14 on: October 12, 2011, 12:43:12 PM »

Now, what the devil are they?!? Scratch Head

He has a 16 x 2 LCD. (16 characters x 2 lines). His has a standard 14 pin interface on a header instead of along the edge.

Note: His is a parallel driven LCD where mine is a serial driven one. I prefer serial LCDs since they only need 3 wires - data, power & ground.

Note 2: Nearly all 16x2 parallel LCDs use a 'standard' interface and protocol.
« Last Edit: October 12, 2011, 12:53:04 PM by poppo » Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #15 on: October 12, 2011, 12:44:04 PM »

Clap  Good for you stayouttadabunker!!  Now, what the devil are they?!? Scratch Head


Yes BCD,
It's just the player tracking LCD display ( front and backside photo shots) - similar as Poppo's display but with a blue lens.
Poppo has the program to drive them...
Now I gotta go find that thread on them!  yummy

ADD: Here it is! >>>

http://newlifegames.net/nlg/index.php?topic=13848.30
« Last Edit: October 12, 2011, 12:49:35 PM by stayouttadabunker » Logged
BCD
Contributing NLG Member
New NLG Member 1 to 100 Post
*

Total Karma Storms: 27
Offline Offline

Posts: 79



« Reply #16 on: October 12, 2011, 02:08:02 PM »

Good for you stayouttadabunker!  Glad you found the info you were looking for.
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #17 on: October 12, 2011, 02:27:50 PM »

I wanted to try my suggestion of using a counter with the hopper optics.
I had a few minutes to fool around with it and the stuff on hand nearby.
I removed the hopper optics and took it apart.

Basically what this does is open and close an electrical circuit.
However, this one is designed for counting coins as they exit an S+ hopper.

It utilizes 3 wires :
1) Green ground wire
2) Red 12VDC power wire
3) Yellow signal wire.

I hooked the green wire into a bench-top power supply ground.
Then I hooked the red wire to the 12VDC power on the bench-top PS. joined
with one side of the electromechanical counter's two wires.
The yellow wire from the optics went into the other counter's wire.
It doesn't matter which side of the counter because an electromechanical counter uses
a solenoid to rotate a set of ratchet driven counter gears.

I turned on the power and ran a screwdriver through the optics....
the counter kept up with the rate of my hand fluctuating through the optical eyes.
I don't think any hopper can throw out coins that fast!?!?  rotflmao

I submitted some photos of this quick setup on my bench and a short accompanying video clip...
Top photo is the hopper optics torn open.
The bottom photo is the receiver optic...it contains 3 wires...
a red power wire, a green ground wire and the yellow signal wire for the continuity signal...>>>


* working with optics and a counter 001.jpg (668.47 KB, 2576x1932 - viewed 570 times.)

* hopper optics receiver side.jpg (150.01 KB, 967x1093 - viewed 947 times.)
« Last Edit: October 12, 2011, 05:56:32 PM by stayouttadabunker » Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #18 on: October 12, 2011, 04:34:23 PM »

More pics...
Top one is the emitter optic...
It has two wires...one for power and the other is a ground wire.
The bottom pic is that alien from that spaceship movie...
Click on any photo to enlarge if needed...>>>


* working with optics and a counter 003.jpg (650.06 KB, 2576x1932 - viewed 498 times.)

* working with optics and a counter 004.jpg (477.76 KB, 2576x1932 - viewed 580 times.)
« Last Edit: October 12, 2011, 04:40:13 PM by stayouttadabunker » Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #19 on: October 12, 2011, 04:35:41 PM »

see the emitter eye ...uh...emitting? lol ...
unseen with naked eyes...>>>


* working with optics and a counter 006.jpg (619.71 KB, 2576x1932 - viewed 576 times.)

* working with optics and a counter 007.jpg (615.9 KB, 2576x1932 - viewed 549 times.)
« Last Edit: October 12, 2011, 04:43:03 PM by stayouttadabunker » Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #20 on: October 12, 2011, 04:37:13 PM »

Anyways, I put the hopper optic back together, set it up with a counter
and applied 12Vdc to the whole shebang... Don't TAZE me Bro!
I don't know why an electronic LCD counter w/ resettable meters and NO MOVING PARTS can't keep up
with the coins exiting a hopper when an electromechanical one is sufficient?   Scratch Head 2
Watch how fast I fluctuate the screwdriver through the eyes...
the counter goes a million miles per hour!  Road Runner Snoopy






I know...my bench is a mess... rotflmao >>>

<a href="http://www.youtube.com/v/vRBri-HFgYA&rel=0" target="_blank">http://www.youtube.com/v/vRBri-HFgYA&rel=0</a>


* working with optics and a counter 008.jpg (739.7 KB, 2576x1932 - viewed 670 times.)
« Last Edit: October 12, 2011, 04:52:52 PM by stayouttadabunker » Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #21 on: October 12, 2011, 05:32:00 PM »

Nice video, but I think it is flawed. Without knowing how many times you actually pass the screwdriver through, you won't know if it's counting properly or missing some.

Did you try it with the hopper yet? Don't forget to count the actual coins vice what the counter says.

The cheap electronic tally counters may not work because of the program they are running. The timing is critical and they were not made to pulse quickly. I can even take the one I posted earlier and make it count wrong if I click it too fast. When used for counting coins it would usually be off by 1 or 2 every 50.
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #22 on: October 12, 2011, 06:02:59 PM »

The hopper optics in the video were signals to the counter as the screwdriver went down AND up.
Though I don't know how many times I passed the screwdriver through the eyes - I doubt that it's incorrect.
Quarters do not exit out of a hopper anywhere NEAR that speed...

I have an electronic LCD counter which I will hook up to a hopper in a few minutes
and I will take a video clip of it with 50 quarters exiting from it...
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #23 on: October 12, 2011, 06:27:05 PM »

To get more technical on why a mechanical counter may work better than an electronic one, here is why.

On a mechanical counter, the solenoid gets pulled in as long as the 'contacts' are closed and then releases when the contacts open. Pretty simple. Being mechanical in nature actually helps as I will further explain.

With an electronic counter, the first problem you have is with what is called switch bounce. This mainly has to do with mechanical switches like on the tally counters. When you press the switch, the contacts actually bounce a few times. The processor can interpet this as multiple presses. So the software needs to put in a delay so it does not count it more than once. If this delay is too long, it can miss a second press since it thinks the switch is still bouncing. Typically 100ms is a long enough delay. But sloppy programming may have this longer. Thus fast pulsing gets counted wrong. Mechnical counters are by nature 'slow', so switch bounce is not an issue. The switch will be done bouncing long before the solenoid is done pulling in.

Next, with an electronic counter you need a delay method before looping back around or it may count again if you have not released the button yet. This may act like the key repeat on your keyboard when you hold it down, and the counter would keep counting if you hold the button down. So what you need to do in software.

1. Check for switch closure
2. Wait a little for switch bounce to settle
3. Now wait until the switch is open otherwise you will loop back and go into auto repeat. You can not just put in a fixed delay or you may miss pulses.
4. When switch is open, now you can do the count and update the display. But you have to do it fast enough so you don't miss the next press.

These cheap electronic tally counters were designed for people just clicking with their finger and this may not be reliable for fast counting. Either the pulses are coming too fast or the pulse duration being too short can cause it to not work. I wish it would have worked, as it would have saved me a lot of time.  
« Last Edit: October 12, 2011, 06:32:34 PM by poppo » Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #24 on: October 12, 2011, 06:34:27 PM »

That makes sense to me...
What if you pulled the chip the timer is located on and change the delay setting in the programming?
Logged
Pages: [1] 2 3 4 ... 6 Go Up Print 
« previous next »
Jump to:  


If you find this site helpful, Please Consider Making a small donation to help defray the cost of hosting and bandwidth.



Newlifegames.com    Newlifegames.net    Newlifegames.org
   New Life Games    NewLifeGames  NLG  We Bring new Life to old Games    1-888-NLG-SLOTS
Are all Copyright and Trademarks of New Life Games LLC 1992 - 2021


FAIR USE NOTICE:

This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner.
We make such material available in an effort to advance awareness and understanding of the issues involved.
We believe this constitutes a fair use of any such copyrighted material as provided for in section 107 of the US Copyright Law.
In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those
who have expressed a prior interest in receiving the included information for research and educational purposes.

For more information please visit: http://www.law.cornell.edu/uscode/17/107.shtml.

If you wish to use copyrighted material from this site for purposes of your own that go beyond fair use,
you must obtain permission directly from the copyright owner.

NewLifeGames.net Web-Site is optimized for use with Fire-Fox and a minimum screen resolution of 1280x768 pixels.


Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Loon Designed by Mystica
Updated by Runic Warrior
Page created in 0.136 seconds with 20 queries.