See the folder "Horizontal version" for the correct files. All the rest stays the same.
Printing: I have printed those with a resin printer, everything fits perfecly. However, I suggest to glue the cover to the face plate instead of using screws as it was originally designed for use with a filament printer and the screws might not fit using a resin printer.
The design adapts to the following box:
Above you'll find STL files ready for slicing and the source models editable in the free edition of SketchUp Make. There are several models presented here for various plate configurations on the front and two options for the rear enclosure.
For most users, you'll want to print HASwitchPlate_front_single.stl and HASwitchPlate_rear_nolcdmod.stl.
- HASwitchPlate_front_single.stl Standard single-wide plate.
[HASP]
- HASwitchPlate_front_2x_hasp_decora.stl Double-wide plate with Decora switch to the right
[HASP|Decora]
- HASwitchPlate_front_2x_hasp_toggle.stl Double-wide plate with toggle switch to the right
[HASP|toggle]
- HASwitchPlate_front_3x_hasp_decora_decora.stl Triple-wide plate with Decora switches to the right
[HASP|Decora|Decora]
- HASwitchPlate_front_3x_hasp_toggle_toggle.stl Triple-wide plate with toggle switches to the right
[HASP|toggle|toggle]
- HASwitchPlate_front_5x_decora_decora_hasp_decora_decora.stl 5-wide plate with 4x Decora switches and HASP in center
[Decora|Decora|HASP|Decora|Decora]
- HASwitchPlate_front_single_dev.stl Standard single-wide plate with SD card exposed for development use (unsafe!)
[HASP]
- HASwitchPlate_rear_lcdmod.stl The
lcdmod
enclosure requires the removal of the 4-pin XHP connector from the Nextion LCD panel. This option allows for better clearance around the screw posts which may help in tight work boxes, but the process of safely removing the connecter may require a hot air station. - HASwitchPlate_rear_nolcdmod.stl The
nolcdmod
enclosure does not require removing the 4-pin XHP connector from the Nextion LCD panel. This simplifies the build process but has just a little less room behind the device for the work box screws. We're not talking a lot here, so if you don't have the hot air station this option will probably work fine for you. - HASwitchPlate_rear_lcdmod_minimum_clearance.stl The
lcdmod_minimum_clearance
rear enclosure has been modified to provide the tightest fit around the HASP components that I can work out. The walls are flimsy and thin, it will require supports to print, and you'll need 4 x 4mm M2 countersunk screws to assemble. I don't recommend this enclosure unless you can't get the standard enclosure to fit in your workbox. - HASwitchPlate_rear_dev.stl The
dev
enclosure has USB, SD card, and Nextion XHP connector exposed for development/test purposes. This is unsafe to install in your workbox.
An enclosure designed for desktop (table, bedstand, etc) use has been developed. The enclosure will fit the standard PCB, WeMos D1 Mini, and Nextion 2.4" but will not allow installation or use of the AC PSU. Power is provided by USB connection to the WeMos D1 Mini.
- HASwitchPlate_desktop_front.stl Front panel for desktop use with opening for SD card access
- HASwitchPlate_desktop_rear.stl Rear enclosure for desktop use with openings for SD card, USB, and Nextion Serial access
- HASwitchPlate_desktop_base.stl Handy base for desktop use. Print with higher infill to add mass to weigh it down a bit.
The careful observer might note that the dimensions of the model vary just slightly from the published dimensions of the panel used in this project. This has been done to accommodate the nature of FDM 3D printing, which means that other production technologies may require slight modifications to make everything fit snug. The STLs are published in the correct orientation for printing.
I printed these two parts with AmazonBasics White PETG on a Prusa i3 MK3 with 20% infill, .15mm layers, no supports, and 6 bottom layers. PETG provides good flexibility when mounting the device into your wall, as sometimes the drywall, workbox, etc require a little bit of flex. PLA might work, but may crack in some installations. If you have both on hand, print the front in PETG and the back in PLA.
The mounting holes for the Nextion panel are sized to fit M2 x 3mm threaded inserts but should accept an M3 screw (tightly). See the enclosure build documentation for more details.
The SketchUp file included here is dimensioned in meters but 1m == 1mm due to issues with how SketchUp (doesn't) handle small dimensions. If you intend to modify the provided SketchUp model, export to STL in meters then import for print in mm (the standard setting for most slicers) and you'll be fine. The included STLs are ready to slice as-is.