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.

شکل 1: سامنے view of the Raspberry Pi Camera Module V2 with its attached ribbon cable.
2. پیکیج کے مشمولات
- Raspberry Pi Camera Module V2 (8 Megapixel)
- 15cm Flexible Ribbon Cable
3. سیٹ اپ گائیڈ
Follow these steps to properly connect your Camera Module V2 to your Raspberry Pi board.
- اپنا Raspberry Pi تیار کریں: یقینی بنائیں کہ آپ کا Raspberry Pi پاور آف ہے اور کسی بھی پاور سورس سے منقطع ہے۔
- Locate the CSI Port: On your Raspberry Pi board, locate the CSI (Camera Serial Interface) port. This is typically a long, narrow connector.

شکل 2: پیچھے view of the camera module, highlighting the ribbon cable connector.
- Open the CSI Port Latch: Gently pull up the plastic latch on the CSI port. Do not force it, as it should open easily.
- 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+).

شکل 3: طرف view illustrating the connection of the ribbon cable to the camera module.
- 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.
- پاور آن: Reconnect power to your Raspberry Pi.
- Enable Camera Interface:
- Boot your Raspberry Pi.
- ٹرمینل ونڈو کھولیں۔
- دوڑو
sudo raspi-config. - Navigate to "Interface Options" -> "Camera" and enable it.
- Reboot your Raspberry Pi when prompted.

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)
- Capture a still image:
raspistill -o image.jpgThis command will capture an image and save it as 'image.jpg' in the current directory.
- ویڈیو ریکارڈ کریں:
raspivid -o video.h264 -t 10000This command will record a 10-second (10000 milliseconds) video and save it as 'video.h264'.
- پریview the camera feed:
raspistill -t 0This command will display a live preview from the camera until you press Ctrl+C.
4.2. Advanced Usage
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:
- دیکھ بھال کے ساتھ ہینڈل: The camera module and its ribbon cable are delicate. Avoid bending the ribbon cable sharply or applying excessive force to the module.
- لینس کو صاف رکھیں: Use a soft, lint-free cloth specifically designed for optical lenses to gently clean the camera lens if it becomes dusty or smudged. Do not use abrasive materials or harsh chemicals.
- ذخیرہ: When not in use, store the camera module in an anti-static bag or a protective enclosure to prevent dust accumulation and static discharge damage.
- ماحولیاتی حالات: Avoid exposing the module to extreme temperatures, high humidity, or direct sunlight for prolonged periods.
6 خرابیوں کا سراغ لگانا
| مسئلہ | ممکنہ وجہ | حل |
|---|---|---|
| Camera not detected / No output |
|
|
| Poor image quality / Out of focus |
|
|
| "Out of memory" errors |
|
|
7. وضاحتیں
| فیچر | تفصیل |
|---|---|
| سینسر | سونی IMX219 |
| قرارداد | 8 میگا پکسلز |
| پھر بھی تصویری حل | 3280 x 2464 پکسلز |
| ویڈیو موڈز | 1080p30, 720p60, 640x480p90 |
| لینس | فکسڈ فوکس |
| انٹرفیس | CSI (کیمرہ سیریل انٹرفیس) |
| طول و عرض | 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.





