From the Loftsmith Workshop
ESP32 case that slides onto your USB wall charger
Gives your ESP32 a spot to live right on a USB wall charger, so there's no loose board and no extra cable run. The sleeve slides over the charger, the dark end cap has a window for the connector, and small slots let air in. Set your charger's width, height and depth to fit.
2 parts · 46 g · 51 × 97 × 58 mm
Loading the 3D view
Loading the 3D view
No adjustable sizes
Ask for the sizes you want to tweak, e.g. “make the width adjustable”.
How to print it
Parts
- case · PETG · Standing on its flat back (the end that faces the wall), front opening up
About 37 g and 61 min at 2 walls / 15 % infill. PETG because the charger runs warm. No supports.
- front-cover · PETG · Face down, locating ring and screen pocket up
About 8 g and 15 min at 2 walls / 15 % infill. The window chamfer is on the bed face.
Print settings
- Layer height
- 0.2 mm
- Walls
- 2 (default stats: about 47 g, 1 h 19 min for both parts); 3 walls gives stiffer lips at about 60 g, 1 h 40 min
- Infill
- 15 %
- Supports
- None
- Notes
- PETG for both parts. Print the case standing on its flat wall-side end and the cover face down. Both fit a 180 mm bed at default sizes (case 50.6 x 58.4 x 94.5 mm).
Hardware
- Sealed, certified USB wall charger with its USB port on the face opposite the pins · Measure width, height and depth (pin face to USB face) and set the three Charger sliders.
- Short USB lead (USB-C or micro-USB to suit the board) · Default nose fits 90 mm of cable between the plug bodies; the check shows the shortest the nose accepts (54 mm at defaults). Set Lead length and Plug body length to your lead.
- ESP32-C3 SuperMini (22.52 x 18 mm) or D1 Mini (34.2 x 25.6 mm) · PCB up to 1.6 mm thick, without pin headers pointing down.
- 0.96 in SSD1306 OLED module or 1.28 in GC9A01 round display module (optional) · Pocket assumes 27.3 x 27.8 mm (OLED) or 40.4 x 37.5 mm (round) modules.
- Small dab of hot glue or double-sided tape · Holds the display module in its pocket.
Assembly
- Measure your charger and set the width, height and depth sliders; measure your lead and set Lead length and Plug body length. Print both parts in PETG.
- With the front cover off, pass the board up through the open underside of the nose, component side up and USB port facing forward, then slide it back along the rails until its back corners tuck under the hooks.
- Slide the case onto the charger from the pin side until the charger's USB face meets the rounded stop under the deck. The pin face stays 2 mm proud of the case.
- Plug the lead into the charger's port and the board's port and let it loop up inside the nose.
- If you use a display, press the module into the pocket behind the window with a dab of glue and run its wires to the board inside the nose.
- Push the front cover on until the two side bumps click into their dimples, then plug the charger into the wall.
Good to know
- Only for sealed, certified USB chargers powering a 5 V board drawing under about 2 W. Never open a charger. The case never touches the pins or the pin face, so do not modify it to cover them.
- Assumes the charger's USB port is centred on the face opposite the pins, as on most cube chargers. Chargers with a side port or a UK-style body will not fit as modelled.
- The sleeve slides on from the pin side, and the lips only stop it lifting off. Along the charger it is held by a snug fit and the wall. Pull the charger out by gripping the sides of the case, not the front cover.
- Fits, clearances, the lead loop and the vents are geometry checks in the Loftsmith engine. Nothing has been printed or tested, so print a sleeve and check the fit on your charger before relying on it.
- The board rails need a bare or top-wired board. Pin headers soldered pointing down will hit the deck.
- The display window is centred on the module. If your module's glass sits off-centre, check the window position before gluing it in.
- The case adds about 45 g plus the board and display to the charger's weight on the socket. Loose or worn sockets may let it droop.
Comments