

Opt100umq
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
1README
README.mdOptical 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
- Solder the lamp part onto the main board.
- Use M1.8*8 screws to fix the board onto the holder.
- Remove old lamp/switch holder from the button.
- 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | , , , , | ||
| 2 | 1K | Resistor_SMD:R_1206_3216Metric | R1, R3 |
| 1 | 4.7K | Resistor_SMD:R_1206_3216Metric | R2 |
| 1 | Conn_01x02 | opt100umq:SIDE_CONTACT_A | J2 |
| 1 | Conn_01x02 | opt100umq:SIDE_CONTACT_B | J3 |
| 1 | Conn_01x05 | opt100umq:ZHR-5 | J1 |
| 1 | IR26-21C_L110_TR8 | opt100umq:LED3528_SIDE | D1 |
| 1 | ITR1203 | opt100umq:ITR1203 | U1 |
| 1 | ITR8402 | opt100umq:ITR8402 | U2 |
Similar boards
- 2 layers23 × 10 mm

- 2 layers116.8 × 30 mm

Type d
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards
14 parts3kApache-2.0 - 2 layers32 × 22 mm

- 2 layers34 × 45 mm

2032Charger
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
14 parts915 - 2 layers34 × 109.9 mm

- 2 layers45.3 × 42.7 mm

- 2 layers42.5 × 28.8 mm

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 - 2 layers54 × 47 mm

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).