-
Notifications
You must be signed in to change notification settings - Fork 10
EPIC
Karl Lew edited this page Nov 15, 2013
·
15 revisions
Raspberry Pi camera ...
Image courtesy modmypi.com:
The standard Raspberry Pi camera range of focus is about 60cm-infinity. Unscrewing the lens till it's almost out (less one turn) voids the warranty AND converts the lens to a macro lens. The camera resolution of 2592x1944 is quite generous. Reducing image height to 400 and width to 533 provides very nice images. For example, the following Raspberry Pi command results in a 142KB jpg:
raspistill -o cam.jpg -h 400 -w 533 -n -th 0:0 -t 0
Here are some pictures taken with the lens unscrewed by different amounts. The pictures were taken in the evening with illumination from a single white LED. The lens is fairly sensitive in the macro range and a mere 1/5 turn changes the far focus by 15mm:
@Sources
- Install RPi camera
- Read cautions about adjusting camera lens
- Convert your RPi camera lens into a macro lens
- A small blob of Instamorph can be used as a nut driver, but make sure to put a hole in the center to avoid scratching the lens. Also do not get the camera wet.

