
Megastar
Strong parametric match; verify mechanical fit from datasheet.
The SM02B-GHS-TB(LF)(SN) is a popular 2-pin, 1.25mm pitch, right-angle SMT header from JST's GH series. Finding a substitute requires careful verification of the mechanical footprint and mating interface.
Footprint and mating interface must be verified from datasheets.
Most alternatives meet or exceed key electrical ratings.
No verified direct drop-in replacement has been identified. All candidates require manual verification of mechanical drawings for footprint and mating interface.
Find a connector from a different manufacturer that explicitly states compatibility with the JST GH series or has identical mechanical drawings.
Mechanical incompatibility. Connectors with the same pitch and pin count from different series will not mate with the JST GH series housing.

Megastar
Strong parametric match; verify mechanical fit from datasheet.
| Feature / factor | SM02B-GHS-TB(LF)(SN) | ZX-MX1.25-2PWT | HCZZ0001-2 | Alt 3 | Compatibility / risk |
|---|---|---|---|---|---|
| Pitch | 1.25 mm | 1.25 mm | 1.25 mm | 1.25 mm — Pitch matches.; HCZZ0001-2: Pitch matches. | |
| Pin Count | 2 | 2 | 2 | 2 — Pin count matches.; HCZZ0001-2: Pin count matches. | |
| Package | SMT, Right Angle | SMT, Right Angle | SMT, Right Angle | SMT, Right Angle — Mounting type and orientation match. Footprint requires verification.; HCZZ0001-2: Mounting type and orientation match. Footprint requires verification. | |
| Voltage | 50 V | 125 V | 125 V | 125 V — Higher voltage rating is a safe upgrade.; HCZZ0001-2: Higher voltage rating is a safe upgrade. | |
| Current | 1.0 A | 1.0 A | 1.0 A | 1.0 A — Current rating matches.; HCZZ0001-2: Current rating matches. | |
| Temperature | -25°C to +85°C | Not specified | - | Not specified — Operating temperature range is missing and must be checked. |
Parts like Megastar's ZX-MX1.25-2PWT are strong functional candidates with matching pitch, pin count, and mounting. However, you must verify the mechanical drawing in the datasheet to ensure PCB footprint and mating compatibility.