You can make a working projector with a smartphone, a cardboard box, and a straightforward lens—or even without a lens at all using a pinhole
A projector does not need a magnifying glass to work. The core idea is straightforward: light from a bright source passes through or around an opening, travels through a lens (or doesn't), and lands on a screen. The simplest version uses a pinhole—a tiny hole in a piece of foil or cardboard—which focuses light without any lens at all. A slightly more advanced version uses a convex lens from an old pair of reading glasses, a camera lens, or a cheap plastic lens from a craft store. Both methods produce a real, upside-down image on a wall or screen.
Key Takeaways
- A pinhole projector requires only a smartphone, a cardboard box, a piece of aluminum foil, and a white surface to project onto.
- A lens-based projector works better in darker rooms and produces a brighter image than a pinhole, and you can source a convex lens from old reading glasses or a cheap plastic lens online.
- The distance between the lens and the screen controls image size; moving the lens farther away makes the image larger but dimmer.
- Both methods invert the image, so you will need to rotate your phone or flip your image file before building the projector.
- Cardboard, duct tape, and black paint or paper keep stray light out, which is essential for a clear, bright image.
How a pinhole projector works and what you need
A pinhole projector is the simplest optical device you can build. Light from your phone screen passes through a tiny hole in a barrier, and the geometry of light rays causes the image to flip upside down and land on a screen behind the hole. The smaller the hole, the sharper the image—but also the dimmer. A hole about 1 to 2 millimeters across is a good starting point.
To build one, you need a cardboard box (a shoe box or small storage box works), a smartphone with a bright screen, aluminum foil, a needle or thumbtack, black paint or black paper, and a white wall or white poster board to act as a screen. Cut a square hole in one end of the box about 2 inches on each side. Tape a piece of aluminum foil over the hole from the inside, then use the needle to poke a clean, small hole through the center of the foil. Paint the inside of the box black or line it with black paper to absorb stray light. Place your phone inside the box with its screen facing the foil hole, and point the box at a white wall in a dark room. The image will appear on the wall, upside down and reversed left-to-right.
Building a lens-based projector for a brighter image
A lens projector produces a much brighter, sharper image than a pinhole because it gathers more light and focuses it more efficiently. You will need a convex lens—the kind that bulges outward. Reading glasses with a plus prescription (for farsightedness) contain convex lenses; you can pop one out by carefully prying the lens from the frame. Alternatively, buy a cheap plastic convex lens online (search "biconvex lens" or "magnifying lens") for a few dollars. Avoid a magnifying glass designed for reading, because those are often not the right shape for projection.
The lens diameter matters. A lens 1 to 2 inches across is practical for a small projector. Assemble the box the same way: paint the inside black, cut a hole in the front, and mount the lens in that hole using a cardboard ring or lens holder. You can make a straightforward holder by rolling cardboard into a tube that fits snugly around the lens, then taping it to the box. Place your phone inside the box behind the lens, with its screen facing the lens. In a dark room, an image will appear on a wall or screen in front of the box. Adjust the distance between the phone and the lens until the image is sharp. Moving the phone closer to the lens makes the image smaller and brighter; moving it farther away makes the image larger but dimmer.
Preparing your phone image so it projects correctly
Both pinhole and lens projectors flip the image upside down and reverse it left-to-right. This means you need to prepare your phone before you put it in the box. If you are projecting a video or photo, rotate it 180 degrees using your phone's built-in photo editor or a free app. For videos, some video players have a rotate function in settings; if yours does not, you can use a free video editor like OpenShot or HandBrake to flip the video before playing it.
Brightness matters. A dim phone screen will produce a dim projection. Crank your phone's brightness to maximum. In a very dark room, even a phone at full brightness will work, but the image will be clearer and brighter if you can make the room darker. Close curtains, turn off lights, and cover any windows. The darker the room, the more visible your projection will be.
Controlling image size and focus
In a lens projector, the distance between the lens and the screen controls the image size. Move the entire box closer to or farther from the wall to change the size. The farther the box is from the wall, the larger the image—but also the dimmer and softer. For a pinhole projector, the same rule applies, but the effect is less dramatic because a pinhole gathers so little light that distance makes a bigger difference to brightness.
To focus the image, adjust the distance between your phone screen and the lens. Most phone screens are about 4 to 6 inches from the lens in a working projector, but this varies depending on your lens strength. Start with the phone close to the lens and slowly move it back until the image on the wall becomes sharp. If you cannot get a sharp image, your lens may not be the right strength, or the hole in your box may be too large (for a pinhole projector).
Blocking light leaks to improve image quality
Stray light inside the box washes out the projected image. After you assemble the box, look for any cracks, seams, or gaps where light can enter. Seal them with black duct tape or black paint. The phone itself emits light from its edges and back, so wrap it in black paper or a black cloth, leaving only the screen exposed. Make sure the lens or pinhole hole is the only opening where light can escape toward the screen.
If you are using a lens, you may notice a bright ring or halo around the image. This is caused by light bouncing inside the box. You can reduce it by painting the inside of the box matte black instead of glossy, or by adding a cardboard baffle (a flat piece of cardboard) between the phone and the lens to block direct light from the phone's edges.
Choosing between a pinhole and a lens projector
A pinhole projector is free or nearly free to build if you have a box and foil at home. It works in any room, even a lit one, though the image is dim. It is also very reliable—there is almost nothing that can break. The image is sharp because the pinhole naturally focuses light, but it is too dim for most practical use.
A lens projector is brighter and produces a larger, sharper image in a dark room. It requires finding or buying a lens, which takes a little more effort. If you have old reading glasses, you already have a lens. If not, a plastic lens costs a few dollars online. A lens projector is better for showing images or videos to a group, or for projecting onto a larger screen.
Frequently Asked Questions
Can I use a magnifying glass as the lens?
A magnifying glass can work, but it is not ideal. Magnifying glasses are designed to be held close to the eye and are often not the right shape or focal length for projection. A lens from reading glasses or a dedicated biconvex lens will give you better results. If you do use a magnifying glass, expect to spend more time adjusting the phone distance to get a sharp image.
What if the image is too dim to see?
Dim images usually mean the room is too bright, the phone screen is not at full brightness, or the lens is too weak. Make the room as dark as possible, turn your phone brightness all the way up, and check that your lens is actually convex (bulging outward, not flat). A pinhole projector will always be dimmer than a lens projector; if you need brightness, switch to a lens.
Why is my image blurry?
Blurriness usually means the phone is not at the right distance from the lens, or the hole in a pinhole projector is too large. For a lens projector, slowly move the phone back and forth until the image sharpens. For a pinhole, make sure your hole is small and clean—poke a new hole if the old one is ragged or too big.
Can I project in a lit room?
A pinhole projector will work in a lit room, but the image will be very faint. A lens projector needs a dark room to produce a visible image. If you must project in a lit space, a pinhole is your only option, and you should expect a dim result.
How large can the projected image be?
Image size depends on how far the box is from the screen and how strong your lens is. In a typical setup, you can project an image 1 to 3 feet wide on a wall 6 to 10 feet away. The farther you move the box from the wall, the larger the image, but it will also become dimmer and softer. A stronger lens (higher magnification) will produce a larger image at the same distance.