Skip to content

Quick start

Hardware


Connect the ribbon cable

Wire_Connection1 Wire_Connection2 Wire_Connection3
Connect to the Camera Board Connect to the Camarrary HAT Connect to the Camarrary HAT
Wire_Connection1 Wire_Connection2 Wire_Connection3
Open the Jetson Nano connector (any one) in the direction of the arrow Insert the ribbon cable into the connector with the contact side facing inward Close the connector

Plug Camarrary HAT into Jetson Nano GPIO Header

camarray-1

STEP1

camarray-2

STEP2

Note

In addition to the above power supply mode, you can also choose to supply via USB

camarray-3

STEP1

camarray-4

STEP2

Final picture

camarray-5

Software


For Native camera

There is two types of native camera, respectively are imx219 and imx477

Product Image SKU Sensor Resolution Pin/Connect Type Features Lens Type Field of View(HxV) Focus Type IR Sensitivity
B0347N IMX477 12MP 15/Bottom Stereo Camera M12 75°(H) x 56°(V) Manual Focus 650nm IR-cut Filter
B0396 IMX219 8MP Quad Camera Stock Lens 62.2° (H) x 48.8° (V) Fixed Focus
B0265N IMX477 12MP 15/Bottom Stereo Camera CS 65°(H) x  48.7°(V) Manual Focus 650nm IR-cut filter
B0397 12MP Quad Camera M12 75°(H) x 56°(V)
B0217J8 IMX219 8MP 15/Bottom Stereo Camera Stock Lens 62.2° (H) x 48.8° (V) Fixed Focus 650nm IR-cut filter

Note

If you do not find your camera please contact us.(support@arducam.com)

IMX219

Step 1. Check whether the camera is detected

ls /dev/video0

Check-whether-the-camera-is-detected1

Step 2. Preview the camera feed in real time

21fps@3264×2464

FRAMERATE=21 
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=3264,height=2464,framerate=$FRAMERATE/1" ! nvvidconv ! "video/x-raw(memory:NVMM),width=1432,height=1080,framerate=$FRAMERATE/1" ! nvoverlaysink

8MP-stereo-camera-jetson-preview1

8MP-stereo-camera-jetson-preview2-1024x577

28fps@3264×1848

FRAMERATE=28 
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=3264,height=1848,framerate=$FRAMERATE/1" ! nvvidconv ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvoverlaysink

8MP-stereo-camera-jetson-preview-28fps-1024x576

30fps@1920×1080

FRAMERATE=30
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvvidconv ! nvoverlaysink

8MP-stereo-camera-jetson-preview-30fps@1920×1080

60fps@1280×720

FRAMERATE=60 
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=1280,height=720,framerate=$FRAMERATE/1" ! nvvidconv ! nvoverlaysink

8MP-stereo-camera-jetson-preview-60fps@1280×720

120fps@1280×720

FRAMERATE=120 
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=1280,height=720,framerate=$FRAMERATE/1" ! nvvidconv ! nvoverlaysink

8MP-stereo-camera-jetson-preview-120fps@1280×720

IMX477

Step1. Download automatic installation script

cd ~
wget https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.3/install_full.sh

Step2. Install the driver

chmod +x install_full.sh
./install_full.sh -m imx477_stereo

reboot

Enter y to reboot your device.

Step3. Check whether the camera is detected

ls /dev/video0

Check-whether-the-camera-is-detected1

Step4. Preview the camera feed in real time

13fps@4032×3040

Note

4032×3040 exceeds the system resolution and requires zooming to display.

FRAMERATE=13 # Framerate can go from 2 to 13 for 4032x3040 mode
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=4032,height=3040,framerate=$FRAMERATE/1" ! nvvidconv ! "video/x-raw(memory:NVMM),width=1432,height=1080,framerate=$FRAMERATE/1" ! nvoverlaysink

Preview-the-camera-feed-in-real-time2

4032×30402@13fps

60fps@1920×1080

FRAMERATE=60 # Framerate can go from 2 to 60 for 1920x1080 mode
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvvidconv ! nvoverlaysink

1920×1080-1024x575

30fps@2592×1944

FRAMERATE=30 # Framerate can go from 2 to 30 for 2592x1944 mode
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=2592,height=1944,framerate=$FRAMERATE/1" ! nvvidconv ! "video/x-raw(memory:NVMM),width=1440,height=1080,framerate=$FRAMERATE/1" ! nvoverlaysink

2592×1944-1-1024x575

40fps@2560×1440

FRAMERATE=40 # Framerate can go from 2 to 40 for 2560x1440 mode
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! "video/x-raw(memory:NVMM),width=2560,height=1440,framerate=$FRAMERATE/1" ! nvvidconv ! "video/x-raw(memory:NVMM),width=1920,height=1080,framerate=$FRAMERATE/1" ! nvoverlaysink

2560×1440-1024x576

Resolution Maximum Frame Rate
4032×3040 13
1920×1080 60
2592×1944 30
2560×1440 40

For Jetvariety camera

Product Image SKU Sensor Resolution Pin/Connect Type Features Lens Type Field of View(HxV) Focus Type IR Sensitivity
B0331 OV9782 1MP 15/Bottom Color Global Shutter Quad Camera M12 75°(H) x 46.8°(V) Manual Focus without IR-cut filter
Image B0267 OV9281 1MP 15/Bottom Mono Global Shutter Quad Camera M12 75°(H) x 46.8°(V) Manual Focus without IR-cut filter
Image B0266 Mono Global Shutter Stereo Camera 70°(H) x 43.75°(V)
Image B0263 OV9281 1MP 15/Bottom Mono Global Shutter Stereo Camera M12 70°(H) x 43.75°(V) Manual Focus without IR-cut filter
B0264 OV2311 2MP 83°(H) x 67.5°(V)
Image B0217J5 OV5647 5MP Stereo Camera Stock Lens 54° (H) x 41° (V) Fixed Focus 650nm IR-cut filter
Image B0388 IMX519 16MP 15/Bottom Quad-Camera Kit Stock Lens 66°(H) x 49.5°(V) Motorized Focus 650nm IR-cut filter

Note

If you do not find your camera please contact us.(support@arducam.com)

For IMX519 Quad-Camera Kit

Sensor Optical Size Resolution
IMX519 1/2.53'' 16MP

Step1. Download the bash script

cd ~
wget https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.3/install_full.sh
Step2. Install the Driver

chmod +x install_full.sh
./install_full.sh -m imx519

For Other Jetvariety Cameras

Sensor Optical Size Resolution
OV9782 1/4'' 1MP
OV9281 1/4'' 1MP
OV2311 1/2.9'' 2MP
OV5647 1/4'' 5MP

Step1. Download automatic installation script

wget https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.3/install_full.sh

Step2. Install the driver

chmod +x install_full.sh
./install_full.sh -m arducam

reboot

Enter y to reboot your device.

How to use the camera

1. install the v4l2 python module

for python 3.x:

wget https://bootstrap.pypa.io/get-pip.py  

python1

After you type the following command and press【Enter】, it will take several minutes to finish downloading.

sudo python3 get-pip.py

python2

python3

sudo pip3 install v4l2-fix

python4

Note

The V4L2 of Python3.x has a known bug that requires a manual fix, and the following error occurs when you import the v4l2 module into Python3.x:

python5

You can refer to this link to fix this bug:

https://bugs.launchpad.net/python-v4l2/+bug/1664158

2. Download the demo code

git clone https://github.com/ArduCAM/MIPI_Camera.git

python6

python7

3. Check whether the camera is detected

ls /dev/video0

python8

4. Check the video format supported

v4l2-ctl --list-formats-ext

5. Display images in real time

If accessing Jetson via remote software (e.g., MobaXterm), the following command (executed only once) is required to display the image.

export DISPLAY=:0.0

Enter program directory:

cd MIPI_Camera/Jetson/Jetvariety/example/

Example as OV2311 Stereo Camera:

#RAW8

python3 arducam_displayer.py -f GREY --width 3200 --height 1300 -d 0 --fps

#RAW10

python3 arducam_displayer.py -f Y16 --width 3200 --height 1300 -d 0 --fps

GREY for RAW8 and Y16 for RAW10.

​-width and -height indicate the width and height of the input image.

–fps means to display the current frames. If you don’t want to display frames, you can remove this command parameter.

For example, execute the following command:

python3 arducam_displayer.py -f GREY --width 3200 --height 1300 -d 0 --fps

The command line will refresh the display of frames in real time.

python9

Press Ctrl+C to exit image display.

Note

Display resolution settings may affect the frames displayed.