Raspberry Pi Camera v2 Universal Mount
Universal mount for a Raspberry Pi Camera. Uses friction fit parts, so no fasteners required except to attach it to a surface. The hole is sized for an M3 screw and nut. You could also easily create your own balljoint. The size of the sphere is 9.5mm. I used this to attach a Pi Camera to my print bed, for those sweet timelapses.