Page tree

Contact: sales@inno-maker.com / support@inno-maker.com /
Download: wiki.inno-maker.com

Skip to end of metadata
Go to start of metadata

Note:

  • This version camera support jetson nano and raspberry pi computer module;
  • We have the same hardware which support raspberry pi4/pi3 b+/pi3 b/pi2 mother board,Please contact with : sales@inno-maker.com;



Quick Start For Jetson Nano

Step1,Connect As Below Picture

Step2,Download Config file

  • 2.1 Check video status
    • $ ls /dev/video*

#You'll see video0 and video1 as below picture

Step3, Install Config file

  • $ sudo chmod 664 /var/nvidia/nvcam/settings/camera_overrides.isp
  • sudo chown root:root /var/nvidia/nvcam/settings/camera_overrides.isp

Step4,Test Cameras

  • 4.1 Get video0 working
    • DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=3280, height=2464, format=(string)NV12, framerate=(fraction)20/1' ! nvoverlaysink -e

  • 4.2 Get video1 working
    • $ DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM), width=3280, height=2464, format=(string)NV12, framerate=(fraction)20/1' ! nvoverlaysink -e

Quick Start For Raspberry PI Computer Module

Step1, Get Device Tree files

  • $sudo raspi-config                                                                          #Enable camera as below picture
  • $sudo git clone https://gitee.com/inno-maker/cam-imx219.git
  • $cd cam-imx219/dts-for-rpi

Step2, Hardware Connect(Take raspberry pi CM Board for example)

use cam1 only

  1. Attach CD1_SDA (J6 pin 37) to GPIO0 (J5 pin 1).
  2. Attach CD1_SCL (J6 pin 39) to GPIO1 (J5 pin 3).
  3. Attach CAM1_IO1 (J6 pin 41) to GPIO2 (J5 pin 5).
  4. Attach CAM1_IO0 (J6 pin 43) to GPIO3 (J5 pin 7).

use cam0 and cam1 dual camera

  1. Attach CD0_SDA (J6 pin 45) to GPIO28 (J6 pin 1).
  2. Attach CD0_SCL (J6 pin 47) to GPIO29 (J6 pin 3).
  3. Attach CAM0_IO1 (J6 pin 49) to GPIO30 (J6 pin 5).
  4. Attach CAM0_IO0 (J6 pin 51) to GPIO31 (J6 pin 7).

Step3, enable cam by transfer dts file into bin file

enable cam1 only

  • $sudo dtc -I dts -O dtb -o /boot/dt-blob.bin dt-blob-cam1.dts
  • $sudo reboot

enable dual cam

  • $sudo dtc -I dts -O dtb -o /boot/dt-blob.bin dt-blob-dualcam.dts
  • $sudo reboot

For custom  Use

More Information Please Refer To Below Link:

  • Attaching a Raspberry Pi Camera Module to the Compute Module IO Board

https://www.raspberrypi.org/documentation/hardware/computemodule/cmio-camera.md

  • Changing the default pin configuration

https://www.raspberrypi.org/documentation/configuration/pin-configuration.md

  • Compute Module Attaching and Enabling Peripherals Guide

https://www.raspberrypi.org/documentation/hardware/computemodule/cm-peri-sw-guide.md

  • No labels