I was not satisfied with my previous solution, which I offer for download in https://www.printables.com/de/model/258923 and https://www.printables.com/de/model/258924.
My problem is that I often cover my 3D printer with a tarpaulin to protect it from dust and sawdust. Due to the opening and closing of the tarpaulin, the camera was often misaligned or the cables came loose.
So I created a new solution from scratch. This new solution is more massive and compact. I therefore deliberately forego the possibility of panning the camera.
However, I upload multiple versions for multiple angles. And in addition, you can easily shift the angle between 0 and 25 degrees in the OpenSCAD data in order to be able to print your favorite angle.
The housing is designed to accommodate the development board for the ESP32cam in the housing. This allows the camera to be operated via a micro-USB cable and even reprogrammed without removing the housing.
ESP32CAM: https://www.az-delivery.de/en/products/esp32-cam-modul-esp32-wifi-bluetooth-modul-inklusive-kamera
ESP32CAM + development board + external antenna: https://www.aliexpress.com/item/32995075546.html
The author marked this model as their own original creation.