This is a remix of my previously designed Display box with Pi Zero2 mount. Commonly seen 15cm cable is not enough if the camera is mounted on Xmotor, since a high Z position will disconnect the camera.
I am inspired by the ball joint camera mount from Prusa Mini Printbed Camera Mount with Cable Chain by darken. So I added a ball joint to the top of the display box. In this way you can also exploit the extra rotation of the display box to adjust the camera position. The upright position seems to be giving quite good view (see pic).
The camera box is from the original design by darken. The fit turned out to be quite tight. You can always use a M3 nut & screw to further tight the joint grip.
The ribbon cable used is this “F Fityle 2 x 15 cm ribbon power cable FFC power cable connection power cable for zero” on Amazon
The author remixed this model.