Skip to content

Quick Start

Hardware


Connect the Camera Module to Jetson with Ribbon Cable

  1. Locate the camera connector (CSI). It’s on the side of the carrier board, opposite to the GPIO pins.

  2. Pull up on the plastic edges of the camera port. Do it gently to avoid pulling it off.

plastic edges pulled up jetson nano camera connector csi

  1. Push in the camera ribbon. Make sure the contacts are facing the heatsinks. Do not bend the flex cable, and make sure it’s firmly inserted into the bottom of the connector.

white camera ribbon cable contactsRibbon Cable Contacts – 15pin-15pin

white cable silver contacts facing heatsinksSilver Contacts facing inside to the heatsinks

white cable silver ribbon cable inserted into the bottom of the connectorRibbon cable fully inserted to the bottom of the CSI connector

  1. Push the plastic connector down. Do it while holding the flex cable until the connector is back in place.

Connect the Servo Motors

The metal base with servos and jumper wire are not included in the package.

Connect the 3-pin plug of the servo motors to the two sockets of the driver controller board.

  • The left socket is for the pan servo, and the right socket is for the tilt servo.

  • Note the color of the 3-pin plug. It’s brown, red and yellow from left to right.

Servo plug connection:

ptz1

Connect the driver controller board jumpers

The metal base with servos and jumper wire are not included in the package.

The jumpers of the driver controller board can be separated into 3 pairs, and they are mainly for two purposes: I2C control signals and power supplies.

  • The 1st pair connects to external power, with Pin#1 being Servo VCC and Pin#2 GND.
  • The 2nd pair connects to the RPi’s GPIO pins for power, with Pin#3 being 5V and Pin#4 GND.
  • The 3rd pair also connects to the Jetson’s GPIO pins for I2C, with Pin#5 being SCL and Pin#6 SDA.

Driver controller board jumpers connection:

ptz2

Please note that In this illustrator, the different colors of the jumper wires are just to make it easier to distinguish them from each other. The order of those colors varies from item to item, so it may not match the one you’ve received. Therefore, instead of its color, you should rely on the position of the wire to correctly connect the jumpers.

After you finish the hardware assemble process, refer to Picture 3 to review the connections you’ve made.

Connection Overview:

ptz3

Software


Supported Platforms and JetPack L4T versions


Please refer to the following doc for specific supported Platforms and JetPack versions:

Supported Platforms and JetPack Version - Arducam Camera for NVIDIA Jetson


For IMX219 PTZ Camera


  • Download the demo code
git clone https://www.github.com/arducam/MIPI_Camera.git

ptz4

  • Install Dependency
sudo apt install python-smbus
  • Enter the folder
cd MIPI_Camera/Jetson/JetsonNano_PTZ/
  • Run the demo code
python FocuserExample.py

ptz5

Focus Eample Demo

  1. Focuser.py
    • zoom-lens basic control component.
  2. AutoFocus.py
    • Provide two autofocus methods are available, depending on Focuser.py, opencv, picamera
    • Use the sudo apt-get install python-opencv command to install opencv.
  3. AutoFocusExample.py
    • Example of using autofocus, depending on AutoFocus.py
  4. FocuserExample.py
    • zoom-lens controller.

ptz6

For IMX477 PTZ Camera


Demo

Driver Installation

You can refer to Driver-for-imx477 to install driver.

Download the demo code

git clone https://www.github.com/arducam/MIPI_Camera.git

ptz7

Install Dependency

sudo apt install python-smbus

Enter the folder

cd MIPI_Camera/Jetson/JetsonNano_PTZ/

Run the demo code

python FocuserExample.py

ptz8