Welcome, Guest. Please login or register.
November 22, 2024, 09:11:51 AM

Login with username, password and session length
* Home Help Arcade Login Register
.
+  Forum
|-+  **Reel Slots** Gaming Machines
| |-+  IGT S and S-plus Reel Games. (Moderator: knagl)
| | |-+  Custom slot machine controller
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Custom slot machine controller  (Read 23285 times)
russdx
New NLG Member 1 to 100 Post
**

Total Karma Storms: 5
Offline Offline

Posts: 35



« on: October 24, 2010, 04:28:02 PM »

building my own slot machine using a custom slot machine controller i designed and a old IGT S cabinet i stripped out Smiley, thought a few people may be interested Smiley

below is a few pictures and videos of the progress so far

TODO list
FPGA + ARM reel drivers
DMD board + drivers(half done)
artwork
audio board + audio drivers











video showing the coin comparator counting the coin in and the hopper paying the coins out.
FPGA is controlling the credit display board, hopper and coin mech. whilst communicating with the ARM processor via a memory map.
<a href="http://www.youtube.com/v/Oi3T4zTPDfw&rel=0" target="_blank">http://www.youtube.com/v/Oi3T4zTPDfw&rel=0</a>


currently working on my reel code, hopefully have reels running end of next week Smiley
next on my list is getting the prototype audio board working so i can design the proper pcb and have that sent off and made (be nice to have some audio (ill be using the Williams payout dings and reel spin samples as i LOVE them lol))
then ill finish off the DMD display, it just needs all the image processing and animating code written for it, and a pcb made up

ill add videos and pictures as i progress Smiley

ah heres a video of the fgpa controlling the DMD, contract is a bit cack need to work on that (looks better in person)
this is when it was hooked to the pc gettings it frames streamed over USB. it now has its own arm micro controller sending it the frames. (for when its installed into the slot)
<a href="http://www.youtube.com/v/1By1rnYYWrE&rel=0" target="_blank">http://www.youtube.com/v/1By1rnYYWrE&rel=0</a>





edited to change pictures to smaller file sizes
« Last Edit: October 25, 2010, 01:29:55 AM by knagl » Logged
CaptainHappy
NLG Site Administrator
NLG Site Administrator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 622
Offline Offline

Gender: Male
Posts: 3203


I haven't met a Jackpot that I didn't like!!!


« Reply #1 on: October 24, 2010, 07:15:05 PM »

Cool!!! Thanks for sharing your project progress, K+. Clap Clap Clap
Logged

  Come sail away, Come sail away Come sail away with me..
knagl
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 642
Offline Offline

Gender: Male
Posts: 5489


Kevin


« Reply #2 on: October 24, 2010, 07:47:27 PM »

Very neat!  Is that a pinball animation in your DMD?

How are you writing your custom software/controller?  This looks neat -- thanks for sharing pictures of your work in progress!

I edited your post to put smaller in file size pictures in, with links to your original pictures.  Each of your original pictures was over 2MB, causing this post to take forever to load, even on my decently fast Internet connection.  propeller
Logged

If you find this site helpful, please consider making a small donation to help defray the cost of hosting and bandwidth.

Please do not PM me for support or "how to" requests -- please post your request in the forum so that everyone may assist you and everyone can benefit from the answer to your question!  Thanks! Smiley
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #3 on: October 24, 2010, 08:05:41 PM »

Your project looks fascinating. I look forward to reading about and viewing your progress. K+  applause applause propeller propeller


Stat garfield
Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
russdx
New NLG Member 1 to 100 Post
**

Total Karma Storms: 5
Offline Offline

Posts: 35



« Reply #4 on: October 24, 2010, 10:07:15 PM »

Quote
Very neat!  Is that a pinball animation in your DMD

yup its from India Jones pinball (dont think it ever made the machine though)

Quote
I edited your post to put smaller in file size pictures in, with links to your original pictures.

thanks Smiley


i started off with a red white and blue IGT s slot machine, completely stripped it hehe. I then designed a controller board to run most of the original hardware ie credit display, coin comparator, hopper, buttons. I swapped the reels out to some uk fruit machine reels as i have the documentation for them + they had back lit reels which the IGT dint come with. I also added the 192x64 DMD display to the top glass as i Absolutely LOVE the Williams dotmation machines! so had to have a dmd (they aint that hard to drive just need a fecking fast processor to bit bang all the dot data in hundreds of times a second hehe, in my case another FPGA)

below is some details of the board i designed, its like most modern slot machines. a processor running game code hooked up to a big FPGA taking care of the hardware talking to each other via a memory map on the FPGA.

my memory map has 64 address each being 8bits wide (1 byte). each address or addresses are mapped to different hardware. (lamps get 1 address each, reels get 3 address each and so on). the arm processor can read and write bytes to each address. so if it wants a lamp lit it would say write 00000001 to address 0 to turn lamp 0 on (all the other bits in the byte control brightness and flash speed). for hardware like the coin mech the arm processor will read memory locations to see how many coins have been entered.

heres a link to my memory map incase any ones interested in it (beware its very messy! but works hehe)
http://russdx.frankster200.com/slot/memoryMap.xls

the board supports:
3 reels
22 lamps (7 flash speeds, 7 brightnesses)
8 switch inputs
IGT 7seg credit board
aux input (in my case controls the hopper and coin mech)
DMD bus, talks to the DMD board
audio bus, talks to the audio board

most of it is coded up, just need to finish off the reel, dmd and audio code

below is some pictures of the board



heres the PCB design top/bottom copper (made a few little mistakes hehe, nothing major will fix for next release)




all the code on the FPGA (handles the hardware) is written in verilog (strange language but i like it hehe)
all the code written on the ARM processor (runs the game code / updates/reads the FPGA memory map and also tells the DMD ARM processor what to do) is written in standard c (which is nice Smiley no assembler here! haha)

shouldn't be 2 long before the reels are running correctly then i can start on the fun bit game code and DMD animations.


ill keep taking photos and videos of any progress i make Smiley
feel free to ask any questions Smiley
« Last Edit: October 25, 2010, 01:32:43 AM by knagl » Logged
rickhunter
SMAA Founder and Chairman
Contributing Gold NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 226
Offline Offline

Gender: Male
Posts: 1456


I Void Warranties


« Reply #5 on: October 25, 2010, 06:07:54 PM »

That is cool!!!
Logged

A slot collector is like a coin hopper in a machine that never pays out.  they just keep on accumulating assets.
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #6 on: October 25, 2010, 06:19:34 PM »

The MPU just about fits in your hand...that's amazing!
Electronic slot machines can be down-sized to about the size of a bread box...lol
Hey! Didn't Jennings do that about 50 years ago?
Logged
CommTech
Contributing Gold NLG Member
Sr.NLG Member 501 to 1000 Post
*

Total Karma Storms: 251
Offline Offline

Gender: Male
Posts: 503


Joe


« Reply #7 on: October 26, 2010, 12:22:39 AM »

Very Impressive work!  Hail Hail Hail
I will also be interested in seeing your progress on this very cool project!

K+ and thanks for sharing!

Joe
Logged
russdx
New NLG Member 1 to 100 Post
**

Total Karma Storms: 5
Offline Offline

Posts: 35



« Reply #8 on: October 26, 2010, 07:18:22 AM »

i want to design a pure smd version as well without the fpga/arm extender boards, it would literately be 2.5x2.5inches big LOL. the idc connectors would actually take up more room then the control chips
Logged
russdx
New NLG Member 1 to 100 Post
**

Total Karma Storms: 5
Offline Offline

Posts: 35



« Reply #9 on: January 17, 2011, 06:23:51 PM »

heres the dot matrix display controller (havent plugged in the micro controller yet)

its a very simple board that basically consists of an arm6 processor that stores all the DMD images and control programs (also talks to the main slot controller). and a little FPGA that bit bangs the image out to the plasma DMD display VERY VERY quickly.


will hopefully have it installed in the slot this weekend and talking to my main board Smiley


sorry for the crappy picture (took using phone) will take a better one at the weekend

Logged
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #10 on: January 17, 2011, 10:49:00 PM »

Did you etch the board yourself?
Logged
jdkmunch
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 624
Offline Offline

Gender: Male
Posts: 2640



« Reply #11 on: January 17, 2011, 10:57:57 PM »

What a great project............ 


GO GO GO GO!!

Please Keep Us Posted
Logged
FORDSBS
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 363
Offline Offline

Gender: Male
Posts: 4162


PET


« Reply #12 on: January 17, 2011, 11:01:20 PM »

russdx, keep up the good work. I wish I was as talented as you.
Ford
Logged
reho33
Contributing NLG Member
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 146
Offline Offline

Gender: Male
Posts: 1594


Slot Losers of America / Tokie Owens


« Reply #13 on: January 17, 2011, 11:07:22 PM »

I see an open source "kit" with the code to boot. Now you could have a "home slot piggy bank" that can be customized to your liking. How about a web interface so that options could be adjusted over your home computer or play a progressive (fake of course) over the Web. As a matter of fact this was the subject of my very first post when people asked what you would like to see in a slot if you could create it. I think that this is cool because it could give most of the slot manufacturers a run for their money. What a better way to humble them than to create a board with code that not only plays better but also can be far more customized than their system. Now all you need is an open source player tracking and accounting system and it might just relegate SAS to the trash heap of history. Better, Faster, and Cheaper would turn the industry on it's side! Think it's far fetched? Just give it some thought.
Logged

** NOTE: The information contained in any of my posts relating to slot machine ownership and use is information that I have gathered from publicly known sources correspondingly under the same protections of Free Speech governed under the Laws of the United States and Canada and is for informational use only. As is my Constitutional Right under United States and Canadian Laws the redistribution of said information is considered a form of free speech. Using this information in the United States or Canada to conduct illegal gambling in states/provinces where it is unlawful has been declared against the law in those states/jurisdictions and as such I do not advocate the illegal use of such information under both the United States and Canadian Laws. All references and examples of personal experiences are hypothetical in nature, and it is up to you to determine if the information presented is applicable to your situation or not**
russdx
New NLG Member 1 to 100 Post
**

Total Karma Storms: 5
Offline Offline

Posts: 35



« Reply #14 on: January 18, 2011, 07:43:07 AM »

thanks guys

boards where made using ww.BATCHPCB.com
turn around is around 2/3weeks but im in no rush and is VERY cheap Smiley

will post a video of the dmd working this weekend Smiley
reels are almost doen as well just need to finish off the FPGA module, so hopefully they will be spinning soon!
got all the parts for the audio on my desk so will be designing that board very soon as well Smiley
also need to get all my glass printed + reel bands Smiley


@reho33

i did look into making a board with the same connector as the original IGT machine, so in theory you would just unplug your slots control board and plug a little custom one in. it would have all the same interfaces as the original board so could talk to all the hardware. also be attached to the pc using usb for programming / tournaments / progressive pot data

would be a fun project! Smiley



Logged
russdx
New NLG Member 1 to 100 Post
**

Total Karma Storms: 5
Offline Offline

Posts: 35



« Reply #15 on: January 23, 2011, 08:42:26 PM »

dint get round to doing much this weekend had girl friend over and had to entertain her lol. (deffo free next weekend though hehe)

did manage to install the board into its new home hehe. and quickly test the FPGA and Micro controller to make sure they are ok and that i had actually designed the pcb correctly (which after successfully programming both devices and having the dmd display a test screen) confirmed i had!

will take some images of it running next weekend Smiley maybe some videos of animation Smiley (no images yet not written any image code Sad)

heres a little picture of it mounted in the slot Smiley (ignore the red pcb thats just the FTDI board i used to program the ARM micro controller. it wont be there when the slot is complete)

Logged
russdx
New NLG Member 1 to 100 Post
**

Total Karma Storms: 5
Offline Offline

Posts: 35



« Reply #16 on: February 07, 2011, 04:22:03 PM »

heres a little video of the machine initializing with the dmd

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

the DMD and main controller and now talking to each other nicely Smiley (using a similar memory map system that the main controller uses with the FPGA)


just need to write all graphics/animation/transitions handling now Smiley. then i can get started on the game play


also still developing the sound board (decided to go down the surface mount route on this project with some vs1053 mp3 decoders, should be fun!).
And just need to finish off the FPGA reel code Smiley


machine glass is just printed off from printer atm, willl have proper glass made at some point Smiley
its slowly getting there Smiley
Logged
russdx
New NLG Member 1 to 100 Post
**

Total Karma Storms: 5
Offline Offline

Posts: 35



« Reply #17 on: February 19, 2011, 08:12:57 PM »

finally finished the reel driver today Smiley

frame rate on camera is to slow to see that in the first test that alternate reels are actually spinning backwards hehe

reels support backward + forward and half stepping for slow reel spin (which it does when the machine initializes to find the reel optos)

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


audio board next Smiley
Logged
StatFreak
rotaredoM etiS GLN labolG
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 756
Offline Offline

Gender: Male
Posts: 8549


Warning! Spammers will be eaten, with relish!


« Reply #18 on: February 20, 2011, 03:36:10 AM »

It looks like you're making progress.  stir the pot / get cooking   Good work.  applause applause
Logged

I found myself at NLG garfield  ..but got lost again on the way home. Scratch Head 2
If found, please email me to myself. Thanks. yes
       Executive member in good standing of Rick's SMAA.                              Ehhh...What's Up Doc?
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #19 on: February 20, 2011, 03:51:37 AM »

That is awesome russ!  applause
How are you coming up with the reel stops?
Logged
russdx
New NLG Member 1 to 100 Post
**

Total Karma Storms: 5
Offline Offline

Posts: 35



« Reply #20 on: February 20, 2011, 02:49:39 PM »

reel stops are completely random in that demo.

int t1 = (random(24)*2)+48;
int t2 = t1+(random(24)*2);
int t3 = t2+(random(24)*2);
printf("%d %d %d\r",t1,t2,t3);
spinAllReelsNoStops(0,0,0,0,0,0,t1,t2,t3);

when i get round to coding the game, (need to work out all the odds for the band layout) it will pick a random symbol on the band then spin to that symbol. then the next reel will do the same but making sure it has spun at least as many symbols as the previous reel


all the graphics at the moment is printed onto paper lol, ill get it properly glass printed when all the hardware is done Smiley
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 #21 on: February 20, 2011, 06:08:38 PM »

I am very impressed with all the effort put into this project thus far and I am sure you have learned tons about the inner workings of these machines...
... however this seems like a boat load of work assuming the goal is to get the one reel to spin backwards......
I am a keep it simple type of guy ...... Why not just put the stepper motor on the opposite side of the reel basket and print up a custom strip in reverse order.
The reel stops will all work with existing firmware.

It reminds me of the story where the US spent 14mm dollars to invent a pen that would write in outerspace while the russians used a pencil......





Logged

The only way to beat the casino is to own it
a69mopar
647-402-1977
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 600
Offline Offline

Gender: Male
Posts: 3508



WWW
« Reply #22 on: February 20, 2011, 06:23:18 PM »

He did say that the reels support forward and backwards spins.  I believe he just prefers the backwards spin.  The creation of a custom slot, with a DMD, is interesting to follow.

Thanks,
Wayne
Logged

         www.GTASLOTS.com      647-402-1977              BALLY S6000 GALLERY
stayouttadabunker
Senior Full time Member.
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 1039
Offline Offline

Gender: Male
Posts: 13447



« Reply #23 on: February 20, 2011, 08:56:06 PM »

Forgive me but I'm dumb...what's a "DMD"?  Scratch Head 2
Logged
a69mopar
647-402-1977
Global NLG Site Moderator
Sr.Tech NLG Member 1000+ Post
*

Total Karma Storms: 600
Offline Offline

Gender: Male
Posts: 3508



WWW
« Reply #24 on: February 20, 2011, 09:26:43 PM »

Dot Matrix(Mation) Display
Logged

         www.GTASLOTS.com      647-402-1977              BALLY S6000 GALLERY
Pages: [1] 2 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.141 seconds with 21 queries.