My GPIO is not working

Hi, I try to follow the guide that using python to generate 3.3v output from Jatson nano GPIO pin, but I found out that the GPIO is not functioning. I used python,
code is below:

import Jetson.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(12,GPIO.OUT)
GPIO.output(12,GPIO.HIGH)

There are not voltage output from pin 12 (BCM).
What should I do ?

Please check the 40-pin expansion header docs in DLC:

https://developer.nvidia.com/jetson-nano-developer-kit-40-pin-expansion-header-gpio-usage-considerations-applications-note

1 Like

Hi,

You can find detailed video tutorial in the below link.

https://toptechboy.com/ai-on-the-jetson-nano-lesson-56-using-the-gpio-pins-on-the-jetson-nano/

Best wishes.

1 Like

so, why isn’t it easier? So crazy, right. And I need to do this from a docker, since that is where I run ROS2. I would do it on bare metal, but NVIDIA refuses to update to Ubuntu 20.04 (so out of date IMHO)

@ozguryildiz currently watching your video. More to follow.