Email us

Este artículo está en inglés. Ver el sitio en español

Cet article est en anglais. Voir le site en français

Dieser Artikel ist auf Englisch. Website auf Deutsch ansehen

Este artigo está em inglês. Ver o site em português

本文为英文。 查看中文网站

LoRa antenna through a weatherproof enclosure: what to order

Mount the LoRa module inside a stainless NEMA 4X / IP66 box, rated by the manufacturer, and take the RF out through a gasketed N-type bulkhead. Budget about 2 dB: 0.3 dB for the U.FL pigtail, 0.9 dB for three mated pairs, 0.8 dB for 6 m of LMR-400. A 5.8 dBi fiberglass antenna then closes 2 km with about 65 dB of margin.

NEMA4 Enclosure engineering team · Published November 26, 2026 · 6 min read

Yes, this works, and the numbers are on your side. Keep the LoRa module inside the box and leave its spring antenna in the drawer. Take the RF out through an N-type bulkhead with a short U.FL-to-N pigtail. At 915 MHz the whole path costs about 2 dB. A 5.8 dBi fiberglass antenna then closes a 2 km line-of-sight link with about 65 dB of margin. Below are the parts list, the loss arithmetic, and the cutout that keeps the NEMA 4X / IP66 rating on the box.

The RF path: module, pigtail, bulkhead, coax, antenna

The spring antenna on the module was cut for free space. Inside a steel box it detunes against the wall, and the wall blocks the signal. The radio goes deaf within a few hundred meters. Take the antenna outside and treat every cable on the way as a transmission line, not as a wire. A steel wall also acts as a ground plane and a shield, which the antenna ground plane on a metal enclosure article covers in more depth.

The path has five parts, each with a job:

  • The module's U.FL socket takes a U.FL-to-N pigtail. Keep it short. RG-316 loses about 0.9 dB/m at 900 MHz (the coax datasheet value), so a 0.3 m pigtail costs 0.3 dB.
  • The pigtail lands on an N-type bulkhead jack mounted in the enclosure wall, sealed with its O-ring flange.
  • LMR-400 runs from the bulkhead up the mast to the antenna. Its datasheet lists about 0.13 dB/m at 900 MHz, a third of the loss of thinner RG-58.
  • The antenna is an outdoor fiberglass omnidirectional with an N connector, covering the 902 to 928 MHz US band, 3 to 6 dBi of gain.
  • Optionally, a bulkhead gas-tube lightning protector sits in place of the bulkhead jack and dumps a strike to the grounded wall.

An alternative worth weighing: put the whole radio at the antenna base and run only power and data cable down. That removes the RF run entirely. Its supply and battery sizing are the panel-side questions covered by the outdoor electrical enclosures page.

The hole that keeps the rating

A common gasketed N-type bulkhead jack fits a plain 16 mm (5/8 in) hole, and the same hole suits a bulkhead lightning protector. Order the hole as a factory cutout on a stainless wall-mount box. Our boxes are rated NEMA 4X / IP66 by the manufacturer; they are not UL listed. The manufacturer's cutout plus the bulkhead maker's sealing instructions are what keep that rating on the finished assembly. Draw the bulkhead hole, its position and its count in the cutout designer when you order. The box arrives with the cutouts done, delivered in 10 business days from your approval of the drawing.

A field-drilled hole can also keep a Type 4 rating when you deburr the edge and seat the bulkhead's O-ring against the outer wall. Torque the nut evenly. The cutouts, glands and HMI windows guide walks through hole sizing and fitting dimensions. For where the hole goes, the cable and antenna entry placement on an outdoor enclosure article shows how to space it from the door gasket and mounting feet.

Keep the hole count sane: one for the antenna, one for power and one for the relay or sensor cable covers this job. Every extra penetration is another seal to get right at the next washdown.

What to order

  1. Confirm the module's RF interface. The antenna must connect through its U.FL socket; a module with a soldered spring antenna needs a socket variant instead.
  2. Order the enclosure: a 304 or 316L stainless wall-mount box from the NEMA 4X wall-mount range, manufacturer-rated NEMA 4X / IP66, with one factory N-type bulkhead cutout, 16 mm (5/8 in), positioned at least 25 mm (1 in) from the door gasket line and any mounting foot.
  3. Order the pigtail: U.FL plug to N female, RG-316, about 0.3 m. Longer is only loss.
  4. Order the coax: LMR-400 with an N plug on each end, cut to the mast length, about 6 m in the example below.
  5. Order the antenna: outdoor fiberglass omnidirectional, N female, covering 902 to 928 MHz, 3 to 6 dBi. The 5.8 dBi antennas sold for LoRa hotspots on this band suit the target link.
  6. Add a bulkhead gas-tube lightning protector and a ground lug for the mast and the bulkhead flange, bonded to the enclosure's grounding point.

If the relay sits at the far site with mains power there, plan for an always-listening node at that end. On battery alone, size for a polling scheme that wakes on your command interval.

The loss budget at 915 MHz

Take a module transmitting 22 dBm (the typical maximum for a 915 MHz LoRa module), a 0.3 m RG-316 pigtail, three mated connector pairs and 6 m of LMR-400:

Element Basis Loss
U.FL-to-N pigtail, 0.3 m RG-316 0.9 dB/m at 900 MHz (coax datasheet) 0.3 dB
Three mated pairs: U.FL, bulkhead N, antenna N 0.3 dB per pair (typical RF-budget figure) 0.9 dB
LMR-400, 6 m 0.13 dB/m at 900 MHz (coax datasheet) 0.8 dB
Total 2.0 dB

So 22 dBm minus 2 dB leaves 20 dBm at the antenna, and the 5.8 dBi antenna lifts that to 25.8 dBm EIRP. That sits under the 1 W (30 dBm) ceiling of the US 902 to 928 MHz ISM rules. On 868 MHz in Europe the ceiling is 25 mW ERP (14 dBm). Set the module down to the regional power there and expect shorter range from the same hardware.

Free-space path loss at 915 MHz over 2 km is 32.45 + 20 log10(915) + 20 log10(2) = 32.45 + 59.2 + 6.0 = 97.7 dB. The received signal is then 25.8 dBm EIRP minus 97.7 dB, which lands at about -72 dBm at the far receiver.

A typical LoRa module datasheet quotes -137 dBm sensitivity at SF12 with 125 kHz bandwidth, and about -123 dBm at SF7. Against -72 dBm that is 65 dB of margin at SF12 and 51 dB at SF7. Allow 20 dB for foliage if the path crosses trees; the example still clears by 45 dB. The practical conclusion: distance is not the problem at this range, obstruction is. Put the antenna high with a clear line of sight and run SF7 or SF9 for a snappy relay command. A short command payload at SF7 spends roughly 50 ms on the air at 125 kHz bandwidth (a typical LoRa airtime calculation), fast enough for a relay to follow a button press.

  • Read the RSSI and SNR the module reports. On the example link you expect about -72 dBm RSSI line-of-sight. A reading 15 to 20 dB worse points at the antenna, not the distance.
  • Sweep the antenna with a VNA through the whole path. It should sit near resonance at 915 MHz with VSWR under about 2:1. A bad U.FL seat shows up here as a shifted dip.
  • Torque the bulkhead nut evenly and confirm the O-ring is on the outside wall. Close the door on the gasket cleanly. Then hose the box down the way the site washes it and check inside for water.
  • Cycle the relay from the far end a dozen times and time the response, so you know the round trip before the day it matters.

One safety note: isolate and lock off the box's supply before you drill, deburr or fit the bulkhead. Bond the mast and bulkhead flange so a strike has a path to earth.

  • Passing the module's spring antenna or a bare wire out through a cable gland. It detunes the radio, and an unsealed hole ends the Type 4 rating.
  • A long thin pigtail inside the box. RG-316 costs 0.9 dB/m at 900 MHz, so keep it under 0.5 m and spend the length in LMR-400 instead at 0.13 dB/m.
  • Re-using a U.FL connection past its roughly 30 mating cycles, or seating it crooked. A worn U.FL reads as intermittent range you will chase for weeks.
  • A bulkhead with no gasket, or the O-ring trapped on the inside face. Water then sits in the flange and walks in during the first washdown.
  • Skipping the mast ground and the lightning protector. The 16 mm bulkhead carries RF fine and carries a strike badly.

The decision in one line: keep the module in a manufacturer-rated NEMA 4X / IP66 stainless box. Order a 16 mm (5/8 in) factory bulkhead cutout, run a 0.3 m U.FL-to-N pigtail to 6 m of LMR-400, and top it with a 5.8 dBi fiberglass antenna. The relay link closes with about 65 dB of margin. For what lies behind that rating choice, the NEMA 4 vs 4X vs IP66 guide lays out what each protects against.

Catalog dimensions to compare

Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.

EnclosureMaterialOutside H x W x D / displayRating
10 × 8 × 6 in304 stainless10 x 8 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
12 × 10 × 6 in304 stainless12 x 10 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
16 × 12 × 8 in304 stainless16 x 12 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
20 × 16 × 8 in304 stainless20 x 16 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Can the LoRa antenna stay inside the weatherproof box?

No. A spring antenna cut for free space detunes against a steel wall, and the wall blocks most of the signal, so the 2 km link fails within a few hundred meters. Keep the module inside the box and reach its U.FL socket with a 0.3 m pigtail. Put a 5.8 dBi fiberglass antenna on a mast outside, through an N-type bulkhead.

How much RF loss do the pigtail and bulkhead add at 915 MHz?

About 2 dB in the worked example: 0.3 dB for a 0.3 m RG-316 pigtail at 0.9 dB/m, 0.9 dB for three mated pairs at 0.3 dB each, and 0.8 dB for 6 m of LMR-400 at 0.13 dB/m. Every extra meter of coax costs another 0.13 dB, so mount the box close to the mast.

How many times can you connect a U.FL pigtail?

The installation-tool instructions give about 30 mating cycles before the contact deteriorates. Press it straight onto the module socket until it clicks, never with pliers. Replace the pigtail rather than re-mating it after a handful of service visits.

What hole does an N-type bulkhead need in the enclosure wall?

A plain 16 mm (5/8 in) hole suits the common gasketed bulkhead N jack and the bulkhead gas-tube lightning protector. Order it as a factory cutout on a stainless NEMA 4X / IP66 box and it arrives finished, delivered in 10 business days from drawing approval, with the rating intact.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Build it from 10 × 8 × 6 inRequest a custom quote

Outdoor enclosures: sizes for this job

Keep reading

Related engineering answers

All articles

Buying guides

The guides behind this answer

All guides