Weatherproof Raspberry Pi Camera Enclosure, In A Pinch

The Raspberry Pi is the foundation of many IoT camera projects, but enclosures are often something left up to the user. [Mare] found that a serviceable outdoor enclosure could be made with a trip to the hardware store and inexpensive microscopy supplies.

A suitably-sized plastic junction box is a good starting point, but it takes more than that to make a functional enclosure.

The main component of the enclosure is a small plastic junction box, but it takes more than a box to make a functional outdoor enclosure. First of all, cable should be run into the box with the help of a cable fitting, and this fitting should be pointed toward the ground when the enclosure is mounted. This helps any moisture drip away with gravity, instead of pooling inconveniently.

All wire connections should be kept inside the enclosure, but if that’s not possible, we have seen outdoor-sealed wire junctions with the help of some 3D-printing and silicone sealant. That may help if cable splices are unavoidable.

The other main design concern is providing a window through which the camera can see. [Mare] found that the small Raspberry Pi camera board can be accommodated by drilling a hole into the side of the box, cleaning up the edges, and securing a cover slipĀ  (or clover glass) to the outside with an adhesive. Cover slips are extremely thin pieces of glass used to make microscope slides; ridiculously cheap, and probably already in a citizen scientist’s parts bin. They are also fragile, but if the device doesn’t expect a lot of stress it will do the job nicely.

[Mare] uses the Raspberry Pi and camera as part of Telraam, an open-source project providing a fully-automated traffic counting service that keeps anonymized counts of vehicle, pedestrian, and bicycle activity. Usually such a device is mounted indoors and aimed at a window, but this enclosure method is an option should one need to mount a camera outdoors. There’s good value in using a Raspberry Pi as a DIY security camera, after all.

DIY Watertight Junction Box For Serious Outdoor Sealing

Thingiverse user [The-Mechanic] shared a design for 3D printed enclosures that are made to house wire and cable junctions, which can then be rendered weatherproof by injecting them with a suitable caulking compound and allowing it to cure. It’s a cross between an enclosure and potted electronics. It’s also a one-way trip, because the result is sealed up like a pharaoh’s tomb. On the upside, it’s cheap, accessible, and easily customized.

The way it works is this: wires go through end caps which snap onto the main body, holding the junction inside. Sealant is then pumped in via the hole on the side, then the hole is plugged. Afterwards, all there is to do is wait until the sealant cures. [The-Mechanic] has a couple of companion designs, as well. For tubes of sealant that have threaded tops, one can more effectively save the contents of the tube for later with this design for screw-on caps. There are also 3D printed nozzles in a variety of designs.

One thing to keep in mind about silicone-based sealants is that thick gobs of it can take a really, really long time to cure fully. A thick gob of the stuff will tend to firm up on the outside but leave the inside gooey. If that will be a problem, maybe take a cue from Oogoo and mix in a bit of corn starch with the silicone sealant. The resulting mixture will be thicker, but it’ll cure throughout with no problems.