DIY Photography

Hacking Photography - one Picture at a time

  • News
  • Inspiration
  • Reviews
  • Tutorials
  • DIY
  • Gear
Search

Submit A Story

Build Your Own Lenses

May 18, 2010 by Udi Tirosh 6 Comments

  • Share
  • Tweet
  • Flipboard
  • WhatsApp

For you (by johnnyoptic)Nikon, Canon, Leica, Pentax, Sigma, Tokina, and a host of other lens makers are all striving to bring you the sharpest lenses with all optical aberrations reduced to the minimum. That’s too bad! Because with lenses, as with life, sometimes it’s the imperfections that make things interesting.

The image on the left was shot with the imperfect optics of a homemade lens. Exploring the soft, dreamy world of DIY camera lenses in surprisingly easy. Let me show you.

There are two components necessary for a homemade camera lens suitable for use on a SLR or DSLR: the optics (to focus the light) and the mechanics (to hold the optics in place and hopefully provide a method of adjusting the focus and aperture).

The Optics

Any lens that focuses light (a double convex, plano convex, or positive meniscus) can theoretically be used as a camera lens. Magnifying glasses, lenses from binoculars, close-up “filters,” reading glasses, are all potential camera lenses. A good source for purchasing lenses is Surplus Shed, where they typically cost $4.00 to $10.00. Or for a limited selection (mostly from science class materials) check Amazon.

Notice that I used the word theoretically above. There are limitations. Every lens has its focal length. When a lens is used to focus parallel rays of light, the focal length is the distance from the lens to the point of focus. This means that for a single element camera lens, the focal length determines the distance the lens needs to be from the film or sensor. This is very important for constructing your lens and it puts some limitations on the lenses that are useful. Assuming you want to use your lens with a SLR or DSLR, the focal length can be no shorter than about 45 mm because that is the approximate distance from the lens mount to the film/sensor plane. A lens with focal length shorter than 45 mm would have to be mounted inside the camera to reach proper focus on distant objects. That’s not going to work. At the other extreme, a lens with a focal length of more than about 400 mm starts to get very awkward.

So unless you already know the focal length of your lens, you should measure it. You’ll need a piece of paper, a ruler, and a distant light source such as a lamp across the room (do NOT use the sun for this). Project the light from the lamp through the lens and onto the paper. Adjust the distance between the lens and the paper until the image is at its sharpest. Now just measure the distance from the lens to the image on the paper. This is the focal length of the lens, or close to it. Ideally, the light source should be an infinite distance away, but I find that a light across the room gives me a pretty good approximation. (If you insist on precision, then also measure the distance from the object to the lens and use the formula below)

measuring focal length (by johnnyoptic)

Depending on how we address the mechanics of the lens, focal lengths in the range of 60 – 200 mm are good candidates for DIY camera lenses.

Starting Simple

Let’s look at some examples, including different ways to address the mechanics.

The first lens uses a positive meniscus from Surplus Shed with an advertised focal length of 65 mm and a diameter of 47 mm (price: $6). As it turned out, Surplus Shed’s measurement of the focal length is a bit off. The actual focal length of this lens turns out to be about 45 mm, so it will not quite focus to infinity. (The flange-to-focal-plane distance of a Nikon is 46.5 mm.) Interestingly, at a diameter of 47 mm, this lens exactly fits in a Nikon lens mount without falling into the camera. And that’s how I use it: by just holding it against the mount with my fingers as I take the shot. It’s not very practical. On the plus side, a 45 mm focal length meant that this lens is theoretically faster than f/ 1.0. And so, I call this lens the antipinhole.

the antipinhole

First Results: Optical Aberrations

With the lens resting in the lens mount, the focus is fixed at about 10 feet. The images are about a half a stop brighter than my Nikkor 50 mm at f/ 1.4 so I don’t think it’s quite f/ 1.0 but it is measurably faster than f/ 1.4. But the big surprise is low contrast and very large halos around any bright objects. And unlike what you might expect from a lens at about f/ 1.2, there is no thin plane of focus that snaps in. Instead, there seems to be a very broad area from about 7 feet to 14 feet that has nearly the same degree of focus. Of course, the low contrast, halos, and soft focus can all be put to good use as long as you are not looking for the crisp images produced by commercial lenses.

home

All of the distortions I mentioned above can be largely explained by the spherical aberration in this lens. Parallel rays of light passing through the lens near the center come to focus as expected at the focal length. However, light rays passing through the lens toward the edge focus at a different distance.

spherical aberration in the antipinhole

Spherical aberration is the largest cause of distortion on this lens but it is not the only cause. Color fringing (noticeable as blue and/or red fringes at high contrast transitions between black and white) from chromatic aberration is also present, and is caused by the fact that for a lens like this the focal length for short wavelengths (blue) is different than for long wavelengths (red).

Using An Achromat To Address Chromatic Aberration

Chromatic aberration can be significantly reduced by using achromatic lenses, which are made by combining a convex lens made of crown glass with a concave lens made of flint glass. Fortunately, inexpensive achromats are readily available. Binocular objectives are one source. Another is (you guessed it) Surplus Shed, where they sell a wide range of achromats including one with a focal length of 75 mm and a diameter of 53.5 mm.

Once again, spherical aberration resulted in soft, “glowing” images.

as thick as pea soup

Mechanics: Connection To The Camera

The mechanics involved in making lenses is often more challenging than the optics. But you have lots of options. One possibility is to go for a reusable, interchangeable-parts approach. Old style macro extension tubes, such as a set of Nikon K rings, provides a shortcut. One side of the K2 ring mounts to the camera and the other side has a thread that fits 52 mm filters. This 52 mm thread is a convenient standard to use for quickly connecting multiple lenses, spacers, focusers, and diaphragms into a working lens (and then disassembling it for the next experiment). Here is a 75 mm lens along with some aperture rings. Note that the achromat was friction mounted (thanks to a layer of masking tape) to three 58 mm rings that were recycled from some junk filters. A 52 to 58 mm step up ring allows this lens to fit my 52 mm standard.

homemade 75 mm lens and paper diaphragms

Adjustable Focus

Although functional, the preceding lens still doesn’t have a mechanism for adjustable focus. Let’s look at a few approaches to solve that problem. The first approach is to “recycle” the helical focuser from an old lens. Mounts and filter threads can be attached with Super Glue if necessary. This lens also includes an old iris diaphragm I found for $3 at a local surplus shop. Attaching rings from junk filters to both the focuser and the diaphragm will allow you to use them in an interchangeable system. This lens uses a 191 mm achromat ($9 from SurplusShed).

homemade 191 mm lens

Another approach is to use two tubes with slightly different diameters to build a sliding (telescoping) focuser. Cardboard mailing tubes or PVC pipes are possible sources for the sliding tubes. Sticky-back felt, from your local arts and crafts store, can be used to create a nice friction fit between the two tubes. Be sure to leave a lengthwise gap in the felt to allow air to escape as you are focusing. The felt can also be used to line the inside of the tubes to reduce reflected light inside your lens. Here’s an example that uses this approach for a rather improbable 400 mm lens.

Yes, I have a big nose

If you are lucky enough to have access to bellows, you have an ideal focuser for homemade lenses.

Homemade lens: 115mm f2.8

Of course, you can also find more creative ways to mount your optics, such as using a 2 inch steel electrical conduit with a screw-in coupler to make a functioning focuser.

Lens of Steel

Results

Soft, Misty, Dreamy … you choose the adjective.

Baby, It's Cold Outside

A good place to be a bee (by johnnyoptic)

Good Morning Sunshine

Coming up in part two of this series, I’ll show you how you can get control over the glow from the spherical aberration of these simple lenses to produce wonderful soft focus effects or even sharp macro and telephoto images.

Click here for the next part: Homemade Lenses: What’s All The Fuzz About?

John Swierzbin is a photographer obsessed with DIY lenses, if you wish to learn more about them. please visit the Homemade Lens Group as well as his photostream both on flickr. There, you’ll be able to see many more examples of homemade lenses and the images they produce.

FIND THIS INTERESTING? SHARE IT WITH YOUR FRIENDS!

  • Share
  • Tweet
  • Flipboard
  • WhatsApp

Related posts:

Build your own instant camera with a Raspberry Pi and a thermal printer How to build your own DIY camera jib for overhead shots for less than $35 Build your own DIY sound booth with items from around the home without spending any money How to build your own giant Roger Deakins style DIY ring light

Filed Under: DIY Tagged With: Featured, Lenses

About Udi Tirosh

Udi Tirosh is an entrepreneur, photography inventor, journalist, educator, and writer based in Israel. With over 25 years of experience in the photo-video industry, Udi has built and sold several photography-related brands. Udi has a double degree in mass media communications and computer science.

« Bag O’ Goodies – Food Assignment Winner Announced
Wireless Tethering – Shoot Tethered… Wirelessly »

Submit A Story

Get our FREE Lighting Book

DIYP lighting book cover

* download requires newsletter signup
DIYPhotography

Recent Comments

Free Resources

Advanced lighting book

Recent Posts

  • Slowing down everyday activities to make one second last for one hour
  • This unique camera gives a clay pigeon’s view of the world – until it’s blasted out of the sky
  • This photo of glacier on Mars shows hint of water on the Red Planet
  • If your camera was a person, here’s what it would be like
  • How I improved a faux panoramic film camera with 3D printing

Alex Baker is a portrait and lifestyle driven photographer based in Valencia, Spain. She works on a range of projects from commercial to fine art and has had work featured in publications such as The Daily Mail, Conde Nast Traveller and El Mundo, and has exhibited work across Europe

Dave Williams is an accomplished travel photographer, writer, and best-selling author from the UK. He is also a photography educator and published Aurora expert. Dave has traveled extensively in recent years, capturing stunning images from around the world in a modified van. His work has been featured in various publications and he has worked with notable brands such as Skoda, EE, Boeing, Huawei, Microsoft, BMW, Conde Nast, Electronic Arts, Discovery, BBC, The Guardian, ESPN, NBC, and many others.

John Aldred is a photographer with over 20 years of experience in the portrait and commercial worlds. He is based in Scotland and has been an early adopter - and occasional beta tester - of almost every digital imaging technology in that time. As well as his creative visual work, John uses 3D printing, electronics and programming to create his own photography and filmmaking tools and consults for a number of brands across the industry.

Dunja Djudjic is a multi-talented artist based in Novi Sad, Serbia. With 15 years of experience as a photographer, she specializes in capturing the beauty of nature, travel, and fine art. In addition to her photography, Dunja also expresses her creativity through writing, embroidery, and jewelry making.

Copyright © DIYPhotography 2006 - 2023 | About | Contact | Advertise | Write for DIYP | Full Disclosure | Privacy Policy