Raspberry Pi zero W based camera housing.
I used a 40mm (internal measurement) PVC pipe from an old telescope.
The approximate length is 10-12 cm. This can also be printed, do not forget to add a hole for the wire!
Solidworks files are provided for modification.
Note that 2 front panels are provided for the conventional pi camera and the wide angle camera.
Ventilation can be improved by trimming the corners of the 30x30 fan and gluing it to the back plate. The ventilation will be more efficient at the price of the total length of the box.
Due to the small size of the box, the power supply wires are connected directly to the GPIO pins
Do not forget to glue a cooling radiator on the chip of the rapberry pi zero W.
I use the excellent Motion_eye software
https://github.com/ccrisan/motioneye/wiki
(or Motioneye OS)
https://github.com/ccrisan/motioneyeos/wiki
Note that in the pictures, the front panel is not correctly inserted. (Weather is too hot... I'm too lazy to take out the ladder again!) Normally, the front and back panels are flush.
[EDIT 22/7/2021]
Camera back plate file:
The ventilation slots have been tightened
The cut-out for the fan passage has been reworked (Picture 5)
Centering pins for the fan have been added. (Picture 7)
A view shows the cut-out to be made on the corners of the 30x30 fan. (Picture 6)
[EDIT 14/6/2022] based on the suggestion of @BoA the following mod has been done.
Camera body V2 added :
A stop on the camera body has been added to prevent the front plate (camera support) from sinking in.
This stop is also intended to prevent the rotation of the front plate in the camera body.
The author hasn't provided the model origin yet.