---
title: "ESP32 enclosure, 3D printed: DevKit C, DOIT V1, S3 and C3 dimensions and a prompt that fits"
description: "ESP32 dev boards come in a dozen footprints and most have no mounting holes. How to measure yours, hold it with rails, clear the antenna, and generate the case."
canonical: https://speakcad.com/blog/esp32-enclosure-3d-print
published: 2026-09-08
updated: 2026-09-08
publisher: SpeakCAD
---

# ESP32 enclosure, 3D printed: DevKit C, DOIT V1, S3 and C3 dimensions and a prompt that fits

> ESP32 dev boards come in a dozen footprints and most have no mounting holes. How to measure yours, hold it with rails, clear the antenna, and generate the case.

## Which ESP32 do you have?

"ESP32 dev board" covers at least a dozen outlines. Measure yours; these are the common ones.

| Board | Outline | Pins | USB | Holes |
|---|---|---|---|---|
| ESP32 DevKitC V4 (38 pin) | 55 x 28 mm | 2 x 19, rows 25.4 mm apart | Micro-B | None |
| ESP32 DevKit V1 (DOIT, 30 pin) | 52 x 28 mm | 2 x 15, rows 25.4 mm apart | Micro-B | None |
| ESP32-S3 DevKitC-1 | 63 x 25.5 mm | 2 x 22 | 2 x USB-C | None |
| ESP32-C3 SuperMini | 22.5 x 18 mm | 2 x 8 | USB-C | None |
| ESP32-S3 SuperMini | 22.5 x 18 mm | 2 x 8 | USB-C | None |
| Wemos Lolin32 Lite | 50 x 25.4 mm | 2 x 13 | Micro-B | 2 |

Almost none of them have mounting holes. The case must hold the board another way.

## Holding a board with no holes

- **Edge rails.** Two grooves along the long sides, 1.8 mm wide (board thickness 1.6 mm plus clearance), let the board slide in from one end. The USB end is left open so the connector lands in its cutout. This is the best option for dev boards that get reprogrammed.
- **Pin-row channels.** If headers are soldered, two channels in the base capture the pin rows, 25.4 mm apart on most ESP32 boards. Pins act as feet.
- **Clip corners.** Four small hooks over the board corners. Works, but the board must be pressed in past the hooks.

Ask for the one you want; rails are the default when you say the board has no holes.

## Antenna and heat

The PCB antenna sits at one short end. Keep 3 mm of air around it and do not put a wall right against it; 2 mm of PLA is fine. The module gets warm under WiFi load: six 2 x 10 mm slots on each long side keep it in check.

## The prompt

> **Prompt** A project box for an ESP32 DevKitC V4, board 55 x 28 x 1.6 mm with no mounting holes and headers soldered, tallest component 13 mm. Internal edge rails with 0.4 mm clearance, 1.8 mm walls, 18 mm internal height. A 12 x 7 mm micro USB cutout on one short side 3 mm above the floor, 3 mm antenna keep-out on the other short side, six 2 x 10 mm vent slots per long side, sliding dovetail lid.

## Add-ons by chat

- "Add a 5.5 mm hole in the lid above the on-board LED" (say where it is: the DevKitC LED sits near the USB end)
- "Add a 6.5 mm hole for a reset button on the USB side"
- "Add a 22 x 12 mm window for a 0.96 inch OLED on the lid"
- "Add a PG7 gland hole on the far short side for the sensor cable"
- "Add two 4 mm wall-mount slots on the back"

## SuperMini boards

The ESP32-C3 and S3 SuperMini are 22.5 x 18 mm with a ceramic antenna at one corner. They fit in a 28 x 24 x 12 mm case and make good keychain sensors. The library has an [ESP32-C3 SuperMini case with BME280 vents](/library/esp32-c3-supermini-case-bme280-vents) and an [ESP32-S3 SuperMini case with USB-C](/library/esp32-s3-supermini-case-usb-c). For a bigger DevKit there is the [ESP32 DevKit project box](/library/esp32-devkit-project-box).

## Printing

Base open side up, no supports. Rails print cleanly because they are vertical. Use PETG if the box lives near anything warm; the ESP32 itself does not need it.

## Prompts to try

- A project box for an ESP32 DevKitC V4, board 55 x 28 x 1.6 mm with no mounting holes and headers soldered, tallest component 13 mm. Internal edge rails with 0.4 mm clearance, 1.8 mm walls, 18 mm internal height. A 12 x 7 mm micro USB cutout on one short side 3 mm above the floor, 3 mm antenna keep-out on the other short side, six 2 x 10 mm vent slots per long side, sliding dovetail lid. ([open in SpeakCAD](https://app.speakcad.com/signup?next=%2F%3Fprompt%3DA%2520project%2520box%2520for%2520an%2520ESP32%2520DevKitC%2520V4%252C%2520board%252055%2520x%252028%2520x%25201.6%2520mm%2520with%2520no%2520mounting%2520holes%2520and%2520headers%2520soldered%252C%2520tallest%2520component%252013%2520mm.%2520Internal%2520edge%2520rails%2520with%25200.4%2520mm%2520clearance%252C%25201.8%2520mm%2520walls%252C%252018%2520mm%2520internal%2520height.%2520A%252012%2520x%25207%2520mm%2520micro%2520USB%2520cutout%2520on%2520one%2520short%2520side%25203%2520mm%2520above%2520the%2520floor%252C%25203%2520mm%2520antenna%2520keep-out%2520on%2520the%2520other%2520short%2520side%252C%2520six%25202%2520x%252010%2520mm%2520vent%2520slots%2520per%2520long%2520side%252C%2520sliding%2520dovetail%2520lid.))
- A case for an ESP32-S3 DevKitC-1, board 63 x 25.5 mm, no holes, two USB-C connectors on one short edge 8 mm apart: edge rails with 0.4 mm clearance, 2 mm walls, 16 mm internal height, two 9 x 4 mm USB-C cutouts, snap-fit lid with hex vents over the module. ([open in SpeakCAD](https://app.speakcad.com/signup?next=%2F%3Fprompt%3DA%2520case%2520for%2520an%2520ESP32-S3%2520DevKitC-1%252C%2520board%252063%2520x%252025.5%2520mm%252C%2520no%2520holes%252C%2520two%2520USB-C%2520connectors%2520on%2520one%2520short%2520edge%25208%2520mm%2520apart%253A%2520edge%2520rails%2520with%25200.4%2520mm%2520clearance%252C%25202%2520mm%2520walls%252C%252016%2520mm%2520internal%2520height%252C%2520two%25209%2520x%25204%2520mm%2520USB-C%2520cutouts%252C%2520snap-fit%2520lid%2520with%2520hex%2520vents%2520over%2520the%2520module.))
- A keychain case for an ESP32-C3 SuperMini, board 22.5 x 18 mm, USB-C on one short edge: 1.5 mm walls, 0.3 mm clearance, 8 mm internal height, 9 x 4 mm USB-C cutout, antenna keep-out at the far corner, friction lid and a 5 mm keyring loop. ([open in SpeakCAD](https://app.speakcad.com/signup?next=%2F%3Fprompt%3DA%2520keychain%2520case%2520for%2520an%2520ESP32-C3%2520SuperMini%252C%2520board%252022.5%2520x%252018%2520mm%252C%2520USB-C%2520on%2520one%2520short%2520edge%253A%25201.5%2520mm%2520walls%252C%25200.3%2520mm%2520clearance%252C%25208%2520mm%2520internal%2520height%252C%25209%2520x%25204%2520mm%2520USB-C%2520cutout%252C%2520antenna%2520keep-out%2520at%2520the%2520far%2520corner%252C%2520friction%2520lid%2520and%2520a%25205%2520mm%2520keyring%2520loop.))

## FAQ

### My ESP32 board has no mounting holes. How does the case hold it?

With edge rails: two grooves 1.8 mm wide along the long sides that the board slides into with 0.4 mm clearance. The USB end stays open so the connector meets its cutout. Ask for rails and the AI dimensions them from the board size.

### Does a plastic case block the WiFi?

PLA and PETG are close to transparent at 2.4 GHz. Keep 3 mm of air around the PCB antenna and avoid metallic filaments. Range drops by a metre or two at most.

### Which ESP32 board size should I enter?

Measure it. Boards sold under the same name vary by a few millimetres between makers. Length, width and the distance between the two pin rows are the three numbers that matter.

## About SpeakCAD

SpeakCAD is the most intuitive CAD for 3D printing, made for people who own a 3D printer and need a part that fits something they have: tap a face and type a size to shape it with simple tools, or describe it to the AI, on your phone or computer, and download a print-ready STL, 3MF or G-code sliced for your printer.

SpeakCAD works inside ChatGPT and Claude as a plugin (an MCP server): ask the assistant for a part with its measurements and SpeakCAD's own CAD AI designs it, shows it in 3D in the chat and hands over a print-ready STL, 3MF or G-code sliced for your printer.

- Live demo, no account: https://speakcad.com/demo
- In ChatGPT, Claude and other MCP clients: https://speakcad.com/chatgpt-plugin, https://speakcad.com/claude-connector, https://speakcad.com/mcp-server
- Pricing: https://speakcad.com/pricing
- FAQ: https://speakcad.com/faq
- Site index for AI assistants: https://speakcad.com/llms.txt
