
A cross-vendor alternative from the original JST XH series, but requires PCB redesign for different mounting and orientation.
ZX-XH2.54-5PWT is a 5-pin, 2.5mm pitch, right-angle SMT header from Megastar. While no direct drop-in replacements are identified, several functional alternatives with different mounting types exist that require board redesign.
Target is SMT, Right-Angle; candidates are Through-Hole, requiring complete PCB redesign.
Key electrical ratings like voltage, current, and pitch are matched by several candidates.
No direct SMT replacement was found. All identified candidates are through-hole and are not drop-in compatible.
Functional alternatives requiring PCB redesign.
Package and mounting type mismatch.

A cross-vendor alternative from the original JST XH series, but requires PCB redesign for different mounting and orientation.
| Feature / factor | ZX-XH2.54-5PWT | B5B-XH-A(LF)(SN) | ZX-XH2.54-5PLT | HC-XHB-5A | Compatibility / risk |
|---|---|---|---|---|---|
| Package | Surface Mount, Right Angle | Through Hole, Straight | Through Hole, Right Angle | Through Hole, Straight | Through Hole, Straight / Through Hole, Right Angle — Target is SMT, Right-Angle. Candidate is from original JST XH series.; ZX-XH2.54-5PLT: Target is SMT, requires PCB redesign.; HC-XHB-5A: Target is SMT, Right-Angle. Requires PCB redesign. |
| Pitch | 2.5mm | 2.5mm | 2.5mm | 2.5mm | 2.5mm — matched; ZX-XH2.54-5PLT: matched; HC-XHB-5A: matched |
| Manufacturer | Megastar | JST | - | - | JST — Original XH series manufacturer. |
| Current | 3A | 3A | 3A | 3A | 3A — matched; ZX-XH2.54-5PLT: matched; HC-XHB-5A: matched |
| Pin Count | 5 | - | 5 | 5 | 5 — matched; HC-XHB-5A: matched |
| Temperature | -25°C to +85°C | - | -25°C to +85°C | - | -25°C to +85°C — matched |
There are no direct SMT replacements found. Functional alternatives like JST's B5B-XH-A(LF)(SN) exist, but they are through-hole and require PCB layout changes.