

Photography doesn’t always require expensive gear. With a little creativity and patience, you can craft a pinhole lens—a minimalist tool that produces dreamy, soft-focus images. How to Build a Pinhole Lens?
A pinhole lens is a camera lens without glass. Instead, it uses a tiny aperture (the “pinhole”) to project light onto the camera sensor or film. The result? Images with infinite depth of field, unique softness, and a nostalgic, almost painterly quality. Pinhole photography dates back centuries, but modern photographers still embrace it for its artistic potential.
Before diving into the steps, gather these supplies:

Pinhole lens 45mm IR corrected CCTV M12 telecentric lens
Start with a camera body cap that fits your camera’s mount (e.g., Canon EF, Nikon F, Sony E). If you don’t have one, a lens mount adapter works too. Use a ruler to find the center of the cap and mark it with a marker. This spot will host your pinhole.
Cut a small square (about 1×1 inch) from aluminum foil or a soda can. Place it on a flat surface and gently press the tip of a needle into the center to create a hole. Avoid twisting the needle, as this can enlarge the hole unevenly. The ideal pinhole size depends on your focal length (distance from the hole to the sensor), but for most DIY setups, a 0.2mm–0.3mm hole works well.
Pro Tip: For a smoher edge, sand the aluminum around the hole with fine-grit sandpaper.
Position the aluminum square over the marked center of the body cap. Secure it with electrical tape or glue, ensuring no light leaks around the edges. If using a soda can, flatten the metal first for a cleaner surface.
Paint the inside of the body cap black or cover it with electrical tape to prevent stray light from reflecting onto the sensor. This step is crucial for sharp pinhole images.
Attach the modified body cap to your camera and switch to manual mode. Set a long exposure (e.g., 1–30 seconds) and shoot a well-lit scene. Review the results—adjust the pinhole size or mounting if the image is too dark or blurry.

Fixed focus M12 Mount pinhole lens

Pinhole lens 16mm IR corrected CCTV M12 mount lens
Building a pinhole lens is a rewarding project that demystifies photography while unlocking new creative avenues. Whether you’re capturing landscapes, portraits, or abstract patterns, this DIY tool will challenge you to see the world through a different lens—literally!