GPIO setting

Jemii-150 is equipped with 3 isolated digital inputs (DI) and 3 isolated digital outputs (DO).

Jetpack 6.x

Software Mapping of DI & DO

Please use the following script to read the 3 DI values.

### Read DI

sudo apt install gpiod
sudo apt install python3-pip
sudo pip install Jetson.GPIO

# DI0 _ GPIO12 _ GPIO3_PN.01
# DI1 _ GPIO07 _ GPIO3_PG.06
# DI2 _ GPIO09 _ GPIO3_PAC.06

# DI0
PIN=PN.01
sudo gpioget $(sudo gpiofind $PIN)

# DI1
PIN=PG.06
sudo gpioget $(sudo gpiofind $PIN)

# DI2
PIN=PAC.06
sudo gpioget $(sudo gpiofind $PIN)

Please use the following script to set the 3 DO values.

Jetpack 5.x

Software Mapping of DI & DO

Please use the following script to read the 3 DI values.

Please use the following script to set the 3 DO values.

Last updated