0

members

Easy Raspberry basics: Project 21b Using Raspberry PI Zero W board with Raspberry PI camera module V2 and

of Acoptex.com in Raspberry Pi Zero W

Raspberry basics: Project 21b

Project name: Using Raspberry PI Zero W board with Raspberry PI camera module V2 and the official case

Tags: Raspberry, Raspberry PI Zero W board, vers 1.1, v 1.1, Raspberry PI camera module V2, Raspberry camera V2, Raspberry PI camera module, how to attach Raspberry PI camera to Raspberry Pi Zero W board, official Raspberry Pi Zero case

Attachments: none

Raspberry Pi
Monitor or TV
HDMI cable
USB keyboard
USB mouse
Power supply
8GB SD card

In this project, you needed these parts (Dear visitors. You can support our project buy clicking on the links of parts and buying them or donate us to keep this website alive. Thank you):

1. Raspberry PI Zero W board 1 pc

2. Micro SD card with NOOBS and SD card adapter 1 pc

3. Micro USB power supply (2 A 5V or 5V 3A) 1 pc

4. USB keyboard 1 pc

5. USB mouse 1 pc

6. TV or PC monitor 1 pc

7. HDMI cable 1 pc

8. T-Cobbler Breakout and GPIO Cable 1 pc

9. Micro USB 2.0 OTG Cable 1 pc

10. Mini HDMI to HDMI Adapter (HDMI to Mini HDMI Adapter) 1 pc

11. 4-Port USB 2.0 Hub 1 pc

12. Raspberry PI camera module V2 1pc

13. Raspberry Pi Zero Official Case base 1pc

General

We will learn how to connect Raspberry PI camera module V2 with the Raspberry Pi Zero W board and install in Raspberry Pi Zero offitial case.  

Raspberry Pi Zero W board is a good candidate for a low cost CCTV which you can deploy at your house for surveillance purposes. 

Understanding the Raspberry PI camera module V2

The Raspberry Pi Camera Module v2 replaced the original Camera Module in April 2016. The v2 Camera Module has a Sony IMX219 8-megapixel sensor (compared to the 5-megapixel OmniVision OV5647 sensor of the original camera).

The Camera Module can be used to take high-definition video, as well as stills photographs. It’s easy to use for beginners, but has plenty to offer advanced users if you’re looking to expand your knowledge. There are lots of examples online of people using it for time-lapse, slow-motion, and other video cleverness. You can also use the libraries we bundle with the camera to create effects.

You can read all the gory details about IMX219 and the Exmor R back-illuminated sensor architecture on Sony’s website, but suffice to say this is more than just a resolution upgrade: it’s a leap forward in image quality, colour fidelity, and low-light performance. It supports 1080p30, 720p60 and VGA90 video modes, as well as still capture. It attaches via a 15cm ribbon cable to the CSI port on the Raspberry Pi.

The camera works with all models of Raspberry Pi 1, 2, and 3. It can be accessed through the MMAL and V4L APIs, and there are numerous third-party libraries built for it, including the Picamera Python library. See the Getting Started with Picamera resource to learn how to use it.

The camera module is very popular in home security applications, and in wildlife camera traps.

There’s also an infrared version of the camera (called Pi NoIR) which gives you everything the regular Camera Module offers, with one difference: it doesn’t use an infrared filter. This gives you the ability to see in the dark with infrared lighting.

You can read more about camera module here.

Understanding the Raspberry PI Zero W board

You can read more about it here.

Signals and connections of the Raspberry PI Zero W board


Step by Step instruction

1. Removing the original flex cable from the Raspberry Pi camera module v2

  1. The Raspberry Pi camera module v2 comes with a flex cable that will not fit into the CSI camera connector on the Raspberry Pi Zero W board. 
  2. We will need to remove the flex cable from the Raspberry Pi camera module v2. Pull the black connector downwards.
  3. A loosened Raspberry Pi camera module v2 connector will look like this.
  4. With the Raspberry Pi camera module v2 connector loosened, you can then remove the flex cable from the Raspberry Pi camera module v2.

2. Connecting the Raspberry Pi Zero W board  to the Raspberry Pi camera module v2 with flex cable

  1. The Raspberry Pi Zero W board has a smaller camera port (CSI port) than a standard Raspberry Pi, so you will need a special camera cable with one narrower end to attach the camera for your wearable make. You can see the difference between the two cables below.
  2. The camera connector that comes with the Raspberry Pi Zero Official Case looks like this.
  3. Insert the wider end of the Raspberry Pi Zero W board camera connector between the clip and the camera, with the exposed metal connectors facing towards the front of the camera. Push the connector clip back up to clamp the connector in place.
  4. The fastened camera connector looks like this.
  5. To connect the camera cable to the Raspberry Pi Zero W board, we first loosen the clip of the CSI connector on the board.
  6. So the loosened clip will look like this.
  7. Insert the narrower end of the camera cable with the exposed metal connectors facing the underside of the Raspberry Pi Zero W board. 
  8. Push the clip back to secure the cable.

3. Inserting Raspberry Pi Zero W board with Raspberry Pi camera module v2 into the Rasberry Pi Zero official case

  1. The base of the Raspberry Pi Zero official case does not have a slot for the microSD card to be inserted to the Raspberry Pi Zero W board so we should insert the microSD card into the TF slot on the Raspberry Pi Zero W board before inserting the Raspberry Pi Zero W board into the base of the Raspberry Pi Zero official case.
  2. To insert the Raspberry Pi Zero W board into the base of the Raspberry Pi Zero official case, we tilt the board under the catch of the base.
  3. Push down the other side into the base of the Raspberry Pi Zero official case.
  4. Let's attach the Raspberry Pi Camera module v2 onto the camera lid of the Raspberry Pi Zero official case.
  5. Fit the Raspberry Pi camera module v2 firmly into the studs and camera hole of the camera lid.
  6. Then cover the camera lid to the base of the Raspberry Pi Zero official case.

Summary

We have learnt how to connect Raspberry PI camera module V2 with the Raspberry Pi Zero W board and install in Raspberry Pi Zero offitial case. 

Libraries in use

  • None

Script

  • None


Other projects of Acoptex.com

« Go back to category
Is this project fake? Report it!   
Recommend to a friend
Published at 16-08-2019
Viewed: 1806 times