Skip to the content
2 layers67.3 × 17.8 mmOpt100umq, the printed circuit board in 3D

Optical sensor mod for Sanwa buttons (such as those in Pop'n Music, SDVX or IIDX)

Size
67.3 × 17.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
7
Pads
33
Tracks, vias
63, 1
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
24 Feb 2023
Updated
25 Dec 2025

Overview

Opt100umq is an open-source printed circuit board by whowechina, from the whowechina/sanwa_opt repository on GitHub, published under the CC0-1.0 licence. It is a 2-layer board of 67.3 × 17.8 mm with 14 parts on 7 nets, routed with 63 tracks and 1 via.

It is built around the ITR8402. Its parts include 3 resistors, 3 connectors, 2 ICs and 1 diode. It belongs with the sensors and measurement boards of this library.

Main components

1

README

README.md

Optical sensor mod for Sanwa buttons (such as buttons for Pop'n Music, SDVX or IIDX)


Traditional Sanwa buttons used in arcade use micro switches which wear out through time. This project creates a optical sensor module that can replace the whole original lamp/switch holder and the microswitch. It almost never wears out.

I build it originally for my Pop'n Music controller, the Sanwa OBSA-100UMP button. And it turned out Sanwa has its own standard and my design works for many other Sanwa buttons such as SDVX and IIDX.

PCB

The PCB contains the optical sensor part and the LED lamp part, you need to cut the lamp part from the main board.

For the optical sensor, the PCB supports both ITR1203 (inner pins) and discrete IR908-7C and PT908-7C pair (the outer pins). If you use discreate IR pairs, note that the IR emitter IR908-7C should be at the "U1" sign side, PT908-7C phototransistor should be at the opposite side.

  • R1 is the current limiter for the emitter, 1206, 220 to 500ohm, depending on supply voltage. See notes below for calculation.
  • R2 is for pulling down the out level, 1206 or 0805, 2K to 3K ohm, make sure the out level is high enough when button is not pressed (optical switch is on), if it's not high enough, increase R2 value.
  • R3 is the current limiter for the LED lamp, depending on the brightness of the LED, 1206, 50ohm to 200ohm is fine.
  • For the LED, choose 2835 or 3528 3V high brightness LEDs.

Notes:

  • Here's how you can calculate the LED current limiter R3:
    • R3 = (V_supply - V_F) / I
    • LED V_F is usually around 3V. LED's current is usually 20mA for high brightness LEDs.
    • So R3 = (5V - 3V) / 0.02A = 100 ohm for a 5V supply.
  • Same formular for the IR emitter current:
    • I = (V_supply - Vf_IR) / R1
    • IR emitter Vf is usually around 1.2V. IR emitter's current is usually 10 to 20mA.
    • So R1 = (5V - 1.2V) / 0.02A = 190 ohm, you can use a standard 220 ohm resistor.

Holder

You need to print out the holder.stl. A resin printer is perfect for this. I'm not sure if an FDM printer with PLA has enough accuracy to do the work.

Installation

  1. Solder the lamp part onto the main board.
  2. Use M1.8*8 screws to fix the board onto the holder.
  3. Remove old lamp/switch holder from the button.
  4. Push this new optical sensor back into the button.

Sorry for the ZHR-5 interface

The interface to the mainboard is a ZHR-5, which is compatible with Sanwa's own buttons with optical sensors. I haven't made other types of interfaces yet. Maybe I will in the future.

  • Good Luck! *

Parts

14
QtyValueFootprintReferences
5, , , ,
21KResistor_SMD:R_1206_3216MetricR1, R3
14.7KResistor_SMD:R_1206_3216MetricR2
1Conn_01x02opt100umq:SIDE_CONTACT_AJ2
1Conn_01x02opt100umq:SIDE_CONTACT_BJ3
1Conn_01x05opt100umq:ZHR-5J1
1IR26-21C_L110_TR8opt100umq:LED3528_SIDED1
1ITR1203opt100umq:ITR1203U1
1ITR8402opt100umq:ITR8402U2

Similar boards

  • 2 layers116.8 × 30 mmType d, the printed circuit board in 3D

    Type d

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    14 parts3kApache-2.0
  • 2 layers32 × 22 mmDiff driver, the printed circuit board in 3D

    Diff driver

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    14 parts990GPL-3.0
  • 2 layers34 × 45 mm2032Charger, the printed circuit board in 3D

    2032Charger

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    14 parts915
  • 2 layers34 × 109.9 mmTdisplay s3, the printed circuit board in 3D

    Tdisplay s3

    landonr/homeThing

    Wifi Smart Home Remotes that run on ESPHome

    14 parts551GPL-3.0
  • 2 layers45.3 × 42.7 mmMainPcb, the printed circuit board in 3D

    MainPcb

    adamb314/ServoProject

    Getting the most out of your hobby servo

    14 parts545
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY, the printed circuit board in 3D

    C5VRX JACK DIY

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    14 parts515GPL-3.0

Questions

How big is the Opt100umq PCB?

It measures 67.3 × 17.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Opt100umq use?

14 parts, built around the ITR8402. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Opt100umq KiCad files?

From the whowechina/sanwa_opt repository on GitHub, at the commit this page was made from: the board is opt100umq.kicad_pcb and its schematic opt100umq.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Opt100umq design in my own project?

Its repository publishes it under the CC0-1.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).