Choose the enclosure only after checking the actual board, connected cables, cooling hardware, and any display or camera assembly together. A matching board outline does not guarantee matching connector positions or usable internal clearance. Build the single-board computer enclosure layout around the complete installation, then verify it with a full-size mock-up before approving mounting holes or external openings.
What you need before drawing the enclosure
Collect the board’s mechanical drawing, connector specifications, mounting requirements, and cooling recommendations. Check the hardware revision against the drawing; photographs and nominal form-factor descriptions are not enough.
Have these items available:
- The actual board, storage device, power connector, and all internal accessories.
- The cables you intend to install, including their molded plugs and strain reliefs.
- The proposed heat sink, fan, thermal bridge, or other cooling assembly.
- Mounting hardware, insulating supports where required, and any carrier plate.
- The display, camera, interface adapters, and their mechanical drawings.
- The intended operating temperature, exposure conditions, and maintenance requirements.
For the broader construction choices, use small computer enclosure design. The steps below focus on verifying that the complete installation fits and remains serviceable.
Lay out the complete installation
-
Prove the peripheral configuration before fixing its position.
Operate the intended display, camera, storage, and power arrangement outside the enclosure using the supported software configuration. A mechanically compatible ribbon connector does not establish electrical compatibility or software support. Confirm the interface, pin assignment, cable orientation, and supported peripheral through the board manufacturer’s documentation.
Resolve these questions before cutting a display opening or placing a camera cable exit. Otherwise, changing an adapter or cable later can invalidate the entire layout. Do not assume that an accessory works because it fits a similar-looking board.
-
Draw the actual board and its mounting points.
Use one coordinate origin and record the board outline, hole centers, connector bodies, and component keep-out areas. Include underside components and anything projecting beyond the board edge. Identify mounting holes that are actually intended to support the board.
Check the required screw diameter and permitted engagement against the board documentation. Select standoff heights that clear underside components without allowing screws or supports to contact circuitry. Do not assume a plated mounting hole should be electrically bonded unless the board documentation permits it.
If the board layout is still changing, follow the mechanical checks in PCB enclosure fit. A familiar board outline is only the starting boundary, not an enclosure compatibility specification.
-
Reserve the plugged-in connector envelope.
Measure each connector with its actual cable installed. Include the plug body, strain relief, bend radius, finger access, and withdrawal direction. A cable that fits while sharply folded may still overload the board connector or prevent servicing.
For example, suppose a plug projects 1.0 in [25 mm] beyond the board edge. If removal needs another 0.5 in [13 mm], reserve at least 1.5 in [38 mm] beyond that edge. Cable bends may require additional space; use the cable manufacturer’s minimum bend radius rather than a universal allowance.
Decide whether each connection stays inside, passes through a gland, or terminates at a panel-mounted interface. A panel-mounted connector can move routine cable loads away from the board, but it adds internal cable and fastening space. For preterminated network cables, use the sizing process in cable glands for RJ45 connectors.
-
Choose supports and prove the depth stack.
Draw a side view through the tallest assembly. Include the mounting surface, standoffs, board thickness, heat sink, fan, connector latches, and lid hardware. Measure the enclosure’s usable internal depth, not just its outside depth.
As an illustrative stack, 0.25 in [6 mm] standoffs, a 0.06 in [1.5 mm] board, and a 0.80 in [20 mm] top-side assembly occupy approximately 1.11 in [28 mm]. That is occupied height only. Add the documented cooling clearance and room for assembly, tolerances, and lid features.
Check that tightening the supports cannot bow the board. If a carrier attaches to DIN rail, account for the carrier, clip, and release motion. The mounting sequence in DIN rail mounting for single-board computers addresses that additional hardware.
-
Route camera and display connections as serviceable assemblies.
Show the complete ribbon path, including connector latch access and any required stiffener orientation. Keep ribbons away from sharp edges, latch mechanisms, mounting screws, and moving door hardware. Use the cable manufacturer’s bending limits; do not crease a ribbon to make the lid close.
If a display mounts in a removable cover, provide enough controlled slack to disconnect it safely. Secure the cable so opening the cover cannot pull directly on the board connector. Avoid trapping the ribbon between the lid and its gasket.
A bare ribbon slit is not a sealed cable entry. For an exposed installation, specify a feedthrough intended for the cable geometry and environmental requirement. If the display itself forms part of the water barrier, address bezel support, gasket compression, and rear clearance together. Bonded bezel display mounting and sealing covers that separate interface in more detail.
-
Fit the cooling method before freezing the footprint.
Establish the internal heat load at the intended workload and supply arrangement. Include internal conversion losses and accessories, not only the computer’s nominal consumption. An illustrative budget of 12 W for computing, 3 W for interface electronics, and 2 W for conversion losses totals 17 W.
A fan circulating air inside a sealed enclosure can reduce local hot spots, but it does not provide outside-air exchange. Heat must still leave through the enclosure walls or another designed heat-transfer path. An external-air fan requires openings, which change the environmental protection strategy.
Reserve the full heat sink and airflow envelope, including fan inlet clearance and cable exclusion zones. For a thermal bridge to the enclosure wall, account for interface compression and mechanical tolerances without loading the board improperly. Use conduction cooling for a sealed computer enclosure for the thermal-path design rather than selecting enclosure size from wattage alone.
-
Place external openings around the installed hardware.
Locate glands, panel connectors, controls, and display openings after the internal assembly is positioned. Check both sides of every opening for locknuts, washers, installation tools, cable bends, and support hardware. Keep these envelopes clear of the board and enclosure gasket land.
Give each opening a defined sealing method. Identify the fitting, permitted panel thickness, hole geometry, gasket, and installation requirements. A connector’s environmental rating may apply only when mated or capped; check its documentation.
Use the cutouts, glands, and HMI windows guide for penetration fundamentals. The cutout designer can place openings on enclosure faces and attach the layout to a quote request.
-
Mock up assembly and maintenance access.
Build a full-size model or temporary mounting plate using the actual cables and cooling parts. Install the board, connect every interface, and fit the cover without forcing anything. Confirm that screws remain accessible after neighboring parts are installed.
Perform the maintenance tasks the enclosure must support: remove storage, release ribbon latches, unplug power, and replace the board. Decide whether these tasks happen in place or after withdrawing a carrier assembly. That decision determines the cable slack and connector access you need.
Check the finished assembly
Inspect the assembly before applying power. Confirm that fasteners cannot touch circuitry, cut edges are finished, and cables have appropriate restraint. Check the metallic enclosure’s protective bonding requirements separately from the board’s signal reference. The grounding and bonding guide explains that distinction and the protective fault-current path.
If mains power enters the enclosure, include the required electrical protection, segregation, and qualified design review. A low-voltage computer layout does not establish that the complete assembly is suitable for mains wiring.
Run the intended workload with the enclosure closed and all accessories operating. Record ambient temperature, component temperatures, and any throttling or instability. Repeat at the intended maximum ambient, or use a justified thermal assessment where direct testing is impractical.
Check that the cover closes without shifting cables or pressing against the cooling hardware. Inspect sealing surfaces after opening it again; cable impressions or uneven gasket contact indicate a layout problem.
Mistakes that cost the environmental rating
An open camera slit, an ordinary ventilation grille, or a cable pinched through the lid can defeat an otherwise suitable enclosure design. Sealant applied around an unsuitable opening does not establish a verified environmental rating.
If you specify NEMA 4X, retain that requirement through the complete penetration and accessory design. Enclosure ratings are manufacturer ratings for the specified design; the enclosures are not UL listed. Do not transfer a rating from an empty enclosure to a modified assembly without evaluating the changes.
Avoid these common failures:
- Placing cutouts where their fittings interrupt the enclosure gasket or cannot seat flat.
- Selecting a gland by connector passage size without checking its cable sealing range.
- Leaving panel connectors uncapped when their protection depends on mating or a closure cap.
- Adding ventilation after the enclosure’s environmental protection has already been specified.
- Using the lid to hold a loose cable or thermal assembly in position.
For dry indoor installations, ventilation may be appropriate. For dust, outdoor exposure, or washdown, select the protection and cooling strategy together rather than adding openings afterward.
What the enclosure drawing should specify
Send an assembly drawing with the actual board revision, mounting coordinates, usable internal envelope, and cooling arrangement. Include the connector service envelopes and the complete camera or display cable route. Mark which dimensions are critical and which can move during enclosure design.
For each cutout, provide its face, datum, dimensions, tolerances, and mating component documentation. Include panel-thickness requirements and the sealing hardware’s installation instructions. State the environment, required enclosure type, material, mounting orientation, and external cable directions.
We build custom enclosures with customer-defined material, width, height, depth, and cutouts, from one piece. Approve the enclosure drawing only after checking it against the complete computer assembly. The correct final size is the one that accommodates installation, cooling, sealing, and maintenance—not merely the bare board.
Enclosures for this job
Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 10.1" HMI enclosure | 304 stainless | 8.72 x 12.66 x 3.48 in | IP65-type front seal with the display installed, manufacturer rated; not UL listed |
| 15.6" HMI enclosure | 304 stainless | 11.69 x 17.64 x 4.13 in | IP65-type front seal with the display installed, manufacturer rated; not UL listed |
| 21.5" HMI enclosure | 304 stainless | 14.69 x 23.03 x 3.86 in | IP65-type front seal with the display installed, manufacturer rated; 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 |
Questions
Will an enclosure for a similar-sized computer board fit?
No. Similar board outlines do not guarantee matching mounting holes, connector locations, underside clearance, or cooling hardware. Compare mechanical drawings for the exact board revisions, then check the actual assembly with cables installed. Include cover clearance and access to connector latches before committing to an enclosure.
How much space should remain around board connectors?
Allow for the installed plug, molded strain relief, cable manufacturer’s minimum bend radius, and the motion needed to disconnect it. There is no universal clearance that suits every connector. Measure the actual cable assembly and verify access using a full-size mock-up.
Can a camera ribbon pass through the enclosure lid joint?
Not through the gasket joint. A ribbon can prevent uniform gasket compression and suffer damage when the cover closes. Use a feedthrough designed for the ribbon geometry and required exposure conditions, or keep the camera inside a properly designed enclosure assembly.
Does an internal fan provide enough cooling in a sealed enclosure?
An internal fan can improve circulation and reduce local hot spots, but heat must still pass through the enclosure walls or another designed thermal path. Verify the closed assembly under its intended workload and ambient conditions. Do not assume that adding a fan establishes adequate cooling.





