
XUNDA
A strong functional alternative with matching key parameters; verify mechanical footprint before use.
Finding a substitute for the JST B5B-XH-AM(LF)(SN) 5-pin header involves matching its 2.5mm pitch and electrical ratings. The key challenge is verifying the mechanical footprint, as the original part includes a PCB locating boss that is critical for a drop-in fit.
PCB footprint, specifically the mounting boss, must be verified from the datasheet.
Most candidates match the 3A/250V rating, but this should always be confirmed.
No verified direct drop-in replacement is available. Several parts are functionally equivalent but require mechanical verification before use.
XD-XH-5A-G by XUNDA is the most promising alternative, with matching electrical ratings and dimensions. However, an engineer must verify its datasheet to confirm the PCB footprint includes a mounting boss.
The primary risk is mechanical incompatibility. The target part includes a mounting boss for PCB alignment, and a replacement without this feature may not fit or secure properly.

XUNDA
A strong functional alternative with matching key parameters; verify mechanical footprint before use.
| Feature / factor | B5B-XH-AM(LF)(SN) | XD-XH-5A-G | XHB-5A | Alt 3 | Compatibility / risk |
|---|---|---|---|---|---|
| Positions | 5 | 5 | 5 | 5 — Number of positions match.; XHB-5A: Number of positions match. | |
| Pitch | 2.5mm | 2.5mm | 2.5mm | 2.5mm — Pin pitch matches.; XHB-5A: Pin pitch matches. | |
| Orientation | Straight | Straight | Straight | Straight — Both are straight headers.; XHB-5A: Both are straight headers. | |
| Electrical | 3A / 250V | 3A / 250V | 3A / 250V | 3A / 250V — Current and voltage ratings match.; XHB-5A: Current and voltage ratings match. | |
| Pinout | With Boss | Unknown | Unknown | Unknown — Presence of mounting boss is unconfirmed. Footprint requires verification.; XHB-5A: Presence of mounting boss is unconfirmed. Footprint requires verification. |
The most promising alternative is XD-XH-5A-G from XUNDA, as its key electrical and dimensional parameters match. However, you must verify the mechanical drawing in the datasheet to ensure its footprint matches your PCB layout, especially regarding the mounting boss.