1. Home
  2. Docs
  3. Jetson Cameras
  4. Native Jetson Cameras – IMX219/IMX477
  5. IMX219 – PTZ Camera

IMX219 – PTZ Camera

Introduction

Arducam PT camera can move in two dimensions with 180 degrees horizontal and 145 degrees vertical movements. So it can be used to monitor places that should be covered by multiple ones commonly in the surveillance system.

Arducam PTZ cameras are the complete solution to turn your cameras into a fully functional surveillance camera that covers 360 degrees of space. With the software autofocus function, you can clearly focus on your target when zooming. The IRCUT control also helps both the daylight and night vision. ​​

Models in this Series

  • If you wanna an 8MP PTZ camera, B01678MP and Pan Tilt Digital Servo Kit are needed.
  • If you wanna an 8MP PT camera, a Raspberry Pi V2 camera or V2-Sized IMX219 camera and Arudcam Pan Tilt Platform are needed. (B0283  is an upgraded version of B0227 with improved bracket quality and a mini customized control board.)
  • If you wanna run two 8MP PT camera, get B0191PT.
B01678MP
B0283
B0227
B0191PT

Quick Start Guide

Hardware Setup

For B01678MP

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.
  1. 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 contacts
Ribbon Cable Contacts – 15pin-15pin
white cable silver contacts facing heatsinks
Silver Contacts facing inside to the heatsinks
white cable silver ribbon cable inserted into the bottom of the connector
Ribbon 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.

You can refer to Picture 1.

ptz camera servo connection
Picture 1: Servo plug connection
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.

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

You can refer to Picture 2.

HardwareConnectionJetson
Picture 2 : Driver controller board jumpers connection

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.

HardwareConnection pan tilt zoon camera raspberry pi
Picture 3: Connection Overview

For B0283

Upgraded Camera Pan Tilt Platform assembly
Assembling Steps
wiring
Wiring

For B0227

mini pt bracket
Assembling Steps

For B0191PT

Video Tutorial
wiring 1
Wiring

Using the Arducam PTZ Camera Example for B01678MP

Download the demo code

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

Install Dependency

sudo apt install python-smbus

Enter the folder

cd MIPI_Camera/Jetson/JetsonNano_PTZ/

Run the demo code

python FocuserExample.py
imx477 ptz
Focus Example 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.
IMAGE ALT TEXT

Using the Arducam PT Camera Example for B0283/B0227/B0191PT

Install dependencies

sudo apt update
sudo apt install python3-pip
sudo pip3 install adafruit-circuitpython-servokit

Clone the demo code

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

Enter the target Directory

cd PCA9685/example/Jetson

Run the demo

python3 ServoKitExample.py

Was this article helpful to you? Yes No 1