JetsonNano tips - Utagoe-robotics/Wiki GitHub Wiki

Jetson Nano Tips

Ultrasonic Distance Sensor (HC-SR04)

PWM Settings

https://qiita.com/kitazaki/items/a445994f1f46a1b15f78

Run jetson-io.py script to configure pin expansion header.

$ sudo /opt/nvidia/jetson-io/jetson-io.py

Pin number 32 and 33(BOARD number, they correspond to 12 and 13 for BCM number, respectively) can be used as PWM pins. Select Configure 40-pin expansion header and return. You can see the screen as shown below:

Select pwm0 and pwm2, and return. Save and reboot.