{"id":205,"date":"2010-06-15T20:37:00","date_gmt":"2010-06-15T20:37:00","guid":{"rendered":"https:\/\/metrix-x.rraz.ca\/?p=205"},"modified":"2026-06-15T01:35:33","modified_gmt":"2026-06-15T01:35:33","slug":"making-a-pinhole-lens-for-a-canon-dslr","status":"publish","type":"post","link":"https:\/\/metrix-x.rraz.ca\/?p=205","title":{"rendered":"Making a Pinhole lens for a Canon DSLR"},"content":{"rendered":"<p><span style=\"font-size: large\"><b> <\/b><\/span><br \/>\n<span style=\"font-size: large\"><b><a href=\"http:\/\/rraz.ca\/pin\/pinhole.html\">Originally From My website July 2005<\/a><\/b><\/span><br \/>\n<span style=\"font-size: large\"><b>Specifications:<\/b><\/span><br \/>\nDepth of Field &#8211; Infinite<br \/>\nEquivalent focal length &#8211; 50mm<br \/>\nResolution &#8211;  very poor!<br \/>\nSpeed &#8211;  slower then you can imagine.<br \/>\nCost &#8211; cheapest Canon lens (the main component is a Canon part)<br \/>\n<span style=\"font-size: large\"><b>Making the Pinhole Lens<\/b><\/span><br \/>\n<b><span style=\"font-size: large\">Parts:<\/span><\/b><br \/>\n1. Canon camera body cap. Canon  caps because they have a thread  are claimed to be light tight. I brought an used cap, so technically this is a used Canon lens. Test out the light tightness of the cap by placing it on the camera body and exposing a shot directly into the sun for 5 seconds or so. The exposure should be completely dark. This test is good for other models and makes of cameras.<br \/>\n2. Quality aluminum foil<br \/>\n3. Plastic film with self adhesive backing. I used  the clear 3m film that they apply to the front of automobiles to prevent rocks from chipping the paint.<br \/>\n4. Hollow tip 32 gage needle. I used a new insulin  pen needle.<br \/>\n5. Sharp craft knife or razor blade<br \/>\n6. Cutting board as a work surface<br \/>\n7. Small piece of dense stiff foam such as styrofoam<br \/>\n8. Cork <br \/>\n9. 3\/16&#8243; drill<br \/>\n<b><span style=\"font-size: large\">Construction:<\/span><\/b><br \/>\n1. Drill  a 3\/16&#8243; hole in the inside center of the cap. Use a piece of wood as a backing  so that the hole will be fairly round. Use the knife to clean and deburr the edge of the hole.<br \/>\n2. Cut  a  donut shaped piece of plastic film  3\/4&#8243; OD. &#8211; 3\/16&#8243; ID.<br \/>\n3. Cut a  1\/2&#8243; disc out of  the aluminum foil. <br \/>\n4. Flatten the foil by placing on a hard flat surface and rubbing the foil with a  piece of cork (drink the wine first). Be careful not to damage the foil.<br \/>\n5. Place the 1\/2&#8243; foil disc on the backside of the cap, centered over the 3\/16&#8243; hole.<br \/>\n6. Remove the backing to expose the adhesive on the plastic film donut.<br \/>\n7. Place the film donut sticky-side down centered over the foil, use your fingers or the knife edge to seal the foil between the film and the cap. Make sure the foil is flat and sealed around the complete circumference. Note there should be only foil covering the center of the cap.<br \/>\n8.  Place a the cap face up with the bottom of the cap and the foil supported by a small piece of dense stiff foam.<br \/>\n9. Very  carefully  puncture the center of the foil with the 32 gage needle. The motion of the needle should be straight up and down., any sideways motion or too deep of a penetration will distort the pinhole.<br \/>\n10. Have fun!<br \/>\nAlternative Way to Make the Pinhole<br \/>\nBefore the foil is installed in the cap just after step 4: <\/p>\n<ul>\n<li>&nbsp;Once again the foil must be supported by some dense stiff foam such as Styrofoa&nbsp;<\/li>\n<li>Make the pinhole as in step 9<\/li>\n<li>Repeat step 4 the foil flattening step<\/li>\n<li>Inspect the hole to make sure the edges have not been pushed back into hole by the flattening of the foil<\/li>\n<li>Install the foil as before<\/li>\n<\/ul>\n<p>Using this method allows you to practice making pinholes and also allows you to inspect the hole before installation. Note that the needle can only be used a few times before it will get dull and has to be replaced.<br \/>\nEach different pinhole will have its own unique qualities, ideally the pinhole should be perfectly round, perfectly flat and as thin as possible. This is impossible without buying a manufactured hole (yes you can buy a hole) .  Unfortunately my microscope is on loan so I can not actually inspect the pinhole except by holding it up to a light bulb. Hopefully I will update the page with actual hole details when  I get the microscope back. Alternatively a flatbed film scanner could be used to scan the hole.<\/p>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/rraz.ca\/pin\/bottom_side.jpg\" style=\"margin-left: 1em;margin-right: 1em\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/rraz.ca\/pin\/bottom_side.jpg\" \/><\/a><\/div>\n<p><a href=\"http:\/\/rraz.ca\/pin\/top_side.jpg\" style=\"margin-left: 1em;margin-right: 1em\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/rraz.ca\/pin\/top_side.jpg\" \/><\/a><br \/>\n<span style=\"font-size: large\"><b>Notes:<\/b><\/span><\/p>\n<ol>\n<li>I originally used plastic tape instead of the film. But it took a couple of trys to get  a good (nearly centred) pinhole, I found it was very difficult to remove the gummy residue from the tape backing, I tried soap and water but that did not work. I tried a cleaning fluid but as you can see in the pictures  it attacked the plastic cap and messed up the finish. The plastic film has an adhesive that stays with the film even after you remove the film from the cap, this makes replacing the pinhole an easy job.<\/li>\n<li>Dimensions except for the pinhole are approximate.<\/li>\n<li>Many of the pictures have some contrast lose,  some even have a rainbow effect. This could be caused by light leakage,  a ragged irregular pinhole edge  or  most likely from the large amount of light that comes through pinhole outside the FOV (field of view) of camera sensor. This light is reflected and diffused onto the sensor. If I shield the lens from off angle light the effect goes away see below for a partial solution..<\/li>\n<li>The low resolution of the lens is mostly related to physics. The pinhole is around 0.3 &#8211; 0.4mm diameter and  a pixel on the camera sensor is many times smaller. The only way to get higher resolution would be to have  the camera sensor area much larger, lets  say as large as a large format camera. No way on a proconsumer camera! There is also  both a diffraction limit and  equivalent For a lens hood I brought an inexpensive rubber hood and glued it on   with Gloop. The hood allows about a 90\u00b0 field of view which is still too   wide for the pinhole lens.F stop light limitation on the minimum pinhole size.<\/li>\n<\/ol>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/rraz.ca\/pin\/lens_0020.jpg\" style=\"clear: left;float: left;margin-bottom: 1em;margin-right: 1em\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/rraz.ca\/pin\/lens_0020.jpg\" \/><\/a><\/div>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/rraz.ca\/pin\/lens_0024.jpg\" style=\"clear: left;float: left;margin-bottom: 1em;margin-right: 1em\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/rraz.ca\/pin\/lens_0024.jpg\" \/><\/a><\/div>\n<p><span style=\"font-size: large\"><b>Some References:<\/b><\/span><br \/>\n<b><a href=\"http:\/\/rraz.ca\/pin\/pinhole.html\">This Page On My Original Website<\/a><\/b> &#8211; contains some more details and pinhole image processing tips<br \/>\n<b><a href=\"http:\/\/blog.metrix-x.com\/2007\/12\/8x10-large-format-pinhole.html\">My Blog posting homemade 8&#215;10&#8243; large format pinhole camera<\/a><\/b><a href=\"http:\/\/www.pinhole.org\/\">The Pinhole Gallery<\/a> &#8211; A Gallery of Contemporary Pinhole Photography<br \/>\n<a href=\"http:\/\/www.pinhole.com\/archive\/371\">The Pinhole Camera<\/a> &#8211; Imaging without Lenses or Mirrors By Matt Young  (Some of the physics and history of the <a class=\"zem_slink\" href=\"http:\/\/en.wikipedia.org\/wiki\/Pinhole_camera\" rel=\"wikipedia nofollow\" title=\"Pinhole camera\">pinhole camera<\/a>)<br \/>\n<a href=\"http:\/\/www.luminous-landscape.com\/tutorials\/pinhole.shtml\">Luminous Landscape<\/a> &#8211; Pinhole Camera Tutorial  This page has some good photos and suggestions for making large format film cameras<br \/>\n<a href=\"http:\/\/photoarts.com\/gallery\/lousberg\/Exhibition.html\">Isabelle Lousberg<\/a> If her work doesn&#8217;t inspire you why bother!<br \/>\n<a href=\"http:\/\/www.f295.org\/site\/\">F295.org<\/a> &#8211; Exploring 21st Century Photography<br \/>\n<a href=\"http:\/\/www.youdesignit.com\/resources\/pinhole-photography\">youdesignit.com &#8211; pinhole-photography<\/a><br \/>\n<a href=\"http:\/\/www.onlineschools.org\/pinhole-photography\/\">Online Schools: Guide to Pinhole Photography<\/a><br \/>\n<a href=\"http:\/\/www.mrpinhole.com\/\">PINHOLE PHOTOGRAPHY<\/a> AND CAMERA DESIGN CALCULATORS&nbsp;<span style=\"font-size: large\">&nbsp;<\/span><\/p>\n<p><span style=\"font-size: large\">August 21 2005 Pinhole Pictures with Lens Hood<\/span><br \/>\n<span style=\"font-size: large\"> <\/span><\/p>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/rraz.ca\/TO_ISLANDS_AUG_21_2005\/IMG_0089.jpg\" style=\"clear: left;float: left;margin-bottom: 1em;margin-right: 1em\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/rraz.ca\/TO_ISLANDS_AUG_21_2005\/IMG_0089.jpg\" \/><\/a><\/div>\n<p>Two Bicyclists<\/p>\n<div class=\"separator\" style=\"clear: both;text-align: center\"><a href=\"http:\/\/rraz.ca\/TO_ISLANDS_AUG_21_2005\/IMG_0051.jpg\" style=\"clear: left;float: left;margin-bottom: 1em;margin-right: 1em\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/rraz.ca\/TO_ISLANDS_AUG_21_2005\/IMG_0051.jpg\" \/><\/a><\/div>\n<p>&nbsp;Wards Island Gap<br \/>\nPlease contact me for permission to use or reproduce any part of this page photos@rraz.ca<br \/>\nRyan<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Originally From My website July 2005 Specifications: Depth of Field &#8211; Infinite Equivalent focal length &#8211; 50mm Resolution &#8211; very poor! Speed &#8211; slower then you can imagine. Cost &#8211; cheapest Canon lens (the main component is a Canon part) Making the Pinhole Lens Parts: 1. Canon camera body cap. Canon caps because they have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49,2,48],"tags":[],"class_list":["post-205","post","type-post","status-publish","format-standard","hentry","category-photographer","category-photo","category-pinhole-camera"],"_links":{"self":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=205"}],"version-history":[{"count":1,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions"}],"predecessor-version":[{"id":206,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions\/206"}],"wp:attachment":[{"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metrix-x.rraz.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}