GPIO library installation

GPIO library installation1. Install Jetson.GPIO library1.1. Automatic installation1.2. Manual installation2. Set user permissions3. Custom rule file3.1. Copy the rule file3.2. Reload udev rules4. Set the motherboard model5. References

1. Install Jetson.GPIO library

The system installs Jetson.GPIO library by default, so you can skip this step.

1.1. Automatic installation

image-20250110101719371

1.2. Manual installation

It is recommended to use the automatic installation method. Manual installation may not be the latest version.

image-20250110102057706

2. Set user permissions

Allow the current system user to access and use the Jetson.GPIO library: where jetson is the system user name

image-20250110102615802

3. Custom rule file

3.1. Copy the rule file

3.2. Reload udev rules

image-20250110102901779

4. Set the motherboard model

Currently, Jetpack6.1 does not set the motherboard model in advance. You need to set the motherboard model in the terminal before controlling GPIO each time:

5. References

https://github.com/NVIDIA/jetson-gpio