Anvilware Limited
Start a project
← Back to blog

Choosing connectors for outdoor

5 September 2026Taofeeq Nurudeen

Two RailWatch units failed within a month of the same pilot deployment — not from the sensor, not from the firmware, but from a connector that let in enough moisture during the rainy season to short a signal line.

What went wrong

The original design used a standard 4-pin JST connector, rated for indoor use. It's cheap, widely available, and easy to source locally — all good reasons for a first prototype. It is not rated for an enclosure that gets opened in the field by technicians who don't always reseat the gasket properly afterward.

What we switched to

We moved to IP67-rated circular connectors (M8/M12 style) for every external interface on field-deployed hardware:

  • Sealed against dust and temporary submersion, not just splashing
  • Keyed so a technician physically can't plug it in backwards
  • Rated for hundreds of mate/unmate cycles, since field units do get serviced
// Nothing in firmware changed — this was purely a hardware decision.
// The lesson was almost entirely about connector selection, not code.

The trade-off

Lead time. Locally-sourced JST connectors ship same week. The M12 connectors we standardized on have to come from a supplier with a 2-3 week lead time. For a two-person hardware team, that's a real planning cost — worth it once, expensive if you don't design your BOM around it from the start.

ConnectorIP ratingLocal lead time
JST 4-pinNoneSame week
M8 circularIP672-3 weeks
M12 circularIP67/IP69K2-3 weeks

If you're building anything that leaves a lab bench, we'd make this decision on day one now — not after a field failure.

Local image (no network dependency)

VoltGuard placeholder

External image (tests hotlinking)

External test image