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

How to send drive signal to SpektrumRC ESC #3

Open
spcrobocar opened this issue Jul 1, 2022 · 2 comments
Open

How to send drive signal to SpektrumRC ESC #3

spcrobocar opened this issue Jul 1, 2022 · 2 comments

Comments

@spcrobocar
Copy link

Hi, I have a Arram Infraction V2 which has a Spektrum® Firma™ 150A Smart ESC. I would like to use a small Nvidia computer (Jetson Xavier NX) to control the car autonomously. To do that, the computer needs to send drive signal to the ESC. Could you please let me now first how to physically connect the ESC to the computer? Using i2c or USB?

Thank you very much.

@jminer
Copy link
Collaborator

jminer commented Jul 2, 2022

Spektrum receivers communicate with the Smart ESC using 3.3V half-duplex UART on the signal pin. The UART is 115,200 baud or optionally 400,000 baud. There is more detail in the specification PDF in this repository. See section 5: https://github.com/SpektrumRC/SRXL2/blob/master/Docs/SRXL2%20Specification.pdf

SRXL2 requires relatively precise timing. I assume the Jetson will be running Linux, but I don't know if software running on an operating system can meet the timing requirements. You might need a microcontroller between the Jetson and ESC to handle the SRXL2 communication. As you can read in the spec, there is a 50ms handshake timeout and receivers normally send an SRXL2 packet to the ESC every 11ms. I don't know how strict the ESC is on packet timing. My coworker may know more about the timing requirements off the top of his head, but he's on vacation for the next week.

@spcrobocar
Copy link
Author

Hi @jminer Thank you very much. Hopefully you coworker can help.

Another question, is it possible to link the Spektrum receiver and Jetson using wires so I can send signal to the computer from the transmitter?

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