This is John from John's Retro Arcade.
The main goal I wanted was to simulate the actual pull and release feel of a real plunger.
I actually used a normally closed switch at first. I quickly found out that was not the best way for several reasons.
- As the plunger is pulled and released, you are stuck with a bunch of bounce (like repeatedly hitting the switch very quickly) from the spring action of the plunger. VP cannot handle this and the ball release becomes very intermittent and crazy
- You get a very unrealistic "thud" sound as the plunger just hits the switch and stops
- After a short period of time the switch quickly wears and gets knocked out of alignment.
The opto switch is a perfect solution for the problem.
- Maintains the full pull and release feel
- No wear and tear
A debounce circuit is still needed, as the switch should be mounted as close to the tip end inside the cabinet to offer the most realistic feel for small pulls of the plunger for light shots. If not the plunger will bounce like crazy as it settles back into position.
I'm not doing anything super cool here. The opto circuit is just used as a simple switch. No sensing of ball speed or anything like that. The shorter the plunger is pulled, the quicker the launch switch is pressed. The longer the plunger is pulled, the longer the launch switch is pressed. Just like using the keyboard.
Sorry for the book!
