Nvidia Jetson Gpio
Install the jetson gpio library.
Nvidia jetson gpio. All in an easy to use platform that runs in as little as 5 watts. 5 22 19 add uart dev ttyths1. Jetson gpio linux for tegra. These gpios can be controlled for digital input and output using the python library provided in the jetson gpio library package.
Jetson tx1 tx2 agx xavier and nano development boards contain a 40 pin gpio header similar to the 40 pin header in the raspberry pi. Jetson nano j41 gpio pins on this early board note that pins labeled 6 8 should be 8 and 10. Pin 1 is marked 1. Jetson tx1 tx2 agx xavier and nano development boards contain a 40 pin gpio header similar to the 40 pin header in the raspberry pi.
The linux for tegra package provides the jetson gpio python library to programmatically talk to the gpio pins on the board. Jetson gpio lib python jetson gpio gpio pin data py jump to code definitions channelinfo class init function get data function matches function find pmgr board function warn if not carrier board function global gpio id name function model data function. The sockets on the board are female so you have a few options for physically connecting to the expansion ports. Nvidia jetson nano developer kit is a small powerful computer that lets you run multiple neural networks in parallel for applications like image classification object detection segmentation and speech processing.
5 22 19 add rpi spreadsheet helper thanks stephen warren from nvidia 5 12 19 add formal signal names. The previous example used the terminal to access and modify the digital values on the pins while this application uses a python interface to the same. Gpio on jetson tk1. These gpios can be controlled for digital input and output using the python library provided in the jetson gpio library package.
In a previous jetsonhacks article gpio interfacing nvidia jetson tk1 we covered how to interface with the jetson tk1 gpio subsystem this article discusses interfacing with the jetson tx1 in a similar manner. The jetson tk1 has both a 50 pin and a 75 pin expansion port both with 2mm spacing in rows of 25 pins. The power of modern ai is now available for makers learners and embedded developers everywhere. The usual warning you are dealing with electricity and all that there is a chance you could fry your jetson by hooking it up incorrectly.
Gpio addresses are physical memory addresses and a regular process runs in a virtual memory address. You need to arrange for those physical addresses to show up as known virtual addresses in the address space of the process or run in kernel space in a mode that uses physical addressing not generally recommended or even always possible.