13 KiB
RS-15-5 + Heltec WiFi LoRa 32 V4 enclosure
Printable mechanical prototype, revision 3 — 16 September 2026. Units: millimetres. Case body: 122 × 116 × 51 mm; overall envelope with mounting flanges: 122 × 152 × 51 mm, excluding screw heads, feet, cable gland and antenna. Designed for the Mean Well RS-15-5 and Heltec WiFi LoRa 32 V4.3.1. Other V4 revisions need a fit check.
What to print
| File | Quantity | Purpose |
|---|---|---|
| base.stl | 1 | Housing with bottom mounting flanges, PSU pads, divider and carrier supports |
| board_carrier.stl | 1 | Removable Heltec mount; print this first to check board fit |
| lid_solid.stl | 1 | Default ventilated lid, without a display opening |
| lid_window.stl | Alternative | Ventilated lid with a display opening and underside pane recess |
| M16_thread_test.stl | 1 first | Small horizontal-thread fit coupon for the actual LAPP gland |
Choose one lid. Print the M16 thread coupon before committing to the base. STL parts are already oriented for printing. The base sits on its floor, the carrier on its underside, and each lid on its exterior face. The lid's registration tabs face upwards in the print files. Ask the slicer to place all parts on the build plate; do not scale them. Required bed area for each large part is at least 132 × 162 mm including a 5 mm brim allowance.
housing_assembly.step is an assembly of the base, carrier and solid lid in their installed positions. Open it in FreeCAD using File → Open. Separate STEP files are also included, including the windowed lid. These are editable solid models, not a FreeCAD feature-history tree. build_enclosure.py is the parameterized CadQuery source; changing its parameters and running it regenerates all parts. Requires Python and CadQuery (generated with the installed CadQuery runtime).
Construction
- 3 mm walls, floor and lid; 5 mm outside corner radius.
- PSU metal body at X=46, Y=13, Z=8. Its 62.5 × 51 × 28 mm body has a separate allowance for the up to 13 mm terminal projection.
- PSU bottom mounting holes at (54.75, 38.25) and (93.85, 38.25), with 3.6 mm clearance holes and 5 mm-high floor pads.
- Full-height, 3 mm-thick divider at Y=72…75. The 8 mm DC-wire passage needs an appropriate insulating grommet. It is a wiring separator, not certified reinforced insulation.
- Heltec PCB lower face at Z=35, with 13 mm clearance above the carrier plate for underside components and header pins. The screen is near the lid, in its own compartment.
- Heltec mount-hole centres: (28.879, 88.7), (57.879, 88.7), (28.879, 102.7), (57.879, 102.7). Pitch is 29 × 14 mm. Carrier passages are 2.1 mm diameter with 3.5 mm AF nut recesses underneath.
- M16 × 1.5 right-hand internal thread on the left wall, in an integral 24 mm-diameter boss. Total threaded wall depth is 6 mm, with the extra 3 mm extending inward. This is designed for the LAPP 53111810 gland and replaces the previous smooth 16.2 mm opening. The actual gland provides cable retention; its mounting thread screws into the printed case.
- 6.5 mm SMA bulkhead opening on the opposite wall, in the Heltec compartment. Verify the connector shank diameter, thread length and nut clearance; use an IPEX-to-SMA pigtail appropriate to your board.
- USB opening about 15.4 × 10 mm. The USB receptacle is recessed about 11 mm from the outer wall. A narrow plug overmould must pass through the opening. Check your cable before printing; enlarge the source opening if necessary.
- Small vent slots on the PSU side wall and lid; no lid vents above the terminal bank. Keep them unobstructed. No waterproofing or IP rating is claimed.
Bottom mounting flanges (revision 2)
Two integral flanges extend 18 mm beyond the Y ends of the case. Each is 4.5 mm thick with rounded corners, a central keyhole, and two Ø4.5 mm clearance holes for M4 or similar screws. They print flat with the base and need no additional supports. The overall footprint is now 122 × 152 mm; the lid and internal layout retain their original dimensions.
| Feature | Hole centres (X, Y), mm |
|---|---|
| Four round mounting holes | (16, -9), (106, -9), (16, 125), (106, 125) |
| Keyhole head entries, Ø9 mm | (61, -10), (61, 124) |
| Keyhole seated positions, Ø4.5 mm | (61, -4.5), (61, 129.5) |
The four round holes form a 90 × 134 mm rectangle. Both keyholes have a 5.5 mm travel toward +Y. For hanging, orient +Y upward (the Heltec compartment above the PSU compartment): engage the heads in the larger openings, lower the enclosure 5.5 mm, then tighten and secure it with at least one round-hole fastener to prevent lifting off. Use pan/button-head screws whose heads pass through the Ø9 mm entry but retain securely over the 4.5 mm neck; check actual head size. The flanges are not countersunk.
Mounting clearance: the PSU screws project below the case floor. Use rigid stand-offs/spacers at every mounting fastener, typically at least 3 mm and always greater than the measured screw-head projection, so the enclosure does not rock on those heads. Use washers at the round holes and tighten gently. Select fasteners/anchors for the wall or support material. Printed flange strength and pull-out resistance have not been physically tested.
Threaded mains entry (revision 3)
The left-wall opening now has a modeled M16 × 1.5, right-hand, single-start, 60-degree internal thread, not merely a cosmetic thread annotation. It is present in both the STL and STEP files. An inward boss increases the wall locally from 3 to 6 mm (four pitches of total depth, with partial threads at the lead-in and exit). Its outside diameter is 24 mm. A 0.75 mm entry chamfer helps the gland start squarely; a 0.5 mm exit chamfer relieves the inner edge. The exterior wall remains flat for the gland shoulder/sealing washer.
The profile includes 0.20 mm radial print clearance (0.40 mm on diameter). This is a starting tolerance, not a verified thread-fit class. It can be adjusted through THREAD_RADIAL_CLEARANCE in build_enclosure.py. The nominal mating gland remains M16 × 1.5. Based on LAPP's listed 8 mm mounting-thread length, about 2 mm of that thread can extend past a 6 mm wall before allowance for a sealing washer. No separate locknut is intended for this revision.
Print M16_thread_test.stl first using the same material, layer height and settings as the case. The coupon holds the bore horizontally, matching the case's print orientation. Its foot should lie flat on the bed. Try approximately 0.15 mm layers, at least four perimeters, and inspect the top of the bore for sagging or support residue. Do not force the gland into an undersized or rough thread. It should start by hand and seat without cross-threading. If fit is too tight or loose, change the radial clearance and regenerate both parts. Scaling the whole case is not a thread-fit adjustment.
The gland mounts from the outside. Use its appropriate sealing washer if required, and seat the shoulder gently. The finished printed thread's tightening strength, pull-out resistance and long-term creep are not validated, so no mounting torque is specified. Check secure cable retention in the finished assembly before powered use; the gland's factory ratings do not establish those of the printed mounting thread or enclosure. Electrical-safety limitations in this document still apply.
Manufacturer identification: LAPP SKINTOP BS-M product table, article 53111810.
Hardware and assembly
- Print the carrier first and check all four holes against your particular board. With power disconnected, check how the original screen cover and its screws are retained. The model uses the four display-mount positions; it is not a snap-in cradle.
- If those positions can accept through-fasteners without damaging the screen assembly, use four M1.6 screws and nuts, with the nuts in the carrier's underside recesses. Approximately 22 mm screw length is a starting point for a through-stack, not a confirmed OEM screw specification. Measure the actual grip length, head clearance and thread engagement. Do not force a screw into the board or drill the PCB. If your factory cover has incompatible blind posts or fasteners, adjust the carrier/fastening method before use.
- Secure the carrier to the two base pedestals using two M3 × 10 screws. Secure the lid using four M3 × 10 screws. The 2.7 mm pilots are for careful hand tapping or suitable plastic-thread-forming screws; check thread fit and avoid overtightening. No heat-set inserts are required by this version.
- Attach the PSU using two M3 × 10 screws from below, with approximately 0.5 mm-thick washers. The floor-plus-pad grip is 8 mm, giving about 1.5 mm nominal engagement. Measure the actual protrusion: the PSU's bottom holes allow at most 3 mm insertion. Adjust washers/length for printed dimensions. The side-mount holes are not used.
- Add four adhesive feet taller than the underside screw heads (typically at least 3 mm); these are not printed into the base, so its floor prints flat.
- Test and fit the threaded cable gland as described below, then the DC-passage grommet and SMA bulkhead. Cable-tie anchors are included for organizing wires; they do not replace the mains cable gland.
- If using the windowed lid, fit a 30 × 22 × 1 mm clear polycarbonate pane, with corners rounded about R1.5 to suit the recess. Retain it with a compatible adhesive around the perimeter. Do not leave the opening uncovered. Check display alignment before bonding.
Mains-power and material limits
This is a mechanical prototype, not a certified electrical enclosure. The RS-15-5 has exposed mains terminals and requires protective-earth bonding to its FG terminal. Have the final wiring, strain relief, earth connection, touch protection, insulation and thermal behaviour checked by someone qualified before powered operation. Disconnect mains before removing the lid. The divider and small vents do not establish an electrical safety or IP rating.
Use a suitably rated flame-retardant, heat-resistant material/process for any proposed mains installation, and validate the finished print. Material marketing or a filament rating alone does not certify an FDM enclosure. PLA/PETG prototypes are useful for an unpowered fit check; this design does not validate them for unattended mains service. At 15 W output and the datasheet's nominal 77% efficiency, the PSU dissipates roughly 4.5 W internally; ventilation area alone does not prove an acceptable temperature.
For a fit prototype: 0.4 mm nozzle, 0.2 mm layers, 4 perimeters, 5 top/bottom layers and approximately 30% infill. Enable localized supports for the side cable-gland/SMA/USB openings if your printer needs them. The base contains short bridges at cable-tie anchors; inspect those passages. Clear the holes carefully and remove all debris before installing electronics.
The Heltec documentation states that USB and the 5 V input must not be supplied simultaneously. Isolate the PSU's low-voltage feed before connecting a powered programming USB cable. This enclosure does not add power switching or isolation circuitry. Do not feed 5 V into the battery connector.
Validation and remaining fit checks
- All five printable CAD bodies pass OpenCascade validity checks and each contains one solid.
- Exact solid-intersection checks cover the installed printed parts, the nominal PSU body/terminal envelopes, and simplified board/screen envelopes. Results are included in
validation.json. board_cad_check.jsonrecords the separate comparison against the manufacturer's V4.3.1 STEP geometry. That manufacturer model does not include a complete screen/cover assembly; the screen is represented by a simplified envelope in the preview and initial checks.mesh_validation.jsonrecords watertight-edge and positive-volume checks on the exported STLs.- No physical print, screw engagement, cable insertion, heat test, material validation, electrical safety test or RF test has been performed. Printed thread fit/retention, SMA pigtail, screen-cover fasteners and the clear pane are hardware-dependent.
- Source discrepancy: the Heltec drawing labels mounting holes Ø1.90 mm, while the supplied STEP model's PCB holes measure approximately Ø2.80 mm. Hole pitch agrees at 29 × 14 mm. The carrier uses 2.1 mm passages for M1.6 fasteners, but the actual board/cover hardware must be checked.
Manufacturer references
- Mean Well RS-15 datasheet, mechanical drawing on page 2: https://www.meanwell.com/upload/pdf/RS-15/RS-15-SPEC.pdf
- Heltec WiFi LoRa 32 V4.3.1 datasheet, dimensions on page 15: https://resource.heltec.cn/download/WiFi_LoRa_32_V4/datasheet/WiFi_LoRa_32_V4.3.1_Datasheet.pdf
- Heltec official 3D model directory: https://resource.heltec.cn/download/WiFi_LoRa_32_V4/3D
- STEP used for internal checks: HTIT-WB32LAF_V4.3.1(1).step. Manufacturer files are not redistributed in this package.
preview.png shows the housing with simplified component envelopes; the PSU, board, display, screws and purchased hardware are not printable parts. Auxiliary BREP caches are omitted from the download; the build script regenerates them.