Enclosure 02
38-Pin ESP32 Breakout Enclosure (v2)
A screw-lid box for the 38-pin ESP32 on its 2×19 screw-terminal breakout. You only cut the openings you need.
Printed and test-fit
v2
Description
This enclosure is built around one specific pairing: the narrow 38-pin USB-C ESP32-WROOM-32 (WROOM-32D) dev board seated on its 2×19 screw-terminal breakout board (78 × 63 mm). The walls print solid, with thin-skin knockouts you cut out from inside only where you need a wire or a cable gland. The rest stays closed.
I printed and test-fit it on my Bambu Lab A1 before posting it. The board and breakout sit on the built-in standoffs. The USB-C opening lines up with the port, so you can program and power the board with the lid on. PG7 glands fit a long-wall knockout and the far-end knockout, and both locknuts clear the board. The long-wall fit is tight, so check that your gland's inside thread plus locknut is under about 6 mm.
It prints as two parts (base and lid) with no supports. The OpenSCAD source is included if you want to change things.
Features
- Thin-skin knockouts that look like solid wall until you cut one out:
- Each long wall has one PG7 (12.5 mm) round between two 10 × 6 mm slots.
- The far end has one PG7 between two 5 mm rounds.
- A 13 × 8 mm USB-C opening lined up with the board's port.
- Four break-off mounting tabs for #6–#8 screws (4.3 mm holes), with score grooves so you can snap off the ones you don't need.
- Two sealed floor keyhole slots for #6–#8 pan-head screws.
- A 4 mm screw-down lid with counterbored corner holes and a locating lip.
- Parametric OpenSCAD source with Customizer options for mounting and wire exits (zip-tie tunnels, magnet pockets and a cable clamp are off by default). It needs OpenSCAD 2021.01 or newer.
Tip: an X-Acto #104 concave carving blade opens the knockouts cleanly.
Parts used
The board and breakout I designed around: 38-pin ESP32 Type-C dev board (narrow) + screw-terminal breakout (3 sets) (opens in a new tab)
Download
Download the print files on MakerWorld:
Questions? Email support@azdroidworks.com
Photos
Before cutting
-
03Program and power through the USB port with the lid on -
04USB opening lined up with the board's port -
05A standard USB-C cable seats in the opening -
06The ESP32 and screw-terminal breakout sit on built-in standoffs -
07All terminals stay reachable with the lid off -
08Long wall: two slot knockouts and a PG7 knockout, still closed -
09From inside: thin-skin knockouts and mounting bosses -
10Empty base with standoffs, posts and keyhole bosses -
11Two parts, base and lid, printed without supports -
12Lid with counterbored screw holes -
13Textured lid underside with a locating lip -
14Keyhole slots and four mounting tabs -
15Each tab has a score groove for flush mounting -
16Tab snapped off, from the 30-pin version (same tab design) -
17Next to a ruler for scale (93.8 × 79.8 mm body)
After cutting
-
18PG7 cable glands fitted, lid on -
19PG7 glands on the long wall and the far end -
20Gland locknuts clear the board and terminals (tight on the long wall) -
21Both locknuts sit in the gap between wall and board -
22Cables through both glands, lid off -
23A lead through a slot knockout runs along the terminal strip -
24An opened slot next to intact knockouts -
25Lid on: USB, two glands and a slot lead -
26Cables routed through the glands, lid on