NVIDIA Jetson AGX Orin Setup Guide | Device setup

NVIDIA Jetson AGX Orin Setup Guide

The Jetson AGX Orin from NVIDIA is a single-board computer that supports modern AI workloads and application development. Follow this guide to set up the Jetson AGX Orin Developer Kit to prepare your NVIDIA Jetson AGX Orin for viam-server installation.

Important

This guide assumes that you have a Jetson AGX Orin Developer Kit with a Jetson AGX Orin module and reference carrier board. If you want to use a different carrier board to incorporate your Orin into your machine, the type of carrier board you use will affect your hardware requirements.

CAUTION: Use 3.3V inputs and outputs

The GPIO pins on Jetson boards are rated 3.3V signals. 5V signals from encoders and sensors can cause damage to a pin. We recommend selecting hardware that can operate 3.3V signals or lower. For details, see your board’s specification.

Hardware requirements

You need the following hardware, tools, and software to install viam-server on a Jetson AGX Orin with the Jetson AGX Orin Developer Kit:

Initial setup with display attached:

  1. A Jetson AGX Orin Developer Kit
  2. A PC monitor (HDMI or DisplayPort)
  3. USB keyboard and mouse
  4. A DisplayPort to HDMI adapter/cable, to connect the Orin to the monitor
  5. USB Type-C power supply, to power the Orin (included with the AGX Orin Developer Kit)
  6. (Optional) Ethernet cable, to connect the Orin to the internet without Wifi access

Initial setup in headless mode:

  1. A Jetson AGX Orin Developer Kit
  2. An internet-connected Windows, Linux, or macOS computer
  3. A way to connect the computer to the Orin (for example, the USB Type-A to USB Type-C Cable included with the AGX Orin Developer Kit) (Optional) If your computer doesn’t have a USB Type-A port, you may need to attach a USB-C hub or similar device to your computer to connect to the Orin
  4. USB Type-C power supply, to power the Orin (included with the AGX Orin Developer Kit)
  5. (Optional) Ethernet cable, to connect the Orin to the internet without Wifi access

Jetson Orin setup guide

Follow the instructions in Getting Started with Jetson AGX Orin Developer Kit to boot up your Orin for the first time.

If you have already booted up your Orin, start with “Step 2 - Install JetPack Components” to make sure you have installed the latest NVIDIA JetPack components.

Note

Some vision services in the registry require you to install Jetpack 6 on your Jetson AGX Orin. If you intend to use GPIO, however, we recommend installing Jetpack 5 on your Jetson AGX Orin.

Look at the Troubleshooting section below for help navigating these instructions. Once you have reached Next Steps, return to the Viam docs.

Tip: viam-server installation with curl

If curl is not installed on your Orin, run sudo apt install curl before downloading the viam-server binary. If this command fails, try using wget https://storage.googleapis.com/packages.viam.com/apps/viam-server/viam-server-latest-aarch64.AppImage to download the viam-server binary.

Camera setup

  1. Install E-Con Systems e-CAM20_CUOAGX AR0234 driver. Consult the instructions you received when purchasing your device for more information.
  2. Ensure the driver has successfully installed by running sudo dmesg | grep ar0234. The output should include ar0234 Detected Ar0234 sensor.
  3. Connect the AR0234 camera module and daughterboard to the J509 port located at the bottom of the Developer Kit.
  4. Configure the camera as a webcam.

Serial communication protocol tips

To change the pins that are in use for modes of serial communication, launch jetson-io.py with the following commands:

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

In the interactive menu that opens, select Configure Jetson 40 Pin Header and Configure header pins manually to select and deselect pins to enable use. For a Jetson AGX Orin, reference the following:

Data Sheet ID GPIO Header Pin Viam Bus ID jetson-io.py ID /dev Path ID Notes
I2C_GP2_DAT, I2C_GP2_CLK 3, 5 7 i2c2 /dev/i2c-2
I2C_GP5_DAT, I2C_GP5_CLK 27, 28 1 i2c8 /dev/i2c-8
SPI1_DOUT, SPI1_DIN, SPI1_SCK, SPI1_CS0, SPI1_CS1 19, 21, 23, 24, 26 0 spi1 /dev/spidev0.0, /dev/spidev0.1 Must be enabled to use SPI bus, must add spidev to /etc/modules

Note that I2C buses do not need to be configured through jetson-io.py. See NVIDIA’s documentation on Configuring the Jetson Expansion Headers for more information.

Next steps

You have now installed an operating system on your Jetson board. To use your Jetson board, follow the setup guide:

[Set up your first machine
\ Create a machine in the Viam app and install Viam on your compute device.](https://docs.viam.com/set-up-a-machine/first-machine/)

Troubleshooting

Setup tips

Install curl

If curl is not installed on your Orin, run sudo apt install curl before downloading the viam-server binary. If this command fails, try using wget https://storage.googleapis.com/packages.viam.com/apps/viam-server/viam-server-stable-aarch64.AppImage to download the viam-server binary.

You can find additional assistance in the Troubleshooting section.

You can also ask questions in the Community Discord and we will be happy to help.