Fantastic Plastic: DIY-Dispo
Adapting disposable camera optics for digital camera bodies.
As a kid I used to occasionally get to play with disposable film cameras and, as with all things optical, mechanical, and electronic, I am ever intrigued by their inner workings. More recently, I found occasion to shoot with one of these plasticky wonders again and kept the body after getting the film developed. I have taken to rescuing these disposables from the landfill recently, intending to cannibalize them for parts; this is an exploration into just one of many ways to make use of this 'garbage'.
Contents:
One Person's Trash...
I have saved several disposable cameras of different makes and models, each unique in its own way. Disposable cameras make for good project fodder, containing several different useful optical elements, and occasionally some useful springs and electronics. The ones with a built-in flash are especially cool, since it is difficult to integrate a xenon flash into a project without getting it out of something else, in my experience.
Disposable cameras are often sent away for recycling, but primarily for the electronic components. My town's biggest film developing house told me that the recyclers do not value the all-mechanical ones as highly as those with xenon flashes.
...Another Person's Camera
While the electronics are fun and hold a lot of DIY project potential, I wanted to recycle the photographic optics into a homemade lens for digital cameras. This is achievable using the magic of reverse-engineering, 3D printing, and experimentation.
One thing that I discovered early on is that all the Fujifilm-brand cameras I have appear to use very similar, if not identical, optical designs despite the camera bodies and plastic housings appearing different on the outside. This means that they share the same molded plastic imaging lens, as well as similar film box designs. This is good since I can make multiple lens adaptors without needing to reinvent all of the mating surfaces each time. I only have one Kodak-branded disposable so while this may be true of that brand, as well, I wouldn't know.
I harvested the molded plastic optics from several cameras and took measurements of the mating surfaces. I consider these to be the features of the optical element that come into contact with the body of the camera, which are used to hold the optic in place. I did my best to replicate all of the relevant dimensions in CAD so that I could construct the model of the adapter around the optic.
Designing the Lens Body
To be able to create a successful lens, the primary consideration is focal length. More specifically, the flange focal distance (a.k.a. FFD, which I have discussed before), but in this case the final lens will consist of the single optical element taken from the disposable camera, making the flange focal distance equivalent to the focal length of the optic with the subject at infinity. In essence, how far the optic is held from the camera's sensor will determine whether or not the image is in focus.
Finding Flange Focal Distance
To determine the FFD, I took some measurements from the various disposables I had dissected to estimate a number based on the original cameras' designs. It seemed as though the optics were positioned approximately 28mm from the film plane in the Fujifilm disposables. This makes sense, as the images they take are fairly wide-angle, suitable of a ~28mm focal length lens. Some internet sources would claim the focal length of disposable cameras like these is around 30-32mm, so a measurement like this is in the right ballpark.
My first printed prototypes held the optic about 27.5mm from the camera sensor for reasons that will become evident later on.
Targeting C-mount
I had originally intended on targeting the Nikon F-mount ecosystem as I have designed things for this mount before, but because the disposable element's focal length is shorter than F-mount's FFD, I decided to instead target C-mount. This decision was based on multiple factors but was mainly because C-mount is:
- Easy to model in CAD (it's a simple standard thread)
- Easy to adapt to other mounts, including:
- Nikon Z
- Pentax Q
- Samsung NXm
- Sony E
- Natively compatible with Raspberry Pi Pro Cameras
With C-mount, I could adapt the lens to several of the camera ecosystems I frequently use, making it a convenient intermediary mount to design around. I have also found that, while possible to CAD and print a bayonet mount like those used by most interchangeable lens cameras, it is much easier to print the helical threads on a threaded mount like C-mount or M42-mount, then use a nice metal adapter ring to serve as the mating interface between lens and camera body. This strategy typically gives a much more robust final product with fewer manufacturing headaches. This is an instance where it is good to know the limitations of your tooling technologies and accordingly design for manufacture.
Version 0 - Prototype
Since the FFD for C-mount is 17.526mm (0.69in) it is easy to mount an optical element with a focal length of ~28mm by simply accounting for the discrepancy in the lens body model. My original design (V0) added an extra 10mm to C-mount's 17.526mm to place the optic at about 27.526mm from the sensor plane. Being slightly less than the nominal 28mm I estimated from the original disposable body, there would be room to attempt to focus the lens by partially unscrewing it from whatever C-mount adapter it is mounted on. I could then later refine the dimensions if adjustments were necessary.
The first iteration on the lens design used a threaded retaining ring to hold the optic in place, and featured a maximum-aperture design. All of the designs would be fixed-aperture since including a mechanical diaphragm would increase the cost of the project too much and one of the reasons to recycle disposable optics in the first place was to keep costs down. Using the largest aperture possible with the optic was bound to result in a soft image, but I wanted the greatest-possible depth of field in order to determine if my focal length estimates were sound. A greater depth of field would mean the resulting image would be more noticeably soft if out of focus.
This initial attempt was certainly interesting to play with, but was by no means the ideal end product. Images came out far too soft with excessive amounts of bloom, but I believe this was the result of the wide-open aperture design. This initial experiment did tell me that the FFD estimations were nearly perfect, though, so I decided to proceed with refining the design.
Test Shots
Version 1 - Refining Aperture
After my previous proof-of-concept, I decided to experiment with aperture sizes. I decided to print multiple versions of the lens mount with different diameter apertures. For the sake of simplicity in calculating the aperture values, I chose to assume that the aperture diameter is the same as the entrance pupil in the following formula:
Fstop = entrance_pupil_diameter / focal_length
So, with an estimated focal length of 28mm the following table shows the various optical arrangements I compared:
Aperture Diameter | F-stop |
---|---|
8mm (wide-open) | f/3.5 |
4mm | f/7 |
3mm | f/9.333 |
2mm | f/14 |
The apertures on the disposable cameras themselves seemed to be around 2-2.5mm in diameter for an aperture of around f/14-f/11, interestingly enough. The results were certainly the sharpest with the 2mm aperture, though some contrast is lost under certain conditions.
Test Shots
You can easily compare images taken at different aperture settings using the buttons below: