I created a case that can hold the board with a couple screws (I used M1.3) and the 2,000mah battery sold by EZSBC. The case halves are friction fit, no screws needed. The case has a cutout so you can charge via USB without opening the case. An included plug can be printed out of TPU to cover the USB port when not in use. There is also a hole and inside channel to run wires from the board to the outside of the case. Finally, there are two outer mounting tabs, so the case can be screwed to the wall, under a table, etc.
I used mine to create an analog voltage sensor that wakes up a few times a day and reports its measurements to Home Assistant.
ESP32_Bat_Pro board: https://www.ezsbc.com/product/esp32_bat-battery-charging-pro/
Battery: https://www.ezsbc.com/product/2000mah-lipo-cell/
ESPHome Firmware to integrate with Home Assistant: https://esphome.io/
GitHub Repo to get the board to report its own battery and state of charge data via ESPHome: https://github.com/gfalgiano/lc709203f
I printed my case with PETG for some more temperature resistance and durability. I printed the plug with TPU.
I chose 0.2 layer height, but 0.12 or anywhere in between should work fine as well.
2 walls
15% infill
3 to 4 top and bottom layers
The author marked this model as their own original creation.