Raspberry Pi time lapse camera Using the Raspberry Pi’s High Quality Camera module I made a time lapse camera in my living room.
VIDEO FIGURE 1 Assembled camera sitting in my living room window1 Case I designed a case with a large lens hood and a recessed lens so that it can block the light from the room.
This would allow the camera to take photos at night.
FIGURE 2 CAD screenshots of the case designFIGURE 4 Camera chassis with HQ module on one side and the Raspberry Pi on the otherFIGURE 5 Camera chassis reverse side showing the Raspberry Pi1.1 STL files The files are also available on Thingiverse .
pichassis.stl
pihood.stl
piback.stl
2 Capture code I decided to strive for maximum image quality even at night, by capturing a stack of images and summing them up.
GitHub Gist
3 Lens I found a Basler C125-0618-5M-P on eBay which seems to have good image quality and fits the Raspberry Pi HQ Camera.
FIGURE 7 The lens has significant barrel distortion but that is compensated for by my code above.FIGURE 8 The lens is quite sharp and can resolve even 200 lp/mm. This chart is at f/1.8, polychromatic, 0.5 m working distance.4 Gallery FIGURE 9 Picture taken by Raspberry Pi cameraFIGURE 10 Picture taken by Raspberry Pi cameraFIGURE 11 Picture taken by Raspberry Pi cameraFIGURE 12 Picture taken by Raspberry Pi cameraFIGURE 13 Picture taken by Raspberry Pi cameraFIGURE 14 Picture taken by Raspberry Pi cameraFIGURE 15 Picture taken by Raspberry Pi cameraFIGURE 16 Picture taken by Raspberry Pi cameraFIGURE 17 Picture taken by Raspberry Pi cameraFIGURE 18 Picture taken by Raspberry Pi cameraFIGURE 19 Picture taken by Raspberry Pi cameraFIGURE 20 Picture taken by Raspberry Pi camera