
Yuandi
A 4-position DIP switch from the same manufacturer with matching package, pitch, and electrical ratings.
The Yuandi TE-04 is a standard 4-position through-hole DIP switch. Several functional alternatives with matching form factor and electrical ratings are available from Yuandi and other manufacturers.
Key electrical ratings match across top candidates.
Package, pitch, and pin count match. Pinout is likely standard but needs verification.
Multiple functional alternatives are available from different manufacturers.
No drop-in replacement is verified without a datasheet review. However, Yuandi TM-04 is a highly probable direct replacement.
The best replacement path is to use Yuandi TM-04, which appears to be a variant from the same manufacturer with identical specifications. For sourcing flexibility, Kangshen DS-04-R-T is a strong cross-vendor option.
The main risk is subtle mechanical differences that could affect automated assembly or enclosure fit. Electrical parameters appear to be well-matched.

Yuandi
A 4-position DIP switch from the same manufacturer with matching package, pitch, and electrical ratings.
| Feature / factor | TE-04 | TM-04 | DS-04-R-T | Alt 3 | Compatibility / risk |
|---|---|---|---|---|---|
| Package | Through Hole | Through Hole | Through Hole | Through Hole — Package type matches.; DS-04-R-T: Package type matches. | |
| Pinout | 8 | 8 | 8 | 8 — Pin count matches. Pinout is standard for DIP switches but requires datasheet verification.; DS-04-R-T: Pin count matches. Pinout requires datasheet verification. | |
| Positions | 4 | 4 | 4 | 4 — Number of switch positions matches.; DS-04-R-T: Number of switch positions matches. | |
| Pitch | 2.54 mm | 2.54 mm | - | 2.54 mm — Pin pitch matches. | |
| Voltage | 24 VDC | 24 V | 24 VDC | 24 V / 24 VDC — Voltage rating matches.; DS-04-R-T: Voltage rating matches. | |
| Current | 25 mA | 25 mA | 25 mA | 25 mA — Current rating matches.; DS-04-R-T: Current rating matches. | |
| Manufacturer | Yuandi | - | Kangshen | Kangshen — Cross-vendor alternative. |
Yuandi TM-04 and Kangshen DS-04-R-T are strong functional alternatives with matching package, pitch, and electrical ratings. Always verify datasheets before substitution.