Related Links

  • Science Fair Project Guide

Project Summary

Difficulty  7  –  8 
Time required Average (about one week)
Prerequisites Must have digital camera capable of taking long, controlled exposures without flash.
Material Availability Readily available
Cost Very Low (under $20)
Safety No issues


Share this Project Idea!


Facebook Twitter Delicious Digg MySpace |More Services


Donate to Science Buddies


Teachers, parents:
Earn $50 for a Photo
Email us a digital image related to science fair or Science Buddies. We will pay $50 for photos we use on our site or in outreach materials. Please see requirements.

Abstract

If you sit under a leafy tree on a sunny day, you may notice spots of sunlight on the ground from light passing through spaces between the leaves. Try putting a piece of cardboard on the ground and examining the spots of light on the cardboard. Even though the spaces through which the light is passing are irregular in shape, the spots on the cardboard are round. What you are seeing, in fact, are projected images of the sun. Light passing through an aperture forms an image. A pinhole camera uses a tiny aperture, instead of a fancy lens, to project an image. What happens to the quality of the picture as the size of the pinhole is changed? This project shows you how to find out.

Objective

The goal of this project is to measure the resolution of a pinhole camera as a function of pinhole diameter.

Introduction

Light passing through an aperture forms an image. Sunlight passing through spaces between the leaves on a tree projects an image of the sun. Make a loose fist with your hand on a sunny day and you can project an image of the sun through the aperture that your fingers make. For a great introduction to light and apertures, including many interesting demonstrations you can do yourself, see Bob Miller's "Light Walk" pages, in the Bibliography section (Miller, date unknown).

The resolution of the image projected from an aperture is determined by the size of the aperture (until the aperture becomes so small that diffraction of light dominates). Thus, the smaller the aperture, the greater the resolution of the image. When the size of the aperture approaches the wavelength of the light passing through it (roughly 400–750 nm for visible light) diffraction of the light by the aperture limits the resolution.

In this project, you will build a digital pinhole camera. You'll make several different-sized pinhole apertures for your camera, and you'll measure the camera's resolution as a function of aperture size. You can build a pinhole camera for film, but loading and unloading the film has to be done in total darkness. Also, you have to have the film processed before you can see the results. Determining the correct exposure time for a pinhole camera often involves some trial-and-error, and this can quickly become tedious when using film. A big advantage of using a digital camera is that you can see your results right away.

Since a pinhole does not let in much light, exposure times will be much longer for a pinhole camera than for a camera with a normal lens. Therefore, you must use a digital camera that provides a method for controlling long exposures (e.g., via a remote-control cable, or via infrared signal from a "Palm pilot" or similar device). For the lightbox camera described below, exposure times may need to be tens of seconds or even a minute.

There are two ways to make a pinhole camera with a digital camera. Which method you use depends on the type of digital camera you have. If your digital camera does have removeable lenses, you can make a pinhole for it using a spare body cap with a pinhole in place of the lens. With this type of camera, the light coming through the pinhole aperture forms an image directly on the light-sensitive component inside the camera.

If your digital camera does not have removeable lenses, you will use the "lightbox" (or camera obscura) method. With the lightbox, the pinhole projects an image onto a screen at the back of the box. Your camera takes a picture of this screen, through a small, light-tight "window" at the front of the box (see Figure 1, below).

Figure 1. Diagram of a lightbox-type digital pinhole camera.
Figure 1. Diagram of a lightbox-type digital pinhole camera (Hanft, 2005).

With this type of camera, the exposures are even longer than typical pinhole cameras, because the light from the pinhole does not fall directly on the light-sensitive region of the camera. Instead, the camera is capturing some of the light that is reflected from the projection screen. This, in turn, is only a fraction of the light that originally passed through the pinhole.

The resolution of the image will be determined by how much the light is "spread out" as it is projected through the pinhole. With larger pinholes, this will be determined by the diameter of the aperture. As the pinholes become smaller, diffraction will begin to have a significant effect. Diffraction ultimately limits the resolution of an optical system, even something as simple as a pinhole.

Terms, Concepts and Questions to Start Background Research

To do this project, you should do research that enables you to understand the following terms and concepts:

Questions

Bibliography

Measuring Resolution

Measuring Sharpness: The Modulation Transfer Function (MTF)

Materials and Equipment

To do this experiment you will need the following materials and equipment:

Experimental Procedure

  1. The illustration below shows an example of a lightbox-type pinhole camera, suitable for use with a digital camera (Hanft, 2005).

    Figure 2. A lightbox-type digital pinhole camera.
    Figure 2. A lightbox-type digital pinhole camera (Hanft, 2005).

  2. Below are some tips on constructing a lightbox-type camera (for more details, see Hanft, 2005):
    1. The box depth is determined by how close your camera can focus. The further your projection screen is from the pinhole, the dimmer the light will be, and the longer exposures you'll have to take, so try to keep this reasonably short (10–12 inches, if possible).
    2. Paint the inside of the box flat black to prevent stray reflections. This is especially important with the long exposures you'll be using.
    3. Cover the outside of the box entirely with aluminum tape, to ensure that your box is light-tight.
    4. For the "window" for your digital camera, use a piece of rubber tubing from an old bicycle inner tube to make a tight-fitting rubber seal that will fit around the lens of your camera. This will perform two functions: 1) make a light-tight seal, and 2) hold the camera firmly in place.
    5. Also, remember that the camera needs to be tilted down slightly so that it does not block light entering the pinhole (see Figure 1 in the Introduction).
  3. Turning a digital SLR camera into a pinhole camera is much easier. All you need are some spare body caps, which you should be able to order from the camera store where you purchased the camera. Find the center of the body cap and drill a hole in it. Glue a pinhole made from thin aluminum (see below), over this hole, and make the glue joint light-tight by covering it with black tape.
  4. Here are some tips on making and measuring a pinhole (used for either type of camera:
    1. Here are instructions for making a pinhole from David Balihar: "A piece of metal cut from a drinks [soda] can, approximately 4 × 4 cm, is sufficient. First, using coarse sandpaper, remove the paint from the area where the hole should be, and try to make the metal as thin as possible. Then finish the surface by using fine sandpaper. Place the plate on a flat wooden block and, using a sharp needle, make the smallest hole possible. Be careful not to injure your hand and use a hard block to press down on the needle. Remove the embossed material from the reverse side of the plate using fine sandpaper. Place the needle into the hole again and, by gently pressing and turning the needle between your fingers, make the hole round. Smooth the hole again using sandpaper. It is necessary to repeat the process until the required diameter is achieved. A regular round hole in a very thin plate can be made with a bit of patience." (Balihar, 2006) Use the same size for each of the aluminum pieces, so that your pinholes are easily interchangeable on your camera.
    2. Remember to paint the back side of the pinhole metal flat black after you have made the pinhole. The back side will be inside the camera, and you want to prevent stray reflections inside the camera.
    3. There are many ways to measure the diameter of your pinholes. You can use a alide projector, overhead projector, or enlarger to project light through the pinhole, and measure the diameter of the enlarged image. To check the scale (enlargement factor) also measure the projected size of the edge of the aluminum. Another method is to use a flatbed scanner at 600 or 1200 dpi.
  5. Make a set of at least 3 different pinholes (more is even better) for your camera spanning a range of diameters from about 1.0 mm to 0.2 mm (or less).
  6. Experiment with exposure times so that you can photograph the same scene with each different pinhole to achieve about equal gray levels in the photographs. (The references in the Bibliography have information and calculators that should help with this. Knowing the diameters of your pinholes will also help.)
  7. If you are using a lightbox-type camera, it is best to keep the aperture setting constant, and change only the exposure time.
  8. Keep the camera steady by attaching it firmly to something heavy (e.g., a brick).
  9. The Bibliography has references that will show you how to quantify both resolution and sharpness for your photographs made with different-sized pinholes.

Questions

Variations

Credits

Andrew Olson, Ph.D., Science Buddies

Sources


Last edit date: 2006-04-11 17:22:41


Career Focus

If you like this project, you might enjoy exploring careers in Photography, Digital Photography & Video.

Physicist
Physicists have a big goal in mind—to understand the nature of the entire universe and everything in it! To reach that goal, they observe and measure natural events seen on Earth and in the universe, and then develop theories, using mathematics, to explain why those phenomena occur. Physicists take on the challenge of explaining events that happen on the grandest scale imaginable to those that happen at the level of the smallest atomic particles. Their theories are then applied to human-scale projects to bring people new technologies, like computers, lasers, and fusion energy.
  Mechanical Engineer
Mechanical engineers are part of your everyday life, designing the spoon you used to eat your breakfast, your breakfast's packaging, the flip-top cap on your toothpaste tube, the zipper on your jacket, the car, bike, or bus you took to school, the chair you sat in, the door handle you grasped and the hinges it opened on, and the ballpoint pen you used to take your test. Virtually every object that you see around you has passed through the hands of a mechanical engineer. Consequently, their skills are in demand to design millions of different products in almost every type of industry.

Precision Instrument and Equipment Repairer
One of the basic truths in the universe is that objects tend to go from a state of higher organization to a state of lower organization over time. In other words, things break down, and when those things are precision instruments or equipment, they require the services of very specialized technicians to restore them to their working order. Precision instrument or equipment technicians often combine a love of music, medicine, electronics, or antiques with delicate mechanical repair work.
 



Join Science Buddies

Become a Science Buddies member! It's free! As a member you will be the first to receive our new and innovative project ideas, news about upcoming science competitions, science fair tips, and information on other science related initiatives.


Support Science Buddies

If this website has helped you, won't you consider a small gift so we may continue developing resources to help teachers and students?

 



 


It's free! As a member you will be the first to receive our new and innovative project ideas, news
about upcoming science competitions, science fair tips, and information on other science related initiatives.

Science Fair Project Home      Our Sponsors      Partners      About Us      Volunteer      Donate      Contact Us      Research Grants & Outreach      Site Map

Science Fair Project Ideas      Science Fair Project Guide      Ask an Expert      Blog      Teacher Resources      Parent Resources      Student Resources      Science Careers      Join Science Buddies     


Privacy Policy Science Buddies

Copyright © 2002-2010 Science Buddies. All rights reserved.
Reproduction of material from this website without written permission is strictly prohibited.
Use of this site constitutes acceptance of our Terms and Conditions of Fair Use.