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

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

Build an electronics prototype box that becomes the product

Build the prototype on a 2 mm [0.08 in] aluminum plate with M3 standoffs on a 25 mm [1 in] hole grid and the servos bolted through it; the same coordinates become the finished enclosure. Cardboard and foam board serve one week of fit checks, and wood loses to weight, loose screws and fire load beside a warm driver.

NEMA4 Enclosure engineering team · Published November 15, 2026 · 7 min read

Short answer: build your prototype on a 2 mm [0.08 in] aluminum plate, drilled and tapped on an M3 grid at 25 mm [1 in] pitch, with the servos bolted through it and their shafts outside. Your controller rides 16 mm [0.63 in] above the plate on standoffs, the wires pass through grommeted holes, and when the build works, the same hole coordinates become the production enclosure drawing. Cardboard and foam board hold up for about a week of shape and cable checks, no longer. Wood takes a screw, but it adds weight, loosens under motor vibration, and sits as fuel beside a driver that runs warm.

The enclosure is the chassis

A turret, a pan-tilt head and a moving stage all build the same way: the box is the substrate, not the shell. You mount the controller, the drivers and the terminal strip inside it. The servos bolt to its walls with their shafts and horns outside, and the end effector goes on the shaft. Everything you add to the outside is dressing, because the outside carries no loads.

That order of building is what lets a prototype survive into production. Every hole you drill in the plate has a coordinate, and a shop can punch those same coordinates into a stainless wall one for one. If you are still choosing between adapting a stock box and drawing your own, the repurposed vs purpose built enclosures comparison settles that fork. This page starts from the decision to draw your own.

Choose the material by how long it must live

Material Best for Working life Becomes the product
Cardboard, foam board Shape checks, cable lengths, dressing panels Days No
Thin plywood A mock stand and non-structural shapes Weeks indoors No
2 mm [0.08 in] aluminum plate The working prototype: standoffs, servos, drivers Years Yes, as the hole pattern
304 or 316L stainless, custom-built The finished enclosure The product itself It is the product

Ply and foam board are the fastest way to see the shape: a ply base disk under the pan axis, foam board building the turret silhouette above it. Treat that mock as scaffolding. Construction toys do the same job at a hole pitch of their own, which no production drawing will ever match. Once a motor drives real load, the metal plate takes over. Wood cannot be thin without getting heavy, its screws back out under vibration, and a warm brushed motor deserves a neighbor that does not burn.

What you need

A standoff is chosen by thread, height, material and load, in that order. M3 matches the mounting holes on most small controller boards, and the height sets what you can run underneath the board.

  • 2 mm [0.08 in] aluminum plate, cut to your layout
  • M3 male-female standoffs: 6 mm [0.24 in] male thread, 10 mm [0.39 in] body, 16 mm [0.63 in] overall
  • M3 x 6 mm screws, a 2.5 mm [0.10 in] drill, an M3 tap, cutting oil
  • Adhesive-base standoffs (high-strength tape mounts) for boards whose holes land off the grid
  • Rubber grommets for every wire pass-through
  • Foam board, thin ply, masking tape, cable ties and labels

Build it step by step

  1. Mock the shape first. Cut the stand and the turret silhouette from foam board and thin ply, tape the servos in place, and measure the real cable runs. Give this stage about a week, then stop; the metal plate starts when a motor has to drive load.

  2. Draw the plate full size. Lay a 25 mm [1 in] hole grid out from one corner, and make that corner the origin of every dimension on the project. Mark the servo shaft holes and any off-grid holes as dimensions from the same corner, the way the cutout and gland guide dimensions openings on an enclosure wall.

  3. Cut, drill and tap. Saw the plate, file the edges, drill 2.5 mm holes on the grid and tap them M3. Two millimetres of sheet at a 0.5 mm thread pitch gives about four engaged threads, which carries gram-scale boards. Heavier parts go on through-holes with nuts.

  4. Fit the standoffs. Wind the 6 mm male threads into the tapped holes, and the controller sits flat with its solder side 16 mm clear of the plate. Boards that miss the grid go on adhesive-base standoffs pressed onto clean metal.

  5. Mount the servos through the wall. Bolt each servo so its shaft and horn sit outside, and pass the leads through a grommeted hole beside it. Thread the wires before you bolt the servo down, or you will be unpicking it later.

  6. Wire to a plan. Run power and motor leads down one side and signal lines down the other. Land every power ground at one point on the plate, the discipline the grounding and bonding guide explains for finished panels. Leave a service loop at each moving axis and label both ends of every lead.

  7. Prove it moves. Power down before your hand goes inside, and keep fingers clear of the sweep while it runs. Drive both axes through full travel a dozen times and watch for pinched wires at the pass-throughs.

  8. Mark every change on the drawing. A hole moved, a standoff added, a servo shifted — write it on the drawing the same day. The drawing, not the plate, is what you will order from.

Laying out a 200 x 150 mm plate for a two-servo turret

Inputs:

  • Plate: 200 x 150 mm [7.9 x 5.9 in], 2 mm [0.08 in] aluminum, sized from the foam-board mock of a pan-tilt turret
  • Grid: 25 mm [1 in] pitch, the standard grid of this build method
  • Standoffs: the M3 male-female parts above, 16 mm [0.63 in] overall height
  • Load: one controller board (4 standoffs), one terminal strip (2), one DC-DC converter (4)

Rule in words: the grid holds (plate length divided by pitch) times (plate width divided by pitch) positions, with the first holes half a pitch in from each edge so the pattern centres. Keep at least 20 % of the positions free for revisions — standard panel-building practice, and a prototype needs the spare more than a finished panel does.

Arithmetic:

  • Columns: 200 mm / 25 mm = 8
  • Rows: 150 mm / 25 mm = 6
  • Grid positions: 8 x 6 = 48 tapped M3 holes
  • Used now: 4 + 2 + 4 = 10
  • Free: 48 − 10 = 38, which is 79 % spare
  • Edge margin: 12.5 mm to hole centre minus 1.25 mm hole radius = 11.25 mm [0.44 in] of metal outside the outermost thread

Result and decision: 79 % spare clears the 20 % floor easily, so 200 x 150 mm is the plate to cut, and the production drawing carries all 48 positions so the next revision needs no new metal. The controller's solder side clears the plate by the standoff's 16 mm overall height. When free positions drop below 20 %, move up one plate size before adding parts, not after — two more 4-hole modules here would still leave 30 free, or 62 %.

Checks when the plate is built

  • Measure both diagonals: on this plate each should read 250 mm [9.8 in] within 1 mm [0.04 in], since 200 squared plus 150 squared is 62,500 and its root is exactly 250. Unequal diagonals mean a skewed grid, and a production punch would copy the skew.
  • Sight along every standoff; one standing tilted puts side load on the board's mounting holes.
  • Sweep each axis by hand through full travel with the wires tied back, then again under power.
  • Shake the assembled plate. Anything rattling today is a standoff on the floor next week.
  • After a 10-minute run the drivers should be warm, not untouchable. Drive electronics are built for 40 C [104 F] ambient unless their datasheet allows more.

Mistakes that cost you the transfer

  • Gluing what you will re-drill. A bonded part has no coordinate, so it cannot move to the production drawing. Adhesive bases are for the odd off-grid board; tapped holes carry everything else.
  • Two origins. A hole dimensioned from the left edge today and from the top edge tomorrow lands in the wrong place. Every dimension comes from the one corner.
  • Freehand wire holes. Openings cut after the fact wreck a sealing surface in the finished box. Put every hole on the drawing, as the LCD cutouts and standoffs walkthrough does for display openings.
  • Promoting the mock. The ply stand is scaffolding. The day the servo drives real load, the pattern belongs in metal.

From the plate to the finished enclosure

When the turret runs, the drawing is the order. You set material, width, height, depth and every cutout, and the enclosure is built from one piece — 304 stainless for indoor sites and most outdoor ones, 316L where salt air, brine or chlorides reach it. Start in custom enclosures or configure the build in the enclosure builder, and count on delivery in 10 business days from your approval of the drawing. The custom enclosure drawing package checklist shows what to put on the sheets, and custom metal enclosure prototype design for repeat builds extends the same pattern into a series.

If the turret lives outdoors, the box is rated NEMA 4X / IP66 by the manufacturer; not UL listed, and the shaft pass-throughs need sealing — the motor shaft sealing walkthrough covers the moving joint. A sealed box also traps driver heat, so size it against the 40 C [104 F] limit the bench check used; the enclosure sizing guide carries the arithmetic. When the controller moves to series production, DIN rail mounting for single-board computers is the factory answer to standoffs.

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
12 × 10 × 6 in304 stainless12 x 10 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
16 × 14 × 8 in304 stainless16 x 14 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

How long should the cardboard and foam board stage last?

About one week, and only for shape: where the servos sit, how big the stand is, how long each cable run is. The stage ends the moment a motor has to drive load, which is the 2 mm aluminum plate's job. Foam board stays useful afterwards for dressing panels on the outside, where nothing carries a load.

What if my controller's mounting holes miss the 25 mm grid?

Drill its holes anyway and dimension each one from the same corner datum, marked as one-offs so the shop knows they are not grid positions. Or bond adhesive-base standoffs to the plate; their high-strength tape bases hold a light board well, while anything heavier belongs on tapped holes and screws.

Is a plywood chassis good enough for a motor project?

For a mock stand, yes; as the final chassis, no. Wood screws back out under the vibration a servo axis puts out, the pan axis feels every gram of the weight, and a driver running warm ends up beside combustible material. Build the ply version to learn the geometry, then commit the pattern to metal.

When the prototype works, what do I order?

A custom enclosure against the same drawing: plate size, the 25 mm grid, every off-grid hole dimensioned from the origin corner, shaft and gland cutouts, material and finish. It is built from one piece and delivered in 10 business days from your approval of the drawing, and the coordinates transfer unchanged.

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 12 × 10 × 6 inRequest 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