New Life Games LLC

Progressive Controllers and Displays => Mikohn Progressive Systems => Topic started by: azuloro on October 09, 2016, 06:11:54 PM

Title: Mikohn + Linux RPi Help!!!!!!!
Post by: azuloro on October 09, 2016, 06:11:54 PM
Hi Guys




       I am working in a Display progressive with mikhon and linux terminal


        i have the Rs232 communication between mikhon controller and linux terminal , i get the progressive information from mikhon controller, but i don't have the complete commands to get  a stable communication.
 


                              ________________                                                                                                                                                       ______________
                             / Mikohn Controller /         <---------------[RS 422 Converter to Rs232] ------------[Serial Cable Rs232]---------->  /  Linux Terminal  /
                            ---------------------                                                                                                                                                         -----------------
       
if you have any information about, i would be very pleased if you could share with me.


DISPLAY LED FULL HD HDMI
(https://newlifegames.com/nlg/proxy.php?request=http%3A%2F%2Fes.zimagez.com%2Favatar%2Fimg201610081125361.jpg&hash=7c0621a5b7c1aaed3b982242324035ea8bcede1d)

TERMINAL LINUX (Raspberry Pi)
(https://newlifegames.com/nlg/proxy.php?request=http%3A%2F%2Fes.zimagez.com%2Favatar%2Fimg201610081125471.jpg&hash=0d1b88360fc4907b400c3dc58b056d90a255f185)

CONNECTION CABLE SERIAL RS232(BLUE) --  CONVERTER RS422/485
(https://newlifegames.com/nlg/proxy.php?request=http%3A%2F%2Fes.zimagez.com%2Favatar%2Fimg201610081125541.jpg&hash=e5c2ed1a210ab46c499e543d96483980058bbfe6)

CONVERTER 422 (this is connect to mikhon controller)
(https://newlifegames.com/nlg/proxy.php?request=http%3A%2F%2Fes.zimagez.com%2Favatar%2Fimg201610081126011.jpg&hash=3c75cace2b5869c6edb94ff69fa88a20db5654f0)
 


best (http://www.linguee.es/ingles-espanol/traduccion/best.html) regards (http://www.linguee.es/ingles-espanol/traduccion/regards.html)


 :Please_Post_Pictures_2clr: :thank_you:





Title: Re: Mikohn + Linux RPi Help!!!!!!!
Post by: jay on October 09, 2016, 10:51:49 PM
What mikohn controller ?


Are you taking the data feed out of a con1 or con2 between the progressive controller and the meter controller or from where ?
Title: Re: Mikohn + Linux RPi Help!!!!!!!
Post by: azuloro on October 10, 2016, 09:55:33 AM
 
I connect the cable to the [/size]mikhon [/color][/size]controller (RS422 port) [/color]
[/size]i don't use SAS meters, i sent a wake up bit to controller for RS232 and it sent me the progressive information, but the problem is when it won the jackpot, the progressive sent me bad information or i think, it needs that i send a code(command) to reset, now i only unplug power of the mikhon controller and thats all.[/color]
Title: Re: Mikohn + Linux RPi Help!!!!!!!
Post by: azuloro on October 10, 2016, 02:52:52 PM
this is the model MIKOHN IGT CONTROLLER CON2I

 i got the same   http://patriotgaming.com/mikohn-igt-controller-con2i.html (http://patriotgaming.com/mikohn-igt-controller-con2i.html)
Title: Re: Mikohn + Linux RPi Help!!!!!!!
Post by: jay on October 10, 2016, 07:57:53 PM

The 9pin serial port is an RS232 port, and you use a program called PSP (DOS) to speak to it.
The only thing special regarding the cable between the PC and the CON2I is that pins 4 & 5 CTS & RTS need to be shorted.


I am sure the communications between the PC and the CON2I just use simple ascii codes but these are not documented.
You would need to use the PSP program and take the serial output to a terminal to see what comes out for each command.
Within PSP there is a command you can use to receive the current jackpot settings, but this is not a live data stream.
If you are wanting to write a small program to do a video display you would need to repeatedly send this command. I suspect this method of communication would be very slow compared to taking one of the other output data feeds.


There are a lot of settings you can program into the CON2i but the important ones are the Current Jackpot, Max Jackpot, increment amount and reset amount. The reset amount is what would get programmed back into the system when the jackpot is won. I suspect the command you are sending is telling the CON2I to display these amounts.


The individual slots have 3 wires that connect to the controller. These are coin in + Gnd. Each time a coin or credit is played a momentary close occurs and tells the CON2I to increment. The third wire + gnd is a data line back to the slot that carries the current progressive amount. In a slot this only displays when the jackpot is won but on a video slot this displays the jackpot amount on the screen. I believe this feed may be RS422 but I have never taken the time to decode it. This comes off of a large bus that basically shares the GND and DATA lines but each slot has its own Coin-in line to the controller. When the jackpot is won - It will say something like $ 238,921 and bounce between this and 04. The $$ amount being the progressive amount won and the 04 indicating which slot won the amount.


The CON2I then uses a 2 wire output to a ChamII controller.  This 2 wire feed sends the current amount to the ChamII controller. The ChamII is connected to a meter (sign) that is normally inside the slot. I remember reading some place that the current amount is sent about 10 times per second. There are other kinds of signs that can connect to the CON2I such as a Supreme which is generally a large overhead sign.


You can also program the ChamII to display messages interleaved with the progressive amounts. You do this on the CON2I (again using PSP) and when you tell it to download the messages to the ChamII it does it through this 2 wire interface.


The Supreme actually has a separate program called "downloader" and uses a PDF (progressive display file) file. This is not adobe or anything close. Probably pre-dates Adobe by 15years. This downloads graphics into the Supreme and tells it what font to display the jackpot amount etc.



SimplePortal 2.3.5 © 2008-2012, SimplePortal