Raspberry Pi Camera Guide

Take pictures and shoot video with your Raspberry Pi. Connecting a High Quality Camera or Camera Module turns your favourite credit-card-sized computer into a powerful digital camera. Learn how to set up and control the camera to capture stills and video footage. Discover the numerous modes and effects available, and use the camera in a variety of exciting projects across 17 packed chapters:

  • Set up the new High Quality Camera, attach a lens, and start capturing stunning hi-res images
  • Take selfies and shoot stop-motion videos
  • Build a wildlife camera and also an underwater one
  • Make a smart door with a video doorbell
  • Set up a security camera to monitor your home
  • And much, much more!

This book was written using an earlier version of Raspberry Pi OS. Please use Raspberry Pi OS (Legacy) for full compatibility. See magpi.cc/legacy for more information.


P.10: Step 04 should read:

First, lock the inner focus ring, labelled ‘NEAR ◄ ► FAR’, in position by tightening its screw. Now hold the camera with the lens facing away from you. Hold the outer two rings of the lens and turn them both clockwise until the image comes into focus – it will take four or five whole turns. To adjust focus, turn the outer two rings clockwise to focus on a nearby object. Turn them anti-clockwise to focus on a distant object. You may find you need to adjust the aperture again after this.

P.84: In the print version, a line of code is missing from the end of the listing: