
Megastar
Functionally similar same-series part, but with a straight instead of right-angle orientation.
While no direct drop-in replacement for the Megastar ZX-XH2.54-5PWZ right-angle header has been identified, several functional alternatives with a straight orientation are available. These parts share the same 5-pin, 2.54mm pitch configuration but require PCB layout verification.
All candidates are straight or unverified, while the target is right-angle. This requires a PCB layout change.
Most candidates match or exceed the target's voltage and current ratings.
No, a direct, pin-for-pin, right-angle replacement has not been confirmed in this list. All candidates are straight headers or have unverified orientation.
The best path is to use a straight header like Megastar's ZX-XH2.54-5PZZ and adapt the PCB layout, or to find a right-angle header from another series after verifying mechanical dimensions.
The primary risk is mechanical incompatibility due to the difference in mounting orientation (straight vs. right-angle).

Megastar
Functionally similar same-series part, but with a straight instead of right-angle orientation.
| Feature / factor | ZX-XH2.54-5PWZ | ZX-XH2.54-5PZZ | WAFER-XH2.54-5PZZ | MTP125-1105S1 | Compatibility / risk |
|---|---|---|---|---|---|
| Package | Through Hole, Right Angle | Through Hole, Straight | Through Hole, Straight | Through Hole, Straight | Through Hole, Straight / Through Hole, Orientation Unknown — Candidate is straight, target is right-angle.; WAFER-XH2.54-5PZZ: Candidate is straight, target is right-angle.; MTP125-1105S1: Candidate is straight, target is right-angle.; XHB-5A: Orientation must be verified from datasheet. |
| Pinout | 5 | 5 | 5 | 5 | 5 — Pin count matches.; WAFER-XH2.54-5PZZ: Pin count matches.; MTP125-1105S1: Pin count matches.; XHB-5A: Pin count matches. |
| Pitch | 2.54mm | 2.54mm | 2.54mm | 2.54mm | 2.54mm — Pitch matches.; WAFER-XH2.54-5PZZ: Pitch matches.; MTP125-1105S1: Pitch matches.; XHB-5A: Pitch matches. |
| Current | 2.0A | 2A | 2A | - | 2A / 5A — Current rating matches.; WAFER-XH2.54-5PZZ: Current rating matches.; XHB-5A: Higher current rating is an upgrade. |
| Voltage | 250V | 250V | - | - | 250V — Voltage rating matches. |
| Electrical | 2A / 250V | - | - | 3A / 500V | 3A / 500V — Higher current and voltage ratings. |
The closest alternative is the straight version, ZX-XH2.54-5PZZ, from the same manufacturer. However, it is not a drop-in replacement as it has a different mounting orientation and requires a different PCB layout.