
Megastar
A 2-pin, 2.54mm pitch straight header with matching electrical ratings. Color may differ.
Find substitutes for the WAFER-XH254Z-2AL, a 2-pin, 2.54mm pitch straight male header from HANBO. Review alternatives based on form, fit, and electrical parameters.
Mechanical dimensions and footprint must be verified from datasheet.
Some alternatives have a lower current rating (2A vs 3A).
No drop-in, datasheet-verified pin-to-pin replacement has been identified. However, parts like Megastar's ZX-HA2.54-2PZZ-Y are strong candidates that require engineering review of their datasheets for dimensional compatibility.
Megastar's ZX-HA2.54-2PZZ series offers a strong functional match, requiring only dimensional verification. BXCONN parts are options if a lower 2A current rating is acceptable.
The primary risk is ensuring the substitute's mechanical dimensions and footprint match the PCB layout. A secondary risk is accepting a lower current rating with some alternatives.

Megastar
A 2-pin, 2.54mm pitch straight header with matching electrical ratings. Color may differ.
| Feature / factor | WAFER-XH254Z-2AL | ZX-HA2.54-2PZZ-R | ZX-HA2.54-2PZZ-Y | WF-1A254A2P | Compatibility / risk |
|---|---|---|---|---|---|
| Pitch | 2.54 mm | 2.54 mm | 2.54 mm | 2.54 mm | 2.54 mm — Pitch matches.; ZX-HA2.54-2PZZ-Y: Pitch matches.; WF-1A254A2P: Pitch matches.; WF-1A254A2P-Y: Pitch matches. |
| Package | Through Hole, Straight | Through Hole, Straight | Through Hole, Straight | Through Hole, Straight | Through Hole, Straight — Mounting type and orientation match.; ZX-HA2.54-2PZZ-Y: Mounting type and orientation match.; WF-1A254A2P: Mounting type and orientation match.; WF-1A254A2P-Y: Mounting type and orientation match. |
| Current | 3A | 3A | 3A | 2A | 3A / 2A — Current rating matches.; ZX-HA2.54-2PZZ-Y: Current rating matches.; WF-1A254A2P: Lower current rating.; WF-1A254A2P-Y: Lower current rating. |
| Color | Natural/White | Red | Yellow | - | Red / Yellow — Housing color differs.; ZX-HA2.54-2PZZ-Y: Housing color differs.; WF-1A254A2P-Y: Housing color differs. |
| Positions | 2 | - | 2 | - | 2 — Position count matches. |
The Megastar ZX-HA2.54-2PZZ series is a strong candidate, matching key specs like pitch, pin count, and voltage. However, you must verify the mechanical drawing for footprint compatibility.