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: Help Wiring EG Starts USB encoder to Sanwa microswitch  (Read 3841 times)

0 Members and 1 Guest are viewing this topic.

R0CKY

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 18, 2022, 09:27:59 am
  • I want to build my own arcade controls!
Help Wiring EG Starts USB encoder to Sanwa microswitch
« on: July 31, 2021, 07:29:10 am »
I have a working Arcade1up cab retropi conversion using the EG Starts buttons and USB encoder.

I am trying to swap out one of these buttons for a sanwa button, but I cannot for the life of me figure out the wiring and get the new button to operate.

In this photo you can see the current set up and I have the new white micro switch lying there for reference.

The existing buttons connect to the usb encoder with a 3 pin connection.

The Sanwa microswitch uses 3 spade connections though. So I split the existing cable and by touching 2 of the three wires together with retropie running, I figured out the two wires that operated the button. But when I connect these two wires to the new microswitch, nothing happens, the switch does not operate.

Where am I going wrong?


leapinlew

  • Some questionable things going on in this room with cheetos
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7826
  • Last login:Yesterday at 10:05:49 am
Re: Help Wiring EG Starts USB encoder to Sanwa microswitch
« Reply #1 on: July 31, 2021, 08:50:16 am »
When you say you touch them to the new microswitch nothing happens, what prongs are you connecting to and are you activating the switch?

On the connectivity, it looks something like this, right?


And then you push the red button on the switch to activate the switch? If that's what you're doing, try a different switch.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 8914
  • Last login:Today at 12:40:23 pm
  • Designated spam hunter
Re: Help Wiring EG Starts USB encoder to Sanwa microswitch
« Reply #2 on: July 31, 2021, 09:09:49 am »
I split the existing cable and by touching 2 of the three wires together with retropie running, I figured out the two wires that operated the button. But when I connect these two wires to the new microswitch, nothing happens, the switch does not operate.
Sounds like you have found the data and ground wires that Vocalitus identified here.

Those two wires connect to the microswitch COM (Common -- the bent one on the bottom) and NO (Normally Open) tabs.
- There should be markings or a diagram on the switch to identify which of the straight tabs is NO.
- Unless the switch is defective, pressing the microswitch will do the same as touching the wires together.  There's no polarity to the switch so it doesn't matter as long as the ground and data wires are connected to the COM and NO tabs.

                  ____ NC
COM ____/ ____ NO

Do not connect the third wire (5v) to the NC (Normally Closed) tab.


Scott

R0CKY

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 18, 2022, 09:27:59 am
  • I want to build my own arcade controls!
Re: Help Wiring EG Starts USB encoder to Sanwa microswitch
« Reply #3 on: July 31, 2021, 10:35:41 am »
Hi Guys

What a relief to find an active forum at last - I've been struggling with this for months!

So, on the sanwa microswitch in my photo, there are two connections together (lets call them A & B), and the 3rd one is on the underside (C) . I was connecting to the 2 wires that I knew operated the switch to A & B. I tried them in both combinations, pressed the swicth, and nothing happened.

I had read somewhere that C was a ground, that's why I tried A & B.

Looking at your image posted above, maybe I should try B and C.



R0CKY

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 18, 2022, 09:27:59 am
  • I want to build my own arcade controls!
Re: Help Wiring EG Starts USB encoder to Sanwa microswitch
« Reply #4 on: July 31, 2021, 11:12:16 am »

Sounds like you have found the data and ground wires that Vocalitus identified here.

Those two wires connect to the microswitch COM (Common -- the bent one on the bottom) and NO (Normally Open) tabs.
- There should be markings or a diagram on the switch to identify which of the straight tabs is NO.
- Unless the switch is defective, pressing the microswitch will do the same as touching the wires together.  There's no polarity to the switch so it doesn't matter as long as the ground and data wires are connected to the COM and NO tabs.

                  ____ NC
COM ____/ ____ NO

Do not connect the third wire (5v) to the NC (Normally Closed) tab.


Scott

Ah, I can see the bent one is labelled COM and the other two are both labeled NO.

I'll give this another shot - thanks.

R0CKY

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 18, 2022, 09:27:59 am
  • I want to build my own arcade controls!
Re: Help Wiring EG Starts USB encoder to Sanwa microswitch
« Reply #5 on: July 31, 2021, 11:21:52 am »
It worked!!

I'll just solder those wires onto the COM (bent) and NO connection and good to go!

So pleased to have this button working at last, thanks for your help guys.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Online Online
  • Posts: 8914
  • Last login:Today at 12:40:23 pm
  • Designated spam hunter
Re: Help Wiring EG Starts USB encoder to Sanwa microswitch
« Reply #6 on: July 31, 2021, 11:44:16 am »
Ah, I can see the bent one is labelled COM and the other two are both labeled NO.
Either the switch is mis-labeled or one of those is an NC. :dizzy:
- A microswitch like yours won't have a spring-centered momentary push/pull like a "(on) off (on)" rocker switch.



When talking about switches, Common is not the same thing as ground.
- In some countries the terms "common" and "ground" are used interchangably.

If you connect your wires to NO and NC they will never connect because the COM lever disconnects from NC before it connects with NO a.k.a. "break before make".

Here you can see what's happening inside the microswitch.
- Before you press the actuator, the spring holds the COM lever (green wire tab) against the NC (blue wire tab) contact.
- When you press the actuator, the COM lever tab makes contact with NO. (no wire tab)




Scott

R0CKY

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:January 18, 2022, 09:27:59 am
  • I want to build my own arcade controls!
Re: Help Wiring EG Starts USB encoder to Sanwa microswitch
« Reply #7 on: July 31, 2021, 03:10:28 pm »
Makes sense, thank you for the info.