Raspberry Pi Camera User Manual
1. Basic Operations
-
Please download Raspbian OS from http://www.raspberrypi.org/.
-
Format your TF card with the SDFormatter.exe.
Notices: The capability of TF card in use here should be more than 4GB. In this operation, a TF card reader is also required, which has to be purchased separately.
-
Start the Win32DiskImager.exe, and select the system image file copied into your PC, then, click the button Write to program the system image file.
Figure 1: Programming the system image file with Win32DiskImager.exe
[Description of Win32 Disk Imager screenshot: A graphical user interface window titled 'Win32 Disk Imager'. It shows fields for 'Image File' (with a path indicating a Raspbian image), 'Device' (showing a drive letter like '[I:]'), and a 'Progress' bar. Buttons include 'Copy', 'MD5 Hash', 'Cancel', 'Read', 'Write', and 'Exit'. The status message reads 'Waiting for a task.']
2. Camera Module Setup
2.1. 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.
2.2. Enabling the Camera
-
Update and upgrade Raspbian from the Terminal:
apt-get update
apt-get upgrade
-
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.
Figure 2: Enable camera
[Description of raspi-config screenshot: A terminal-based menu titled 'Information about this tool'. It lists various configuration options for the Raspberry Pi, including 'expand_rootfs', 'overscan', 'change_locale', 'change_hostname', 'memory_split', 'overclock', 'ssh', 'boot_behaviour', and 'camera'. The 'camera' option is highlighted and described as 'Enable/Disable camera addon support'. Options to 'Select' and 'Finish' are shown at the bottom.]
2.3. Using the Camera
Power up and take photos or shoot videos from the Terminal:
-
Taking photos:
raspistill -o image.jpg
-
Shooting videos:
raspivid -o video.h264 -t 10000
-t 10000 means the video lasts 10 seconds, which is changeable.
3. Reference
Libraries for using the camera are available in:
- Shell (Linux command line)
- Python
More information: