
Yuandi
A 4-position DIP switch from the same manufacturer with matching package, pitch, and electrical ratings.
The Yuandi TM-04 is a standard 4-position through-hole DIP switch with a 2.54mm pitch. This page provides analysis of potential replacements, including likely pin-compatible options and cross-vendor alternatives.
Key dimensions like pitch and pin count match across strong candidates.
Voltage and current ratings are identical for top candidates.
Multiple manufacturers produce compatible parts for this common footprint.
Direct replacement for TM-04 should use only Datasheet verified or Strong match candidates; many approved options still require engineering review.
Start with Yuandi TE-04 as a likely direct replacement, then consider Kangshen DS-04-R-T as a strong cross-vendor alternative.
The primary risk is a subtle difference in mechanical dimensions or pinout, which requires datasheet comparison before procurement.

Yuandi
A 4-position DIP switch from the same manufacturer with matching package, pitch, and electrical ratings.
| Feature / factor | TM-04 | TE-04 | DS-04-R-T | Alt 3 | Compatibility / risk |
|---|---|---|---|---|---|
| Positions | 4 | 4 | 4 | 4 — Number of switch positions match.; DS-04-R-T: Number of switch positions match. | |
| Package | Through Hole, 8-pin | Through Hole, 8-pin | Through Hole, 8-pin | Through Hole, 8-pin — Package style, pin count, and 2.54mm pitch match.; DS-04-R-T: Package style, pin count, and 2.54mm pitch match. | |
| Voltage | 24V | 24V | 24V | 24V — Voltage rating matches.; DS-04-R-T: Voltage rating matches. | |
| Current | 25mA | 25mA | 25mA | 25mA — Current rating matches.; DS-04-R-T: Current rating matches. | |
| Lifecycle | 3000 Cycles | 3000 Cycles | 3000 cycles | 3000 Cycles / 3000 cycles — Mechanical life matches.; DS-04-R-T: Mechanical life matches. |
Verified drop-in options for TM-04 are limited in the current batch. Review candidates marked Strong match or Datasheet verified, and validate package, pinout, and electrical limits before committing a BOM change.