EDIT: I have now uploaded version 3 of the wall box. The new OpenSCAD file is highly configurable and gives you a few new options with the box. The PCB and battery case that this was originally designed to work with hasn't changed, but with some simple variable changes, different PCBs and/or battery cases can be made to fit. Though this was not made using the MakerBot Customizer, this is a customizable part.
This is an enclosure for a temperature and humidity sensor that i built for my home automation setup. The sensor is built using an EasyNewbie PCB created by @sundberg84 from the MySensors.org forum.
Though this enclosure was designed for my Temp and humidity sensor, it can be used for any of a number of different sensor types.
The battery box use for this project is a 2 x AA battery box that I purchased on ebay.
The circuit board mounts on the 4 tabs inside the box and the battery box fits perfectly in the slots provided. The battery slot on one side is open to allow for the wires to drop inside the box.
The wall mounting plate is designed to have the box snap on the top with side clips to hold it in place securely. The box can easily be pulled off the wall with a flat blade screw driver to release the tabs.
EDIT: I have made a couple small modifications to the design of the box. For the new changes download the V2 files. I have left the original files for those that still want them.
The box should be printed outer face side down for best results. Printing with the face side up will require supports due to the box top overhang.
PCB and battery box mounting
Mounting the circuit board and battery box are simple. Wedge the radio module under one of the corner mounting tabs and rest it on the 4 tabs. Use 4 - 2mm x 5mm coarse thread screws in the corners (marked in red in the image) to secure the board in place.
For the battery box, the switch should be placed inside the box. If it is facing out the bottom, the bottom cover will not snap in place. One side of the battery box mounting slots has a relief cut in it marked in yellow on the image. This is the side where the power wires should go to channel inside the box for connecting to the PCB.
Screw placement and battery box orientation
More about me