Short answer: put the board in a hinged, gasketed stainless junction box rated NEMA 4X / IP66 by the manufacturer, seal every cable with a cord grip, and let the steel walls shed the heat. A people-counter board dissipating 5 W runs about 4.2 K above the air inside a 12 x 10 x 6 in box, which is 39.2 C at 35 C ambient, just under the 40 C most electronics are rated for. That covers a 6-month deployment on a pole, and it scales to hundreds of units because you order the gland holes cut at the factory. Keep the 3D printer for the prototype.
What the box has to keep out
Four things attack electronics on a pole: water arriving as rain and hose jets, windblown dust, sunlight, and the day-night temperature swing. Water and dust set the rating. The sun sets both the shell material and the heat budget. The swing decides whether you add a breather, because no NEMA type or IP code covers condensation.
A counter living outside for 6 months meets all four at once, so the order has to answer all four at once: jet-rated sealing, a shell the sun cannot age, walls big enough to pass the board's heat, and a plan for the air that breathes in and out.
The rating to write on the order: Type 4X with an IP66 code
Type 4X, in NEMA's own definition, is built for indoor or outdoor use and keeps out falling dirt, rain, sleet, snow, windblown dust, splashing and hose-directed water, resists corrosion, and stays undamaged with external ice on it. The corrosion claim is tested, not implied: under UL 50E, a Type 4X sample gets another 200 hours of salt spray alongside an AISI 304 stainless specimen and is judged against it.
Pair the type with IP66 from IEC 60529: dust-tight, then a 12.5 mm nozzle delivering 100 L/min. IP65 is one step down, a 6.3 mm nozzle at 12.5 L/min, and that difference shows up in driving rain and wash-down spray. Write both markings. In US installations, NEC 110.28 treats an IP code alone as no replacement for the enclosure type a specification calls for.
One sentence on whose word that rating is. Our boxes are rated NEMA 4X / IP66 by the manufacturer and are not UL listed, and NEMA itself does not test, certify or endorse enclosures. Listing is a UL 50E evaluation, which the UL 50E vs NEMA 250 guide walks through; the NEMA 4 vs 4X vs IP66 guide compares the types test by test.
The shell: 304 stainless for the fleet, 316L near salt
| Shell | Use it for | What to watch |
|---|---|---|
| 304 stainless, NEMA 4X / IP66 | 100+ units, years of sun and rain | move to 316L where chlorides land |
| 316L stainless | coastal salt air, brine, de-icing salt | pick it where chlorides demand it |
| Polycarbonate, IP66 | light boards, shorter or sheltered runs | UV embrittlement over years; molded sizes only |
| 3D printed shell plus epoxy | one prototype | layer lines leak; carries no rating |
Sunlight does nothing to stainless across years of exposure, and a welded or formed box with a continuous gasket gives every unit in a 100-unit fleet the same seal. For where the salt reaches the box, 304 stainless outdoors in coastal air draws the line between the two grades: 304 inland, 316L at the coast and along treated roads. Polycarbonate is a fair choice for a light board over 6 months, and whether a plastic junction box is watertight outdoors covers its limits. A printed shell stays at the prototype stage; when to use a rated box instead of a 3D printed enclosure shows why the layer lines and the missing rating both bite.
Give the board room: panel, air and gland space
Mount the board on standoffs on the removable mounting panel and keep about 1 in [25 mm] clear around it, so air can move past the components and touch the steel. Put every cable entry on the bottom wall. A 4 x 3 in [100 x 75 mm] board with two cord grips sits comfortably in a compact wall-mount box with air to spare; the junction-box line runs nine wall-mount sizes, and a custom box is any width, height and depth you draw.
Count the glands before you pick the footprint: one cord grip per cable, spaced about 1 in [25 mm] apart so the locknuts clear each other. If the box also carries terminal blocks or a small power supply, add their depth to the board depth plus the gland length behind the wall. Sizing a junction box without conduit works the same arithmetic from the cable side.
Heat check: a 5 W board in a 12 x 10 x 6 in stainless box at 35 C
The inputs, each with its source:
- Heat load: 5 W, assumed. A board drawing 0.4 A from a 12 V DC supply is 4.8 W; measure your board and swap the number in.
- Ambient: 35 C air, box shaded, a typical summer design value.
- Interior limit: 40 C, the ambient most electronics are rated for unless their datasheet says more.
- Wall coefficient: k = 3.7 W/m2K for stainless, this site's reference value.
- Box: 12 x 10 x 6 in, which is 0.305 x 0.254 x 0.152 m.
The rule in words: at steady state the walls pass heat equal to the coefficient times the area times the temperature difference, so the internal rise is the load divided by k x A.
The arithmetic:
- Area: 2 x (0.305 x 0.254 + 0.305 x 0.152 + 0.254 x 0.152) = 2 x 0.162 = 0.32 m2
- Wall capacity: 3.7 W/m2K x 0.32 m2 = 1.2 W/K
- Rise: 5 W / 1.2 W/K = 4.2 K
- Inside temperature: 35 C + 4.2 K = 39.2 C, with 0.8 K of margin to the 40 C limit
Decision: up to about 6 W (1.2 W/K x 5 K), a sealed box in that size class runs within budget, so seal it and leave it alone. Above 6 W, take a bigger box, since doubling the wall area halves the rise, or shade the install, because outdoors the sun rather than your board is usually the largest heat load. A fan-filter would drop the assembly to the filter's rating, so keep a 4X box sealed and cool it with surface. PCB heat in a sealed enclosure works the same balance for hotter boards.
Condensation: what the rating leaves out
The sun heats the box by day and the sky cools it at night, and each cycle breathes a little air through every imperfection in the sealing faces. The vapour in that air condenses on the coldest surface, usually the lid, and no enclosure type or IP digit says a word about it.
A truly sealed gasket with sealed glands limits the breathing, and a board that runs 24/7 helps you twice: the interior sits about 4 K above outside air, so the air inside stays drier than the air outside. Fit one membrane breather when the counter powers down at night on solar or battery, and pick one that carries its own IP66 rating, because the assembly settles at the lower of the box and the vent. A desiccant pack covers storage and shipping, and a 10 W PTC anti-condensation heater on a thermostat holds the interior above the dew point through a cold winter where the board sleeps. The outdoor enclosures guide covers breathers, heaters and sun shades in depth.
Cable entries: cord grips on the bottom wall
One cord grip per cable, with its seal gripping the cable jacket and its locknut and washer sealing the hole. Standard metric cord grips from M12 to M25 cover signal cable through small power cable, and the cutout drawing carries each hole diameter so nothing gets guessed in the field. Enter from the bottom wall so water has no path down the cable into the box, and dress a drip loop below the lowest gland. Sealing an outdoor junction box shows the full pattern; if a hole has to go in after delivery, field-drilled entries that keep a NEMA 4X rating is the procedure that keeps it.
What to put on the order
| Line item | What to write | For a 100-unit people counter |
|---|---|---|
| Rating | NEMA 4X / IP66, manufacturer rated | both markings on the box |
| Material | 304 or 316L stainless | 304 inland, 316L coastal or roadside |
| Size | width x height x depth fitting board, air and glands | the 12 x 10 x 6 in class of the example |
| Door | hinged, gasketed | standard on the line |
| Mounting | removable panel, wall-mount feet | board on standoffs |
| Entries | factory-cut gland holes, bottom wall | 2 x M20 cord grips |
| Vent | IP66 membrane breather | only if the board powers down |
| Quantity | from one piece | 100 and up |
Browse the stainless junction boxes for the nine stock wall-mount sizes, or start a custom enclosure where you set the material, the three dimensions and every cutout, built from one piece. Custom parts are delivered in 10 business days anywhere in the world, counted from your approval of the drawing; stock sizes are counted from your order. For a fleet, the factory-cut holes are what make the seal on unit 100 identical to the seal on unit 1, and that consistency is the whole reason to buy the box rather than print it.
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.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 12 × 10 × 6 in | 304 stainless | 12 x 10 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 16 × 12 × 8 in | 304 stainless | 16 x 12 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 20 × 16 × 8 in | 304 stainless | 20 x 16 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 24 × 20 × 8 in | 304 stainless | 24 x 20 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Is IP65 enough for an outdoor electronics box?
IP65 is dust-tight and tested with a 6.3 mm nozzle at 12.5 L/min. IP66 moves to a 12.5 mm nozzle at 100 L/min, which is what driving rain and hose splash look like. For 6 months outdoors in sun, specify IP66 together with the NEMA 4X type; in US installations NEC 110.28 treats the IP code alone as no replacement for the type rating the job calls for.
How much heat can a sealed 12 x 10 x 6 in stainless box shed?
With stainless walls at 3.7 W/m2K and 0.32 m2 of surface, it passes about 1.2 W per kelvin of rise. At a 5 K budget, 35 C air against a 40 C limit, that is about 6 W. The 5 W example board lands at 39.2 C inside; above 6 W pick a larger box or shade the install.
Should I 3D print the enclosures for 100 units?
Print one for the prototype, then buy rated boxes for the fleet. Layer lines and print porosity leak, an epoxy coat is hand work on every unit, and a printed shell carries no rating to show a customer or an inspector. A rated stainless box with factory-cut gland holes is delivered in 10 business days, from a one-piece minimum.
Do I need a breather vent if the board runs 24/7?
Usually you do not. A board that runs continuously holds the interior about 4 K above outside air, so the air inside stays drier than the surroundings and condensation stays off the electronics. Fit an IP66-rated membrane breather when the board powers down at night or the box cycles through large day-night swings; the assembly then carries the vent's rating.
Which stainless grade for a coastal or roadside site?
316L wherever salt air, brine or de-icing salt reaches the box; 304 handles inland sites. The molybdenum in 316L raises pitting resistance under chlorides. The Type 4X corrosion test already runs 200 hours of salt spray against an AISI 304 specimen, which is why 304 passes most inland outdoor specifications.





