Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

communication with motor #607

Open
fatemeh-mohseni-AI opened this issue Dec 1, 2023 · 1 comment
Open

communication with motor #607

fatemeh-mohseni-AI opened this issue Dec 1, 2023 · 1 comment

Comments

@fatemeh-mohseni-AI
Copy link

Hello sir/madam.
I have a question about the best way of communication between brushless motors and jetson nano.
For the educational project, we had to build a robot using Jetson nano 4G and DC or Brushless motors.
We connected our motors to an Arduino and then connected that Arduino to Jetson Nano using a serial port and USB cable.
after many efforts, we couldn't have a reliable connection between the motor and jetson nano with serial-type communication.
now I have a question about the best type of communication in a 4-wheeled robot, between motors and jetson nano.
I would appreciate it if you could help me.
I have PID controllers on pwm of motors too so I can not send raw pwm to the motor and there should always be something like Arduino to calculate some things and receive velocity from jetson and send pwm to motor.

should I change communication from USB to anything else ?
how can I achieve a reliable connection between a motor and Jetson Nano?
Do I have to use pins on jetson nano rather than USB cables ?
it is really important to me.
thank you so much

@Hoehlenbaer
Copy link

Hi Fatemeh,

Is there any reason you need to communicate through an Arduino? Actually my robot is using a custom build based on an Adafruit Motot HAT, but you can directly use the Adafruit PCB on a jetson (jetson GPIO and raspberry pie GPIO are pin compatible). Most Adafruit python script are able to run on a jetson environment...

Regards
Marco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants