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

Enclosure for a DIY touchscreen project without a 3D printer

Short answer: build the box, print nothing. For a 10 in touchscreen, a single-board computer and a few modules that travel between rooms, cardboard, plywood and acrylic stop working the day you lift the box. Order a one-piece 304 stainless body about 14 x 10 x 6 in with a 10.6 x 6.8 in display cutout, standoffs every 4-6 in, glanded cable entry and a Type 12 rating; it is delivered in 10 business days from your approval of the drawing.

NEMA4 Enclosure engineering team · Published November 4, 2026 · 9 min read

Short answer: have the box built, and print nothing. A 10 in touchscreen, a single-board computer and a few sensor modules that travel between rooms want a one-piece 304 stainless enclosure made to your drawing. The working size is 14 x 10 x 6 in [355 x 255 x 152 mm]. Give it a 10.6 x 6.8 in [269 x 173 mm] display cutout, standoffs every 4-6 in [100-150 mm] and glanded cable entry. It is delivered in 10 business days from your approval of the drawing, and it shrugs off being carried, knocked and wiped. Cardboard still earns its keep mocking up your layout, and plywood and acrylic each hold one niche. None of the three holds a 10 in screen flat and sealed while the box moves.

What carrying the box does to it

A wall-mounted enclosure fights weather. Yours fights hands: one-handed lifts, bench-height drops, snagged cords, dust, and the occasional wet rag. Write the loads down and they pick the box for you.

Load when you carry it What it does What beats it
One hand under a 14 in face Twists the door; a wavy face unseats the display gasket One-piece body, flat gasket land
A drop from bench height, about 30 in [760 mm] Lands on cutout edges and corners Metal body, captured hardware
A snagged cord A straight pull works the plug out of its socket Cable clamped 2 in [50 mm] from every plug
Bench dust and a spilled drink Film on the screen, liquid in the seams Type 12 rating, gasketed door
A wet rag or an outdoor demo Water across the front face Type 4X door and gasketed cutout

Two of those loads land on the display, your most fragile part. A touch panel seals on the gasket squeezed between its bezel and the door, held by #8 or M4 screws, the hardware this class of panel is built around. Twist the door and the gasket unseats; flex the cutout edge and the glass carries the strain. That is the case for a one-piece body with a flat door, and for cutting the opening on a machine rather than a jigsaw line.

Cardboard, plywood and acrylic: where each stops working

Set the DIY sheet materials next to a 10 in cutout and their limits write themselves:

Material Holds a 10 in screen flat Seals Survives the carry Right job
Cardboard No; a fingertip flexes it No No Layout mock-up, hole spacing
Plywood, 1/2 in [12 mm] Yes, until humidity swells it Only with a separate gasket Corners split Fixed bench jig
Acrylic sheet Yes, but notch-brittle With effort Cracks at cutout corners A window in a fixed build
ABS sheet, 3 mm [1/8 in], solvent-cemented Yes, with bonded ribs At the joints, briefly Joints open A prototype that stays on the bench
304 stainless, one piece Yes Factory gasket Yes Anything that travels

The body is the easy half of a DIY case; the cutout is the hard half. A touch panel seals against a flat, square land, and a hand-cut 10 in opening is rarely either. The cutouts, glands and display windows guide covers what a sealing land needs. Cut to the maker's mechanical drawing rather than to the screen size: one panel maker's installation sheet lists an attachment gasket of 204.5 x 159.5 mm [8.05 x 6.28 in] for an 8 in class panel, which is not what the words "8 inch" suggest.

Off-the-shelf plastic project boxes in the 10-12 in class have lids too thin to stay flat over that opening, and you still cut them yourself. For a build that never leaves the bench, cemented ABS is a fair answer, and custom enclosures for portable electronics projects covers when to stop prototyping and order. When the box travels, move to metal.

The rating this build needs

Ask for Type 12 on a unit that lives on benches and demo tables. NEMA 250 builds Type 12 for indoor dust, dirt and dripping liquids, which is exactly the bench world. The day the box visits a washdown line, a food demo or an outdoor show, ask for Type 4X, built for hose-directed water and corrosion, which NEMA's conversion table pairs with IP66. Every NEMA type and IP code in this article is the builder's declaration: rated NEMA 4X / IP66 by the manufacturer, not UL listed, and NEMA does not test or certify enclosures.

An assembly takes the rating of its weakest part. A gland, a vent or a connector rated below the door pulls the whole box down with it, so keep USB and HDMI inside and bring cables out through glands. When you want ports reachable without opening the door, mount a panel interface connector: a size 24 housing of the common kind carries Type 12, 4 and 4X with its gasket, on #8 or M4 screws. Adding serial ports to a 10 inch IP66 touchscreen works the same decision for a display build.

Bringing 120 or 240 V inside introduces mains wiring and shock hazards. Choose the enclosure for the installation, including the location covered by NEC Table 110.28, and determine the product safety and installation rules for the finished equipment. The UL 50E and NEMA 250 guide explains enclosure ratings and listing. Isolate all energy sources and confirm absence of voltage before service.

An external 5 or 24 V DC brick can keep mains wiring outside this box, but it does not exempt the finished product from safety or environmental requirements. Confirm the supply’s isolation and available fault power, then size wiring and overcurrent protection for that source. Check strain relief, hot parts, fire containment, grounding or bonding where required, and the enclosure’s intended location. Voltage alone neither classifies the product nor proves it safe; select the product safety standard for the equipment’s function and market.

The sizing rules: face, depth and heat

Three rules size the body, and the worked example below runs them end to end.

  • Face: the cutout plus at least 1.5 in [38 mm] of flat door on every edge, so gasket and screws land on solid metal.
  • Depth: the deepest internal item, plus 1 in [25 mm] of air and wiring, plus 1.5 in [38 mm] of display stack behind the door.
  • Mounting pitch: a standoff or rail anchor every 4-6 in [100-150 mm], so nothing flexes when you lift the box by one edge.

Heat is the fourth rule, and it sinks more portable builds than any splash. A sealed stainless wall passes about 3.7 W per square metre of surface per degree of rise, this site's planning value for stainless. Most electronics in this class are rated for 40 C ambient. The rise equals the heat load divided by 3.7 times the wall area: ΔT = Q / (k x A). How to size an electrical enclosure carries the full method, and the backplate and DIN rail layout guide covers the inside face.

Sizing the box for a 10.1 in touchscreen, an SBC and three sensor modules

The inputs, each from a drawing or a datasheet:

  • Display: a 10.1 in touch panel; cutout 10.6 x 6.8 in [269 x 173 mm] from the maker's mechanical drawing; display and controller stack 1.5 in [38 mm] deep behind the door.
  • Computer: a single-board computer 3.3 x 2.2 in [85 x 56 mm], on four standoffs.
  • Modules: three DIN-rail sensor modules on a 6 in [150 mm] rail slice; the 24 V supply on that rail is the deepest item at 3.5 in [90 mm].
  • Heat: 8 W display backlight, 5 W computer, 2 W modules, for 15 W inside.
  • Where it runs: offices and labs at 25 C.

The rules in words: face from cutout plus margin, depth from the stack, rise from heat over wall area.

  • Face: 10.6 + 2 x 1.5 = 13.6, so order 14 in [355 mm] wide; 6.8 + 2 x 1.5 = 9.8, so order 10 in [255 mm] high.
  • Depth: 1.5 in of display stack + 3.5 in of rail depth + 1.0 in of air and wiring = 6.0 in [152 mm].
  • Wall area: 14 x 10 x 6 in is 0.356 x 0.254 x 0.152 m, so 2(0.356 x 0.254) + 2(0.356 x 0.152) + 2(0.254 x 0.152) = 0.18 + 0.11 + 0.08 = 0.37 m2.
  • Rise: 15 / (3.7 x 0.37) = 15 / 1.4 = 11 K. Inside: 25 + 11 = 36 C, which is 4 K under the 40 C limit. Highest room that still holds 40 C: 40 - 11 = 29 C.

Order 14 x 10 x 6 in, 304 stainless, Type 12, with the standoff pattern and two gland holes on the drawing. In rooms above 29 C the same box runs over. Drop the backlight to half, which takes the display from 8 W to about 4 W, the build to 11 W and the rise to 8 K, good to a 32 C room. Holding 40 C at a real 35 C ambient takes about 0.81 m2 of wall, and a 20 x 16 x 8 in box reaches only 0.78 m2 for a 5 K rise. Nobody carries that; trimming heat is the better fix. Past about 11 W inside this body, plan on cool rooms or a bigger box.

Keeping plugs seated when the box travels

Connectors, not screens, are what usually break first on a carried build. Four habits keep them seated:

  • Clamp every cable to the backplate within 2 in [50 mm] of its plug, with adhesive clamp bases or tie points, so a snag loads the clamp instead of the contact.
  • Land sensor wiring on screw terminals rather than friction jumpers, and use screw-locking shells where the parts offer them.
  • Fit end brackets either side of the DIN slice, so a knock cannot slide modules along the rail.
  • Leave a service loop in each cord and take it out through a gland matched to the cord's outer diameter; sealing a gland around a smaller cable shows what happens when the cord sits below the gland's sealing range.

Condensation on the move

Carrying the box adds one failure a wall-mounted unit never sees: fog from the inside. Air sealed in at 22 C and 50% relative humidity has a dew point near 11 C, so one night in a 5 C car parks every internal surface below it. The window fogs exactly where you need to see. Tape a desiccant sachet to the backplate, and let the box warm to the room before you power it. A breather vent clears fog faster, and on an indoor Type 12 box it costs you little; on a Type 4X or IP66 build it drops the assembly to the vent's own rating. Condensation in an IP67 project box covers the cable-entry half of the same problem.

What to put on the order

The drawing carries every decision above. Send this:

Line on the drawing What to specify
Body 304 stainless, one piece, 14 x 10 x 6 in [355 x 255 x 152 mm]
Rating Type 12 for indoor carry; Type 4X for washdown or outdoor visits
Display cutout 10.6 x 6.8 in [269 x 173 mm] to the display drawing, with its #8 / M4 hole pattern
Backplate Standoff pattern at 4-6 in [100-150 mm] pitch; 6 in [150 mm] DIN slice with end brackets
Cable entry Gland holes cut to the gland threads, both cord ODs noted
Quantity From one piece

Lay the holes out in the cutout designer, which checks spacing and sends the layout with your quote request, or send your own drawing for a custom enclosure. The drawing we send back is the one you approve, and the 10 business days start at that approval. Custom enclosure for a 7 inch touchscreen walks a smaller display through the same exchange.

If you would rather buy screen and shell together, the 10.1 in HMI housing and the 10.4 in version arrive cut for a panel PC, or for a touch monitor with a mini PC on a bracket, with an IP65-type front seal with the display installed, manufacturer rated. Browse HMI enclosures for the display sizes; your own single-board build belongs in the custom box above.

Enclosures in this article

EnclosureMaterialOutside H x W x D / displayRating
10.1" HMI enclosure304 stainless8.72 x 12.66 x 3.48 inIP65-type front seal with the display installed, manufacturer rated; not UL listed
10.4" HMI enclosure304 stainless10.2 x 12.44 x 3.6 inIP65-type front seal with the display installed, manufacturer rated; not UL listed

Questions

Can I build the enclosure myself from ABS sheet instead of ordering one?

Yes, for a bench build that never travels. Cement 3 mm [1/8 in] ABS with solvent, bond a rib every 4-6 in, and give the touchscreen cutout to a jigsaw and file; budget a full afternoon and expect to scrap the first lid. The display seals on its own gasket under #8 or M4 screws, so a wavy edge leaks. Carried between rooms, a cemented box opens at the joints, and that is the day you order the metal one.

What NEMA rating does a portable touchscreen build need?

Type 12 for a unit that lives indoors: it is built against dust, dirt and dripping liquids, which covers benches and demo tables. Step up to Type 4X, which pairs with IP66 on NEMA's conversion table, once the box faces hose water or outdoor weather; a Type 12 unit stays home. Every rating is the manufacturer's declaration, not UL listed.

How hot does a sealed 14 x 10 x 6 in stainless box get with 15 W inside it?

About 11 C over the room. A stainless wall passes roughly 3.7 W per square metre per degree, the box has 0.37 m2 of surface, so 15 W / (3.7 x 0.37) = 11 K. At 25 C the inside sits near 36 C, four degrees under the 40 C limit most electronics carry; past a 29 C room, dim the backlight or move up a size. A fan-filter kit would fix the heat but vents the box down to about IP54.

Will the window fog when I carry the box in from a cold car?

It can. Air sealed in at 22 C and 50% relative humidity has a dew point near 11 C, so a night in a 5 C car condenses that moisture on the window from the inside. Tape an indicating desiccant sachet inside, which changes colour when spent, and let the box reach room temperature before you power it.

Should any connectors sit on the outside of the door?

Through gasketed panel hardware, yes: a size 24 panel interface connector holds Type 12, 4 and 4X on its gasket with #8 or M4 screws. A bare USB or HDMI socket let into the door drops the whole box to that socket's rating, usually far below the door's. Keep bare connectors inside and bring the cables out through glands.

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.

Configure an HMI housing in 3DRequest a custom quote

NEMA 4X enclosures: sizes for this job

Keep reading

Related engineering answers

All articles

Buying guides

The guides behind this answer

All guides