This guide is for the Raspberry Pi Camera Module Setup. The camera module should look like the image below:


Note: Make sure you ground yourself before you use the camera module. The board is sensitive to static damage as indicated by the warning on the box and anti-static wrapper. (Go touch some radiators/metal taps).

First Steps (Preparation)

Before plugging the camera module in, you should first make sure your raspberry pi is up to date. Run the following commands:

Sudo apt-get update
Sudo apt-get upgrade

Now to enable the camera module, open up the raspi-config menu with the following command:

Sudo raspi-config

If you are using ssh your menu should look similar to the image below. If your raspi-config menu does not look like this and you do not have a menu option to enable the camera. You should update the raspi-config using the update menu item.

Raspberry Pi raspi-config menu
Raspberry Pi raspi-config menu

Run the enable camera command. If you get an error such as “firmware out of date” you should look at this page to update your firmware.

Second Steps (Attach Camera Module)

The following short video explains how you can attach the raspberry pi camera module to the board:

Note: If when restarting the raspberry pi with the camera connected you cannot connect to ssh and see no flashing green lights you probably have a problem with your power supply. Make sure you are using power supply listed as working in the following page: Raspberry Pi Working Power Adapters

Final Steps (Using the Camera)

You can use the camera with the following commands:


If you get an error such as “raspistill not found” you should search for it in the following directories:


You can add these directories to the path (and so use raspistill and raspivid from the command line) with the following command:

export PATH=$PATH:/opt/vc/bin

You can check this has worked with:

echo $PATH

The following takes a picture called out.jpg:

raspistill -o out.jpg

The following takes a 10 second video clip called out.h264:

raspivid -o out.h264 -t 10000

You can find more on using the camera by just running raspistill or raspivid without any parameters to see the help menus.

Share Button

Leave a Reply

Your email address will not be published. Required fields are marked *