
Megastar
A 4-pin, 2.5mm pitch right-angle SMT header with matching electrical ratings. Mechanical fit requires datasheet verification.
ZX-XH2.54-4PWT is a 4-pin, 2.5mm pitch, right-angle SMT header from Megastar, rated for 3A and 250V. Finding a replacement requires matching the pitch, orientation, and electrical ratings.
Different series may have different housing dimensions despite same pitch.
Key electrical ratings match the target.
No direct drop-in replacement has been confirmed. ZX-HA2.54-4PWT is a strong functional match but requires mechanical verification.
The most promising path is ZX-HA2.54-4PWT, which shares key specs and manufacturer. Verification of the mechanical drawing is the critical next step.
Mechanical mismatch due to different connector series (housing shape, keying).

Megastar
A 4-pin, 2.5mm pitch right-angle SMT header with matching electrical ratings. Mechanical fit requires datasheet verification.
| Feature / factor | ZX-XH2.54-4PWT | ZX-HA2.54-4PWT | Alt 2 | Alt 3 | Compatibility / risk |
|---|---|---|---|---|---|
| Pitch | 2.5 mm | 2.5 mm | 2.5 mm — Pitch matches target. | ||
| Package | Surface Mount, Right Angle | Right Angle SMT | Right Angle SMT — Mounting orientation and type match. | ||
| Current | 3 A | 3.0 A | 3.0 A — Current rating matches. | ||
| Voltage | 250 V AC/DC | 250 V AC/DC | 250 V AC/DC — Voltage rating matches. | ||
| Family | XH Series | HA Series | HA Series — Different series, requires mechanical verification. |
ZX-HA2.54-4PWT from the same manufacturer, Megastar, is a strong candidate with matching pitch, pin count, and electrical ratings. However, mechanical fit must be verified via datasheet comparison.