Homebrew Pinball #3, Part 45

Cross posted from the original Pinside thread, this is one of many posts regarding my third homebrew pinball machine, creatively nicknamed 'P3'



Another lingering problem I've been having is with the slingshots and pop bumper. Originally I was going to control them through the driver boards like everything else, but I realized I'd be able to use 2 boards instead of 3 if I powered them separately. So I figured I'd just drive them with Gottlieb pop bumper driver boards. I had some spares, and they're purpose built for this purpose. But for some reason I can't seem to get them to work well. Unless I gap the switches incredibly wide, the boards will rapid fire. So after a lot of fighting with that I decided that I could make a better pop bumper driver board!

Instead of relying on a 555 timer and some capacitors to handle timing and debounce, I'd use a cheap CPU (a PIC16F1827 8 bit CPU) and code it to work exactly how I needed. Plus, then I could use a single board to drive all three of my coils (these gottlieb boards are so spread out and wasteful!). Since I already had the wiring harness set up to use them, I designed the board so it could work with multiple original 6 pin connectors, or with just two custom connectors (one for inputs, one for coils). And since the CPU had 15 IO pins, I made it drive up to 7 coils (why not?). Still the same size as the original, and mounts using the same standoffs:

I built one up, populated the components for three coils, and hooked it into the machine. It took some tweaking, but the results are quite good. I'm now able to gap the switches incredibly close, so the kickers are super sensitive, and I can adjust the pulse time to get the strength where I want it. The pop bumper is now much stronger, and the slings got set a bit weaker since they've always been concerningly strong when they did get triggered

Curious to see how it performs compared to an actual gottlieb, so at some point I'll build another of these and stick it in my Alien Star, assuming I can get all the connectors to reach

Posted Tuesday, October 27, 2020
at 03:01 PM


Tags: Blog Post, Pinball, Project, P3,

Homebrew Pinball #3, Part 44

Cross posted from the original Pinside thread, this is one of many posts regarding my third homebrew pinball machine, creatively nicknamed 'P3'



Had ideas floating in my mind as I went to bed last night, so I spent labor day turning my 3d printed down-post:

Into this:

(experiment! can you see this in 3d here? https://cad.onshape.com/documents/e14cc6f13a9ec312b7e371b0/w/a5bf5ad363bb92618999d587/e/dd1e5e8e912c1fee6b05a354)

It mounts in a standard slingshot bracket; when the coil energizes and pulls the plunger (which attaches to the bottom of this part) down, it also spins around about 120 degrees in its channel.

The thing fits in about the same area as just the coil (and could be made smaller too, but I sized it around the hex base which is 9/16 for easy mounting with a wrench), so there's no clearance issues compared to the plain post that was there before.

I had to rearrange things slightly since the existing post+hole wasn't in the proper position for a gate (which would optimally be right above the wire guide, but in the end it works since it also gives me more room to bounce the ball around a bit, giving the player more reaction time, which was another goal I had when reworking this area.

Will have to give it some more playtesting to make sure it holds up well... In the long term I'd redesign this area a bit further around this new mechanism. The two rollovers aren't needed anymore, since it's basically impossible for the ball to go the wrong way which also means two switches saved (I think my matrix is nearly full), two less cuts needed to be made in the playfield (and the eventual plastic cover). The post can be moved a tiny bit closer to the drops below. I can use a shorter metal rail since I don't need to have it extend up to work with the up-post, or maybe a small custom-cut guide can be made to fit below the post and provide a smoother transition to the outlane. Instead of the temporary red post I added on the left, I can shape the inlane guide above it to fill in that area.

It took about 12 prints over 10 hours to get everything right since I didn't really plan this out before hand, and didn't know what measurements I was working with, but in the end it's working smoother than I expected, so not bad for a day's work

Posted Tuesday, October 27, 2020
at 03:00 PM


Tags: Blog Post, Pinball, Project, P3,

Homebrew Pinball #3, Part 43

Cross posted from the original Pinside thread, this is one of many posts regarding my third homebrew pinball machine, creatively nicknamed 'P3'



Lots of playtesting happening while I try to figure out what direction to take the code in. I've gotten a few others besides myself to playtest, such as my old college roommate who dropped by for dinner one day:

He's not a pinball player, and has probably played 20 games of pinball in his whole life, so it was interesting comparing how he played it with how other, regular pinball players did. Another interesting difference though, is that he knows how to play poker, vs another playtester who plays pinball a lot, but doesn't know poker too well. One person trying to actually play poker hands, go for good hands, etc even though their accuracy and control were minimal while another mostly ignored the hands. I need to make sure that the game is fun for both types of players.

Watching people play has also given me more chance to actually watch how the game physically plays and I've noticed some areas I don't like:
The right inlane/outlane area was giving way too many inlanes vs outlanes. The metal wall on the side of the slingshot to smooth the orbit feed doesn't help either, as it's effectively making the inlane even wider. I thought from my initial design that it'd be very outlane heavy but either the wood outlane wall is bouncier than I expected, or the angle the ball tends to come in just is leading to that sort of path... I added a mini post with a small rubber right above the inlane guide, which seems to help a bit:

My ability to place the post is a bit limited since I need to make sure not to interfere with the orbit feed from the diverter, so I couldn't really place it much higher, or any more to the left (which I wanted to do to make the outlane 'wider')

The left outlane had similar issues. The ball was going down the inlane much too often, and again I couldn't really change the size of the inlane that much since it's also the left orbit return feed. So I needed to play with the outlane instead. I started by swapping the left slingshot post from a star post to a thinner post, but that didn't have much effect. So I started moving the post down+right, keeping the front 'face' of the slingshot the same since I still need to keep it aligned with the switches. It's now down as far as it can go without touching the upper switch, which also required dropping from a 2.5" rubber to a 2" rubber. Still, the ball tended not to go down the outlane that much. I also added an old data east half post rubber to it, since I've found these tend to have a deadening affect on the posts, but it didn't really have a noticeable affect.

I also noticed that the magna save wasn't getting used. At all. Whenever the ball came over to this area, it'd either be down the outlane or inlane instantly; there was no time for nudging or reacting, let alone using the magnet. Eventually I'll probably move the magnet lower, since the slingshot has gotten so much shorter, though I don't think that will help the speed issue that much. I'm not sure if the issue is just that the game is too fast, or if the geometry is also having an effect. I added a mini post in this outlane too, again being careful to not affect the orbit feed while moving it as far to the left as possible, and also added a post above the magnet. I'm hoping that this will cause the ball to bounce off the posts more, leaving it in range for the magnet to be used. This whole area is a bit cramped... I wish I had had a widebody cabinet to use instead of a standard width, mainly for this left side. The feed down the left wall could really use another inch or so to play with, but oh well.

Playing with posts like this is a bit nerve-wracking. I can picture there being a lot of minor adjustments I'd like to do, but once you put a post in one place, you can't put another too close or the holes will interfere with each other. Right now I'm 'testing' by holding the post upside down so the rubber is at the proper height while trying to roll the ball through in all kinds of directions to see how it plays, which is working okay, but you can't really do any advanced testing. Most commercial games have slots for the posts to be moved through, but that is still only one axis, and those slots are difficulty to cut by hand. I'm almost tempted to make a custom little assembly with large washers above and below the playfield, so you can then just drill like a 3/8" hole in the playfield and position your post anywhere in there...


The lower/mini playfield entrance is also giving me issues. The ball tends to rattle a lot more than I expected coming down the outlane, so sometimes the ball is going the wrong way when the post is down. Sometimes the down post and its hole cause the ball to do weird things too, since the post hole is in the path of the ball (which I've learned from owning a Jurassic Park is something to avoid at all costs...).

I'd REALLY like to have a little diverter gate here instead of a post, but the area I have to work with is extremely limited. I picked up a Stargate recently, and saw that they had a really cool diverter mech in their outlane. It's a rotating gate, but it operates via an up-down post mech, with a spiral path around the plunger, so the gate/plunger is forced to rotate as it moves up and down. I bet that mech would work perfectly, if I could somehow find one to use, but I've only ever seen it in Stargate. Maybe I can fabricate one with my 3D printer...

I'm also going to play with the post to the upper right, try to move it down and to the left as far as possible in order to guide the ball more towards the mini playfield entrance. I can't move it too far though without blocking the outlane drain path, and I need the one way gate on the inlane to still work, so this may end up being a custom shaped 3D printed post?

The star rollover on the left got positioned too far to the left, so it's possible for the ball to roll down the guide smoothly and not trigger it. I can't really move the rollover though without cutting a new playfield or something. Multiple playtesters commented that the ball feeds to the lower flipper very fast; you need a very quick reaction to flip in time once you realize the ball is going to the mini playfield instead of draining. So I may try to reshape the guide here in to try and slow the ball down and force it to go over the rollover as well.

One last area of minor concern:

Occasionally a fast right outlane drain will self-lazarus off the mini playfield exit gate. It's not too often, so I'm not that concerned, but I'd rather it didn't happen. Usually games have 'biff bars' (or whatever the official term is) to prevent this, but since I actually want balls to be savable from the mini playfield flipper, I can't have one here. Don't really have any ideas on how to prevent this

Posted Sunday, October 25, 2020
at 02:15 PM


Tags: Blog Post, Pinball, Project, P3,

Homebrew Pinball #3, Part 42

Cross posted from the original Pinside thread, this is one of many posts regarding my third homebrew pinball machine, creatively nicknamed 'P3'



More code progress, working on the first mode...

As I've actually been able to play, I'm realizing just how hard it is to get a straight/flush. The odds in real poker at random are about 3-4%. Not exactly how frequent you'd want a multiball to be... I had figured it'd be much easier here, since you're able to choose your hand, but it turns out that aiming is hard. Playing test games, I was managing to get a straight maybe 1/8 times. Not horrible, but still not too good. I also realize a general flaw with awarding modes+multiballs off your hand is that if you get 4/5 cards for a straight, that doesn't carry over. Most games if you drained while trying to get multiball, you'd at least have saved progress, but this is all or nothing. Also, getting a pair is super easy, probably too easy.

So I'm playing around with various ways to change this up. First, I'm thinking of other ways to get the various multiballs, such as using your poker winnings to 'buy' them. That way as long as you win your hand, you're still making progress towards features, and if you can pull off a good hand, you get rewarded with an instant multiball. Still some stuff to work out here though. I don't want to end up with big menus for purchasing things or anything, I'd like most of the choices to be made during gameplay.

Alternately, maybe I keep a separate progress tracker for each mode. Getting a 3 card straight would give you some progress, a 4 card would give you more, etc. Or I can combine this with the 'purchasing' mechanic, lowering the price of the multiball based on previous progress.

Another option would be to have some other multiball awarded for more standard things. I could place some shots around to spell 'LOCK' and light locks for a separate multiball, to at least balance out the game more from relying on the hard to access hand multiballs. I'm there's many ways to set this up, but I'm hesitant to add something which could pull the focus away from playing the poker hands.

I'm also playtesting the ability to undo cards. Right now I have the magna save and outlane vuk tied into the same 4-light meter, so I also added the ability to undo your last dealt card at a cost of two magna-save pulses. currently this is triggered by the start button, but eventually I figure it'd either end up as the action button (if I can manage to mod one into this williams cab), or as a cheat button below the shooter (callback to Jackbot).

Lots of options to play with, but they all require playtesting. Which is good to be doing anyway, although the game is still a bit barren right now. It's also giving me more data for stuff like the outlanes. I've moved posts around, added rubbers, etc, to try to make the outlanes fairly drainy (since there are options to save the ball), but still savable with some nudging.

What I'm finding interesting is how little chance I get to nudge things. The ball moves around so fast that it's either in the inlane or outlane often before I can react. I'm not sure if the game is just playing faster than other games (it doesn't feel that way too much), or if something is making the rebounds less predictable, etc. I'm wondering if some of this may be the paper covering the playfield. Could it play different enough from wood to cause issues? I also know that the plunge and upper lanes have some issues due to bits of wood stuck under the paper, so maybe there's more of that that I'm not aware of. Hopefully that should be handled once I get the inserts/plastic figured out. I need to spend some more time doing some practice cutting before trying to hand cut the full sheet I've got. I've also been looking into CNC/laser cutting options, but haven't had much luck so far. When starting this project I'd hoped to use the local makerspace since they have a CNC router and a laser cutter, but they've been closed due to covid Considering purchasing a cheap 2x2ft unit for myself, but I'm not too knowledgeable about the options on this front.

Posted Sunday, October 25, 2020
at 02:15 PM


Tags: Blog Post, Pinball, Project, P3,

Homebrew Pinball #3, Part 41

Cross posted from the original Pinside thread, this is one of many posts regarding my third homebrew pinball machine, creatively nicknamed 'P3'



I'm hoping to use a plastic sheet on the playfield instead of having to manually cut all the inserts and deal with clearcoating, etc, but I wasn't sure how I was going to handle the star rollovers. The sheet will end up pretty similar to a Hardtop, and I know that star rollovers cause tons of issues with those, with each hole needing to be manually cut out for alignment, rollovers raised, etc. Plus I'm hoping to cut this plastic by hand, and drilling holes in it isn't the easiest, especially for large holes. Doable, but I also have 11 rollovers on my playfield right now (and could really use a few more), so it's something i really don't want to mess with. I looked into using eddy sensors but I can't find any good cheap source for them.

I thought back to earlier EMs, especially some ballys, which have tons of small, ~1/4" rollover buttons, and I figure that those would probably have a much easier time dealing with a hardtop. But with how my playfield is designed, buttons that small will run the risk of not being triggered by the ball. Plus I don't think those small bally rollovers are available anymore.

So i'm trying my hand at 3D printing some custom rollovers:

These are designed to have a button slightly smaller than my 3/8 bit, to give a small bit of wiggle room when drilling the holes, but hopefully not enough to get the ball hung up on. They also seem to be just big enough to still have similar sensitivity/range with a normal rollover star. The transition as the ball rolls over isn't quite as smooth (partly because it's not smooth like a star and partly because my 3D printing isn't that smooth) but it doesn't seem too bad.

They'll need some tweaking, but I think they should be usable.

Posted Sunday, October 25, 2020
at 02:14 PM


Tags: Blog Post, Pinball, Project, P3,

Homebrew Pinball #3, Part 40

Cross posted from the original Pinside thread, this is one of many posts regarding my third homebrew pinball machine, creatively nicknamed 'P3'



While doing some gameplay test I had my first 3D printing casualty... Luckily it wasn't from the ball hitting it, but from a design flaw. My shooter lane diverter gate is using a regular ball gate (what bally tended to use in its outlanes), and they aren't too accurate since they just use a relay to spin the gate. When the gate is resting against the side rail it's fine, but when it's energized and out in the playfield it can have a lot of variance. In this case it ended up stopping above the 5 bank of drop targets:
You can guess what happened next...

I've now added some software compensation to prevent this from happening:

You'll also notice my new gate is orange. I ran out of my original spool of white PLA plastic, so now I'm trying out some orange PETG; recommended to me by by another homebrewer as being much stronger than PLA and good for pinball mechs. It took me five prints to get a usable gate though, and it's still a bit messy, so I need to work more on dialing in the settings for printing with the different material.

Posted Friday, October 23, 2020
at 09:23 AM


Tags: Blog Post, Pinball, Project, P3,

Homebrew Pinball #3, Part 39

Cross posted from the original Pinside thread, this is one of many posts regarding my third homebrew pinball machine, creatively nicknamed 'P3'



Still alive! Been distracted by other stuff but I've been slowly making code progress on the game.

I had started by trying to code the first multiball, but I was making lousy progress due to running into a lot of bugs and having issues debugging them. After a few days making no progress like that, I decided to put a halt on game coding, and focus on making the dev/testing/debugging workflow better.

Testing the game physically was a big pain. Originally I was trying to run the code from my desktop, but the game was at the other end of the house. Then I tried doing remote desktop from my laptop, but it still wasn't too good. So I started planning on how to rearrange my office to accommodate the machine, so I could have easy access to it while developing, but I couldn't really come up with any good layout. There's just no comfortable way to be sitting in an office chair near a desk but also be able to reach a whole playfield. Plus, I realized that my projector mount is too tall to fit in my office

So cleaned up my work area, cleared out my livingroom (which has a high ceiling), and set up a new testing/work area there, with all the best comforts available :

As cushy as this is, I still would prefer to do my coding from my office workstation as much as possible, so also worked improving my 'visualization'/'simulation' more. Even then though, I still found that every time I deployed new code to the machine I was running into tons of hard to reproduce bugs, so I spent some more time adding a ton of logging to the code, and improving how the logging works to make it as easy as possible to examine different subsystems, etc.

The real big change though came after that. I captured some weird bugs on the machine, and then took the logs back to my desktop to investigate, but it was slow going reading the logs and attempting to figure out what was important when trying to reproduce the issues virtually. In particular I had one log file that contained nothing but a log of every switch closure/opening that I was staring at since there were some weird switch issues (flickering, etc) going on.... and I thought to myself, with this info, couldn't I just play back the entire game?

So I spent a weekend writing a 'recording'/'playback' system that could read any log I give it and run the game on my PC to recreate the exact sequence of events. With that, I could add tons of breakpoints, pause and step through the code, etc, and pinpoint the issues. Plus, the recordings make perfect automated test cases, so I now have a growing collection of recordings of resolved issues that can be automatically run to verify the game is functioning properly when I change more stuff.

This had further benefits too beyond tracking down bugs too. When developing new bits of the code, I no longer need to click through the game to access the areas I want. I have premade scripts for "complete a hand", "qualify multiball", etc that I can just run whenever needed, which has made development much nicer.

Plus, since it's a recording, I can speed it up. Here's a video of the game playing back a recording of collecting 5 cards, starting multiball, and then lighting a jackpot:

Overall, I'm still spending a lot of time working out bugs, and figuring out how to handle various standard game things like various priorities overriding each other while I develop the game code, but it's been worth the time to slow down and improve my workflow. The game is going to require a lot of code, so if coding the game isn't fun by itself, then I'm in trouble!

Posted Friday, October 23, 2020
at 09:22 AM


Tags: Blog Post, Pinball, Project, P3,

Homebrew Pinball #3, Part 38

Cross posted from the original Pinside thread, this is one of many posts regarding my third homebrew pinball machine, creatively nicknamed 'P3'



Not much progress lately, all my time has been taken up by other things

I installed an up-post next to the magnet to catch the ball as it comes around the left orbit

Was a bit nervous about the installation since this wasn't at all planned for, and I had to just eyeball the location, but luckily it did barely fit

The post itself is a bit smaller than the sleeve, but the sleeve itself is nearly touching the magnet, so I definitely can't really get much closer

Sadly, even with this set up, the magnet still couldn't grab the ball. In retrospect I should have just screwed a regular post in at this location and tested the magnet with that first. If I pushed the ball even 1/4" closer to the magnet, then the magnet had no trouble grabbing the ball, but with the ball leaning against the right wall, there was just slightly too much distance. I can't move the wall, since it's part of the shooter lane, and I can't move the magnet, since it has to be aligned to drop to the upper flipper.

Again, I wondered about having an exposed core, and whether that would be enough, but I didn't want to drill the playfield to find out. Before setting up some test cuts on my spare playfield, I decided to test out the best-case scenario: instead of an exposed core, just expose the whole magnet! I stuck the magnet under the lexan sheet on my test playfield, and ran some wires to test it:

No problem here. The magnet easily grabs the ball from at least 1-1.5" further than it does with 1/4" of plywood in the way. I'm now very curious how this compares with the large exposed cores Stern uses now, but still don't want to spend $50 to find out. Even that wouldn't be needed though, if I do end up going the route of just covering the entire playfield with a plastic sheet, which is looking more and more enticing as a solution to many of my issues.

The main problem right now is actually cutting the sheet. Circular holes shouldn't be a big issue, but I'm not sure how cleanly I can make the slots for the target banks. My biggest worry is all the star rollovers. I'd have to cut holes for each of them that align very well with the holes in the playfield, and then raise the rollovers up to be flush with the sheet. I'll need to practice some more with my spare material and see how cleanly and accurately I can make all these cuts. Long term I'd probably need to get this laser cut, but I haven't had any luck finding a place to get a cut this big made yet

Posted Tuesday, October 20, 2020
at 02:02 PM


Tags: Blog Post, Pinball, Project, P3,

Homebrew Pinball #3, Part 37

Cross posted from the original Pinside thread, this is one of many posts regarding my third homebrew pinball machine, creatively nicknamed 'P3'



Last month I picked up a world cup soccer, and while shopping it I noticed that it had the same style one way gate as one of my spares, with a second wireform to hold the gate open, and that this was the type used by TNA, so it's available from PBL. I did a rough mockup of the part from measuring it on WCS, and it looked like it'd fit, so I ordered the mech from PBL for $30, rather than making another custom mech.

Of course, it didn't quite fit, but I was able to make due. I ended up having to move the mount for my support rails in a bit, and then mounted the gate mech on top of the rail at an angle. I could have put it in a nicer position, but I'd mounted the switches for the lanes in the way. As I probably could have predicted when I decided to do all my switch wiring with one mech still missing, it was a bad idea.

When I hooked it up to test it first, the gate didn't work. I could hear it buzzing, but it wasn't quite strong enough to pull the flap in. If I gave it a small nudge it'd work though. Once I turned the playfield over, gravity did the work for me and it worked fine. In retrospect I realized that this is another mech designed for 50V, not 25V, so I guess I should be happy it works at all. On the plus side that means that it's pulling such minuscule power at 25V that it'll probably never overheat, even without any PWM. I left it on for two minutes and couldn't even feel any warmth from the coil. I like the idea of being able to just have gates and diverters constantly energized, vs having them react when they know a ball is coming at them. There's a lot of times in other games where I get caught by surprise by the orbit coming around or not coming around, etc, since there's no indication on the playfield. At a minimum I think it'd be nice to have a little stop sign insert or something if you're going to do that...

Using a transformer that only outputs 25V seems to be my single biggest mistake so far with the whole project.... It's just continually messing me up since it's not something I ever really thought about before. As much as I like the gottlieb flippers and the general retro feel I think that, if I do another homebrew after this one, I'll either switch to all 50V, or at least get a transformer that can support both, and just use williams mechs...

Posted Tuesday, October 20, 2020
at 02:01 PM


Tags: Blog Post, Pinball, Project, P3,

Homebrew Pinball #3, Part 36

Cross posted from the original Pinside thread, this is one of many posts regarding my third homebrew pinball machine, creatively nicknamed 'P3'



In order to prevent the arcing from destroying my relay contacts, I switched to driving the magnet using a TIP36C that in turn was grounded via the relay instead. That way, the high current is switched by the transistor, so there's no possibility of arcing, while the relay still allows me to control the 50V coil via my 25V driver FET. I mounted the TIP36 on a small bracket made from left over aluminum to act as a heat sink.

With this, the magnet functioned properly, no more locking on, but it also somehow managed to blow my 50V supply's fuse. Even upping it all the way to a 10A slow blow didn't help; I couldn't energize the magnet for more than 1 second. I think this must have something to do with the caps on my voltage doubler, as the lower rated fast blow fuse directly powering the magnet isn't blowing...

Regardless, none of this seems to matter since the magnet still can't grab the ball from the orbit very well. Even with, a medium speed ball thrown by hand, the magnet seems to have almost no effect, let alone being able to grab it. At this point, seeing how bad even 50V is suited for this task, I'm going to stop bothering with this approach for now, and just install a diverter of some kind, as I can't see any of my other ideas improving on it enough for this to be a reliable function in the game. I'm hoping to have at least one multiball be all upper flipper based, inspired by classic lawlor layouts, so having a reliable way to feed the side flipper is a must...

Posted Tuesday, October 20, 2020
at 02:01 PM


Tags: Blog Post, Pinball, Project, P3,

Older Posts >

Posts per page: 5 10 25 50 100