Here is the very cheap camera (only a few quid), screwed to a bit of skirting board. Then fitting it for height in the box. Trying to ensure the focus is good and position is good. This is critical to success, you can’t bodge things like physics and lenses.
Once height is market, I’ll put some more wooden strips along the sides of the box for the camera to rest on.
Here you see those wooden batons going in to form the ledge for the camera.
At the bottom you can make out the micro switch for the drawer too.