Skip to main content

GPIO reading

1. GPIO pin diagram

GPIO.BOARD 12 pin corresponds to GPIO.BCM 18 pin:

image-20250110104406267

2. Run the program

cd ~/jetson-gpio/samples
export JETSON_MODEL_NAME=JETSON_ORIN_NANO
python3 simple_input.py

3. Program effect

Use Dupont wire to connect GPIO.BOARD 12 pin to GND and 3.3V pin on the motherboard, and test the reading of high and low levels:

warning

Do not connect incorrectly or cause pin short circuit, as mistakes may damage the motherboard hardware!

image-20250110103545095