Cameras & sensorsGuide

Outdoor camera enclosure: IP rating for a bare stereo camera

Plan an outdoor camera enclosure for a bare camera: pick the IP rating, seal glands and window, size the heat budget, and check the assembly before you mount.

LumaSpec Vision12 min read Share on LinkedIn

On this page 11 sections
  1. 01Rate the assembly, not the box
  2. 02What a bare camera seals: nothing
  3. 03The four leak paths
  4. 04One window for a stereo pair
  5. 05Heat rise: a sealed two-camera box at a 35 °C site
  6. 06Dry air, not drainage: condensation
  7. 07Write IP and NEMA on the same drawing
  8. 08Choosing the pair, then squaring it
  9. 09Checks before you close the lid
  10. 10When the usual answer is wrong
  11. 11Questions

Most area scan cameras are bare C-mount instruments with no ingress rating at all, and the first month outdoors is where that shows. If you are mounting a camera pair on a gate, a pole or a yard crane, you build the protection yourself: a sealed enclosure whose rating comes from the glands, the window and the lid, a heat budget that keeps the electronics inside their limits, and a condensation plan that keeps the glass clear. This guide gives you the rating to specify, the four leak paths, one worked heat example with the arithmetic shown, and the checks to run before you close the lid.

Rate the assembly, not the box

The working decision: specify an IP66-class sealed assembly for any camera that lives outdoors in rain, and add IP67 only where the housing can stand in water. Both numbers come from IEC 60529. IPX6 is 12.5 litres per minute of water jets from 2.5-3 m for at least 3 minutes; IPX7 is 1 m of immersion for 30 minutes. A pole or gate mount never takes the immersion test, so IP66 is the floor and IP67 is insurance for ground-level installs.

The rating you get is the assembly's, not the enclosure's. The lid gasket, every cable gland, the window and even the mounting holes carry part of it, and each has to be the enclosure maker's documented part, fitted the way its drawing shows. An excellent IP66 box with a hardware-store gland is an unrated box.

So the bill of materials reads: gasketed outdoor enclosure in corrosion-resistant material where the site is coastal or washed down, documented membrane glands, a gasketed glass window, desiccant, and a thermostat-controlled anti-condensation heater. The rest of this guide sizes each line.

What a bare camera seals: nothing

An area scan camera built for the bench has an open C-mount front, connectors never meant to hold out water, and cooling fins that assume clean indoor air. The lens opening is a straight path to the sensor, the C-mount threads do not seal, and nothing on the bare body stops rain, dust or night moisture. The enclosure does all of that work.

A roof does not count either. On clear nights a housing radiates to the cold sky, the metal runs below air temperature, and moisture films the glass with no rain anywhere. Temperature moves the lens too: when focus drifts across a day, the cause is thermal, and the focus-drift diagnosis guide separates it from mechanical faults.

The four leak paths

Cable entries come first. Fit one membrane gland per cable, sized to that cable's jacket, from the enclosure maker's documented list, and fill every unused opening with a documented plug. A membrane grips a smooth round jacket; it does not seal on connectors, braiding or heat-shrink.

The window is second: it sits in a compression frame over a full gasket, never glued in place. The lid is third: full-perimeter gasket, screws torqued to the value printed on the enclosure drawing, and no single over-tight corner that waves the rest of the gasket open. Mounting hardware is fourth: brackets bolt through sealed bosses or documented wall seals, never through a bare self-tapped hole.

One window for a stereo pair

Put both cameras on one front plate behind a single flat sheet: one gasket, one compression frame, one sealed front. Two separate housings double the gaskets and the glands, and each drifts with temperature on its own, which quietly ruins a calibrated baseline. A shared plate keeps the pair's geometry measurable.

Size the glass to the widest field-of-view footprint measured at the glass plane, plus 10 mm of margin on every side. Order 3-5 mm glass for spans up to about 150 mm; beyond that, thicker glass or a braced frame stops flex. Keep the window perpendicular to both optical axes, because a tilted plate slides the whole image and moves the focal plane.

Both shifts are predictable. For glass of thickness t and refractive index n (about 1.5), a perpendicular window moves best focus away from the lens, and a plate tilted by θ slides the image sideways:

Δz = t × (n − 1) / n d = t × sin θ × (n − 1) / n (small tilt angles)

A 5 mm window shifts focus by 5 × 0.5 / 1.5 ≈ 1.7 mm, so refocus after fitting, not before. Tilt the same glass 10° and the image slides about 0.3 mm — small, but both cameras of a stereo pair need the same tilt, or rectification absorbs a shear it should not have to.

Coat for your band: visible anti-reflection for colour, near-infrared coating for 850-950 nm lighting. Keep the lens fronts 15-20 mm from the glass so assembly tolerances stay easy, and add a hood or visor against low sun. Outdoor light itself swings by four to five orders of magnitude between noon and night; the outdoor image-quality guide handles the exposure side, and the window's job is to add no ghosts of its own.

Heat rise: a sealed two-camera box at a 35 °C site

The inputs. Two small GigE cameras live in the box and draw about 4 W each, so 8 W continuous; small area scan cameras run in this 3-5 W range, and any switch or hub inside adds its own watts, so count every always-on device. The enclosure is a 250 × 200 × 120 mm painted steel box, a common sealed size, roughly 6 litres. The effective surface coefficient for painted steel in still air is k ≈ 5.5 W/(m²·K), the standard enclosure-design value. Design ambient is 35 °C in the shade, and small camera electronics are typically rated to 50 °C ambient.

The rule in words: at steady state, heat generated equals heat leaving the surface, so P = k × A × ΔT, and the rise is ΔT = P / (k × A).

The arithmetic. Surface area of the six faces: A = 2 × (0.25 × 0.20 + 0.25 × 0.12 + 0.20 × 0.12) = 2 × (0.050 + 0.030 + 0.024) = 0.208 m². Rise: ΔT = 8 W ÷ (5.5 W/(m²·K) × 0.208 m²) = 8 ÷ 1.14 ≈ 7 °C. The interior settles near 42 °C on a 35 °C day, 8 °C under the 50 °C limit.

ΔT = P / (k × A) P_max = k × A × (T_limit − T_ambient)

The decision and its threshold. This box passes while the continuous electronics stay under P_max = 5.5 × 0.208 × (50 − 35) ≈ 17 W. Above about 17 W in 0.21 m² of painted steel at a 35 °C ambient, the interior passes 50 °C: move to a larger box, switch to aluminum walls, which shed roughly twice the heat of the same size in steel, or add a fan with filtered vents and give up the sealed rating. Wall material and that heat exchange are exactly what the steel versus aluminum enclosure heat transfer comparison works through.

Sun rewrites the inputs. A dark enclosure in full sun runs 15-20 °C above air temperature; a white or light-grey finish, or a simple shield, holds the excess near 5 °C. Shade and a light finish are worth more than any fan you could fit. Winter works the other way and in your favour: with the 15 W anti-condensation heater running, the same box carries 23 W, 23 ÷ 1.14 ≈ 20 °C of rise, so a −20 °C night holds the interior near 0 °C — the bottom of the typical camera range, and above the dew point.

Dry air, not drainage: condensation

A sealed box still breathes. Cooling air contracts, pressure falls, and any leak pulls humid air inward; warm the box again the following day and the cycle repeats. A fully sealed, dried interior stays dry for seasons, while a half-sealed one pumps water in on schedule. The worst enclosure is the one with a single small hole.

Build it dry: place desiccant sachets inside, purge the volume with dry air or nitrogen for a minute, close the lid while box and air are warm, then let it cool sealed so the falling pressure draws nothing in. Fit the anti-condensation heater on a thermostat, ideally with a hygrostat, so cold damp nights dry the air instead of only warming it. Power the heater from a low-voltage supply through its own gland, and leave mains wiring outside the box.

The same moisture failure shows up across outdoor electrical equipment; a moisture-ingress solution for an outdoor enclosure reads like a camera-case story once you swap the breaker for a camera.

Write IP and NEMA on the same drawing

The two systems test different things and do not convert line by line. IP66 and IP67 come from the IEC 60529 water tests above; NEMA 250 Type 4 covers dust, rain, sleet, splashing, hose-down and external icing, and Type 4X adds a corrosion-resistant construction requirement. Never infer a NEMA type from an IP code or the other way round.

For procurement, name the service and both designations: outdoor, hose-down capable, dust-laden, corrosion-resistant near the coast — certified Type 4X housing with IP66 function demonstrated at the assembly. The NEMA 4X versus IP66 comparison maps where the two systems agree and where they do not, which is precisely the argument your electrical department and your vision integrator will have.

Choosing the pair, then squaring it

Buy the two cameras as one model from one lot, so the calibration holds. Take global shutter when anything in the scene moves; rolling shutter only for static scenes. Take GigE when the host sits far away, and USB3 only when the PC shares the pole or a nearby cabinet.

An affordable stereo pair part is the MV-CU020-90GC, a 2.5 MP colour camera with a 1/1.7" global-shutter sensor on a C-mount, over GigE.

Area scan camerasHikrobot MV-CU020-90GC 2.5 MP Area Scan Camera, GigE, GMAX4002, ColorMV-CU020-90GC
Sensor format
1/1.7"
Lens mount
C-mount
Interface
GigE
Resolution
Up to 3 MP
$309.00View partBuild a system with it

When the scene stays still and pixels matter more than frame rate, the LS-CMR-0166 is a 12 MP USB3 camera with 4000 × 3000 resolution at 30 fps on the same 1/1.7" format; its rolling shutter is harmless on a static yard.

Area scan cameras12 MP USB3 area scan camera, IMX226, 1/1.7" rolling shutter, 30 fps, 4000 × 3000 resolution (LS-CMR-0166)LS-CMR-0166
Sensor format
1/1.7"
Interface
USB3
Resolution
12 MP
Shutter
Rolling
$560.00View partBuild a system with it

Square the pair at the bench, before anything is sealed. The LS-MNT-0040 slide-table stand gives a 700 mm height and a 400 × 450 mm base for exactly this. Set the baseline on the slide and shim each camera parallel within about 0.1°; let the stereo calibration absorb the last few hundredths. Fix the mounting geometry here too — the 3D camera working distance and positioning guide walks that calculation.

Camera standsMachine vision camera stand, professional slide-table type, height 700 mm, 400 x 450 mm base (LS-MNT-0040)LS-MNT-0040
Type
Camera stands
$629.00View partBuild a system with it

Checks before you close the lid

  • Water-test the empty box with its cables installed: 12.5 litres per minute from 2.5-3 m for at least 3 minutes, the IPX6 jet from the rating section. Open and inspect; bone dry or start again.
  • Every gland membrane matches its cable's jacket, and every unused opening carries a documented plug.
  • Desiccant charged, interior purged, glass clean on both faces.
  • Focus set through the fitted window, including the thickness shift from the formula above.
  • Baseline measured and recorded, optical axes parallel to about 0.1° before the plate enters the shell.
  • Mounting position shaded from midday sun, finish light; recheck focus after the first full sun-to-dusk cycle.
  • After the first storm, if the image dies, isolate the fault safely before opening a box that may hold wet cables; the camera no-image-after-short guide gives the safe order.

When the usual answer is wrong

A surveillance dome is the tempting shortcut and the wrong optic. It is genuinely weather-rated, but its small curved window is designed for a board lens sitting millimetres from the glass. A C-mount lens behind it vignettes and refracts, and no calibration fixes a clipped field.

A factory-sealed camera shortens the problem, not to zero. Some vision cameras carry their own ingress rating, and then the enclosure work shrinks to connectors, mounting and drainage — but the rating must cover the connector scheme you actually fit, because a sealed body with an exposed pigtail joint is a wet joint.

High-pressure washdown is a different rating entirely: food and chemical cleaning needs the high-temperature, high-pressure class, not IP66, and the gasket design follows that choice. In a hot, dry climate the enclosure's real job is solar control — shade, light finish, and the thermal margin from the worked example — and the water rating becomes the footnote. If you will open the box monthly to refocus, specify a hinged gasketed door with a torque-limited latch, because every reseal is a fresh chance to leave a corner open.

More camera-side reading sits on the cameras topic page. Pick the pair in the cameras finder, size the run in the camera configurator, and square everything on a stand from the camera stands before the first gland hole is cut. For a second opinion on the enclosure drawing, contact us — free expert support with every order.

Questions

Can the lens poke straight through the front plate instead of shooting through glass?

Yes, with a C-mount bulkhead feedthrough: the lens barrel screws into a sealed flange on the front plate, so no window glass sits in the optical path. The front element and focus ring then live outside the sealed volume, so add a lens hood or rain shield and accept that refocusing means opening the ring's weather cover. It suits long focal lengths where a large window gets heavy.

Is IP67 better than IP66 for an outdoor camera?

Neither covers the other: 6 means strong water jets, 7 means 1 m of immersion for 30 minutes. A pole- or wall-mounted camera sees rain and jet-wash, so IP66 answers the real exposure. Step up to IP67 when the housing can sit in standing water — ground-level or pit installs, flood-prone sites. Many outdoor housings carry both designations; treat each as a separate test result.

How do I know when the desiccant inside a sealed camera box is spent?

Fit a humidity indicator card where the front window can show it. The dots stay blue below about 20% relative humidity and turn pink as the air passes 30-40%. When any dot changes, open during dry weather, swap or regenerate the sachets — silica gel revives in an oven near 120 °C for two hours — purge, and reseal. Check monthly through the first year.

What heater power keeps a small camera enclosure above the dew point?

Size about 10-15 W per box of 5-20 litres, switched by a thermostat and ideally a hygrostat set near 60% relative humidity. A 6-litre stereo pair box like the worked example takes 15 W. The heater runs only in cold, damp weather, so it never adds to the summer heat budget; at −20 °C it holds that box's interior around 0 °C.

Will polycarbonate work as a camera window instead of glass?

It transmits visible and near-infrared light, so images form — but it scratches easily and yellows under years of ultraviolet, which slowly eats contrast. Use glass, or UV-filtered acrylic, as the optical window and keep polycarbonate as a replaceable sacrificial shield a few centimetres in front where impact is the risk. Match the coating to the sensor's band: visible anti-reflection for colour, near-infrared for 850-950 nm lighting.

How far can the host computer sit from an outdoor stereo pair?

Copper GigE runs to the 100 m limit written into the GigE Vision standard, which covers most gate, pole and yard runs without a repeater. Beyond 100 m, add an industrial switch and fibre media converters. USB3 is a short-run choice: a few metres passive, up to about 8 m with a good cable, so it only works when the PC shares the pole or a nearby cabinet.