Wemos D1 Mini enclosure with DHT22 sensor slot
A wall-mountable box for a Wemos D1 Mini (34.2 x 25.6 mm) with a dedicated slot for a DHT22 temperature and humidity sensor. The D1 Mini drops onto four 2 mm pegs while the 15.1 x 25 x 7.7 mm DHT22 body pokes through a matching rectangular window in the lid so its grille is exposed to room air. The micro USB port lines up with a 12 x 7 mm cutout on the side, walls are 1.6 mm, and the lid clicks onto a 1 mm lip. Two 4 mm keyhole slots on the back let it hang on screws. Outside dimensions are 46 x 36 x 18 mm and it prints flat with no supports.
The sensor window only lines up if the case is built around your wiring, which is why a downloaded file rarely fits. In SpeakCAD you describe the boards, preview it free in the browser, swap the DHT22 for a DHT11 or add a reset hole in the chat, and download the STL.
Design a wall-mount enclosure 46 x 36 x 18 mm with 1.6 mm walls for a Wemos D1 Mini 34.2 x 25.6 mm on 2 mm pegs, a 12 x 7 mm micro USB cutout, a 15.5 x 8 mm lid window for a DHT22, a 1 mm snap lip and two 4 mm rear keyhole slots.