I took inspiration from the following designs so have linked them as remixes:
https://www.printables.com/model/386784-wemos-d1-mini-case
https://www.printables.com/model/494538-wemos-d1-mini-led-strip-case
After printing out both models, there were things i liked about both, but didn't have everything i wanted. So i decided to start from scratch and design my own which basically blends the 2 together with some extra features.
This was designed around the Wemos D1 Mini clone which i purchased from Amazon UK. This board does not have mounting holes and uses Micro USB.
I designed the case with a USB-C shaped hole which works with my boards and may also work with the USB-C version although i cannot confirm this.
I've also included a model with a slotted lid that can be used with jumper wires if you want to solder the pins to the board. (The ESP Chip must be facing down and the pins towards the lid.)
Only the lid with slots will fit if you have pins soldered to the board.
I found in that some of my boards would fit better than others due to manufacturing differences. Using some sandpaper or a file i cleaned up the edges of the board for a better fit.
Install with the ESP Chip facing the bottom of the case.
The top of the board should line up flush with the bottom of the hole for the JST socket. (The socket rests on the smooth part of the board.
To stop the connector sliding out when you unplug it, you could glue the socket into the case or onto the board but it may make it hard to remove the lid in future.
These were my requirements when designing the model
I've also included the following:
Updates
28/10/23 - Adjusted position of slot on the end so its half on the bottom and half on the lid for easy removal of the board from the case if wires are soldered in.
The author remixed this model.
I've designed from scratch taking inspiration from both models I've referenced. Included shadow lines around the joining face, a snap fit lid and included a USB-C shape hole so it could be used that variant of board.