Reference

The article offers comprehensive guidance on installing additional drivers for Jetson Nano versions below Jetpack 4.6, focusing on hardware setup and camera configuration for models like IMX219 and IMX477, ensuring seamless operation and testing of single and dual camera interfaces.

Driver

For versions below Jetpack 4.6 (excluding Jetpack 4.6), it is necessary to install additional drivers. After installing the drivers, it may interfere with the use of the original IMX219 camera. It is recommended to back up the system before installing the drivers.
Jetson Nano driver tutorial

Hardware installation

Requirements

  • Hardware
    • Jetson Nano
    • Telephoto Lens x1 (or FIT0829)
    • 12.3MP Camera Module x1
    • Wires

Connect the camera, lens and Jetson Nano correctly, then power on the Jetson Nano module.

Connection

Jetpack 4.6 version and above, the camera model is changed to IMX477.

Terminal Input

sudo /opt/nvidia/jetson-io/jetson-io.py

Choose "Configure Jetson Nano CSI Connector" -> "Configure for compatible hardware" -> Select the desired settings.

 Camera IMX219 Dual    Set both camera interfaces to IMX219 on Jetson Nano.                     
 Camera IMX477 Dual    Set both camera interfaces to IMX477 on Jetson Nano.                     
 Camera IMX477-A and IMX219-B  Set one camera interface to IMX477 and the other one to IMX219 on Jetson Nano.

Select "Save Pin changes" -> "Save and reboot to reconfigure pins" -> Press any key to restart.

For Jetpack versions below 4.6 (excluding Jetpack 4.6),

For versions below Jetpack 4.6 (excluding Jetpack 4.6), it is necessary to install additional drivers. After installing the drivers, it may interfere with the use of the original IMX219 camera. It is recommended to back up the system before installing the drivers.
Jetson Nano driver tutorial

  • Hardware Connection

    • Connect the camera ribbon cable with the metal side facing the heatsink to the camera interface on the Jetson Nano Developer Kit.
    • Power on the Jetson Nano.
  • Test the Camera

    • Open a terminal (press Ctrl+Alt+T shortcut to open the terminal) and enter the following command to test the camera:
DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=(string)NV12, framerate=(fraction)20/1' ! nvoverlaysink -e
  • Test Dual Cameras
    • If you want to test the dual cameras, you can add "sensor-id=x" to select the camera. x can be 0 or 1.
#测试video0
DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=(string)NV12, framerate=(fraction)20/1' ! nvoverlaysink -e
#测试video1
DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=(string)NV12, framerate=(fraction)20/1' ! nvoverlaysink -e
  • The "12" in NV12 is a number, not a letter.
  • The test image is output to an HDMI or DP screen, so make sure to connect a screen to the Jetson Nano before testing.

Was this article helpful?

TOP