0% found this document useful (0 votes)
101 views4 pages

Camera Odt

The document summarizes the Raspberry Pi camera module. It provides technical specifications of the 5MP camera sensor and lens. It describes the camera's connections to the Raspberry Pi and how to enable and set up the camera hardware and software. It also introduces the RaspiStill camera app for capturing photos and video.

Uploaded by

sweetsuresh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views4 pages

Camera Odt

The document summarizes the Raspberry Pi camera module. It provides technical specifications of the 5MP camera sensor and lens. It describes the camera's connections to the Raspberry Pi and how to enable and set up the camera hardware and software. It also introduces the RaspiStill camera app for capturing photos and video.

Uploaded by

sweetsuresh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 4

Camera Module

Introduction
The Raspberry Pi camera board contains a 5 MPixel sensor, and connects via a ribbon cable to
the CSI connector on the Raspberry Pi. A User's Guide describes setup and use. The video and still
image quality is better than a USB webcam of similar price.

The Pi camera was released for sale on the 14th of May 2013 and the initial production was 10k
units.
The "Pi NoIR" version of the camera was released on the 28th of October 2013. It has
the same sensor with the IR filter removed, and a black PCB. With no IR filter, it can see near-IR
wavelengths (700 - 1000 nm) like a security camera, with the tradeoff of poor color rendition. It is
otherwise the same and uses the same software as the normal Pi camera.
Technical Parameters
• Sensor type: OmniVision OV5647 Color CMOS QSXGA (5-megapixel)
• Sensor size: 3.67 x 2.74 mm
• Pixel Count: 2592 x 1944
• Pixel Size: 1.4 x 1.4 um
• Lens: f=3.6 mm, f/2.9
• Angle of View: 54 x 41 degrees
• Field of View: 2.0 x 1.33 m at 2 m
• Full-frame SLR lens equivalent: 35 mm
• Fixed Focus: 1 m to infinity
• Video: 1080p at 30 fps with codec H.264 (AVC)
• Up to 90 fps Video at VGA
• Board size: 25 x 24 mm (not including flex cable)

Because the focal length of the lens is roughly the same as the width of the sensor, it is
easy to remember the field of view: at x meters away, you can see about x meters horizontally,
assuming 4x3 stills mode. Horizontal field of view in 1080p video mode is 75% of that (75% H x 55%
V sensor crop for 1:1 pixels at 1920x1080).

References: Focal length and f-stop measurements , depth of field & angle of view calculators
sensor info f-stop measurement

Connecting the camera


The flex cable inserts into the connector situated between the Ethernet and HDMI ports, with
the silver connectors facing the HDMI port. The flex cable connector should be opened by pulling the
tabs on the top of the connector upwards then towards the Ethernet port. The flex cable should be
inserted firmly into the connector, with care taken not to bend the flex at too acute an angle. The top
part of the connector should then be pushed towards the HDMI connector and down, while the flex
cable is held in place.
The camera may come with a small piece of translucent blue plastic film covering the lens. This
is only present to protect the lens while it is being mailed to you, and needs to be removed by gently
peeling it off.

Enabling the camera


Open the raspi-config tool from the Terminal:
sudo raspi-config
Select Enable camera and hit Enter, then go to Finish and you'll be prompted to reboot.

Setting up the camera hardware


Please note that camera modules are static – sensitive. Earth yourself prior to handling the
PCB: a sink tap/faucet or similar should suffice if you don’t have an earthing strap.
The camera board attaches to the Raspberry Pi via a 15-way ribbon cable. There are only two
connections to make: the ribbon cable need to be attached to the camera PCB and the Raspberry Pi
itself. You need to get it the right way round , or the camera will not work. On the camera PCB, the
blue backing on the cable should be facing away from the PCB, and on the Raspberry Pi it should be
facing towards the Ethernet connection (or where the Ethernet connector would be if you are using a
model A).

Although the connectors on the PCB and the Pi are different, they work in a similar way. On
the Raspberry Pi, pull up the tabs on each end of the connector. It should slide up easily, and be able to
pivot around slightly. Fully insert the ribbon cable into the slot, ensuring it is straight, then gently press
down the tabs to clip it into place. The camera PCB itself also requires you to pull the tabs away from
the board, gently insert the cable, then push the tabs back. The PCB connector is a little more awkward
than the one on the Pi itself.

You can watch a video showing you how to attach the connectors at
www.raspberrypi.org/archives/3890 .

RaspiStill
=====================
Camera App v1.3.6

Runs camera for specific time, and take JPG capture at end if
requested

usage: raspistill [options]

Image parameter commands

-?, --help  : This help information


-w, --width  : Set image width <size>
-h, --height  : Set image height <size>
-q, --quality  : Set jpeg quality <0 to 100>
-r, --raw  : Add raw bayer data to jpeg metadata
-o, --output  : Output filename <filename> (to write to stdout, use '-o
-'). If not specified, no file is saved
-l, --latest  : Link latest complete image to filename <filename>
-v, --verbose  : Output verbose information during run
-t, --timeout  : Time (in ms) before takes picture and shuts down (if not
specified, set to 5s)
minimum 30ms, setting to 0 waits forever.
-th, --thumb  : Set thumbnail parameters (x:y:quality) or none
-d, --demo : Run a demo mode (cycle through range of camera options, no
capture)
-e, --encoding  : Encoding to use for output file (jpg, bmp, gif, png)
-x, --exif  : EXIF tag to apply to captures (format as 'key=value') or
none
-tl, --timelapse : Timelapse mode. Takes a picture every <t>ms
-fp, --fullpreview: Run the preview using the still capture resolution (may
reduce preview fps)
-k, --keypress  : Wait between captures for a ENTER, X then ENTER to exit
-s, --signal  : Wait between captures for a SIGUSR1 from another process
-g, --gl  : Draw preview to texture instead of using video render
component
-gc, --glcapture : Capture the GL frame-buffer instead of the camera image
Preview parameter commands

-p, --preview  : Preview window settings <'x,y,w,h'>


-f, --fullscreen  : Fullscreen preview mode
-op, --opacity  : Preview window opacity (0-255)
-n, --nopreview : Do not display a preview window

Image parameter commands

-sh, --sharpness : Set image sharpness (-100 to 100)


-co, --contrast  : Set image contrast (-100 to 100)
-br, --brightness : Set image brightness (0 to 100)
-sa, --saturation : Set image saturation (-100 to 100)
-ISO, --ISO   : Set capture ISO
-vs, --vstab   : Turn on video stabilisation
-ev, --ev   : Set EV compensation (-25 to 25)
-ex, --exposure  : Set exposure mode (see Notes)
-awb, --awb   : Set AWB mode (see Notes)
-ifx, --imxfx   : Set image effect (see Notes)
-cfx, --colfx   : Set colour effect (U:V)
-mm, --metering  : Set metering mode (see Notes)
-rot, --rotation : Set image rotation (90,180,270)
-hf, --hflip   : Set horizontal flip
-vf, --vflip   : Set vertical flip
-roi, --roi   : Set region of interest (x,y,w,d as normalised
coordinates [0.0-1.0])
-ss, --shutter   : Set shutter speed in microseconds

Notes

Exposure mode options :


auto,night,nightpreview,backlight,spotlight,sports,snow,beach,verylong,fixe
dfps,antishake,fireworks

AWB mode options :


off,auto,sun,cloud,shade,tungsten,fluorescent,incandescent,flash,horizon

Image Effect mode options :


none,negative,solarise,sketch,denoise,emboss,oilpaint,hatch,gpen,pastel,wat
ercolour,
film,blur,saturation,colourswap,washedout,posterise,colourpoint,colourbalan
ce,cartoon

Metering Mode options :


average,spot,backlit,matrix

Preview parameter commands

-gs, --glscene  : GL scene square,teapot,mirror,yuv,sobel


-gw, --glwin  : GL window settings <'x,y,w,h'>

You might also like