How Not to Build a Virtual Pinball Machine

by kojis92 in Living > Video Games

3100 Views, 22 Favorites, 0 Comments

How Not to Build a Virtual Pinball Machine

Final gameplay video
20201205_134339.jpg
20201205_134353.jpg
20201205_134400.jpg
20201205_134429.jpg
20201205_134405.jpg
20201205_134420.jpg

Reading about the plywood challenge really motivated me to get a kick start on this project, and I am proud to submit this accordingly. Quite frankly, the plywood housing for this project was probably the number one procrastinating factor for me in gettng the software (of which I was already familiar with), to operate in this sturdy box. I must have encountered every caveat that 2020 had to throw at me, but in the end, I came out of it with a functioning virtual pinball machine, build with almost entirely found materials, scraps and bits I had kicking around. All that aside, the machine plays well and is a great addition to my line-up of real pins (and small enough to not count as a pin so far as the space one would normally take up)

------------

Planning, and ensuring all of your parts are consistent and functioning as expected will definitely save you time and money. In my case, I had this project idea burning for over a year, collecting bits and pieces for use, understanding the software and so forth.


When it came to actually assembling all of the bits and pieces, I encountered numerous oddities including buttons that were normally closed (so they open on pressing), different lengths for the arcade buttons I had on hand. A laptop where I was not able to power it on easily by applying power, and so forth. Hopefully this learning can be transferred to you (the reader), for extra consideration and perhaps a bit of a cleaner build.

Please note that this instructible intentionally does not make additional recommended materials, as the idea is that you really can re-use many of these parts that people are otherwise just getting rid of. Patience and being a part of the community and letting people know what you are building is the key!

Supplies

Parts and Supplies:

  • Plywood 3/4" is typically what a commercial pinball is made from. The amount of plywood used would completely depend on the size of the cabinet you are building. It is typically bought in sheets of 4' x 8', but a mini cab build will likely use much less.
  • A Windows PC capable of running Visual Pinball and whatever other pinball software you would like to use. The PC should also support at least two monitors. In addition, this PC should have a keyboard and mouse and power supply.
  • A Widescreen monitor format suitable for the playfield display, with an interface compatible with one of the PC outputs.
  • An additional monitor with a format suitable for the backbox display, with an interface compatible with one of the PC outputs.
  • Arcade buttons compatible with pinball machines or a depth of 3/4" supported with the housing.
  • An interface card to translate button inputs to the PC. I used a Freedom KL25Z (~$15), which provides not only digital inputs, but analog and accelerometer as well.
  • Some short wood screws with a beveled head to fasten the Plexi sheet over the playfield monitor. Also various wood screws and/or wood glue for assembly of the cabinet (I used ~20 screws, and no glue)
  • 2' of wiring in various colors, enough to support the number of buttons (2 each) and if applicable, the plunger and power switch etc. I used ~25 different wires of 24 gage.
  • Access to a saw suitable for cutting plywood and plexi (I used a table saw)
  • Drill with various sizes
  • Power bar
  • Solder and Soldering iron

* Optional *

  • Pinball plunger assembly (Williams)
  • 3D Printer Access
  • Linear potentiometer (i.e. RSA0N11S9A0K)
  • Paint for the cabinet
  • Sandpaper or a electric sander
  • Several small micro push button switches
  • A plexiglass sheet large enough to cover the anticipated playfield size (mine was ~ 16" x 28")
  • Connector pins for wiring harness and pin crimping tool

* If using a front door *

  • Lock
  • Hinges

Planning... (or Lack There-of)

20201205_150854.jpg
20201205_150754.jpg
20201205_150830.jpg
20201205_150838.jpg
20201205_150846.jpg
20201205_134455.jpg
20201205_150902.jpg

Assemble the tools and materials required. In my case, I had been accumulating bit of plywood, monitors and old laptop for over a year as I pondered this project. The only dedicated part I purchased was the KL25Z board. If you want a more aesthetic build, I definitely recommend new parts which can be acquired relatively easily.. on a shoestring budget, it can be fun to build this with found materials around the house. Hopefully some of my 'hacks' and last second decisions will provide insite for such builders.


Review the photos of an actual pinball machine here, and see how the cabinet corners are cut. Review the approximate dimensions, and the angles used. Consider a way to cut the edges to fit cleanly into 45' corners. [I did none of this :(] Of course, as inpiration struck for me one weekend, I blasted out a few adhoc cuts completely based on site and the measurements of the monitor and laptop I chose to re-use.

Assemble the Cabinet

20201128_194722.jpg
20201128_194727.jpg
20201128_194732.jpg
20201128_194739.jpg
20201128_194748.jpg
20201128_195618.jpg
20201128_195631.jpg
20201128_195635.jpg

The first part of this build is definitely to get that cabinet together. It will provide a nice safe spot for your eletrical parts, and will also give you a great boost in energy as you see this physical structure, that you will undoubtedly enjoy slapping the side buttons (once they are affixed).

You will want to plan the cuts to maximize your plywood material. Keep in mind that most plywoods will have a finished and unfinished side, so ensure that the outside of the cabinet cuts will utilize the finished side on the outside. Consider the corner joints and that in a commercial pinball machine, the bottom board is actually made using a routed groove along the edge where a thin 1/4" bottom board could slide between the side panels.

In reality, I did none of this, and ended up with an unfinished side that I needed to sand and also lost more material due to chips and knots which would otherwise be smooth on the finished side. My cuts were completely based on the dimension of the playfield monitor and it so happened that my second monitor was on a stand which could be raised to a reasonable height. Still a platform was required as seen in the photos for this step.

I did route one groove on the bottom board (and routed a tongue on the front board) which did simplify the assembly of the structure as this could be assembled somewhat prior to screwing each panel together.

Mount the Playfield Monitor

20201128_195833.jpg
20201128_195839.jpg
20201128_200017.jpg
20201128_200023.jpg

Removing a monitor from the housing is relatively easy to do, but preferably you may even have a bare panel to install. This may also have a specification to remain powered on, or to be equipped with a physical 'on' switch, such that when power is applied, the unit will be 'on' without any other action. This will also give you a uniform rectangular bracket of ~1/4" of depth which would be fitted to fit the top of the cabinet with some supports on the inside of each wall.

Of course, I did none of this. I had an old 22" ASUS 1920x1080 HDMI panel which I measured adhoc with some smaller wood wedges to apply to the sides to balance this with the beveled backing from the monitor.
I was lucky in that this monitor remains powered on, however if you have a panel which does not have this, it is possible to use the Pinscape software on the KL25Z board which can attempt to simulate a soft power switch.

Create Holes for the Main Flipper Buttons

20201128_200650.jpg
20201128_201457.jpg
20201128_201753.jpg
20201128_202102.jpg
20201128_203322.jpg
20201128_203445.jpg
20201128_224520.jpg
20201130_124312.jpg
20201130_124638.jpg
20201130_124808.jpg
20201130_125748.jpg
20201130_130224.jpg
20201130_130636.jpg
20201130_130641.jpg
20201130_131300.jpg
20201130_131304.jpg
20201130_132414.jpg
20201130_132823.jpg
20201130_133459.jpg
20201130_133844.jpg
20201130_134506.jpg
20201130_135948.jpg
20201130_140603.jpg
20201130_141623.jpg
20201130_141631.jpg
20201130_164350.jpg

Check the buttons you acquired. If you purchased new buttons, they likely came with a template for cutting out the control panel. In my case, the ~35 year old buttons were of varying sizes and dispositions. I made the cut based on one, and needed to make adjustments for each of the eccentrics.
A few tips, use a hole saw kit.
Think about the button distance, and particularly try to allow room where a plunger may go.
After setting the location and making a partial cut on the finished side, move to the inside and use the drill how to align the cut so that you are not just pushing the hole through completely one way or the other, as the plywood will splinter and crack slightly in this case (not the end of the world, but this just gives it a nicer finish)

For compatiblity, you'll likely want to support 2 buttons on each side of the cabinet, and consider an additional button that might be placed on the front of the machine facing up where the lockbar might be placed (this would be similar to the new stern pinball action buttons)

This is also an opportunity to add a hole for the power cord(s), and any smaller buttons you may use.

If You Are Using an Old Keyboard...

20201129_115300.jpg

Make sure that the keyboard is harmless to people. This is very important.

3D Print a Suitable Plunger Housing

20201202_115839.jpg
20201202_115840.jpg
20201202_220400.jpg

After installing the plunger (usually just drill some holes, or in my case, I drilled three holes and just wiggled a large bit to gap the holes to where the housing would mate through the front panel)

The 3D printed housing will ensure the resistor will move smoothly with the plunger. This can be found on Thingiverse.

Affix this housing to the plunger assembly.

Test Your Stuff

20201129_125111.jpg
20201129_125127.jpg
20201129_220901.jpg
20201129_223428.jpg

This is a good opportunity to get your electrical components out, and test the laptop, the screens etc.

In my case, I found that the laptop unfortunately could not be configured to power on by simply providing power. I proceeded to install a small switch near the back of the cabinet, and harnessed this to attach to some wires to manually short the laptop power switch.

Further to this (and unfortunately later in the build), I leaned that the laptop display also needed to be ajar to allow power on! [I proceeded to therefore remove the redundant display].

This is also a chance to ensure you have clearance and to mount your KL25Z (the direction will affect how you configure the software, but this must rest on the bottom board!)

Add the button wiring to the harness and plug it into the KL25Z board along with the plunger potentiometer leads. Make sure it all works, as this stuff (in my case) is getting packed in, and you might not have easy access later.

Start Mounting and Screwing

20201130_140603.jpg
20201130_141623.jpg
20201130_141631.jpg
20201130_143035.jpg
20201130_143421.jpg

Everything is tested, so time to start final assembly. Tuck things in. Screw them where applicable. Try to wrap cables neatly.

Final Testing With the Visual Pinball Software

20201205_030828.jpg
20201205_030901.jpg
Testing joystick pinball device configuration for virtual pinball.
Demonstration of analog plunger on virtual pinball
Demonstration of virtual pinball nudge functionality

Install the Visual Pinball software and test some of the tables and features. This is free software. There are good instructional documents and videos on the configuration of this software that are outside of the scope of this Instructable.

Finishing Touches...

20201205_112250.jpg
20201205_131208.jpg
20201205_131211.jpg
20201205_131216.jpg
20201205_131235.jpg
20201205_131254.jpg

This is where most might have some awesome vinyl decals prepared, or inset illuminated side art. For me, I'm fine with the DIY wood texture :)

I did however need to mount a smoother lockbar part to provide a more comfortable place for the hands when flipping and nudging. Mounting this hard wood onto the plexi, and then in turn having the plexi cut to fit over the playfield display I feel worked quite well and will keep dirt from getting into the cabinet in general.