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 --- Bug Reports --- Site News

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

  

Author Topic: Encoder wheels , cleaning leaf switches  (Read 1065 times)

0 Members and 1 Guest are viewing this topic.

vanwatson

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 192
  • Last login:January 02, 2015, 09:21:39 pm
  • I want to build my own arcade controls!
Encoder wheels , cleaning leaf switches
« on: December 09, 2014, 11:46:44 am »
To clean the Leaf switches you use a piece of cardboard or a business card my arcade manuals say. what do you guys use to clean leaf switches. It says not to use sandpaper or emery paper

How do you test encoder wheels? most roller wheels have an encoder on them

The encoder wheel or roller's header pins has a cable that goes to the logic board. The logic board has a Decoder chip? to decode the encoders wheel/rollers data?

How do you test if the encoding and decoding is working or not?


lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6276
  • Last login:Today at 02:29:01 pm
  • I break stuff...then fix it...sometimes
Re: Encoder wheels , cleaning leaf switches
« Reply #1 on: December 09, 2014, 12:20:19 pm »
the contact has a layer of metal (often silver or gold) plated onto it to reduce arcing and lower oxidation of the contact surface.

if the contact is sanded, you remove the plating and expose the copper beneath. The switch will work great for a few days, but will quickly become oxidized and become inoperable again.

vanwatson

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 192
  • Last login:January 02, 2015, 09:21:39 pm
  • I want to build my own arcade controls!
Re: Encoder wheels , cleaning leaf switches
« Reply #2 on: December 09, 2014, 02:02:33 pm »
Quote
if the contact is sanded, you remove the plating and expose the copper beneath. The switch will work great for a few days, but will quickly become oxidized and become inoperable again.

What do you use to clean it with? besides using cardboard or a business card

Do you use steel wool to clean IC pins? or what do u use to clean IC pins


yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Online Online
  • Posts: 18815
  • Last login:Today at 10:31:40 pm
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Re: Encoder wheels , cleaning leaf switches
« Reply #3 on: December 09, 2014, 02:20:54 pm »
Fiberglass Pencil
***Build what you dig, bro. Build what you dig.***

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6276
  • Last login:Today at 02:29:01 pm
  • I break stuff...then fix it...sometimes
Re: Encoder wheels , cleaning leaf switches
« Reply #4 on: December 09, 2014, 02:23:59 pm »
Fiberglass Pencil

this is the best to use.


next best is a simple pink pencil eraser. be sure not to leave any stray eraser rubbings on the connector.

vanwatson

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 192
  • Last login:January 02, 2015, 09:21:39 pm
  • I want to build my own arcade controls!
Re: Encoder wheels , cleaning leaf switches
« Reply #5 on: December 09, 2014, 04:50:17 pm »
Thanks guys about the fiber glass pencil trick

The Encoder has a disc wheel with little windows , I think the Encoder has an opto coupler and an LED

The Encoder IC chip is tested using an Oscilloscope or can I use a Logic probe?

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6276
  • Last login:Today at 02:29:01 pm
  • I break stuff...then fix it...sometimes
Re: Encoder wheels , cleaning leaf switches
« Reply #6 on: December 09, 2014, 05:33:17 pm »
opto encoders don't usually go bad....just dirty.

but you should be able to use either a scope or a logic probe. basically you want to see pulses when the wheel is turned.

if not, it may have gone bad. usually it's the emitter LED that goes. It's replaceable as a unit. (not seperate parts) the old opto should have a part number on it. be sure to exchange it with the same part #.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 7213
  • Last login:Today at 10:39:25 pm
  • Designated spam hunter
Re: Encoder wheels , cleaning leaf switches
« Reply #7 on: December 09, 2014, 05:59:27 pm »
You can use a cell phone or digital camera to check the IR LEDs in the optos.


Scott

vanwatson

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 192
  • Last login:January 02, 2015, 09:21:39 pm
  • I want to build my own arcade controls!
Re: Encoder wheels , cleaning leaf switches
« Reply #8 on: December 09, 2014, 06:09:59 pm »
Quote
opto encoders don't usually go bad....just dirty.

What can I use to clean the opto encoder with, what do you guys use please?

Quote
but you should be able to use either a scope or a logic probe. basically you want to see pulses when the wheel is turned.

So I can put my scope probe on the output pin of the encoder IC chip?

how about checking the decoder chip on the Logic board? cause the encoded signal goes to the decoder chip right?


PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 7213
  • Last login:Today at 10:39:25 pm
  • Designated spam hunter
Re: Encoder wheels , cleaning leaf switches
« Reply #9 on: December 09, 2014, 06:15:49 pm »
Other related info:
The trackball works like a mechanical mouse.

Further details and better pictures here and there's an explanation of quadrature waveforms here.

. . .

There are 4 wires per axis leading to the encoder:
1. 5v - operating voltage for the LED
2. Data A
3. Data B
4. Ground (Sometimes jumpered inside the trackball case, leaving one axis with only 3 wires)

By swapping Data A for Data B, you are swapping quadrature waveform A for waveform B which the encoder translates as turning the other way.




Scott
« Last Edit: July 30, 2016, 12:36:04 pm by PL1 »

vanwatson

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 192
  • Last login:January 02, 2015, 09:21:39 pm
  • I want to build my own arcade controls!
Re: Encoder wheels , cleaning leaf switches
« Reply #10 on: December 09, 2014, 07:41:53 pm »
2 axis would have data A and data B
1 axis would just have data A? no data B

I would need to use a two channel Oscope to display both encoded waveforms
You move the trackball both ways to view both waveforms on the Oscilloscope
The waveforms are just normal square waveform or pulse trains logic signals? nothing special

To check the encoding and measure the encoding is the time relationships of Data A and Data B. Just make sure that data A and Data B are phase shifted/time offset/time interval from each other. 



PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 7213
  • Last login:Today at 10:39:25 pm
  • Designated spam hunter
Re: Encoder wheels , cleaning leaf switches
« Reply #11 on: December 09, 2014, 08:44:05 pm »
2 axis would have data A and data B
1 axis would just have data A? no data B

I would need to use a two channel Oscope to display both encoded waveforms
You move the trackball both ways to view both waveforms on the Oscilloscope
The waveforms are just normal square waveform or pulse trains logic signals? nothing special

To check the encoding and measure the encoding is the time relationships of Data A and Data B. Just make sure that data A and Data B are phase shifted/time offset/time interval from each other. 
In one word: NO:dizzy:   :dizzy:   :banghead:

Did you even bother reading the part about "4 wires per axis" or searching for related threads/info?    :banghead:

The waveform shown assumes that the axis in question is turning clockwise at a constant rate.

You can test the waveform on each data line using a simple volt-meter if you turn the encoder wheel slowly -- logic low when the teeth block the LED light, logic high when the LED light hits the photo-diode.

PROTIP: You may want to seriously consider the suggestions here.


Scott

ed12

  • Trade Count: (-1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3972
  • Last login:March 31, 2018, 03:44:39 pm
  • it is what it is..."Nobody Said It Was Easy"....
Re: Encoder wheels , cleaning leaf switches
« Reply #12 on: December 09, 2014, 10:14:09 pm »
dam straight pl1 :):)

ed
Shipping something from the U.S. to Canada for repair/exchange?  Please use USPS to avoid (additional?/excessive?) shipping charges.  PM me if you have any questions.

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6276
  • Last login:Today at 02:29:01 pm
  • I break stuff...then fix it...sometimes
Re: Encoder wheels , cleaning leaf switches
« Reply #13 on: December 10, 2014, 02:02:38 pm »
if you wish to clean them a soft bristle brush or a blast of air for simple dust.

contact cleaner and a brush to really get in there for liquid spilled in there.

sometimes it's a lost cause and far easier to just swap it out for a new one.

vanwatson

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 192
  • Last login:January 02, 2015, 09:21:39 pm
  • I want to build my own arcade controls!
Re: Encoder wheels , cleaning leaf switches
« Reply #14 on: December 13, 2014, 02:50:33 pm »
The Firing button on arcade games are leaf switches

Some Firing buttons you have to push to trigger the fire and keep pressing over and over to get firing

Other Arcade games you can HOLD down the firing button and it will repeating the firing

What is setting the firing button from continuous repeating or not repeating?


SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Encoder wheels , cleaning leaf switches
« Reply #15 on: December 13, 2014, 04:16:09 pm »
The Firing button on arcade games are leaf switches

Some Firing buttons you have to push to trigger the fire and keep pressing over and over to get firing

Other Arcade games you can HOLD down the firing button and it will repeating the firing

What is setting the firing button from continuous repeating or not repeating?

You have done nothing to indicate you are capable of your own research or, if you do research, capable of understanding what is before you.

The answer you seek is specific to each game. There are several general techniques that are very well documented all over the internet. It is one of these techniques that is fine tuned into each games as chosen by the developer.

vanwatson

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 192
  • Last login:January 02, 2015, 09:21:39 pm
  • I want to build my own arcade controls!
Re: Encoder wheels , cleaning leaf switches
« Reply #16 on: December 13, 2014, 04:25:59 pm »
What is this type of modification called when you modify the firing button like this so I can look it up google?

Do you know what in general they are going to the logic board to make the firing button trigger repeating?

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Encoder wheels , cleaning leaf switches
« Reply #17 on: December 13, 2014, 04:51:55 pm »
What is this type of modification called when you modify the firing button like this so I can look it up google?

No. You must learn how to do it on your own. Every poster who has responded to you has given you enough information for you to Google it on your own. Use Yahoo, Bing!, whatever. No one cares what search site you use, but you need to learn how to search for things on your own.

Quote
Do you know what in general they are going to the logic board to make the firing button trigger repeating?

I do...

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6276
  • Last login:Today at 02:29:01 pm
  • I break stuff...then fix it...sometimes
Re: Encoder wheels , cleaning leaf switches
« Reply #18 on: December 14, 2014, 11:50:57 am »
What is this type of modification called when you modify the firing button like this so I can look it up google?

Do you know what in general they are going to the logic board to make the firing button trigger repeating?

oy vey.

if it has a rapid fire, it's programmed into the game. (could be enabled and disabled by game settings)

if you have to mash the button constantly and you wish not to, a simple timer circuit could be implemented and wired to the input.

vanwatson

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 192
  • Last login:January 02, 2015, 09:21:39 pm
  • I want to build my own arcade controls!
Re: Encoder wheels , cleaning leaf switches
« Reply #19 on: December 14, 2014, 03:17:16 pm »
Yes you hold down the firing button and it is a repeated automatic firing. You don't have to keep pressing the fire button over and over

They have these modifications on some arcade boards, but I don't know what the name of this type of modification is called

Do you know the name of this type of modification?


SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Encoder wheels , cleaning leaf switches
« Reply #20 on: December 14, 2014, 03:51:04 pm »
Google it.

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6276
  • Last login:Today at 02:29:01 pm
  • I break stuff...then fix it...sometimes

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Encoder wheels , cleaning leaf switches
« Reply #22 on: December 14, 2014, 05:15:28 pm »

vanwatson

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 192
  • Last login:January 02, 2015, 09:21:39 pm
  • I want to build my own arcade controls!
Re: Encoder wheels , cleaning leaf switches
« Reply #23 on: December 14, 2014, 05:28:58 pm »
Rapid firing circuits, i thought you guys knew some links to some webpages that arcade techs modified to arcade logic boards

Rapid Fire ( automatic Fire ) daughter board

I have seen them for Galaxian
Scroll down Littlejohn and ED and take a look please
http://www.arcadeshop.com/galaga/galaga.htm

Do you guys know of any others please?

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6276
  • Last login:Today at 02:29:01 pm
  • I break stuff...then fix it...sometimes
Re: Encoder wheels , cleaning leaf switches
« Reply #24 on: December 14, 2014, 05:36:36 pm »
same ---steaming pile of meadow muffin---, different pile.

hell, with a relay and a properly chosen capacitor you can make a rapid fire circuit. or a delay circuit...or a soft on switch... or a latching circuit. The list goes on.

if a game has no auto or rapid fire option, it's  because the game would be ridiculously easy.


BRRRAAAAAAAAAAAATTTTTTTTTTTTTT YOU WIN!

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Encoder wheels , cleaning leaf switches
« Reply #25 on: December 14, 2014, 05:47:26 pm »
Rapid firing circuits, i thought you guys knew some links to some webpages that arcade techs modified to arcade logic boards

Rapid Fire ( automatic Fire ) daughter board

I have seen them for Galaxian
Scroll down Littlejohn and ED and take a look please
http://www.arcadeshop.com/galaga/galaga.htm

Do you guys know of any others please?

Stop asking for fish and learn how to Google it.