Welcome, Guest. Please login or register.
November 22, 2024, 01:32:18 PM

Login with username, password and session length
* Home Help Arcade Login Register
.
+  Forum
|-+  Homebrew Player Tracking and EFT Systems.
| |-+  NLG Homebrew Player Tracking and EFT Systems.
| | |-+  Reel Touch /S2000 Hookup to PC (RS232)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] 3 4 5 6 Go Down Print
Author Topic: Reel Touch /S2000 Hookup to PC (RS232)  (Read 69205 times)
jdkmunch
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 624
Offline Offline

Gender: Male
Posts: 2640



« Reply #25 on: March 01, 2011, 06:58:52 PM »

I just changed the address to 2 and
The app did respond 02:
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #26 on: March 01, 2011, 07:08:35 PM »

I've never gotten past the [01:] report either with any machine using AndyP's Test App.
Poppo got it to work on the S+ only with his modified serial cable utilizing the MAX232.

I already sent you an e-mail about this, but just a data point.

The repaired factory SAS board does work on my S+ with the newer version program.




* SAS fix 2.jpg (98.25 KB, 538x602 - viewed 485 times.)
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #27 on: March 01, 2011, 07:14:42 PM »

Will it detect the change/service light button?
A lot easier than opening and closing the door...  rotflmao
I hear your hinges squeaking from NY...
Logged
jdkmunch
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 624
Offline Offline

Gender: Male
Posts: 2640



« Reply #28 on: March 01, 2011, 07:17:46 PM »

What should the com port setting be
Bits per second
Data bits
Parity
Stop bits
Flow control



Jumped the wire now don't even get 02:
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #29 on: March 01, 2011, 07:22:33 PM »

Will it detect the change/service light button?
A lot easier than opening and closing the door...  rotflmao
I hear your hinges squeaking from NY...

No need to open and close the door. I have my door optics mounted here so I can work on stuff like this with the door open. But yes, it does detect the service button.

jdkmunch - Andy said the app sets the port settings so it will override anything you set.


* optics.jpg (263.96 KB, 942x855 - viewed 461 times.)
« Last Edit: March 01, 2011, 07:28:37 PM by poppo » Logged
jdkmunch
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 624
Offline Offline

Gender: Male
Posts: 2640



« Reply #30 on: March 01, 2011, 08:24:37 PM »

OK final test results of the day......

Tried cable both jumped and open with the exact same results - What gets reported is what looks like the sas address 01:

Tried the same setup on my I-Game+ and had exact same results -  01:

Sooo with the trouble that TZ was having The only thing I can do now is wait for the USB to serial adapter and try that on another computer.  

I will make a serial crossover cable and try that on the bluebird later.
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #31 on: March 01, 2011, 08:34:27 PM »

OK final test results of the day......

Tried cable both jumped and open with the exact same results - What gets reported is what looks like the sas address 01:

Tried the same setup on my I-Game+ and had exact same results -  01:

Sooo with the trouble that TZ was having The only thing I can do now is wait for the USB to serial adapter and try that on another computer.   

I will make a serial crossover cable and try that on the bluebird later.

Just for grins, try this. Turn the slot off. Connect the cables. Reboot the computer. Start SASTest. Click initialize. Then turn on the slot machine. After it boots, open the door or press the service button and see if you have anything displayed.

I only suggest this because I have had things 'lock up' when fiddling around with cables and clicking on things that don't work (like the meters 10-15 on a S+).
Logged
Tilt
Contributing Gold NLG Member
Sr.NLG Member 501 to 1000 Post
*

Total Karma Storms: 366
Offline Offline

Gender: Male
Posts: 724



« Reply #32 on: March 01, 2011, 10:24:22 PM »

I finally had some time to play with this a little bit.  I made a serial cable from an old player tracking cable that had the right molex connector and wired the db-9 end to it per Bunker's photo (thanks!).  I picked up a refurbished laptop with WinXP professional and a real serial port.  After downloading C++ 2010 redistribution package and MS .net software the application runs fine.  I seem to be having the same issue as others though, I get a 01: and that's about it.  I have been able to send a legacy bonus to a S2000 a couple of times, but it takes repeated attempts.  I don't get the much in the way of comms from the machine at all.  None of the door open, door closed, game started, game ended etc messages like I would expect to see.   

So I hooked it up to my GameKing and get the same results with it as I did the S2000.   I set up the comm analyzer to SAS primary channel 3 so I could observe the communications between the laptop and the machine.  I sent two legacy bonus requests to the machine, one for 100 and the other for 200 and captured the comms in the attached photo.  The comms from the laptop are on the top line and it looks like it's communicating properly.  You can see where one request was for 100 and the other 200 in the data sent. 

I get the same thing from my other laptop with a USB -> serial converter cable too  bawling  Guess I didn't need a new old laptop after all  bust gut laughing  I don't know why it sometimes works and sometimes doesn't.  Maybe AndyP will see something in the comm analyzer snapshot that isn't right?



* SAS Comm Analyzer.jpg (417.01 KB, 1024x768 - viewed 483 times.)
Logged
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #33 on: March 01, 2011, 11:04:31 PM »

Nice work tilt. Interesting indeed. Its seeing the data, but not responding to it. Any idea what the blue means? Looks like it might be the packet data.

What you are seeing there first is a global poll, the 0x80, followed by the general poll to poll address 1, 0x81. If the EGM detects a global poll (0x80) it is supposed to stop chirping, which its not doing. Tilt, if you dont mind can you send me an email to my gmail account - > slotmon <- with gmail dot com on the back.
Logged
Tilt
Contributing Gold NLG Member
Sr.NLG Member 501 to 1000 Post
*

Total Karma Storms: 366
Offline Offline

Gender: Male
Posts: 724



« Reply #34 on: March 01, 2011, 11:38:59 PM »

I believe the data in blue is the packet data being sent by the test app and received by the machine.  If it sits idle the display looks like the bottom line.  The app sends a 80818081 then there is a pause of a second or two and the machine sends 01 01 01.... until the next 80818081 comes in then there's another pause, and it repeats.  Every once in awhile the machine will attempt to send something back, but it's apparently invalid, like 18: AC power was just lost but the machine is still on. 

 You've Got Mail
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 #35 on: March 01, 2011, 11:40:00 PM »

The TestApp is seeing the S+ Door open and close codes and some of the stuff works with a S2000 as long as use a USB to Serial adapter.

Why does a standard Com port give us troubles and a USB to Serial Adapter works great.




Logged

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

Total Karma Storms: 366
Offline Offline

Gender: Male
Posts: 724



« Reply #36 on: March 01, 2011, 11:51:07 PM »

I'm getting the same results with my XP Pro laptop with a real serial port as I am with my Win 7 laptop with a USB ->serial adapter able. 
Logged
jdkmunch
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 624
Offline Offline

Gender: Male
Posts: 2640



« Reply #37 on: March 02, 2011, 12:13:41 AM »

That was a great idea!

Here's my com status on my I game with the test app hooked up.

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

<a href="http://www.youtube.com/v/jqDMyh-GSTM&rel=0" target="_blank">http://www.youtube.com/v/jqDMyh-GSTM&rel=0</a>
Logged
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #38 on: March 02, 2011, 01:31:04 AM »

That helps a lot. Still not sure what is going on but I'll stare at it for a bit longer.

Might have to start handling the chirps a little better.
Logged
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #39 on: March 02, 2011, 02:17:55 AM »

I have managed to replicate the issue to a degree. It appears its a timing issue with received data. I need to work on it, not 100% sure what I am going to do about just yet though.

What I find odd though, is looking at those comms traces, the machine should still be responding with a no activity exception which its not.
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #40 on: March 02, 2011, 02:46:00 AM »

I just changed the address to 2 and
The app did respond 02:

Munch,
What did you actually see on your screen before you installed the jumpers...just [02:] ?
Nothing else?
Could you send us a screenshot of it?
« Last Edit: March 02, 2011, 02:54:52 AM by stayouttadabunker » Logged
AndyP
NLG Member 101 to 500 Post
***

Total Karma Storms: 127
Offline Offline

Posts: 212



« Reply #41 on: March 02, 2011, 03:11:27 AM »

The slowness of the USB devices I thought would be detrimental to the polling part, but looks like it may be benificial to the receiving side!

I am really stuck on this one. I have just been screwing around with timings and I can see whats going on now. I am yacht racing the next 4 days, so I will have a good think about it when I am lying in my bunk at night!
Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #42 on: March 02, 2011, 03:20:37 AM »

I am yacht racing the next 4 days, so I will have a good think about it when I am lying in my bunk at night!

When doing long distance racing and doing rotations...you should be sleeping, not thinking...lol

Good luck to ya! What boat you on?
« Last Edit: March 02, 2011, 11:23:29 AM by stayouttadabunker » Logged
TZtech
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 129
Offline Offline

Gender: Male
Posts: 1113



« Reply #43 on: March 02, 2011, 03:55:28 AM »

Tilt and Munch

I did not even get any activity on the comms test so I dont think my serial port problem is the same as Yours. Comms coming into the machne seems good on Your test results.
I suspect the issues You guys are having is due to machine settings. Do you guys have blue/Grey or red menus and can you post some pics on your comms setup screens.

PS - Andy - Good luck with the races

Ian
Logged
Tilt
Contributing Gold NLG Member
Sr.NLG Member 501 to 1000 Post
*

Total Karma Storms: 366
Offline Offline

Gender: Male
Posts: 724



« Reply #44 on: March 02, 2011, 04:04:36 AM »

Tilt and Munch

I did not even get any activity on the comms test so I dont think my serial port problem is the same as Yours. Comms coming into the machne seems good on Your test results.
I suspect the issues You guys are having is due to machine settings. Do you guys have blue/Grey or red menus and can you post some pics on your comms setup screens.

PS - Andy - Good luck with the races

Ian

I've tried both with similar results.  Let me know what screen you want a picture of and I'll post it in the morning.

Ditto Andy, Good Luck in your races and have fun!

Logged
jay
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 483
Offline Offline

Gender: Male
Posts: 3178


if you cant afford to lose you cant afford to win


« Reply #45 on: March 02, 2011, 04:27:36 AM »

Well feel free to bring along an Odsessy, Universal, or VLT. I hear all of these are considered boat-anchors......   rotflmao

Seriously - thanks for all of the hard work you are putting into this project,  Please Post Pictures of the boats, enjoy your trip and feel free to give us an update on that too.

Logged

The only way to beat the casino is to own it
Foster
The S2000 GURU
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 345
Offline Offline

Gender: Male
Posts: 2872



« Reply #46 on: March 02, 2011, 09:58:24 AM »

I was looking at the S2000 Comm board, it also has RS485 available.
That may make it easier to connect more than one machine to to one com port.

As far as USB being slower, not compared to normal RS232 speeds. yeah there is some that can do the 1.5 megabits per second I do not think SAS is that fast.
The Fiber Optics that IGT is using is limited to 40 kilobits per second.
« Last Edit: March 02, 2011, 10:24:10 AM by Foster » Logged

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

Total Karma Storms: 624
Offline Offline

Gender: Male
Posts: 2640



« Reply #47 on: March 02, 2011, 10:21:38 AM »

Here's the machine with SAS address 2.

Whatever address I change it to will show up -


* photo 1.JPG (458.52 KB, 1296x968 - viewed 477 times.)

* photo 2.JPG (345.19 KB, 1296x968 - viewed 482 times.)
Logged
poppo
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 248
Offline Offline

Gender: Male
Posts: 3266



« Reply #48 on: March 02, 2011, 02:18:05 PM »

As far as USB being slower, not compared to normal RS232 speeds. yeah there is some that can do the 1.5 megabits per second I do not think SAS is that fast.

The speed has never really been an issue. Even USB 1.0 could handle all common RS232 speeds.  Software for RS232 UARTS on PCs had been around for ever and is pretty straight forward. But the first USB to RS232 adapters were a bit buggy due to poorly written drivers and hardware, especially since USB is designed to share the line with other devices. Most modern adapters along with USB 2.0 will work well for just about anything. RS232 polling without hardware handshaking can be tricky in any case though, as timing becomes more critical.

One other option to try, is to turn off the FIFO setting on the advanced page of the com port. I have run into several devices that required this to be turned off to work reliably depending on the PC used. This was from a CNC RS232 software FAQ.

Quote
Q. After a while the data is garbage then OK then garbage again.
  
A. You need to either turn off your communication port receive FIFO buffer or reduce the receive value to its smallest level. You access these by going into Windows Control Panel, Device Manager, LPT & Com Ports. Select your com port and click the advanced tab. Then turn off the FIFO option. Reboot for changes to take affect.

Can't hurt to try it.
 
« Last Edit: March 02, 2011, 05:33:09 PM by poppo » Logged
jdkmunch
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 624
Offline Offline

Gender: Male
Posts: 2640



« Reply #49 on: March 02, 2011, 05:03:15 PM »

I turned FIFO off with same result - I haven't however changed the receive value to the smallest levels.
Logged
Pages: 1 [2] 3 4 5 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.101 seconds with 20 queries.