The printed 30-pin ESP32 breakout enclosure, closed with its screw-down lid. A break-off mounting tab sticks out at one end and the USB-C opening is on the side.
PhotoPrinted and test-fit

Enclosure 01

30-Pin ESP32 Breakout Enclosure (v7)

A screw-lid box for the 30-pin ESP32 on its screw-terminal breakout. You only cut the openings you need.

Printed and test-fit

v7

Description

This enclosure is built around one specific pairing: the 30-pin USB-C ESP32 dev board seated on its 2×15 screw-terminal breakout board (the one that measures about 63 × 66 mm). The walls print solid, with thin-skin knockouts you cut out only where you need a wire, a cable gland or a sensor lead. The rest stays closed.

I printed and test-fit it on my Bambu Lab A1 before posting it. The board drops in and the mounting holes line up. The USB-C opening sits right on the port, so a cable plugs straight in. A PG7 gland snugs down in a side knockout, and its locknut clears the board. The cable clamp holds a ~4 mm sensor cable, like a DS18B20 lead.

It prints as three parts (base, lid and clamp cap) 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 terminal-side wall has one PG7 (12.5 mm) round between two 10 × 6 mm slots.
    • The sensor wall has two 5 mm rounds.
  • A 4.7 mm sensor-cable hole with a screw-down strain-relief clamp.
  • Break-off mounting tabs for #6–#8 screws (4.3 mm holes). Mount it to a wall, or snap the tabs off for a plain box. They break cleanly and leave a small nub.
  • A 4 mm screw-down lid with a locating groove.
  • Parametric OpenSCAD source with Customizer options for the tabs, clamp, each knockout wall, vents and lid holes. 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: AITRIP 30-pin ESP32 Type-C dev board + breakout (3 sets)

Download

Download the print files on MakerWorld:

Questions? Email support@azdroidworks.com

Photos

Select a photo for the full-size view

Before cutting

  • The open base with the 30-pin ESP32 seated on its 2×15 screw-terminal breakout board.
    03Board in, lid off
  • Top-down view of the ESP32 and breakout board in the base, with a break-off mounting tab at each end.
    04Top-down, board in
  • The base from the front, with the USB-C opening lined up with the port on the board.
    05USB-C opening
  • A USB-C cable plugged straight into the ESP32 through the opening in the wall.
    06USB-C cable
  • Close-up of the screw-down strain-relief clamp holding a sensor cable where it enters the box.
    07Cable clamp
  • Top-down view of the wired board, with a sensor cable under the clamp and a USB-C cable plugged in.
    08Wired, top-down
  • Angled view of the wired enclosure, with a sensor cable entering through the clamp.
    09Wired, angled
  • The open enclosure with the board wired and a sensor cable running out of the side.
    10Overview with cable
  • Close-up of a break-off mounting tab where it joins the wall.
    11Tab close-up
  • Outside of a terminal-side wall: the PG7 round and the slots are still closed thin-skin knockouts, above a mounting tab.
    12Knockouts, outside
  • The empty base at an angle, with the knockouts visible from the inside.
    13Knockouts, inside
  • Top-down view of the empty base, showing the board mounting holes, the clamp and the knockouts.
    14Empty base
  • The top of the 4 mm screw-down lid, with a screw hole in each corner.
    15Lid, top
  • The underside of the screw-down lid.
    16Lid, underside
  • The closed enclosure beside a steel ruler for scale.
    17Scale
  • The base and lid side by side, as printed.
    18Base and lid
  • The three printed parts laid out: lid, clamp cap and base.
    19Three parts

After cutting

  • A PG7 cable gland fitted in an opened side knockout, with a cable running through it.
    20PG7 gland
  • Close-up of the PG7 gland snugged down in the side wall.
    21PG7 gland close-up
  • Inside the box: the PG7 gland’s locknut sits clear of the board.
    22Locknut, inside
  • Close-up of the PG7 locknut inside the wall, clear of the terminal block.
    23Locknut close-up
  • Inside view of the PG7 locknut next to a wire routed out through an opened slot knockout.
    24Locknut and slot
  • Wires leaving through an opened slot knockout next to the PG7 gland.
    25Wires through a slot
  • The wall after a mounting tab was snapped off, leaving a small nub.
    26Tab snapped off
All enclosures