PCB Enclosure Design


Created and placed separate editable STEP-capable CAD models:
Both models compile, are centered on the PCB, and have separate toggleable nodes, connector access, M3 fastening, and ventilation around the power components. Download the native STEP files from each model card for Fusion 360.
Open item
  • Validate the first print because exact installed component heights are not fully defined, and the PCB currently has only one mounting hole.
Suggested next steps
  1. Import both STEP files into Fusion 360 and confirm the preferred styling.
  2. Print a low-quality fit-check prototype.
  3. Add more PCB mounting holes or edge-retention clips for stronger support.
Add mounting holes
Prepare fit prototype
Export Fusion STEP
Add retaining clips

Enclosure Build
Overview
Editable two-part black FDM enclosure for the RPi PICO Stepper Motor Driver 1zsQ, authored as build123d so the asset cards provide native STEP for Fusion 360.
Assets
  • 3D Model

    Design view of Enclosure Build
  • 3D Model

The PCB tree contains separate sibling model nodes named Enclosure Base and Enclosure Lid; the lid can be toggled independently.
Measured Datum and Authored Dimensions

Table


ItemValue
Custom PCB outline extents46.0357 × 75.8946 mm
Custom outline center in layout frameX 0.092634 mm, Y -0.026609 mm
PCB stackup / thickness4-layer / 1.30 mm
Populated sideTop only
Base central body52.0 × 82.0 mm
Lid central body53.0 × 83.0 mm
Maximum XY including screw earsBase 60.0 × 90.0 mm; lid 61.0 × 91.0 mm nominal
Overall assembled Z span-6.30 to +26.00 mm (32.30 mm)
PCB edge clearance0.53 mm nominal
Main side walls2.45 mm X sides; 2.52 mm Y sides
Base floor2.0 mm
Clearance below PCB3.0 mm
Lid roof2.0 mm
Roof underside+24.0 mm
Base/lid seam+3.0 mm
Registration sleeve overlap1.0 mm, 0.25 mm nominal per-side fit
Local z=0 is the PCB top surface; the PCB occupies z=-1.30…0 mm. Standoff tops meet the PCB underside at z=-1.30 mm.
Mounting and Height Assumptions
  • The current layout contains one verified M3 mounting hole, H1, at enclosure-local approximately (16.33, 31.98) mm. It aligns with a 7.0 mm OD standoff and 2.7 mm pilot bore.
  • Because only one PCB mounting hole is present, four integral edge-support shelves stabilize the remaining board perimeter. Check real solder-tail locations during the first dry fit.
  • The lid roof uses a conservative 22 mm tallest-component envelope plus 2 mm headroom. This covers the vertical L298N Multiwatt package conservatively.
  • Items requiring first-article verification: installed L298N lead/seating height, installed L7805 TO-220 height, generic PROG header height, and actual terminal-block mating plug/tool envelope.
  • Reference heights used: C4 10.5 mm; Bourns 3386P approximately 9.53 mm; generic 3.5 mm terminal block approximately 8–9 mm; L7805 body approximately 15.75 mm before lead/seating allowance.
Port and Control Openings
  • M_COIL_1 / M_COIL_2, top wall: separate 10 × 9 mm-class apertures continuing across the seam, sized for wire entry and screwdriver access.
  • POWER, bottom wall: 10.5 × 9.5 mm-class aperture continuing across the seam.
  • R2 trimmer, right wall and roof: 19 mm side opening plus 13.5 × 17.5 mm roof service window for adjustment and body clearance.
  • PROG header, right wall and roof: 12 mm side opening plus 6 × 11 mm roof window for vertical cable access.
Openings were centered from actual layout component geometry/placement rather than assuming all component origins are body centers. The thickest wall tunnels are opened through to the cavity so mating wires/tools are not blocked by wall depth.
Thermal Strategy
  • Three 2.4 mm-wide rounded roof slots are placed over the L298N (U1) region.
  • Three 2.4 mm-wide rounded roof slots are placed over the L7805 (U3) region.
  • Slot pitch leaves approximately 2.4 mm ribs.
  • Three 2.4 × 14 mm floor intake slots provide a low air inlet; heated air exits through the lid slots.
  • Black plastic material is assigned with visible model edges enabled.
Fastener BOM

Table


QtyItemRecommended specification
4Lid screwsM3 × 25 mm button-head machine screws, head diameter ≤6.6 mm
4Lid insertsM3 heat-set inserts, approximately 4.6 mm OD × 5–6 mm long
1PCB screwM3 × 6 mm thread-forming screw for plastic, or tap the 2.7 mm pilot to M3
Optional 4FeetAdhesive rubber feet on the base floor corners
Base insert bores are 4.2 mm; lid clearance holes are 3.5 mm with 6.6 mm head recesses.
Suggested FDM Settings
  • PETG or ABS/ASA preferred over PLA near the L298N and L7805.
  • 0.4 mm nozzle, 0.20 mm layers, 4 perimeters, 5 top/bottom layers.
  • 25–35% gyroid/cubic infill.
  • Print base floor-down.
  • Print lid roof-down with supports for the skirt/registration sleeve, or tilt 35–45° with organic supports.
  • Install heat-set inserts with a temperature-controlled iron after printing; verify on a bore coupon before modifying the 4.2 mm constant.
Assembly
  1. Print and deburr both parts; clear all vents and connector apertures.
  2. Install four M3 heat-set inserts in the base closure bosses.
  3. Place the PCB top-side-up, align H1 to the standoff, and confirm the board rests without rocking on the support shelves.
  4. Secure H1 with the M3 × 6 mm screw; trim any solder tails that contact a support.
  5. Route and tighten terminal-block wiring before fitting the lid.
  6. Confirm R2 and PROG remain accessible through their roof/right-side openings.
  7. Seat the lid registration sleeve over the base and install the four M3 × 25 mm screws evenly.
Fit / QA Checklist
  • Base floor is below the PCB and the PCB top datum remains at z=0.
  • H1 aligns freely and the board seats flat without stress.
  • No support shelf contacts a solder joint or lead tail.
  • All three terminal blocks accept the intended wire gauge and screwdriver.
  • R2 can be adjusted and PROG can be connected with the actual tools/cables.
  • Lid closes without touching L298N, L7805, C4, or the terminal blocks.
  • Four lid screws engage inserts by at least 4 mm and the lid seats uniformly.
  • Vent slots are unobstructed in the installed orientation.
  • Perform a first-print dry fit before producing multiple units; Flux layout read-back verifies node placement and asset resolution but does not provide a mesh collision report.
  • Overview

  • Assets

  • Measured Datum and Authored Dimensions

  • Mounting and Height Assumptions

  • Port and Control Openings

  • Thermal Strategy

  • Fastener BOM

  • Suggested FDM Settings

  • Assembly

  • Fit / QA Checklist