Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: why is there a capacitor in my player 1 coin mech micro switch?  (Read 4049 times)

0 Members and 1 Guest are viewing this topic.

BC_Jeffro

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:March 09, 2020, 04:55:23 pm
  • you can never leave the game!
why is there a capacitor in my player 1 coin mech micro switch?
« on: January 12, 2013, 12:27:32 am »
hi i was going to trade coin doors on my Bosconian mini with my super pac and noticed this on my super pac coin door mirco switch
 why is there a cap there?
« Last Edit: January 12, 2013, 10:52:56 pm by BC_Jeffro »

matsadona

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 760
  • Last login:October 28, 2023, 06:00:12 am
Re: whats this about ?
« Reply #1 on: January 12, 2013, 09:09:37 am »
Not sure... but maybe to eliminate contact bounce? Or is it the opposite - i.e. that the coin signal will last longer so that the game has a better change noticing it maybe?
Building, collecting and playing arcade machines :)

Gray_Area

  • -Banned-
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3363
  • Last login:June 23, 2013, 06:52:30 pm
  • -Banned-
Re: whats this about ?
« Reply #2 on: January 12, 2013, 04:26:03 pm »
I recommend titling your thread "why is there a capacitor in my coin mech?".  Or, shortly, "Capacitor in my coin mech?"
-Banned-

BC_Jeffro

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:March 09, 2020, 04:55:23 pm
  • you can never leave the game!
Re: whats this about ?
« Reply #3 on: January 12, 2013, 10:34:51 pm »
ok

paigeoliver

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10994
  • Last login:July 06, 2024, 08:43:49 pm
  • Awesome face!
Re: why is there a capacitor in my coin mech?
« Reply #4 on: January 12, 2013, 10:49:28 pm »
That is actually the switch, the mech is the the tan plastic jobby above that.

Game probably wasn't triggering coin drops every time for some reason and that somehow fixed it.
Acceptance of Zen philosophy is marred slightly by the nagging thought that if all things are interconnected, then all things must be in some way involved with Pauly Shore.

BC_Jeffro

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:March 09, 2020, 04:55:23 pm
  • you can never leave the game!
Re: why is there a capacitor in my player 1 coin mech micro switch?
« Reply #5 on: January 12, 2013, 10:52:43 pm »
ya i know its not on mech but on micro-switch (will change post title)

so its not a huge mystery there are reasons for doing this
thanks

WindDrake

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 271
  • Last login:December 03, 2020, 09:49:05 pm
  • Electrical Engineer
Re: why is there a capacitor in my player 1 coin mech micro switch?
« Reply #6 on: January 13, 2013, 10:04:46 pm »
Contact debounce & contact noise filtering.

BC_Jeffro

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:March 09, 2020, 04:55:23 pm
  • you can never leave the game!
Re: why is there a capacitor in my player 1 coin mech micro switch?
« Reply #7 on: January 15, 2013, 01:02:17 am »
 :applaud:
thanks

rCadeGaming

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1256
  • Last login:April 13, 2025, 12:14:40 pm
  • Just call me Rob!
Re: why is there a capacitor in my player 1 coin mech micro switch?
« Reply #8 on: January 17, 2013, 01:05:03 pm »
That's interesting.  How many microfarads (uF, should say on the side)?

brad808

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 818
  • Last login:May 22, 2023, 08:18:15 pm
Re: why is there a capacitor in my player 1 coin mech micro switch?
« Reply #9 on: January 17, 2013, 08:05:50 pm »
For some reason this isn't sinking into my head. Can someone explain the dumb dumb version as to how this is doing something useful?

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 02:50:03 pm
  • Designated spam hunter
Re: why is there a capacitor in my player 1 coin mech micro switch?
« Reply #10 on: January 17, 2013, 08:50:29 pm »
For some reason this isn't sinking into my head. Can someone explain the dumb dumb version as to how this is doing something useful?

The Ikalogic website de-bounce page explains that pressing and releasing a button can cause spring-loaded contacts to bounce (picture dropped silverware) resulting in voltage spikes like this at the encoder input:


The discharge and re-charge of the capacitor during the press and release smooths the voltage like this:


By choosing a capacitor that charges and discharges at the right rate, you allow the encoder to record legitimate credits and block false ones.

Software or firmware filters out any remaining ripples -- "Source of error" in second pic.


Scott

brad808

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 818
  • Last login:May 22, 2023, 08:18:15 pm
Re: why is there a capacitor in my player 1 coin mech micro switch?
« Reply #11 on: January 17, 2013, 09:18:29 pm »
Awesome, that makes good sense. Thank you.

Sent from my Galaxy Nexus


rCadeGaming

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1256
  • Last login:April 13, 2025, 12:14:40 pm
  • Just call me Rob!
Re: why is there a capacitor in my player 1 coin mech micro switch?
« Reply #12 on: January 17, 2013, 10:52:12 pm »
By choosing a capacitor that charges and discharges at the right rate

What's the math in choosing the right capacitor?

WindDrake

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 271
  • Last login:December 03, 2020, 09:49:05 pm
  • Electrical Engineer
Re: why is there a capacitor in my player 1 coin mech micro switch?
« Reply #13 on: January 17, 2013, 11:49:07 pm »
Picking the right cap is part voodoo, part conventional wisdom for debouncing via noise suppression.

Voltage isn't important. Just pick a cap rated to (typically) 25-33% higher then your operating voltage. This is just headroom over-speccing.

Value is handled by our friend the RC Time Constant.

"But WD!" you'll say. "That takes a pullup resistor!"

Then I remind you that the input is either internally pulled up (90's and onwards) or has a pullup at the board. :)

http://www.ganssle.com/debouncing-pt2.htm

Math is there. Here's the short of it: Most switch bounce lasts less then 10-20msec. Most debounce caps you'll ever see are 0.1 or 1uF.

Larger caps put a big honking delay on the line, which can cause the board to ignore a coin drop that's quick behind the last one.

My guess is that's why that cap is there. That, or that cab's original board had some serious gremlins.