This is a snap-fit case for the Wemos D1 Mini & SHT30 Temperature & Humidity sensor shield.
I have had a few of these 'IOT' sensors around the house, sending temperature and humidity sensor data to a node-red server, every 5 minutes for nearly a year now and I have been meaning to design a case for them.
I have wanted to try making a functional (and printable) snap-fit case for as long as I have had 3d printers, but I haven't had much luck. Having recently bought an Anycubic Metal MEGA, which produces amazing results out of the box, I figured I would try again. This case is the result.
Designed in Fusion 360, the snap-fit hook and recess is about 0.35mm wide/deep without any clearance. I printed them at 0.1mm resolution and the fit is really tight, but with a bit of effort, snaps together perfectly and won't come apart without some effort and a thin blade.
There is a vent at either end to allow air to pass through the case and reach the sensor as well as a 'cooling' vent for the ESP8266 as there have been reports of false temperature sensor readings with the version of the SHT30 I'm using as heat from the ESP8266 reaches the sensor thru the PCB. I'm running them in deep sleep for most of the time and haven't seen the issue so the 'cooling' vent might be overkill.
Fusion 360 Link: https://a360.co/2Uln38S
Firmware is on github: https://github.com/MarkJB/wemos-d1-mini-esp8266-mqtt-sht30-temp-sensor