Arducam OV5647

Arducam 5MP OV5647 Camera Module for Raspberry Pi User Manual

Model: OV5647

1. Uvod

The Arducam 5MP OV5647 Camera Module is a high-definition video camera designed for various Raspberry Pi models, including Model A, B, B+, 2, 3, 3B+, 4, and 5. It features a 5-megapixel Omnivision OV5647 sensor with a fixed-focus lens, capable of capturing still pictures at 2592 x 1944 resolution and video at 1080p. This module connects to the Raspberry Pi via the dedicated MIPI Camera Serial Interface (CSI) connector, offering a compact and efficient solution for imaging projects.

2. Sigurnosne informacije

  • Handle the camera module with care to avoid damage to the lens or circuit board.
  • Ensure the Raspberry Pi is powered off before connecting or disconnecting the camera module.
  • Avoid touching the sensor or lens surface directly to prevent smudges or scratches.
  • Keep the module away from moisture, extreme temperatures, and static electricity.
  • Do not use excessive force when inserting the FPC cable into the CSI connector.

3. Sadržaj paketa

Provjerite da li se sve stavke nalaze u vašem paketu:

  • 1x Arducam 5MP OV5647 Camera Module
  • 1x 15cm 15-pin to 15-pin FPC Cable
  • 1x 15cm 15-pin to 22-pin FPC Cable (for Raspberry Pi models requiring a 22-pin connector)
  • 1x USB Cable (if included in your specific kit)
Arducam 5MP OV5647 Camera Module with short FPC cable

Image: Arducam 5MP OV5647 Camera Module with a short flexible printed circuit (FPC) cable attached.

Arducam 5MP OV5647 Camera Module with long FPC cable

Image: Arducam 5MP OV5647 Camera Module with a longer flexible printed circuit (FPC) cable attached, showing the full length of the cable.

4. Upute za postavljanje

4.1 Povezivanje hardvera

  1. Power Off Raspberry Pi: Before connecting the camera, ensure your Raspberry Pi is completely powered off and disconnected from its power source.
  2. Locate CSI Connector: Identify the CSI (Camera Serial Interface) connector on your Raspberry Pi board. This is typically a long, narrow slot.
  3. Otvori konektor: Gently pull up the plastic clip on the top edge of the CSI connector.
  4. Insert FPC Cable: Carefully insert the FPC cable from the camera module into the CSI connector. Ensure the silver contacts on the cable are facing the correct direction (towards the HDMI port on most Raspberry Pi models). Use the appropriate FPC cable (15-pin or 22-pin) for your specific Raspberry Pi model.
  5. Zatvori konektor: Push the plastic clip back down to secure the FPC cable in place.
  6. Uključeno: Reconnect the power to your Raspberry Pi.
Arducam 5MP OV5647 Camera Module connected to a Raspberry Pi board

Image: The Arducam 5MP OV5647 Camera Module connected to a Raspberry Pi board via its FPC cable, illustrating the proper hardware connection.

Arducam 5MP OV5647 Camera Module connected to a Raspberry Pi Zero

Image: The Arducam 5MP OV5647 Camera Module connected to a Raspberry Pi Zero board using a different, narrower FPC cable. Note: This cable for Raspberry Pi Zero is typically not included with the standard module and must be purchased separately.

4.2 Konfiguracija softvera

After connecting the hardware, you need to enable and configure the camera module in your Raspberry Pi's operating system.

  1. Omogući interfejs kamere:
    • Open a terminal on your Raspberry Pi.
    • Pokrenite naredbu: sudo raspi-config
    • Navigirajte do Opcije interfejsa -> Kamera i omogućite ga.
    • Ponovo pokrenite Raspberry Pi kada se to od vas zatraži.
  2. Edit config.txt for OV5647: For optimal performance and detection, it is recommended to manually configure the config.txt file.
    • Otvorite config.txt file using a text editor: sudo nano /boot/config.txt
    • Locate the line camera_auto_detect=1 i promenite ga u camera_auto_detect=0.
    • Ispod [all] section, add the line: dtoverlay=ov5647
    • Save the changes (Ctrl+O, then Enter for nano) and exit the editor (Ctrl+X).
    • Ponovo pokrenite Raspberry Pi: sudo reboot
Note on editing config.txt for OV5647 camera module

Image: A visual note detailing the required changes to the Raspberry Pi's config.txt file for the OV5647 camera module, specifically changing 'camera_auto_detect' and adding 'dtoverlay=ov5647'.

Arducam 5MP OV5647 Camera Module with power indicator highlighted

Image: The Arducam 5MP OV5647 Camera Module with a red dashed circle highlighting the power indicator LED (D1) on the circuit board.

5. Uputstvo za upotrebu

Once the camera module is connected and configured, you can use various tools to capture images and videos.

5.1 Basic Usage with libcamera (Raspberry Pi OS Bookworm or newer)

  • Take a still picture:libcamera-still -o test.jpg
  • Snimi video:libcamera-vid -t 10000 -o test.h264 (records for 10 seconds)
  • Preview prijenos s kamere:libcamera-hello

5.2 Basic Usage with raspistill/raspivid (Legacy Raspberry Pi OS Bullseye or older)

  • Take a still picture:raspistill -o image.jpg
  • Snimi video:raspivid -o video.h264 -t 10000 (records for 10 seconds)
  • Preview prijenos s kamere:raspistill -t 0

For more advanced options and parameters, refer to the official Raspberry Pi camera documentation online. The camera supports a maximum still picture resolution of 2592 x 1944 and video resolution of 1080p at 30fps.

6. Održavanje

  • Čišćenje sočiva: Koristite meku krpu od mikrovlakana koja ne ostavlja dlačice, posebno dizajniranu za optiku, kako biste nježno očistili sočivo. Izbjegavajte upotrebu abrazivnih materijala ili jakih hemikalija.
  • Skladištenje: When not in use, store the camera module in an anti-static bag or a protective case to prevent dust accumulation and physical damage.
  • Upravljanje kablovima: Ensure the FPC cable is not sharply bent or crimped, as this can damage the internal conductors.
  • Uslovi okoline: Operate and store the camera within recommended temperature and humidity ranges to prolong its lifespan.

7. Otkrivanje problema

  • Kamera nije otkrivena:
    • Ensure the FPC cable is correctly inserted into both the camera module and the Raspberry Pi's CSI connector, with the silver contacts facing the correct direction.
    • Verify that the camera interface is enabled in raspi-config i da je config.txt modifications (as described in Section 4.2) have been applied and the Pi rebooted.
    • Check if the correct FPC cable (15-pin or 22-pin) is being used for your specific Raspberry Pi model.
    • Test the camera on another Raspberry Pi if available, or try a different FPC cable to rule out component failure.
  • Dim or Poor Image Quality:
    • Ensure adequate lighting in the environment. This camera module performs best in well-lit conditions.
    • Clean the camera lens gently with a microfiber cloth.
    • The OV5647 module has a fixed-focus lens. Ensure your subject is within the optimal focus range (1m to infinity).
    • Update your Raspberry Pi OS to the latest version to ensure you have the most recent camera drivers and software.
  • Lens Fell Off / Physical Damage:
    • Physical damage, such as a detached lens, typically indicates a manufacturing defect or improper handling. Contact Arducam support for assistance.

8. Specifikacije

FeatureOpis
SenzorOmnivision OV5647, 5 Megapixels
Rezolucija mirne slike2592 x 1944 piksela
Maksimalna video rezolucija1080p (1920x1080) pri 30 sličica u sekundi
Polje of View54 x 41 stepeni
Fixed Focus Range1 metar do beskonačnosti
InterfaceMIPI Camera Serial Interface (CSI)
Dimenzije0.94 x 2.36 x 0.98 inches (approx. 24mm x 25mm for the board)
Težina0.32 unce
KompatibilnostRaspberry Pi Model A, B, B+, 2, 3, 3B+, 4, 5 (NOT for Pi Zero without specific cable)
Arducam 5MP OV5647 Camera Module dimensions

Image: The Arducam 5MP OV5647 Camera Module with dimensions indicated, showing the board size of approximately 25mm x 24mm.

9. Garancija i podrška

Arducam products are designed for reliability and performance. For warranty information, technical support, or further assistance, please visit the official Arducam webweb-mjesto ili direktno kontaktirajte njihovu korisničku službu.

Official Arducam Webstranica: www.arducam.com

Povezani dokumenti - OV5647

Preview ArduCam OV5647 Mini modul kamere za Raspberry Pi: Kratki vodič i specifikacije
Istražite ArduCam OV5647 Mini Camera Module za Raspberry Pi. Ovaj vodič pokriva uvod, varijacije modela, uobičajene specifikacije i brze upute za postavljanje hardvera i softvera pomoću libcamera i raspistill.
Preview Arducam ultra širokokutna riblje oko 5MP OV5647 kamera za Raspberry Pi - Kratki vodič
Sveobuhvatni vodič za Arducam Ultra Wide Angle Fisheye 5MP OV5647 modul kamere za Raspberry Pi. Obuhvata specifikacije, podešavanje hardvera i konfiguraciju softvera pomoću libcamera i raspistill za Raspberry Pi OS Bullseye i Legacy.
Preview Arducam 5MP modul kamere za Raspberry Pi s motoriziranim fokusom
Uputstvo za upotrebu za Arducam 5MP modul kamere (SKU: B0176) sa programski upravljivim motorizovanim objektivom sa podesivim fokusom za Raspberry Pi. Uključuje specifikacije, vodič za povezivanje, podešavanje softvera i rješavanje problema.
Preview Arducam CSI-na-HDMI adapter komplet za Raspberry Pi kamere: Vodič za instalaciju i korištenje
Sveobuhvatan vodič za instaliranje i korištenje Arducam CSI-na-HDMI adapter kompleta s Raspberry Pi kamerama, koji pokriva postavljanje, kompatibilnost i sigurnosne mjere.
Preview ArduCAM-Mini-5MP-Plus OV5642 Vodič za korisnike modula kamere
Korisnički vodič za ArduCAM-Mini-5MP-Plus OV5642 modul kamere, s detaljnim opisom njegovih karakteristika, specifikacija, definicija pinova, funkcija i mehaničkih dimenzija. Ovaj 5MP SPI modul kamere kompatibilan je s raznim platformama poput Arduina i Raspberry Pi-ja.
Preview Arducam 8MP IMX219 modul kamere za Raspberry Pi - Kratki vodič
Ovaj vodič pruža osnovne informacije za postavljanje i korištenje Arducam 8MP IMX219 modula kamere s Raspberry Pi-jem, pokrivajući povezivanje hardvera, konfiguraciju softvera i osnovne operacije.