Raspberry Pi RPI-CAM-V2

Raspberry Pi Camera Module V2 User Manual

Model: RPI-CAM-V2

1. บทนำ

The Raspberry Pi Camera Module V2 is a high-quality 8-megapixel Sony IMX219 image sensor custom-designed add-on board for Raspberry Pi. It is capable of taking still photographs and recording full 1080p30, 720p60, and 640x480p90 video. This module connects to the Raspberry Pi via a short flexible ribbon cable to the CSI (Camera Serial Interface) port. It is ideal for various projects, including home security, wildlife monitoring, and time-lapse photography.

Raspberry Pi Camera Module V2 with ribbon cable

รูปที่ 1 : ด้านหน้า view of the Raspberry Pi Camera Module V2 with its attached ribbon cable.

2. เนื้อหาบรรจุภัณฑ์

3. คู่มือการติดตั้ง

Follow these steps to properly connect your Camera Module V2 to your Raspberry Pi board.

  1. เตรียม Raspberry Pi ของคุณให้พร้อม: โปรดตรวจสอบให้แน่ใจว่า Raspberry Pi ของคุณปิดเครื่องและถอดปลั๊กออกจากแหล่งจ่ายไฟแล้ว
  2. Locate the CSI Port: On your Raspberry Pi board, locate the CSI (Camera Serial Interface) port. This is typically a long, narrow connector.
    Back of Raspberry Pi Camera Module V2 showing connector

    รูปที่ 2: ด้านหลัง view of the camera module, highlighting the ribbon cable connector.

  3. Open the CSI Port Latch: Gently pull up the plastic latch on the CSI port. Do not force it, as it should open easily.
  4. Insert the Ribbon Cable: Insert the ribbon cable from the camera module into the CSI port. Ensure the silver contacts on the ribbon cable are facing towards the CSI port latch (i.e., towards the DSI port on a Raspberry Pi 3/4, or towards the Ethernet port on a Raspberry Pi 2/B+).
    ด้านข้าง view of Raspberry Pi Camera Module V2 connected to ribbon cable

    รูปที่ 3: ด้านข้าง view illustrating the connection of the ribbon cable to the camera module.

  5. Close the Latch: Gently push down the plastic latch on the CSI port to secure the ribbon cable in place. Ensure the cable is firmly seated and straight.
  6. เปิดเครื่อง: Reconnect power to your Raspberry Pi.
  7. เปิดใช้งานอินเทอร์เฟซกล้อง:
    • Boot your Raspberry Pi.
    • เปิดหน้าต่างเทอร์มินัล
    • วิ่ง sudo raspi-config.
    • Navigate to "Interface Options" -> "Camera" and enable it.
    • Reboot your Raspberry Pi when prompted.
Raspberry Pi Camera Module V2 with flexible ribbon cable

Figure 4: The camera module with its flexible ribbon cable, demonstrating its adaptability for various setups.

4. คู่มือการใช้งาน

Once the camera module is connected and enabled, you can use various commands and applications to capture images and videos.

4.1. Basic Commands (Raspbian/Raspberry Pi OS)

4.2. การใช้งานขั้นสูง

For more advanced control, consider using the Picamera Python library, which offers extensive functionality for image and video capture, including custom resolutions, frame rates, and effects. Many third-party applications like OctoPrint (for 3D printer monitoring) and MotionEyeOS (for surveillance) also integrate with the Raspberry Pi Camera Module.

5. การบำรุงรักษา

The Raspberry Pi Camera Module V2 requires minimal maintenance. Follow these guidelines to ensure its longevity:

6 การแก้ไขปัญหา

ปัญหาสาเหตุที่เป็นไปได้สารละลาย
Camera not detected / No output
  • Ribbon cable incorrectly connected.
  • Camera interface not enabled in raspi-config.
  • Faulty ribbon cable or camera module.
  • Ensure ribbon cable is fully inserted and correctly oriented (silver contacts facing the latch).
  • วิ่ง sudo raspi-config, go to Interface Options -> Camera, and enable it. Reboot.
  • Try a different ribbon cable or test the module on another Raspberry Pi if available.
Poor image quality / Out of focus
  • เลนส์สกปรก.
  • Incorrect focus (for adjustable lens models).
  • แสงสว่างไม่เพียงพอ
  • Clean the lens gently with a microfibre cloth.
  • The V2 module has a fixed focus lens, but ensure the subject is within the optimal focal range.
  • Provide adequate lighting for your scene.
"Out of memory" errors
  • GPU memory split is too low.
  • วิ่ง sudo raspi-config, go to Performance Options -> GPU Memory, and increase the value (e.g., to 128MB or higher). Reboot.

7. ข้อมูลจำเพาะ

คุณสมบัติรายละเอียด
เซ็นเซอร์โซนี่ IMX219
ปณิธาน8 ล้านพิกเซล
ความละเอียดภาพนิ่ง3280 x 2464 พิกเซล
โหมดวิดีโอ1080p30, 720p60, 640x480p90
เลนส์โฟกัสคงที่
อินเทอร์เฟซCSI (Camera Serial Interface)
ขนาด0.98 x 0.94 x 0.35 นิ้ว (ประมาณ 25 x 24 x 9 มม.)
น้ำหนัก0.106 ออนซ์ (ประมาณ 3 กรัม)
ส่วนประกอบที่รวมอยู่15cm flexible ribbon cable, Sony IMX219 image sensor, fixed-focus lens

8. การรับประกันและการสนับสนุน

The Raspberry Pi Camera Module V2 is designed and manufactured by Raspberry Pi. For specific warranty information, please refer to the official Raspberry Pi webไซต์หรือผู้ค้าปลีกที่คุณซื้อผลิตภัณฑ์มา

For technical support, community forums, and extensive documentation, please visit the official Raspberry Pi documentation webเว็บไซต์: raspberrypi.com/documentation/computers/camera.html

Community support is also available through various online forums and communities dedicated to Raspberry Pi projects.

เอกสารที่เกี่ยวข้อง - RPI-CAM-V2

พรีview Raspberry Pi Compute Module 5: Transitioning from Compute Module 4
Comprehensive guide to transitioning from Raspberry Pi Compute Module 4 to Compute Module 5, detailing hardware, software, and compatibility changes for embedded applications.
พรีview Raspberry Pi Camera User Manual - Setup and Usage Guide
Comprehensive user manual for the Raspberry Pi Camera Module, covering basic operations, module setup, connection, enabling the camera via raspi-config, and instructions for taking photos and shooting videos using command-line tools.
พรีview คู่มือการติดตั้งการรวมโมดูล Raspberry Pi RM0
คู่มือนี้ให้ข้อมูลที่จำเป็นสำหรับการรวมโมดูลวิทยุ Raspberry Pi RM0 เข้ากับผลิตภัณฑ์โฮสต์ ครอบคลุมถึงคำอธิบายโมดูล การวางเสาอากาศ การปฏิบัติตามข้อบังคับ (FCC และ ISED Canada) และข้อกำหนดการติดฉลากผลิตภัณฑ์ขั้นสุดท้าย
พรีview Raspberry Pi สำหรับนักวิทยุสมัครเล่น: การสร้างและตั้งโปรแกรมสถานีวิทยุสมัครเล่นด้วยเครื่องมือและอุปกรณ์วัดที่ใช้ Raspberry Pi
คู่มือนี้จะสำรวจวิธีการใช้ Raspberry Pi สำหรับวิทยุสมัครเล่น โดยครอบคลุมถึงรุ่นต่างๆ ของ RPi การติดตั้งระบบปฏิบัติการ การใช้งานผ่านบรรทัดคำสั่ง แอปพลิเคชันบนเดสก์ท็อป การเขียนโปรแกรม GPIO และโครงการวิทยุต่างๆ เช่น เครื่องกำเนิดสัญญาณ เครื่องรับส่งสัญญาณ และแอปพลิเคชัน SDR
พรีview Raspberry Pi OTP: คู่มือการใช้หน่วยความจำแบบตั้งโปรแกรมได้ครั้งเดียวบนคอมพิวเตอร์บอร์ดเดียว
เรียนรู้วิธีการอ่าน ตั้งค่า และใช้งานหน่วยความจำแบบตั้งโปรแกรมได้ครั้งเดียว (OTP) บนคอมพิวเตอร์บอร์ดเดียว (SBC) ของ Raspberry Pi คู่มือนี้ครอบคลุมรูปแบบ OTP การใช้งาน การตั้งโปรแกรมสำหรับลูกค้า คุณสมบัติด้านความปลอดภัย และการจัดการคีย์ส่วนตัว
พรีview คู่มือการใช้งานตัวแปลง GPIO สำหรับ Raspberry Pi: การใช้งาน RPi.GPIO กับ Raspberry Pi 5 และระบบปฏิบัติการ Bookworm OS
คู่มือฉบับสมบูรณ์สำหรับการใช้งานซอฟต์แวร์ GPIOconverter บน Raspberry Pi 5 และ Bookworm OS เรียนรู้วิธีการปรับแต่งโค้ด RPi.GPIO ติดตั้ง GPIOconverter และแก้ไขปัญหาทั่วไป