Electronic – How to get Ethernet cable into a small enclosure

cablesethernet

I have a project with a Raspberry Pi in a small enclosure that is in a weather-protected outdoor location. I currently have power and gpio signal cables entering the enclosure through grommeted holes, but need to add an Ethernet cable.
It will be connecting to an Ethernet over powerline adaptor, so it will not be required to support high data speeds.

I'm looking at a couple possible approaches:

  • purchase a crimper, cut the end off a patch cable and install a new end after passing through a grommet. Advantage: neatest installation; disadvantage: purchase a tool that I may not need again.
  • cut the end off a patch cable and install an RJ45 jack, cram a short (6") patch cable into the enclosure. Advantage: no new tools needed (I have a punchdown tool); disadvantage: may be tough to cram the patch cable into the box
  • cut a cable and solder it back together after passing through the grommet. Advantage: no new tools; disadvantage: small wires tedious to solder.
  • Mechanical: cut a slot from the edge of the enclosure, slit the grommet and slide it and cable into the slot, then glue a patch to close off the slot. Disadvantage: messy install

Am I missing anything else? I originally considered soldering directly to the PCB, but the Pi uses a mag jack.

Best Answer

Use cable gland, they are for cheap and water-proof (IP54 to IP67). Try PG11 (5-11 mm dia in), with or without a little forcing/hack (depended on concrete manufacturer/model), it is possible to trace an RJ45 pre-terminated UTP cable inside the enclosure. Mounting a PG onto a box is simple: only round hole is needed. Drill it on a free surface of a box side and install the PG.

enter image description here