Camera Module Lens Modifcation
The purpose of this project is to replace the stock lens assembly of the Raspberry Pi Camera Module with a large lens. The aim is to increase the aperture of the camera and to be able to fit other lenses and filters in order to modify the field of view and waveband of operation.
- 1mm Jewelers screwdriver
- 4mm Jewelers screwdriver
- Craft Knife
- ESD mat and strap.
The Raspberry Pi camera module is a sensitive electronic component and will be suceptable to ESD . Please take sensible precausions or you risk permanently damaging your camera.
Step by Step
|Turn the camera module over and pull the taps on the flexi connector to release the flexi, put the flexi in a safe place.|
|Gently prise the mini connector off the camera board.|
|Peal the lens assembly off the board, it only stuck on with an adhesive pad. The board and the lens should now be free. Put the board in a safe place taking care not to contaminate the adhesive pad, we are going to reuse it.|
|Take a fine bladed scredriver and work along the joint of the lens assembly, the idea is to gently dig through the plastic just above the metal base. This take a little time and patience and is considerably safer than using a knife! Once there's a gap between the parts use a larger bladed screwdriver to crack the seal and the lens assembly will 'pop off'.|
|Salvage the lens assembly and store in a safe place, the filter will be of use later. Carefully handle the now bare camera array, refit this to the board. Its better to fit the mini connector first and let the regidity of the flexi re-align the array to the adhesive pad. Gently press the arry on to the pad avoid touching the array, use the edges only.|
|Place the body of the CCTV lens on top of the camera module, be careful to avoid touching the array. Note that the holes don't quite line up|
|The new lens body is too large and fouls the mini connector. Using a craft knife carefully waste away enough plastic to allow the body to sit flush over the connector.|
|Using the wire, thread a short length through the holes in the board and the lens body, twist the wire to secure the body to the board. Bend the wire up so it cant get trapped under the board and short something out!|
|Fit the lens of your choice to the body and now your new camera is ready for focusing|
| There is no Near Infra Red blocking filter in the completed assembly. This results in increased sensitivity by can result in a somewhat washed out colour image.
Its possible to re-fit the original filter to the back of the lens using any suitable adhesive. However, the next stage of this project is to convert the camera to only operate in the Near Infra Red so this is not shown here. Oh and the image is inverted!
Near Infra Red modification
The objective here is to make a reusable visible filter to allow easy waveband selection.
- 10mm diameter visible filter 
- 1mm Jewelers screwdriver
|Using a small bladed screwdriver pierce the top of the plastic lens cap|
|Work around in a circle slightly smaller than the filter|
|Push out the middle|
|Lens Cap ready for filter|
|Press the filter in to the plastic, the plastic should be flexible enough to form around the filter.|
|Lens cap ready for fitting|