Enclosure for ESP Mini D1 projects (Esp32, ESP8266)

Enclosure for ESP Mini D1 projects (Esp32, ESP8266)

Description

# Enclosure for ESP Mini D1 projects A simple customizable enclosure for my small ESP projects. Written in openscad, more to come. I use it for Bluethooth to Home Assistant gateways with ESPHome. Currently working on using OpenMQTTgateway to support the RF modules. # Customizer You can choose that it uses screws (2mm self tabbing) or just holds the lid by press fit (works very nice here with my Ender 3 V2). RF modules can be selected (two of each with own placing). Flavours of the ESP Mini D1 module can be selected. ## Warning There might be combinations of parameters that do not fit together. # Printing I printed with PLA, 50% infill. # Source files - D1MiniEnclusure.scad The box creator, includes the other scad files. - RfModules.scad Defines sizes and models for rf modules like RMF69, CC1101 - EspModules.json Defines sizes and models for flavours of Mini D1 (Esp8866, Esp32, ..) - Makefile The control file for make (I use gmake, others not tested). - svn_rev.scad Contains the subversion revision and is automatically created by the Makefile and SubWCRev (subwcrev). The revision string gets printed inside the enclosure. # Rebuild Unzip the dfLibscad.zip into the same directory that contains the scad and Makefile. On Linux open a shell in the source directory, then type make and wait. The png and stl files will get created. This takes a while, so be patient. On Windows, Mac, your are on your own. A manual rebuild with openscad is also possible, open D1MiniEnclusure.scad in openscad, select a thing in the customizer (PrintThis), press F6, wait, then F7 to export the stl. To much work for me, therefore I created the Makefile. # Details on the Makefile It parses the json file to get the list of things/flavours to build. Then it creates pictures in PNG directory and the stl in STL. It also checks for a template file (svn_rev.tmpl) and calls SubWCRev to create svn_rev.scad. I do not provide the template file, so this rule will not execute on your machine (I provide the svn_rev.scad instead). You might also notice that it checks for my library dfLibscad. If found, the libraries tmpl file gets translated into another scad file with a version string of the library. I use this Makefile in other projects as well, just the very few first lines need to be adjusted. Feel free to reuse it. # Hint Looks like zip files cannot be uploaded to Thingiverse. Therefore I renamed dfLibscad.zip to dfLibscad.zip.txt. You need to rename it back ans unzip as described in "Rebuild".

Statistics

Likes

0

Downloads

0

Category

Electronics