DIY with Raspberry Pi Camera Kit

DIY with Raspberry Pi Camera Kit

Components Required:

  1. Raspberry Pi 3 B+
  2. SD Card
  3. Micro USB Cable with Adapter
  4. Monitor with HDMI cable
  5. Mouse and Keyboard
  6. Raspberry Pi Camera

Step 1: Connect Camera to Raspberry PI



Remove the protective covering from camera lens. Insert the cable in the camera port (the contact side should face HDMI interface)



Step 2: Enable Camera Interface and reboot

1. Open terminal and type the command raspi-config

2. Select Interfacing options

3. Select Camera



4. Select Finish and it will ask to reboot now. Select yes.



Step 3: Capture an image

Once the camera is enabled, we are ready to capture an image.
To capture a still image open terminal and type the command
raspistill –t 2000  -o image.jpg


Here “raspistill” is a command that captures an image, the parameter “-o” specifies the filename of image.





Step 4: Record a video

To record a video open terminal and type the command
raspivid -o video.h264 -t 10000

Here raspivid is a command that records a video, the parameter “-o” specifies the filename of video and the parameter “-t” specifies the duration of video (in milliseconds).

For example, this command will record a 10 second video and save it as video.h264.



Author: Nakul Garg

Previous article LED Blink with Raspberry Pi
Next article 3D Printing: Industrial Revolution 2.0

Leave a comment

* Required fields