A 3D printed ‘box’, designed as separate box sides that bolt/screw together, to not only make printing easier, but also to allow the sensor and ESP32 components to be easily assembled inside the ‘box’.
The ‘bolting together’ is accomplished by creating hex openings at pairs of fixing points on one side of each of the main box sides, that M3 nuts can be ‘pulled into', and M3 pan head screws can engage with.
More details about this project are at this link.
The software for the ESP32 has all been developed in C/C++ using the Arduino IDE and will be published on GitHub in due course.
All the 3D printed components use 1.75mm PLA and a layer height of 0.15mm with print details for each component produced on an i3 Mk3 shown in the table below.
Updates: an alternative version of the side wall with the connector openings has been added to allow the fitting of an SD card reader - and a correction has been made to the top (ESP32mk_case_top02_rotx180.stl replaced by ESP32mk_case_top03_rotx180.stl ) as the top of the embedded version number was preventing the side wall from fitting ‘snugly’.
component file name/description | needs support (Y/N) | brim (mm) | filament length (m) | print time (i3 Mk3) |
ESP32mk_case_base01_repaired.stl - ‘box’ base with mounting points for the ESP32 Maker Kit PCB, lugs for screwing the assembled box to a wall/other surface, and cable clamps for the ESP32 power cable and a pair of DS18B20 sensors (the type in a metal tube). | N | 0 | 7.32 | 2h 35m |
ESP32mk_case_2nd_wall01.stl - side wall without any cable openings, that bolts to the ‘box’ base. | N | 0 | 5.33 | 1h 49m |
ESP32mk_case_top03_rotx180.stl - top of the ‘box’ with openings and fixing points for a DHT11 temperature + humidity sensor, a pair of tactile buttons and a 128x64 OLED, that bolts to the two side walls. | N | 0 | 6.29 | 2h 5m |
ESP32mk_case_conn_wall01.stl - side wall with openings for the ESP32 power cable and the pair of DS18B20 temperature sensors, that bolts to the ‘box’ base. | N | 0 | 5.16 | 1h 51m |
ESP32mk_case_conn+SD_wall01.stl - alternative version of the side wall with openings for the ESP32 power cable and the pair of DS18B20 temperature sensors, which has a mounting fixture for a small SD card reader | Y | 0 | 5.58 | 2h 8m |
ESP32mk_insert_walls_01+02.stl - pair of ‘insert’ walls that complete the 6 sides of the box. Screwed into the fixing points of the base, the top and the 2 main sides using 6mm long M2 self tap screws. | N | 0 | 6.29 | 1h 30m |
ESP32mk_cable_clamps01.stl - clamping bars for the cables that use 6mm long M2 self tap screws. | N | 0 | 0.22 | 8m |
btn04x2+OLED_clamp06.stl - clamping bars for two buttons and a single clamp for the OLED (two fixing points provided but only one needed) | N | 0 | 0.5 | 17m |
The author marked this model as their own original creation.