

The GPIO pin header (J41) is a General Purpose Input/Output interface designed by Nvidia for the Jetson Orin Nano. This 40-pin header provides a versatile way to connect external devices, sensors, and modules to the Jetson Orin Nano, enabling input and output operations for a wide range of applications. It is compatible with standard GPIO peripherals and supports various communication protocols such as I2C, UART, and SPI.








The J41 GPIO pin header follows a 40-pin layout, similar to the Raspberry Pi GPIO header. Below is the pinout table:
| Pin Number | Pin Name | Function/Description | Voltage Level |
|---|---|---|---|
| 1 | 3.3V | Power Supply (3.3V) | 3.3V |
| 2 | 5V | Power Supply (5V) | 5V |
| 3 | I2C SDA | I2C Data Line | 3.3V |
| 4 | 5V | Power Supply (5V) | 5V |
| 5 | I2C SCL | I2C Clock Line | 3.3V |
| 6 | GND | Ground | 0V |
| 7 | GPIO4 | General Purpose I/O | 3.3V |
| 8 | UART TXD | UART Transmit | 3.3V |
| 9 | GND | Ground | 0V |
| 10 | UART RXD | UART Receive | 3.3V |
| ... | ... | ... | ... |
| 39 | GND | Ground | 0V |
| 40 | GPIO21 | General Purpose I/O | 3.3V |
Note: For the complete pinout and advanced configurations, refer to the official Nvidia Jetson Orin Nano documentation.
Below is an example Python script to blink an LED connected to GPIO pin 7 (physical pin 7) using the Jetson GPIO library:
import Jetson.GPIO as GPIO # Import the Jetson GPIO library
import time # Import the time library for delays
led_pin = 7 # Physical pin 7 (GPIO4)
GPIO.setmode(GPIO.BOARD) # Use physical pin numbering GPIO.setup(led_pin, GPIO.OUT) # Set pin as an output pin
print("Press Ctrl+C to exit") try: while True: GPIO.output(led_pin, GPIO.HIGH) # Turn LED on time.sleep(1) # Wait for 1 second GPIO.output(led_pin, GPIO.LOW) # Turn LED off time.sleep(1) # Wait for 1 second except KeyboardInterrupt: print("Exiting program")
GPIO.cleanup() # Reset GPIO settings
> **Note**: Ensure the LED is connected in series with a current-limiting resistor (e.g., 330Ω) to prevent damage.
GPIO Pin Not Responding:
Device Not Detected:
Overheating or Damage:
Library Import Errors:
sudo apt-get install python3-jetson-gpio
Q: Can I use 5V devices directly with the GPIO pins?
A: No, the GPIO pins operate at 3.3V logic levels. Use a level shifter for 5V devices.
Q: How do I enable I2C or SPI on the J41 header?
A: These interfaces are enabled via the Jetson device tree. Refer to Nvidia's documentation for detailed instructions.
Q: Is the J41 header compatible with Raspberry Pi HATs?
A: The pin layout is similar, but compatibility depends on the specific HAT and its power/voltage requirements.
Q: Can I power the Jetson Orin Nano through the J41 header?
A: No, the J41 header provides power output but is not designed for powering the board itself. Use the dedicated power input for the Jetson Orin Nano.
For additional support, consult the official Nvidia Jetson Orin Nano documentation or community forums.