Directly control servo from GPIO in Jetson Xavier NX Dev kit

I have NVIDIA Jetson Xavier NX Developer Kit, I tried all GPIO libraries to directly control
servo motor SG90 from jetson board, but all was unsuccessful, when I run the
code to control the servo, I faces to the following error!!

I also tried some commands for checking that the Jetson is original or not, but the result was positive.
sudo cat /proc/device-tree/model
the result of above command was (( NVIDIA Jetson Xavier NX Developer Kit))
and I also checked carrier board manufacturer I did the bellow direction:

Check Your Carrier Board Manufacturer
If you suspect the board is not from NVIDIA, check the EEPROM with:
sudo i2cdetect -y -r 0
If no device appears at 0x50, it likely means your carrier board is third-party.
if you see bellow line then your system follow the nvidia structure
50: 50 – – – – – – 57 – – – – – – – –

Check Carrier Board Part Number
If you suspect a third-party carrier board, you can check the part number by running:

sudo i2cdump -y 0 0x50 b
if in output:
"699-13668-0003-301 G.0", which corresponds to an NVIDIA carrier board part number. This
strongly suggests that your Jetson Xavier NX is using an official NVIDIA Developer Kit carrier
board, rather than a third-party carrier.

Any guidance or advice would be greatly appreciated!

sorry for any grammar mistakes(:

Hi,
Do you use Jetpack 5.1.4? Please confirm which Jetpack version you are using.

Hi, I’m using Jetpack 5.1.3

Hi,
Please refer to this for GPIO control:
GPIO customization on Jetson Platform

And give it a try.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.