Controlling a servo motor claw with the Jetson Orin Nano Developer Kit

Hello I am trying to use a servo motor based claw through the Jetson Orin Nano header pins. I have identified that pin 2 is for 5V power, pin 6 is for ground, and pin 33 is GPIO. However, any code that I have tried to run that should make the claw open and close, does not do anything. I used the claw with an Arduino and it worked so it is not a hardware issue. I checked the voltage for the power and ground pins using a multimeter and got 5V so that is not the issue either.
Please help me make it work

Please check below threads to see if can help:
Running two simple DC motors (5 Amp) Forward and Backward in Jetson Nano - Jetson & Embedded Systems / Jetson Nano - NVIDIA Developer Forums
How to use servo and pwm motor libraries - Jetson & Embedded Systems / Jetson Nano - NVIDIA Developer Forums

Hello,
These have not helped me. I want to connect the servo directly to my Jetson Orin Nano through the header pins without using an external board.
I believe my issue is in the code. I am using the Jetson.GPIO library.
Can you please give me code that will definitively work and will let me confirm where the issue exists? I know that the problem is not with the servo or the wires because I tested them with an Arduino. It is either the software(my code or some setup issue) or it is an issue with the pins(unlikely as I have tested multiple pins)
Please help me with this issue

Hi anay.gokhale123,

Is your servo just controlled by one GPIO?

Have you tried to get a scope to check if there’s any change on this GPIO after you run the code?

Have you configured the pinmux for that GPIO as Output before use?

You can refer to jetson-gpio/samples/simple_out.py at master · NVIDIA/jetson-gpio · GitHub to control GPIO.

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